.topo {
    position: relative;
    width: 100%;
    display: flex;
    z-index: 1000;
}

.topo .topo-dobro-tamanho {
    position: relative;
    height: 50px;
    width: 33.33%;
    flex-grow: 2;
    display: flex;
    align-items: center;
    justify-content: start;
    background: #1C8ECA;
    box-sizing: border-box;
}

.topo .topo-normal {
    position: relative;
    height: 50px;
    width: 17%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.topo .topo-normal a {
    text-decoration: none;
    background: none;
    color: #FDF9EA;
    font-size: 1vw;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* menu nav */
nav {
    position: relative;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    /* font-size: 25px; */
}

nav img {
    position: relative;
    width: 15vw;
}


nav ul {
    position: relative;
    display: flex;
}

nav ul li {
    position: relative;
    list-style: none;
    margin-left: 30px;
}

nav ul li a,
nav ul li .insti {
    position: relative;
    text-decoration: none;
    color: #1C8ECA;
    font-size: 1.5vw;
    font-weight: 1000;
    letter-spacing: 2px;
}

nav ul li a:hover,
nav ul li .insti:hover {
    border-bottom: 4px solid #B9D157;
    text-decoration: none !important;
    color: #1C8ECA !important;
}

/* submenu */
.sub {
    position: absolute;
    top: 80px;
    right: -10px;
    padding: 20px 0px;
    background: rgba(185, 209, 87, 1);
    min-width: 200px;
    padding: 20px 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,.1);
    border-radius: 15px;
    transition: 0.5s;
    visibility: hidden;
    z-index: 99;
    opacity: 0;
}

.sub.active {
    top: 50px;
    visibility: visible;
    opacity: 1;
}

.sub::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 28px;
    width: 20px;
    height: 20px;
    background: rgba(185, 209, 87, 1);
    transform: rotate(45deg);
}

.sub ul {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub ul li a {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    transition: 0.5s;
    border-bottom-width: 0px !important;
    z-index: 100;
}

.sub ul li {
    margin-left: 0;
}

/* submenu instituicao*/
.sub-insti {
    position: absolute;
    top: 80px;
    right: -10px;
    padding: 20px 0px;
    background: rgba(185, 209, 87, 1);
    min-width: 220px;
    padding: 20px 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,.1);
    border-radius: 15px;
    transition: 0.5s;
    visibility: visible;
    z-index: 99;
    opacity: 0;
}

.sub-insti.active {
    top: 50px;
    visibility: visible;
    opacity: 1;
}

.sub-insti::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 28px;
    width: 20px;
    height: 20px;
    background: rgba(185, 209, 87, 1);
    transform: rotate(45deg);
}

.sub-insti ul {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub-insti ul li a {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    transition: 0.5s;
    border-bottom-width: 0px !important;
    z-index: 100;
}

.sub-insti ul li {
    margin-left: 0;
}

/* submenu instituicao*/
.sub-app {
    position: absolute;
    top: 80px;
    right: -10px;
    padding: 20px 0px;
    background: rgba(185, 209, 87, 1);
    min-width: 220px;
    padding: 20px 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,.1);
    border-radius: 15px;
    transition: 0.5s;
    visibility: visible;
    z-index: 99;
    opacity: 0;
}

.sub-app.active {
    top: 50px;
    visibility: visible;
    opacity: 1;
}

.sub-app::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 28px;
    width: 20px;
    height: 20px;
    background: rgba(185, 209, 87, 1);
    transform: rotate(45deg);
}

.sub-app ul {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub-app ul li a {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    transition: 0.5s;
    border-bottom-width: 0px !important;
    z-index: 100;
}

.sub-app ul li {
    margin-left: 0;
}

/* .sub ul li:hover a
{
    color: #ff5d94;
} */

/* social media */
.topo-dobro-tamanho a {
    text-decoration: none;
}

.topo-dobro-tamanho a img {
    width: 2.1vw;
    filter: invert(1);
    margin-left: 40px;
    cursor: pointer;
    margin-top: 4px;
}


.banner-desktop {
    display: block;
    width: 1920px;
    height: 640px;
}

.banner-mobile {
    display: none;
     width: 100%;
  height: auto;
  aspect-ratio: 1920 / 640;
}

header .banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

/* toggle */
.toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 36px;
    height: 28px;
    background: url("../img/toggle/toggle.webp");
    background-size: cover;
    filter: invert(1);
    cursor: pointer;
    transition: 0.5s;
    z-index: 1000;
}

.toggle.active {
    background: url("../img/toggle/close.webp");
    background-size: cover;
    z-index: 1000;
    filter: invert(0);
}



@media screen and (min-width: 1900px) {

    /* banner */
    header .banner {
        position: relative;
        max-width: 100%;
        height: 640px;
    }

    .ajusteMatricula {
        margin-top: 2rem;
    }

}


@media screen and (min-width: 901px) and (max-width: 1900px) {

    /* banner */
    header .banner {
        position: relative;
        max-width: 100%;
        height: 640px;
    }

    .subir {
        margin-bottom: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .imgTmh {
        width: 30rem !important;
    }

    .sublinhar {
        font-size: 20px
    }

    .ajusteMatricula {
        margin-top: 2rem;
    }

    .banner-desktop {
        height: 85% !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.insti {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
