* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: "Montserrat";
    font-optical-sizing: auto;
    text-align: justify;
}
:root {
    --background-color: white;
    --title-color: #681413;
    --text-color: black;
    --default-red: #E30613;
    --mid-red: #9A1915;
}


a {
    text-decoration: none;
    color: white;
}

body {
    background-color: ghostwhite;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    animation: fadeIn 0.5s ease;
}

.header-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.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: #000000 solid 0.25rem;
}
.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-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;
}

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

.simulados-title {
    font-size: 3rem;
    color: var(--title-color);
    overflow: visible;
    margin-bottom: 2rem;
}

.descricao-simulados {
    color: var(--text-color);
    font-weight: normal;
    margin-bottom: 1rem;
    font-size: 1.45rem;
    word-spacing: normal;
    white-space: normal;
    letter-spacing: normal;
    margin-left: 10%;
    margin-right: 10%;
}

main {
    justify-content: center;
    align-items: center;
    display: flex;
    margin: auto;
    width: 85%;
    flex-direction: column;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.simulados-container{
    width: 100%;
    height: 40rem;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    align-items: center;
}

.simulado-block{
    color: var(--text-color);
    width: 80%;
    height: 12rem;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    color: var(--background-color);
    font-size: 2rem;
    border: var(--mid-red) solid 0.5rem;
}

.start{
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: visible;
    flex-flow: row ;
    color: var(--text-color);
}

.start-text {
    position: relative;
    overflow: visible;
    right: 3vw;
}

.simulado-type{
    width: 40%;
    display: flex;
    justify-content: center;
    color: var(--text-color);
}

.start-button{
    width: 50%;
    height: 50%;
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100%;
}

.start-button:hover{
    opacity: 70%;
}

.simulado-link{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;   
}

.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: 12.5px;
    /* text-align: justify; */
}

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

@media (max-width: 900px) {
    .header-container{
        width: 100%;
        height: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        justify-content: space-around;
    } 
    .main-nav {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-around;
    }
    
}
