* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --mainColor1: #42413F;
  --mainColor2: rgb(0, 0, 0);
  --mainColor3: #008539;
  --mainColor4: #ffffff;
  --mainColor5: #3A306F;
}

.offcanvas {
  color: var(--mainColor2);
  background-color: var(--mainColor4);
}

.offcanvas-header .btn-close {
  color: var(--mainColor4);
  font-size: 1.5rem;
}

@media only screen and (max-width: 1254px) {
  .icon-menu:hover {
    color: var(--mainColor4);
  }


  body {
    overflow-x: hidden;
  }
}

@media only screen and (max-width: 1200px) {
  .container {
    max-width: 95% !important;
  }
}

@media only screen and (max-width: 1064px) {
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }

  .form-res {
    display: flex;
  }

  .icon-menu {
    display: flex !important;
  }


  .nav-pills-profile-sm .nav-link.active {
    background-color: var(--mainColor1);
    border-radius: 0.5125rem;
    color: var(--mainColor4) !important;
  }

  .navbar .container-fluid {
    padding-inline: 4rem;
  }

  .nav-slider {
    display: none;
  }

  #navBar {
    background-color: transparent
  }


  .flag,
  .floatwhatsapp {
    bottom: 2%;
  }

  .back-to-top {
    bottom: 10%;
  }

  .flag-list {
    bottom: 10%;
  }




}

@media only screen and (max-width: 1110px) {

  .sidenav {
    padding-top: 15px;
  }

  .side-menu .text-search {
    font-weight: 400;
    font-size: 20px;
    padding-block: 80px;

  }

  .overflow-row {
    overflow-x: scroll;
  }

  .btn-close:focus {
    box-shadow: 0 0 0 0rem rgba(13, 110, 253, .25);
  }

}

@media only screen and (max-width: 991px) {

  ul.courses li {
    flex: 1 0 100%;
    padding-block: 15px;

  }

  .search-input-icon {
    font-size: 18px;

  }

  .search-input-icon:hover {
    color: #008539;
  }

  .zoom {
    max-height: 350px;
    overflow: hidden;
  }

  .gray-bage h3 {
    font-size: 30px;

  }

  .carousel-item img {
    min-height: 60vh;
  }



  .dropdown-menu {
    width: 15rem;
    border: none !important;
  }

  .w-75,
  .w-50 {
    width: 100% !important;
  }

  form.w-50 {
    width: 100% !important;
  }

  .nav-pills-profile {
    display: none;
  }

  .nav-pills {
    flex-wrap: nowrap;
    text-align: center;
    justify-content: center;
  }

  .nav-pills h6 {
    flex-wrap: nowrap;
    font-size: 0.8rem;
    margin-top: 10px;
  }

  .profile .nav-pills h6 {
    text-align: center;
  }

  .icon-menu-profile {
    display: flex !important;
    padding-inline: 2rem;

  }

  h3 {
    font-size: 22px;
  }
}

@media only screen and (max-width: 900px) {
  .breadcrumb-item {
    font-size: 15px;
  }

  .item-container {
    height: 250px;

  }

  .slider2 .img-card {
    max-height: 200px;
  }

  .flex-grow-1 {
    font-size: 10px;
  }

  .text-price {
    font-size: 14px;
  }

  .overlay2 {

    font-size: 1.5rem;
  }

  .container {
    width: 100%;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 2.3rem 0rem 2.3rem 0rem;
  }

}

@media only screen and (max-width: 770px) {

  .table {
    font-size: small;
  }

  nav.bg-purple {
    font-size: small;
  }

  .row-res {
    display: flex;
  }

  .row-res-img {
    display: none;
  }

  .row-small {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .row-small .zoom {
    max-width: 20%;
  }

  .img-big {
    width: 100% !important;
  }

  .owl-prev {
    left: -30px !important;
  }

  .owl-next {
    right: -30px !important;
  }

  .owl-item {
    height: 170px !important;
  }
  
  .text-header nav {
    font-size: 16px !important;
}
}

 @media only screen and (max-width: 623px) {

  .carousel-control-next,
  .carousel-control-prev {

    bottom: -45%;
  }

  .carousel-caption {
    right: 5%;
    left: 5%;
  }

  .carousel-inner {
    overflow: visible;
  }



} 


@media only screen and (max-width: 623px) {
  .carousel-caption {
    top: 27%;
  }

  .carousel-caption .card {
    min-height: 164px;
  }

  .carousel-indicators {
    bottom: 0px;
  }

  .carousel-control-next, .carousel-control-prev {
    bottom: -8%;
  }


}


@media only screen and (max-width: 390px) {
    .table {
        font-size: 12px;
   }
}