@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,600;1,700&display=swap');

body {
    background-image: url(/assets/16-tribunal-1024x657.png);
    background-size:auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#current {
    color: rgb(239, 255, 0);
}

#parte-principal {
    display: flex;
    justify-content: center;
    padding-left: 40px;
}

#parte-principal h2 {
    display: flex;
    align-items: center;
    font-size: 62px;
    width: 161mm;
    color: #042fb9;
    font-family: sans-serif; 
}

#parte-secundario {
    display: flex;
    justify-content: center;
    padding: 40px;
}

#parte-secundario div {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
}

#parte-secundario a {
    color: black;
    font-size: 19px;
    font-family: Georgia,serif;
    font-weight: bold;
    padding-bottom: 18px;
    text-decoration: none;
    transition: .3s ease all;
}

#parte-secundario a:hover {
    color: #e31409;
}

footer {
    display: block;
    padding: 100px 20px 25px 20px;
}

@media screen and (max-width: 845px) {
    #parte-principal h2 {
        font-size: 52px;
        width: 118mm;
    }

    #parte-principal img {
        width: 90mm;
    }
}

@media screen and (max-width: 769px) {
    #parte-principal {
        flex-direction: column;
        padding-left: 27px;
        padding-right: 100px;
    }

    #parte-principal h2 {
        padding-bottom: 35px;
        width: 42vh;
        position: relative;
        left: 25%;
    }

    #parte-principal img {
        position: relative;
        left: 25%;
    }

    #parte-secundario div {
        position: relative;
        left: 6%;
    }

    #parte-secundario a {
        font-size: 17px;
    }
}

@media screen and (max-width: 500px) {
    #parte-principal {
        padding-left: 40px;
        padding-right: 0;
    }
    
    #parte-principal h2 {
        left: 5%;
        width: 40vh;
    }
    
    #parte-principal img {
        left: 5%;
    }
}

@media screen and (max-width: 499px) {
    #parte-principal h2 {
        left: 0%;
        font-size: 45px;
    }

    #parte-principal img {
        left: 0%;
        width: 38vh;
    }
}

@media screen and (max-width: 280px) {
    #parte-principal {
        padding-left: 14px;
    }

    #parte-principal h2 {
        font-size: 40px;
    }

    #parte-principal img {
        width: 38vh;
    }
}