@media (max-width: 800px) {
    .grid {
        margin-left: 0;
        margin-top: 20px;
        display: grid;
        grid-gap: 10px;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        grid-template-rows: repeat(3, auto); /* 200px */
        justify-content: center;
    }

    .square {
        padding: 20px;
        text-align: left;
    }

    .square a {
        font-size: 1rem;
    }

    .square b {
        font-size: 1.2rem;
    }

    .nav {margin-top: 20px;}

    .nav li input {
        margin-top: 5px;
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        outline: inherit;
        color: black;
        text-decoration: none;
        margin-right: 30px;
        font-size: 2w;
    }

    .nav li button {
        margin-top: 5px;
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        outline: inherit;
        color: black;
        text-decoration: none;
        margin-right: 30px;
        font-size: 2w;
    }
}

@media (max-width: 600px) {
    .modal-content {
        width: 100%;
    }
}
@media (max-width: 754px) {
    .modal-header {
        font-size: 1em !important;
    }

    .box5 div {
        margin-top: 20px;
        grid-gap: 0px;
        grid-template-columns: repeat(3, minmax(1px, 1fr));
        grid-template-rows: repeat(2, minmax(3vw, 1fr));
        display: grid;
        justify-content: center;
    }


    .box5 div img {
        margin-top: 20px;
        height: 7vw;
    }

    .imagem {
        position: fixed;
        margin-top: 2vw;
        z-index: 4;
        margin-left: 20px;
    }

    .imagem img {
        max-width: 20vw;
        min-width: 1%;
    }

    .box3 {
        position: relative;
        padding: 20px 20px 20px 20px;
        z-index: 2;
        background-color: white;
        align-items: center;
    }

    .glider-contain img {
        height: 60px;
        margin-left: 55px;
        margin-right: 55px;
    }

    section .content p {
        font-size: 4vw;
    }

    section {
        height: 80vw;
    }

    .imagem2 {
        margin-left: 20vw;
        width: 85vw;
        height: 80vw;
    }

    .grid {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
        grid-template-rows: repeat(2, 100px);
    }

    .box {
        position: relative;
        padding: 12.5vw 10px 12.5vw 10px;
        z-index: 2;
        /* background-color: #96C0CE; */
        background-color: white;
        align-items: center;
    }

    .box2 a {
        position: relative;
        font-size: 1.3em;
        color: white;
    }

    .box2 {
        padding: 10vw 5vw 10vw 5vw;
    }

    .nav {
        position: fixed;
        /* background: #e4e4e4; */
        background: white;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        align-items: center;
        top: 30px;
        right: 0;
        padding-top: 20px;
        display: fixed;
        clip-path: circle(120px at 100% -50%);
        -webkit-clip-path: circle(120px at 100% -50%);
        transition: all 0.8s ease-out;
        pointer-events: none;
        z-index: 3;
    }

    .nav.open {
        clip-path: circle(120% at 110% -20%);
        -webkit-clip-path: circle(120% at 110% -20%);
        pointer-events: all;
        z-index: 3;
    }

    .nav li input {
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        margin-right: 30px;
        font-size: 20px;
        margin-top: 20px;
    }

    .nav li input.active {
        border-bottom: 1vw solid #0061ff;
    }

    .nav li input:hover {
        border-bottom: 1vw solid #0061ff;
    }

    .nav li button {
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        margin-right: 30px;
        font-size: 5vw;
        margin-top: 20%;
    }

    .nav li button:hover {
        border-bottom: 1vw solid #0061ff;
    }

    .menu {
        position: fixed;
        z-index: 4;
        cursor: pointer;
        margin-left: 88vw;
        margin-top: 14px;
        z-index: 5;
    }

    .line {
        width: 30px;
        height: 3px;
        background: black;
        margin: 5px;
        z-index: 4;
    }
}

@media (max-width: 770px) {
    .gridInfo {
        grid-gap: 10px;
        grid-template-columns: repeat(1, minmax(50px, 1fr));
        grid-template-rows: repeat(4, minmax(50px, 1fr));
    }

    .gridInfo div p {
        font-size: 2.2vw;
        color: white;
        text-align: left;
    }

    .gridInfo div a {
        font-size: 2.3vw;
        color: white;
        text-align: left;
    }

    .box4 h2 {
        position: relative;
        color: white;
        font-size: 6vw;
        font-weight: 100px;
        z-index: 6;
    }

    .box2 h2 {
        position: relative;
        color: white;
        font-size: 6vw;
        font-weight: 100px;
        z-index: 6;
    }

    .box h2 {
        font-size: 6vw;
    }

    .box2 h2 {
        font-size: 6vw;
    }
    .map iframe {
        margin-top: 20px;
        position: relative;
        width: 70vw;
        height: 200px;
    }
}

@media (max-width: 610px) {
    .imagem {
        position: fixed;
        margin-top: 2.3vw;
        z-index: 4;
        margin-left: 20px;
    }

    .imagem img {
        max-width: 9em;
    }
}

@media (max-width: 440px) {
    .gridInfo {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
        grid-template-rows: repeat(4, minmax(30px, auto)); /* 1fr*/
    }
}

@media (max-width: 800px) {
    .glider-contain {
        width: 20em !important;
    }

    .glider figure img {
        height: 25em !important;
        width: 25em !important;
        margin-left: 15px;
        border-right: 2px solid white;
    }
}

@media (max-height: 580px) {
    .navBar {
        min-height: 60px;
    }
}



@media (max-width: 920px) {
    .modal-header {
        background-color: #5fa8de;
        color: white;
        text-align: center;
        font-size: 1.7vw;
    }

    .modal-content {
        width: 40%;
    }

    .modal-header {
        padding: 10px;
        background-color: #5fa8de;
        color: white;
        text-align: center;
        font-size: 1.3vw;
    }
}

@media (max-width: 360px){
    .menu {
        position: fixed;
        z-index: 4;
        cursor: pointer;
        margin-left: 84vw;
        margin-top: 14px;
    }

}

@media (max-width: 318px){
    
}

@media (max-width: 880px){
    .glider figure figcaption {
        font-size: 2vw;
        
    }
}

@media (max-width: 800px){
    .glider figure figcaption {
        font-size: 1.5em;
        width: 100%;
    }
}

@media (max-width: 330px){
    .box4 h2 {
        margin-left: -40px;
    }
    .gridInfo div {
        text-align: left;
        margin-top: 20px;
        margin-left: -40px;
    }

    .map iframe {
        margin-left: -40px;
    }

    
}

@media (max-width: 400px) {
    .box4 h2 {
        font-size: 2em;
    }
}

@media (max-width: 320px) {
    .gridInfo div p {
        font-size: 0.75em;
        color: white;
        text-align: left;
    }

    .gridInfo div a {
        font-size: 0.75em;
        color: white;
        text-align: left;
    }

    section .content div {
        margin-left: 5px;
        background: rgba(54, 89, 252, 0.3);
        padding-right: 0;
    }

}

@media (max-width: 630px){
    .gridInfo div p {
        font-size: 2.5vw;
        color: white;
        text-align: left;
    }

    .gridInfo div a {
        font-size: 2.6vw;
        color: white;
        text-align: left;
    }

}

@media (max-width: 569px){

    .gridInfo div p {
        font-size: 3vw;
        color: white;
        text-align: left;
        
    }

    .gridInfo div a {
        font-size: 3.1vw;
        color: white;
        text-align: left;
    }
}


@media (max-width: 420px){

    .gridInfo div p {
        font-size: 4vw;
        color: white;
        text-align: left;
        
    }

    .gridInfo div a {
        font-size: 4vw;
        color: white;
        text-align: left;
    }
    
}

@media (max-width: 720px){
    
    .gridInfo div {
        text-align: left;
        margin-top: 20px;
        margin-left: -40px;
    }
    .box4 h2 {
        margin-left: -40px;
    }

    .map iframe {
        margin-left: -40px;
    }
}

@media (max-width: 360px) {

    .box3 {
        padding: 20px 5px 5px 5px;
    }

    .glider-contain {
        padding: 5px;
        margin: 0px !important;
    }
}

@media (max-width: 325px) {
    .glider figure img {
        width: 80vw !important;
    }

        
.glider figure figcaption {
    font-size: 1rem;
    text-align: center;
    width: inherit !important;
}

.glider-track {
    width: 90vw;
    margin: 2px;
    padding: 0;

}

.glider figure figcaption {
    font-size: 1.2rem;
    margin-top: 10px;
    width: fit-content !important;
}
}


@media (max-width: 410px) {
    
.glider figure figcaption {
    padding: 5px;
    color: #005BF4;
    font-size: 1.2rem;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    
}
}

@media (max-width: 320px){
    .imagem2 {
        margin-left: 10vw;
        width: 85vw;
        height: 80vw;
    }

}

@media (max-width: 390px) {
    
    .gridInfo {
        grid-gap: 10px;
        grid-template-columns: repeat(1, minmax(auto, 1fr));
        grid-template-rows: repeat(4, minmax(50px, auto)); /* 1fr*/
    }

    .navbar {
        width: auto;
    }

    
}


@media (max-width: 440px){
    .glider-prev {display: none;}
    .glider-next {display: none;}

    
    .modal-header {
        background-color: #5fa8de;
        color: white;
        text-align: center;
        font-size: 1.7vw;
    }

    .modal-content {
        width: auto;
        margin: 5px;
    }

    .modal-header {
        padding: 10px;
        background-color: #5fa8de;
        color: white;
        text-align: center;
        font-size: 1.3vw;
    }
}

@media (max-width: 397px) {
    .grid {
        grid-template-columns: repeat(1, minmax(100px, 1fr));
        grid-template-rows: repeat(9, auto);
        height: fit-content;
    }


}

@media (max-width: 555px) {
    .nav {
        clip-path: circle(120px at 100% -50%);
        -webkit-clip-path: circle(120px at 100% -50%);
    }

    .nav.open {
        clip-path: circle(110% at 100% -20%);
        -webkit-clip-path: circle(110% at 100% -20%);
    }

}

