@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;700&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
    /* overflow-x: hidden; */
    min-height: 100vh;
    max-width: 100vw;
    background-color: #f5f4f5; /*f5f4f5*/
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/*      HEADER       */






.header {
    width: 100%;
    background-color: #2196f3;
    position: fixed;
    height: 100px;
    z-index: 70;
    box-shadow: 0px 2px 11px 2px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
  }
  
  .navbar-menu .logo {
    padding: 20px 0;
  }
  
  .navbar-menu .logo img {
    width: 130px;
    height: 70px;
  }
  
  .navbar-menu .nav ul {
    display: flex;
    list-style: none;
  }
  
  .navbar-menu .nav ul li a {
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
    font-weight: 400;
    transition: 0.2s ease-in-out;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .navbar-menu .nav ul li a:hover {
    background-color: #1679c7;
  }
  
  .navbar-menu .essentials {
    display: flex;
    
  }
  
  .navbar-menu .essentials .dropdown .select li {
    padding: 10px 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    border-radius: 5px;
  }
  
  .navbar-menu .essentials .dropdown .select li:hover/* :not(:last-child) */ {
    background-color: #1679c7;
  }
  
  .navbar-menu .essentials .car-menu .carrito-btn {
    border: none;
    background: transparent;
    transition: background 0.2s ease-in-out;
    padding: 10px 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 5px;
  }
  
  /* .navbar-menu .essentials .car-menu .carrito-btn:hover {
    background-color: #1f5b8a;
  } */
  
  .navbar-menu .essentials div li .arrow {
    margin-left: 5px;
    font-size: 10px;
  }
  
  .toggle {
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 10px 20px;
    outline: none;
  
    display: none;
  }










  /*        DROPDOWN MENU           */
  
  
  
  
  
  
  
  
  
  
  
  /* .dropdown {
      min-width: 15em;
      position: relative;
      margin: 2em;
  } */
  
  .select {
    /* background: #2a2f3b; */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 2px #2a2f3b solid; */
    border-radius: 0.5em;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .select li span {
    user-select: none;
  }
  
  /* .select-clicked {
      border: 2px #26489a solid;
      box-shadow: 0 0 0.8em #26489a;
  } */
  
  .menu {
    list-style: none;
    padding: 0.2em 0.5em;
    background: #2196f3; /* 323741 */
    border: 1px #363a43 solid; /* 363a43 */
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
    color: #fff;
    position: absolute;
    top: 100px;
    left: 50%;
    width: 120px;
    transform: translateX(395%);
    opacity: 0;
    display: none;
    z-index: 1;
    transition: .3s;
  }
  
  #menu-2 {
    transform: translateX(435%);
    /* box-shadow: none; */
  }
  
  .menu li {
    padding: 0.7em 0.5em;
    margin: 0.3em 0;
    border-radius: 0.5em;
    cursor: pointer;
    user-select: none;
  }
  
  .menu li:hover {
    background: #1679c7;/* 2a2d35 */
  }
  
  /* Active Styles (added later in J.S.) */
  
  .active {
    background: #115991; /* 23242a */
  }
  
  /* Open Styles (added later in J.S.) */
  
  .menu-open {
    display: block;
    opacity: 1;
    transition: .3s;
  }

  main {
    padding-top: 100px;
  }












/*          MAIN         */

.main-content > form {
  display: flex;
}

.separation {
  padding: 0 20px;
}

.design {
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 2px;
  box-shadow: 1px 2px 9px -7px rgba(0,0,0,0.75); /*box-shadow: 0px 2px 11px 2px rgba(0, 0, 0, 0.3);*/
  /*height: max-content;*/
}

.title-info-box {
  margin-bottom: 10px;
  color: #333333;
  text-align: center;
}

.title-info-box > h2 {
  text-decoration: underline;
}

.padding {
  padding-top: 20px;
}

.pd {
  margin-right: 10px;
}

.forms-info-box {
  width: 100%;
}

.forms {
  display: flex;
}

.forms input {
  background-color: #f5f4f5;
  padding: 8px;
  color: #1a1919;
  border-radius: 2px;
  border: 1px solid #bbbbbb;
  width: 100%;
  height: 40px;
  outline: none;
}

.forms ::placeholder {
  color: #494848;
  font-size: 14px;
}

.pack-box-design {
  padding: 0 20px;
}

.content-pack-box .img-checkout {
  width: 150px;
  height: 150px;
  margin-right: 20px;
}

.details-pack-box h2 {
  margin-bottom: 15px;
}

.extrainfo-pack-box p {
  margin-bottom: 8px;
}

#edades-container {
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0 10px;
}

.campo-edad {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  margin-right: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.campo-edad.mostrar {
  opacity: 1;
  transform: translateY(0);
}

.campo-edad input{
  width: 60px;
  height: 30px;
  font-size: 12px;
  text-align: center;

}

.campo-edad p {
  color: #333333;
  font-weight: bold;
  margin-right: 10px;
}











/*          Resumen Chekout         */

.second-box {
  height: max-content;
  width: 800px; 
}

.second-box-details {
  margin-bottom: 10px;
}

.second-box-details > h2 {
  color: #333333;
  text-decoration: underline;
  text-align: center;
}

.second-box-details p {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  color: #333333;
}

.checkout-item {
  display: flex;
  align-items: flex-start;
  width: 700px;
  gap: 15px;
  max-width: 100%; 
}

.checkout-item-div {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  max-width: 100%;
}

.checkout-details {
  display: flex;
  flex-direction: column;
  flex: 1; /* que ocupe todo el espacio disponible */
  min-width: 0; /* importante para que el wrapping funcione bien en Flexbox */
  color: #0a141d;
}

.checkout-details span {
  display: block;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.checkout-details-sb {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resumen-title {
  color: #115991;
}

.resumen-item {
  width: 100%;
}

.total-price {
  padding-top: 20px;
}

.resumen-price {
  color: #333333;
}

.div-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333333;
}

#total-precio {
  padding-top: 20px;
}

.second-box-continue_btn {
  margin-top: 10px;
}

.boton-item-box {
  border-radius: 4px;
  display: inline-block;
  font-size: 14px;
  padding: 10px 12px;
  opacity: 1;
  border: 2px solid #fff;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 500;
  background: #333333;
  cursor: pointer;
  text-transform: uppercase;
  width: 100%;
  margin-bottom: 5px;
  text-align: center;
  text-decoration: none;
}

.boton-item-box:hover {
  background-color: #225af7;
  border: 2px solid #225af7;
  text-decoration: none;
  transition: ease 0.3s;
}

.data-passenger {
  display: flex;
}

.data-passenger_div {
  display: flex;
  margin-right: 10px;
}

.data-passenger_div #days {
  width: 60px;
  height: 30px;
  font-size: 14px;
  text-align: center;
}

.data-passenger input {
  width: 60px;
  height: 30px;
  font-size: 14px;
  text-align: center;
}

.data-passenger p {
  margin-top: 10px;
  color: #333333;
  font-weight: bold;
}



.forms-date input {
  width: 100%;
}

/*.separation-chkot {
  padding: 0;
}*/

.input-more-comments {
  margin: 10px 0;
  display: flex;
}

.textarea-input textarea {
  margin-right: 10px;
  background-color: #f5f4f5;
  padding: 8px;
  color: #1a1919;
  border-radius: 2px;
  border: 1px solid #bbbbbb;
  width: 100%;
  height: 100px;
  outline: none;
  line-height: 1.4;
  transition: all 0.3s;
  outline: none;
}

.textarea-input textarea:hover {
  cursor: pointer;
}

.textarea-input textarea:focus {
  cursor: text;
  border: 1px solid #333333;
}

.textarea-input textarea::placeholder {
  color: #494848;
  font-size: 14px;
}

.input-more-comments > p {
  color: #333333;
  font-weight: bold;
}

.input-advice {
  margin: 30px 0 10px;
}

.input-advice > p {
  color: #333333;
  font-weight: bold;

}

.fade-in {
  opacity: 0;
  transform: translateY(-6px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: 0.25s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.2s ease;
}





























/*          MEDIA QUERYS         */
























  @media (max-width: 1050px) {
    .menu {
      transform: translateX(320%);
    }
  }

  @media (max-width: 985px) {
    .menu {
      transform: translateX(280%);
    }
  }

  @media (max-width: 940px) {
    .main-content form {
      flex-direction: column;
    }
    .second-box {
      width: 100%;
      padding: 0 20px;
    }

    .forms-date {
      padding: 10px;
    }

    .forms-number{
      padding: 10px;
    }
  }


  @media (max-width: 900px) {

    .menu {
      transform: translateX(20%);
    }

    .container {
      max-width: none;
    }
  
    .header {
      height: 70px;
    }
  
    .navbar-menu {
      height: 70px;
      justify-content: space-evenly;
    }
  
    .navbar-menu .logo {
      padding: 0 10px;
    }
  
    .navbar-menu .logo img {
      width: 110px;
      height: 60px;
    }
  
    .nav-menu {
      flex-direction: column;
      align-items: center;
      margin: 0;
      background-color: #2c3e50;
      position: fixed;
      left: 100%;
      top: 70px;
      width: 100%;
      padding: 20px 0;
      height: calc(100% - 70px);
      overflow-y: auto;
      transition: left 0.3s;
    }
    
    .nav-menu li:not(:last-child) {
      margin-bottom: 30px;
    }
  
    .nav-menu li a:hover {
      background: none;
      color: #83c5f7;
    }
  
    .toggle {
      display: block;
    }
  
    .nav-menu_visible {
      left: 0;
    }
  
    .car {
      align-self: center;
    }
  
    .main__cards-container {
      display: flex;
      flex-direction: column;
    }
  
    .main__cards-container--modifier {
      display: flex;
      flex-direction: column;
    }
  }



  @media (max-width: 745px) {

    .data-passenger{
      justify-content: space-between;
    }

    .data-passenger_div{
      flex-direction: column;
    }

    .dateJ {
      margin-left: 40px;
    }

    .forms-date {
      justify-content: center;
      padding: 10px 0 0;
    }

    .forms-number{
      padding: 10px 0 0;
    }

    .data-passenger_div .forms-date input{
      width: 150px;
      
    }
  }

  @media (max-width: 600px) {
    .menu {
      transform: translateX(-10%);
    }
  }

  @media (max-width: 565px) {
    .data-passenger {
      flex-direction: column;
      
    }
    .dateJ {
      margin-left: 0;
    }
    .forms-date {
      justify-content: left;
    }
  }



  @media (max-width: 450px) {

  .menu {
      transform: translateX(-30%);
  }

  .header {
    height: 70px;
    max-width: 100vw;
  }

  .navbar-menu {
    height: 70px;
    /*justify-content: center;*/
  }

  .navbar-menu .logo {
    padding: 0 5px;
    justify-content: left;
  }

  .navbar-menu .logo img {
    width: 85px;
    height: 40px;
  }

    .checkout-item {
      flex-direction: column;
    }
  }
