* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat";
    font-optical-sizing: auto;
    text-align: justify;
}

body {
    background-color: ghostwhite;
    font-family: "Montserrat";
    font-optical-sizing: auto;
}

.header-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
.dropdown-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border: none;
    background-color: #E30613;
}
.dropdown-menu{
    display: none;
    align-items: center;
    flex-direction: column;
    position: absolute;
    background-color: #DDDDDD;
    width: 16rem;
    height: 30rem;
    border: #9A1915 solid 0.2rem;
}
.dropdown-item{
    color: #9A1915;
    text-decoration: none;
    font-size: 1.3rem;
    width: 100%;
    display: flex;
    justify-content: center;    
    align-items: center;
    height: 12%;
}
.dropdown-item:hover{
    background-color: #817c7c;
    color: #681413;
    text-decoration: none;
    transition: 0.5s;
}
.nav-header{
    width: 100%;
    height: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-bottom: #9A1915 solid 0.25rem;
}

.sub-header{
    width: 100%;
    height: 40%;
    background-color: #DDDDDD;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid black;
}

.nav-image {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 30%;
}

.site-header {
    height: 10rem;
    width: 100%;
    background-color: #E30613;
    align-items: center;
    display: flex;
   
}

.main-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;

}
.nav-item, .nav-item-active{
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.2s;
    overflow-wrap: unset;
}
.nav-item a, .nav-item-active a{
    text-decoration: none;
    color: rgb(68, 65, 65);
}
.nav-item-active{
    background-color: rgb(247, 247, 250);
    border-radius: 1rem;
    width: 7rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.senai-image {
    width: 80%;
    height: auto;
}

main {
    width: 50%;
    margin: auto;
    margin-top: 2rem;
}

.pomodoro {
    background-image: url("../img/pomodoro-img.webp");
}

.difuso {
    background-image: url("../img/difuso-img.png");
}

.mnemonico {
    background-image: url("../img/mnemonico-img.jpg");
}

.robinson {
    background-image: url("../img/metodo-robinson.jpg");
}


.method-title {
    justify-content: start;
    align-items: center;
    display: flex;
    font-size: 1.75rem;
    color: #9A1915;
    margin-bottom: 1rem;
}

.method-slogan {
    justify-content: start;
    display: flex;
    align-self: start;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: black;
}



.main-img-div {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    border-radius: 1rem;
    border: 2px solid black;
}

.main-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    text-indent: 1.2rem;
    color: black;
    font-size: 1.1rem;
    font-weight: 400;
    word-spacing: normal;
    text-align: justify;
    line-height: 1.6;
    hyphens: auto;
}

.method-explanation {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.site-footer {
    display: flex;
    background-color: #E30613;
    color: #ffffff;
    flex-direction: column;
    font-size: 15px;
    height: 23rem;
    border-top: 0.125rem solid black;
    width: 100%;
}

.footer-img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-senai {
    height: auto;
    width: 32%;
    margin: 0.625rem;
    margin-bottom: 18px;
}

.bar-footer .site-footer p {
    margin-bottom: 8px;
    margin-top: 8px;
}

.contact-info {
    margin-bottom: 5px;
}

.site-footer p {
    margin: 0.5rem 0;
}

.contact-info,
.author-name,
.author-email {
    margin-bottom: 0.3125rem;
}

.email-link {
    color: #2e89e4;
    text-decoration: none;
    transition: 0.5s;
}

.copy-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text-section {
    width: 20rem;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.footer-horizontal {
    background-color: #ffffff;
    overflow: hidden;
    height: 0.75vh;
    width: 50%;
}

.footer-vertical {
    background-color: #ffffff;
    border-right: 3px;
    width: 8px;
    height: 70%;
    margin-top: 15px;
    display: flex;
    align-items: center;
    display: flex;
}

.footer-bottom {
    background-color: #9A1915;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    margin-top: 15px;
    overflow-y: hidden;
    /* text-align: justify; */
}

.footer-title-negrito {
    font-weight: bold;
}

@media (min-width: 768px) and (max-width: 1023px) {

    .method-title {
        font-size: 1.8rem;
    }

    .method-slogan {
        font-size: 1.3rem;
    }

    .main-img-div {
        height: 45vh;
        width: 100%;
    }

    .main-text {
        font-size: 1.1rem;
    }
}


@media (max-width: 767px) {
    main {
        width: 90%;
    }

    .method-title {
        font-size: 1.5rem;
    }

    .method-slogan {
        font-size: 1.2rem;
    }

    .main-text {
        font-size: 1rem;
        text-align: justify;
        word-spacing: 0.1rem;
    }

    .main-img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    main {
        width: 90%;
    }

    .method-title {
        font-size: 1.4rem;
    }

    .method-slogan {
        font-size: 1.2rem;
    }

    .main-img-div {
        width: 100%;
        height: 40vh;
    }

    .main-text {
        font-size: 1rem;
        text-align: justify;
        word-spacing: 0.1rem;
    }

    .main-img {
        width: 100%;
        height: auto;
    }
}