@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

:root {
    --cor-vermelho: #E30613;
    --cor-branco: white;
}

.paiHeader {
    width: 100%;
    height: 8rem;
    background-color: var(--cor-vermelho);
    margin-top: 5.5rem;
    display: flex;
    flex-direction: row;
}

.navegation {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.navegationSite {
    width: 35%;
    height: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tituloNav {
    font-size: 1.5rem;
    color: var(--cor-branco);
    cursor: pointer;
    text-decoration: none;
}

.dropdown {
    display: none;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E30613;
    list-style: none;
    padding: 0.6rem;
    margin: 0;
    width: 10rem;
    z-index: 1000
}

.dropdownM {
    display: none;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E30613;
    list-style: none;
    padding: 0.6rem;
    margin: 0;
    width: 10rem;
    z-index: 1000
}

.dropdown li {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.dropdown li a {
    text-decoration: none;
    display: block;
    color: white;
}

.dropdown li:hover {
    border-radius: 5%;
    background-color: #ff0000;
}

.navegationSite:hover .dropdown {
    display: block;
}

.dropdownM li {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.dropdownM li a {
    text-decoration: none;
    display: block;
    color: white;
}

.dropdownM li:hover {
    border-radius: 5%;
    background-color: #ff0000;
}

.navegationSite:hover .dropdownM {
    display: block;
}

.navegationMateria {
    width: 35%;
    height: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iconesDiv {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

.iconesFilho {
    width: 20%;
    height: 100%;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    justify-content: flex-end;
    margin-right: 3rem;
}

.iconeScript {
    display: flex;
    width: 10%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
}

.scriptImg {
    height: 3rem;
    cursor: pointer;
}

.iconeSenai {
    display: flex;
    width: 40%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.senaiImg {
    height: 80%;
}



.tituloNav a {
    cursor: pointer;
    text-decoration: none;
}

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

    .paiHeader {
        width: 100%;
        margin-top: 0;
        gap: 0;
        padding: 0;
        margin-bottom: 2rem;
    }

    .navegation {
        display: flex;
        flex-direction: column;
        width: 50%;
        height: 100%;
        margin-left: 0;
    }

    .iconesDiv {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .iconesFilho {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        gap: 1rem;
    }

    .iconeScript {
        margin: 1rem;
    }

    .iconeSenai {
        margin-right: 1rem;
    }


}

@media screen and (min-width: 769px) and (max-width: 1800px) {

    .navegation {
        gap: 7rem;
        margin-left: 5rem;
    }

    .iconesDiv {
        gap: 2rem;
        margin-right: 0.3rem;
    }

    .iconeScript {
        margin-right: 1rem;
    }
}