@font-face {
    font-family: 'J-Medium';
    src: url('../fonts/JosefinSans-Medium.ttf');
}

@font-face {
    font-family: 'J-Light';
    src: url('../fonts/JosefinSans-Light.ttf');
}

@font-face {
    font-family: 'J-Regular';
    src: url('../fonts/JosefinSans-Regular.ttf');
}

@font-face {
    font-family: 'J-SemiBold';
    src: url('../fonts/JosefinSans-Bold.ttf');
}


.text-m{
    font-family: 'J-Medium';
}

.text-l{
    font-family: 'J-Light';
}

.text-r{
    font-family: 'J-Regular';
}

.text-s{
    font-family: 'J-SemiBold';
}

.color-orange{
    color: #D3592A;
}

.text-horario{
    margin-top: 10px;
}


html {
    scroll-behavior: smooth;
}

header {
    display: none;

}

body{
    font-family: 'Barlow-Light';
    font-size: 1.2rem;
}


.mobile-container {
    display: none;
    box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.75);
}

.close-btn svg {
    fill: #fdca6a;
}
.logo-menu {
    width: 150px;
    height: 50px;
    left: 0;
    padding-left: 8%;
  }

#back-to-top svg {
    fill: #fdca6a; 
}

.text-bold{
    font-family: 'Barlow-Bold';
}

.hidden-arrow {
    display: none;
  }

.map-link img{
    margin-left: 2px;
}
.side-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    width: 170px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    overflow-y: auto;
    transition: 0.6s ease;
    transition-property: right;
    background: #e4c792;
    min-height: 100vh;
    z-index: 20;
}

.side-bar.active {
    right: 0;
}

.side-bar .menu-item {
    width: 100%;
    margin-top: 80px;
}

.side-bar .menu-item .item {
    position: relative;
    cursor: pointer;
}


  .fig {
    width: 100%;
    color: white;
    position: relative;
    overflow: hidden;
  }
  
 
  .fig:before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
    background-color: #ae895d;
    opacity: 0.5;
    transform: translateY(100%);
    transition: all 0.25s;
    transition-delay: 0.25s;
  }
  
  .fig:hover:before {
    transform: translateY(0);
    transition-delay: 0s;
  }
  
  .fig .caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.25s ease;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .fig svg{
    font-size: 3rem;
    fill: #A7A7A7;
  }
  
  
  .fig h3,
  .fig h5 {
    margin: 0;
    letter-spacing: 1px;
  }
  .fig h3 {
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 5px;
  }
  .fig h5 {
    background-color: #ae895d;
    padding: 3px 10px;
  }
  
  .fig:hover .caption {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
  }

.side-bar .menu-item .item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 5px 30px;
    line-height: 60px;
    text-align: center;
    font-family: 'Monteserrat-Regular';
}

.side-bar .menu-item .item a:hover {
    background: #e4a52f;
    transition: 0.3s ease;
}

.side-bar .menu-item .item i {
    margin-right: 15px;
}

.side-bar .menu-item .item a .dropdown {
    position: absolute;
    right: 0;
    margin: 20px;
    transition: 0.3s ease;
}

.side-bar .menu-item .item .sub-menu {
    background: rgba(255, 255, 255, 0.1);
    display: none;
}

.side-bar .menu-item .item .sub-menu a {
    padding-left: 80px;
}

.rotate {
    transform: rotate(90deg);
}

.close-btn {
    position: absolute;
    color: #e4a52f;
    font-size: 20px;
    right: 0;
    margin: 25px;
    cursor: pointer;
    z-index: 20;
}

.menu-t-btn {
    position: absolute;
    color: #000000;
    font-size: 29px;
    margin: 25px;
    right: 0;
    cursor: pointer;
    z-index: 20;
}

.menu-t-btn svg {
    fill: #faa914;

}

.mobile-container {

    height: 70px;

}



.topnav {
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    display: none;
}

.topnav #myLinks {
    display: none;
}

.topnav img {
    width: 10%;
    height: 10%;
}

.topnav a {
    color: #484848;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

.topnav a.icon {
    background: #F2CA80;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}



.topnav .logo-elza {
    color: transparent;

}

.active {
    color: white;
}

body {
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

ul {
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
}

p {
    display: block;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

nav {
    display: grid;
    grid-template-columns: 20% 60%;
    grid-template-rows: 80px;
    justify-content: center;
    z-index: 5;
    width: 100%;
    box-shadow: 0px 4px 4px -2px rgba(151, 145, 145, 0.75);
    position: fixed;
    margin-top: 0px;
    background-color: #ffffff;
}

.message-whatsapp{
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: max-content;
    align-content: center;
    align-items: center;
    justify-content: end; 
    font-family: 'J-Medium';
    font-size: 1rem ;
}

.text-whatsapp{
    
    padding-right: 10px;
}

.nav-menu{
    height:88px;
}

.menu-btn {
    display: none;
}

.logo {
    display: flex;
    align-items: right;
    justify-content: right;
    z-index: 1;
}

.logo img {
    object-fit: cover;
    width: 100%;
    margin-top: 10px;
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
    padding-left: 9px;
    padding-bottom: 20px;
    margin-top: 45px;
}

nav ul li {
    padding-right: 27px;
    padding-left: 27px;

    border-right: 1px solid #153306;
    font-family: Monteserrat-Regular, Geneva, Tahoma, sans-serif;
    color: #3f692a;
    letter-spacing: 1px;

}

nav ul li a {
    color: #ffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;



    letter-spacing: 1px;
    transition: all 0.3 ease;

}

nav .menu .text-simulacao {
    background: #F2CA80;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
    font-weight: 900;
}

nav ul li a.active {

    border-radius: 15px;
    color: #C9952B;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: bold;
}

nav li:last-child {
    border-right: none;

}

nav .menu-btn svg {
    color: #fff;
    cursor: pointer;
    display: none;
}



@media only screen and (max-width: 782px) {
    header {
        display: block;
    }


    .nav-menu{
        height:0px;
    }


    .mobile-container {
        display: block;
        box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.75);
    }

    .logo img {
        object-fit: contain;
        width: 150px;
        height: 100px;
    }



    ul {
        display: block;
        list-style-type: disc;
        margin-block-start: 0px;
        margin-block-end: 0px;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        padding-inline-start: 0px;
    }

    .topnav {
        overflow: hidden;
        background-color: #ffffff;
        position: relative;
        display: block;
    }

    nav {

        grid-template-rows: 45px;
        display: none;
        margin-top: 200px;

    }

    .menu-btn {
        display: block;
        order: 2;
        text-align: center;
    }


    nav .menu-btn svg {
        display: block;
        padding-top: 10px;
        float: right;
        margin-right: 10px;
        width: 35px;
        height: 35px;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        background-color: #f2ca80;
        height: 100vh;
        max-width: 50%;
        text-align: center;
        display: block;
        transition: all 0.3s ease;
        z-index: 5;
    }

    nav ul.open {
        left: 0;
    }

    nav li a {
        padding-right: 5%;
    }

    nav ul li {
        width: 100%;
        margin-top: 50px;
        margin-left: -4%;
        border: 0;
    }

    nav ul li a {
        font-size: 1.4375rem;
    }

    nav ul li a.active,
    nav ul li a:hover {
        background: none;
        color: white;
        font-weight: bold;
    }



    nav .menu-btn svg {
        display: block;
        padding-top: 10px;
        float: right;
        margin-right: 10px;
        width: 35px;
        fill: #f2ca80;
        height: 35px;
    }

    .fig svg{
        display: none;
      }


      #back-to-top {
        visibility: visible;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
      }
      
      #back-to-top a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #333;
        color: #fff;
        text-decoration: none;
        transition: opacity 0.3s ease-in-out;
      }
      
      #back-to-top a:hover {
        opacity: 0.7;
      }
      
      #back-to-top svg {
        height: 35px;
      }
      
}

