:root {
    --laranja: #FA5B31;
    --azulroyal: #1D2F83;
    --branco: #FFFFFF;
    --bg-white: #F7F6F1;
}

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

    body{
        overflow-x: hidden;
    }

    .swiper, .mySwiper, .swiper-wrapper{
        height: 450px;
    }

    .swiper-slide img{
        height: 100%;
        object-fit: cover;
    }

    .menu-header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav {
        margin: 0 auto;
        width: 80%;
    }

    nav ul {
        display: none;
    }

    section {
        display: none;
    }

    .background-header {
        display: flex;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    .header-container {
        margin: 0 auto;
        width: 80%;
    }

    .header-content {
        width: 100%;
    }

    #btn-mobile {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        text-align: center;
        cursor: pointer;
        border: none;
        background: var(--azulroyal);
        color: #FFF;
        padding: 27px;
    }

    #burger {
        border-top: 2px solid #FFF;
        width: 20px;
    }

    #burger::after,
    #burger::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background-color: #FFF;
        margin-top: 5px;
        transition: .3s;
        position: relative;
    }


    #navmobile.active #burger {
        border-top-color: transparent;
    }

    #navmobile.active #burger::before {
        transform: rotate(135deg);
    }

    #navmobile.active #burger::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    #navmobile.active #menu {
        height: 100vh;
        visibility: visible;
        overflow-y: auto;
        background-color: #FFF;
    }

    #navmobile.active #btns-header-menu-mobile{
       display: flex;
       flex-direction: column;
       overflow: hidden;
    }

    .btn-promo-mobile a{
        color: #FFF !important;
    }

    #btn-fidelidade img{
        display: none;
    }

    #menu{
        text-align: center;
        display: block;
        position: absolute;
        width: 100%;
        top: 20px;
        right: 0;
        height: 0;
        z-index: 1000;
        visibility: hidden;
        transition: .5s;
        overflow-y: hidden;
        background-color: var(--azulroyal);
    }

    #menu a {
        display: flex;
        justify-content: center;
        color: var(--azulroyal);
        padding: 22px 0;
        font-size: 14px;
        font-weight: 600;
    }

    #menu a:hover {
        background-color: var(--bg-white);
        color: #FFF;
        background-color: var();
    }

    .navigation-words marquee{
        margin-top: 10px;
    }

    .container-institucional{
        flex-wrap: wrap;
        width: 100%;
    }

    .middle-content-beat{
        margin-top: 2rem;
    }

    .middle-content-beat h2{
        width: 70%;
    }

    .text-portoseguro-item p, span{
        font-size: 16px;
    }

    .container-inst-imgs{
        flex-wrap: wrap;
        padding: 2rem 0;
        width: 100%;
        margin: 0 auto;
        justify-content: center;
        text-align: center;
    }

    #width-img-inst{
        width: 100%;
    }

    .content-inst-item{
        margin: 2rem 0;
    }

    .content-inst-item h3{
        font-size: 28px;
        font-weight: 300;
        color: #737373;
        width: 100%;
    }

    .beat-bio-mobile{
      flex-wrap: wrap;
    }

    .left-bio-beat{
        width: 100%;
        text-align: center;
    }
    
    
    /* ALINHOU A IMAGEM A DIREITA */
    .left-bio-beat img{
        width: 90%;
        border: none;
        text-align: center;
    }

    
    .right-bio-beat{
        display: inline-flex;
        justify-content: space-evenly;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .right-bio-beat img{
        width: 50%;
        text-align: center;
        margin: 2rem auto;
    }
    
    .right-bio-beat h4{
        color: #737373;
        letter-spacing: 10px;
        font-size: 12px;
    }
    
    .right-bio-beat p{
        width: 100%;
        text-align: justify;
    }

    .right-bio-beat h4{
        margin: 2rem 0;
        color: var(--azulroyal);
        line-height: 32px;
    }

    #divisor-img-laranja{
        margin-top: 4rem;
        width: 100%;
        height: 50px;
        background-position: left;
        color: pink;
    }

    .container-gastronomia{
        padding: 5rem 0;
        flex-wrap: wrap;
        background-color: var(--bg-white);
        margin: 0 auto;
    }
    

    .container-gastronomia-content{
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .left-content-gastronomia{
        width: 100%;
        margin: 0 auto;
    }

    #img-gastronomia{
        border: solid var(--azulroyal) 20px;
        width: 100%;
        margin-left: 0;
        border: 0;
    }
    
    .right-content-gastronomia{
        width: 90%;
        text-align: center;
    }

    .right-content-gastronomia p{
        text-align: justify;
    }
    
    .right-content-gastronomia h2{
        font-size: 40px;
        color: var(--azulroyal);
        padding: 2rem 0;
        line-height: 40px;
    }

    .right-content-gastronomia img{
        margin-top: 4rem;
    }


    .btn-menu{
        display: inline-flex;
    }
    
    .btn-menu a{
        margin-top: 2rem;
        padding: 20px 40px;
        background-color: var(--azulroyal);
        color: var(--bg-white);
        text-decoration: none;
    }
    
    .btn-menu a:hover{
        scale: 1.1;
        transition: 0.3s ease-in-out;
        background-color: var(--laranja);
    }


    .content-live-beat{
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }
    
    .content-live-beat img{
        width: 30%;
    }
    
    .content-live-beat ul{
        flex-direction: column;
        justify-content: space-between;
        margin-top: 2rem;
    }
    
    .content-live-beat{
        padding: 6rem 0;
        color: var(--bg-white);
    }
    
    .content-live-beat h1{
        margin-top: 20px;
        line-height: 40px;
    }
    
    .content-live-beat ul li{
        margin: 10px 20px;
        padding: 16px 32px;
        border: solid 1px var(--bg-white);
        list-style-type: none;
        font-size: 18px;
    }
    
    .content-live-beat p{
        width: 90%;
        margin: 1rem;
    }

    .divisor-kids img{
        width: 100%;
    }

    .container-kids-full{
        background-color: #cdfff7af;
        padding: 3rem 0;
        text-align: center;
        margin: 0 auto;
    }

    .container-kids-full{
        background-color: #cdfff7af;
        padding: 5rem 0;
    }
    
    .container-kids{
        flex-wrap: wrap;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        justify-content: center;
    }
    
    .left-container-kids{
        width: 90%;
        padding-right:0;
    }
    
    .left-content-kids{
        width: 100%;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .left-content-kids h1{
        margin-top: 3rem;
    }
    
    .left-content-kids p{
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }

    .left-content-kids img{
        margin: 0 auto;
        text-align: center;
        width: 50%;
    }
    
    .right-container-kids{
        width: 100%;
    }

    .right-container-kids img{
        width: 90%;
    }


    .container-testimonial {
        width: 100%;
    }

    .testimonial {
        width: 90%;
        border-radius: 10px;
        height: 250px;
        padding-top: 0;
        padding-bottom: 4rem;
    }
    
    .testimonial .slide {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: #F5F6F9;
    }

    .slide{
        display: flex;
    }
    
    #mobile-trip-dots{
        width: auto;
        height: 10px;
    }
    
    .slide h2{
        padding-bottom: 12px;
        color: var(--azulmarinho);
        font-weight: 800;
        font-size: 20px;
    }
    
    .swiper-slide h2{
        color: #00AA6C;
        padding: 0 4rem;
        font-size: 16px;
    }

    .slide h3{
        font-size: 12px;
    }
    
    .slide p {
        padding: 0 3rem;
        text-align: center;
        color: var(--azulmarinho);
        font-size: 12px;
    }

    .btn-trip a{
        margin-top: 2rem;
    }
    

    .header-footer{
        width: 90%;
    }

    .header-footer img{
        margin-top: 6rem;
        width: 70%;
    }

    .partnes-elements{
        width: 100%;
    }
    
    .partnes-elements img{
        opacity: 0.4;
        margin: 0 2rem;
        width: 18%;
    }

    .footer-copyright{
        width: 100%;
        text-align: center;
        display: block;
        margin: 0 auto;
        margin-top: 50px;
        padding-bottom: 20px;
    }
    
    .footer-copyright p{
        font-size: 12px;
        font-weight: 600;
    }
    
    .footer-copyright p a{
        text-decoration: none;
        color: #1D2F83;
    }

    footer{
        border-bottom: 22px solid var(--azulroyal);
    }

    #mobile-img-inst{
        width: 100%;
    }
    
    .title-events{
        margin: 2rem auto;
        width: 90%;
    }

    .title-events h1{
        line-height: 48px;
    }

    .title-events-topicos{
        text-align: center;
        width: 100%;
        margin: 2rem auto;
        margin-top: 90px;
    
    }
    
    .title-events-topicos span{
        padding: 20px;
        background-color: var(--laranja);
        color: var(--bg-white);
    }

    .title-events-topicos-old{
        text-align: center;
        width: 100%;
        margin: 2rem auto;
        margin-top: 90px;
    
    }
    
    .title-events-topicos-old span{
        padding: 20px;
        background-color: var(--laranja);
        color: var(--bg-white);
    }


    .container-inst-imgs{
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 10px;
    }
    
    #container-inst-imgs{
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        padding: 8rem 0;
        width: 70%;
    }
    
    .gallery {
        margin: 6rem auto;
        width: 90%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
        padding: 10px;
    }


}