/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

nav {
    height: 120px;
    display: flex;
    flex-direction: column;
    background: #1071b1;  
    color: white;

    & .nav_top {
        height: 60%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px;
        font-size: 1.5em;
    }

    & .nav_bottom {
        height: 40%;
        background-color: #094c79;  
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: 600;
        letter-spacing: 2px;
    }
}

.container {
    width: 750px;
    margin: auto;
    padding: 30px 0px 50px 0px;

    & ul {
        margin-top: 30px;
    }

    & li {
        font-family: serif;
        margin-top: 20px;
        color: #333;
    }

    & .div_titulo {
        font-size: 1.3em;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(128, 128, 128, 0.712);
        font-family: sans-serif;
        color: #333333;
    }

    & .div_titulo span {
        color: #B40000;
        text-decoration: underline;
    }

    & .thumb_video {
        height: auto;
        width: 100%;
        margin: auto;
        margin-top: 30px;
        border-radius: 5px;
    }

    & .div_data {
        margin-top: 20px;
        font-size: .7em;
    }

    & .img_info {
        height: 30px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    & .img_info img {
        height: 15px;
        width: 15px;
    }

    & p {
        font-size: 25px;
        margin-top: 30px;
        line-height: 1.5em;
        font-family: serif;
        color: #333;
    }

    & .txt_titulo {
        margin-top: 20px;
    }

    & .div_comentario {
        background-color: #F3F3F3;
        padding: 20px;
        margin-top: 30px;
        border-radius: 10px;
    }

    & .div_comentario ul {
        margin-top: 10px;
    }

    & button {
        margin-top: 30px;
        width: 100%;
        border: none;
        border-radius: 5px;
        background: #1071b1; 
        color: white;
        padding: 20px;
        font-size: 1.1em;
        cursor: pointer;
        transition: .5s;
    }

    & button:hover {
        background: #0d4d77;
        transition: .5s;
    }
}

footer {
    display: flex;
    flex-direction: column;

    & a:hover {
        text-decoration: underline;
    }

    & .footer_ref {
        height: auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 30px;
    }

    & .ref_cientificas {
        margin: auto;
        height: auto;
        flex-grow: 1;
        width: 900px;
        display: flex;
        flex-direction: column;
    }

    & .ref_cientificas h1 {
        text-align: center;
        color: rgb(109, 109, 109);
        margin-bottom: 40px;
    }

    & .ref_txt {
        width: 900px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-grow: 1;
        gap: 1.3em;
    }

    & .ref_txt span {
        line-height: 1.5em;
        font-size: .8em;
        font-weight: 500;
        color: rgb(109, 109, 109);
    }

    & .ref_txt_left {
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }

    & .ref_txt_right {
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }

    & a {
        text-decoration: none;
        color: white;
    }

    & .footer_titulo {
        background: #1071b1;      
        height: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        color: white;
        gap: 15px;
    }

    & .footer_txt {
        background: #094c79 ;  
        height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    & .footer_txt span {
        margin-top: 10px;
        color: white;
        width: 1100px;
        font-size: .9em;
    }
}

@media(max-width: 1100px){
    footer {
        & .footer_txt span {
            margin-top: 20px;
            width: 900px;
        }
    }
}

@media(max-width: 905px){
    footer {
        & .footer_txt span {
            margin-top: 20px;
            width: 750px;
        }
    }
}

@media(max-width: 900px){
    & .ref_cientificas {
        width: 100% !important;
    }

    & .ref_txt {
        width: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-grow: 1;
        gap: 1.3em;
        padding: 10px;
    }

    & .ref_txt_left {
        height: 50% !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }

    & .ref_txt_right {
        height: 50% !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }
}

@media(max-width: 750px){
    #minititulo {
        font-size: 1.7em !important;
    }

    .container {
        width: 100%;
        padding: 30px 10px;

        & .div_titulo {
            font-size: .8em;
        }
    }

    footer {
        & .footer_txt {
            padding: 30px 10px;
        }

        & .footer_titulo {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap !important;
        }

        & .footer_txt span {
            margin-top: 20px;
            width: 100%;
        }
    }
}

@media(max-width: 450px){
    nav {
        & .nav_top {
            font-size: 1em;
        }
    }
}