/* Estilos do header */
header {
  width: 100%;
  height: 800px;
  min-height: 800px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../img/bsolon_27966_black_brazilian_smile_COUPLE_with_son_at_the_airpo_22df177c-9d95-4da1-b778-fc51a45b4305.png);
  background-size: cover;

  padding: 16px 3.5rem 0px 3.5rem;
  position: absolute;
  z-index: 998;
  top: 0%;
  max-width: 2560px;
}

/* Estilos da navbar */
#navbar {
  position: sticky; /* Para manter o navbar fixo ao scrollar */
  top: 0; /* Fixa no topo */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.5rem 3.5rem 2rem 3.5rem;
  background-color: transparent; /* Começa transparente */
  z-index: 9999; /* Sobrepõe o conteúdo */
  max-height: 115px;
  transition: top 0.3s ease, background-color 0.3s ease; /* Transição suave para a posição e o fundo */
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Fundo escuro quando rolar para cima */
}

#navbar a {
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  border-radius: 4px;
}

#navbar.scrolled-up,
#navbar.active {
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Fundo escuro quando rolar para cima */
}
.logoHeader {
  width: 70%;
  height: auto;
  max-width: 360px;
}
.logoHeaderActive {
  width: 70%;
  height: auto;
  max-width: 360px;
  display: none;
}
#logo-popTur {
  display: flex;
  min-width: none;
  max-width: 100px;

  padding-bottom: 1rem;
}
#nav_list {
  display: flex;
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#logo-popTur-mobile {
  display: none;
  width: 70px;
  height: 80px;
  padding-bottom: 1rem;
  align-items: start;
}
#box-two-nav {
  display: flex;
  list-style: none;
  gap: 1rem;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-self: baseline;
  align-items: center;
  height: 2rem;
}
.nav-item.column {
  display: flex;
  flex-direction: column;
  width: 100px;
}

.nav-item a {
  box-sizing: content-box;
  text-decoration: none;
  color: #f8f9f7;
  padding: 4px;
  font-size: 0.8rem;
  position: relative; /* Para posicionar o ::after */
  font-weight: 600;
}

.nav-item a::after {
  content: "";
  position: absolute;
  left: 50%; /* Inicia no centro */
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary);
  transition: all 0.3s ease; /* Transição suave */
  transform: translateX(-50%);
}

.nav-item a:hover {
  color: var(--secondary); /* Altera a cor do texto ao hover */
}

.nav-item a:hover::after {
  width: 100%; /* Expande para preencher o elemento */
  left: 50%;
}

.nav-item a::after {
  transition: width 0.5s ease-out; /* Transição mais lenta na expansão */
}

.nav-item a:hover::after {
  transition: width 0.4s ease-in; /* Transição mais lenta ao recolher */
}

/* Estilos para o botão mobile */
#mobile_btn {
  display: none;
}

/* Menu mobile oculto por padrão */
#mobile_menu {
  display: none;
}

/*/////////////////////////////////////////////////////////////////////////////////*/
.input-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.input-container-large {
  position: relative;
  width: 100%;
  height: 50px;
  border: 2.5px solid var(--primary);
  border-radius: 4px;
  display: flex;
  align-self: center;
  padding-left: 8px;
  margin-top: 2px;
}
.input-container-large i {
  width: 2rem;

  padding: 20px;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
}

.travel_input {
  width: 100%;
  height: 40px;
  background-color: #f8f9f7;
  border-radius: 4px;
  padding: 0 16px;
  outline: none;
  border: 2.5px solid var(--primary);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #f8f9f7;
  border: 1px solid var(--primary);
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-list li {
  padding: 10px;
  cursor: pointer;
  color: #333;
}

.dropdown-list li:hover {
  background-color: var(--primary);
  color: #fff;
}

#container_home {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 104px);
}
#elements_home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 4px;
  width: 100%;
}
#elementBox_1 {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 16px;
  width: 535px;
  height: auto;
}

#elementBox_1 #title {
  font-size: 2rem;
  font-weight: 200;
  text-align: left;
  line-height: 2.5rem;
  letter-spacing: 2px;
  color: var(--tertiary);
  padding-bottom: 12px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding-right: 5%;
}

#changing-word {
  display: inline-block;
  animation: 10s infinite;
  color: var(--secondary);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  line-height: 2px;
  font-family: "Bremen", sans-serif;
  letter-spacing: 0px;
}

#rectangle_icon_design {
  width: 100%;
  min-height: 480px;
  max-height: 600px;
  background-image: none;
  background-color: #f8f9f7;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  border-radius: 10px;
  padding: 1rem 1rem 0rem 1rem;
  position: relative;
  bottom: 100px;
}

#elementBox_2 .btn-aereo {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--tertiary);
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 50%;
  height: 48px;
  letter-spacing: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#elementBox_2 .btn-hotel:hover,
#elementBox_2 .btn-hotel:focus,
#elementBox_2 .btn-aereo:focus,
#elementBox_2 .btn-aereo:hover {
  background-color: var(--secondary);
}

#elementBox_2 .btn-hotel {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--tertiary);
  font-weight: 600;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 50%;
  height: 48px;
  letter-spacing: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#container_btn_rectangle {
  display: flex;
  position: relative;
  align-items: center;
  gap: 3px;
  z-index: 1;
  padding-top: 8px;
  width: 100%;
}
#container_btn_segment {
  display: flex;
  position: relative;
  align-self: start;
  margin-top: 0.3rem;
  margin-left: 0.5rem;
  justify-content: start;
  gap: 1rem;
  z-index: 1;
  padding-top: 8px;
  width: 100%;
}
.btn-ida-volta {
  min-width: 100px;
  height: 30px;
  border-radius: 5px;
  padding: 0.2rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-ida-volta small, .btn-ida small{
font-size: 10px;
letter-spacing: 2px;
font-weight: 500;
}
.btn-ida {
  border-radius: 5px;
  padding: 0.2rem;
  min-width: 70px;
  height: 30px;
  transition: background-color 0.3s ease;
  cursor: pointer;
   display: flex;
  justify-content: center;
  align-items: center;
}
.btn-ida-volta:focus,
.btn-ida-volta:hover,
.btn-ida:focus,
.btn-ida:hover {
  border: 2px solid var(--primary);
  background-color: var(--secondary);
}

#group_icons_fly {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: end;
  z-index: 0;
  padding-right: 16px;
  width: 20%;
  left: 79%;
  top: -70px;
}

#container_inputs {
  display: flex;
  position: relative;
  z-index: 3;
  justify-content: space-between;
  flex-direction: column;
  gap: 19px;
  padding-top: 16px;
}

#container_inputs_hotel {
  display: none;
  position: relative;
  z-index: 3;
  justify-content: space-between;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
}

#container_inputs .btn-default {
  position: relative;
  align-self: flex-end;
  width: 250px;
  background-color: #25d366;
}

#container_inputs_hotel .btn-default:hover {
  background-color: #8dcb64;
}

#container_inputs_hotel .btn-default {
  position: relative;
  align-self: flex-end;

  width: 250px;
  background-color: #25d366;
}

#container_inputs .btn-default:hover {
  background-color: #8dcb64;
}

#container_travel {
  display: flex;
  align-items: center;
  justify-content: baseline;
  gap: 2px;
  width: 100%;
}

.hidden-input {
  display: none;
}
.travel_input {
  width: 180px;
  height: 40px;
  border-style: none;
  background-color: #f8f9f7;
  border-radius: 4px;
  display: flex;
  align-self: center;
  justify-content: center;
  padding: 0px 16px 0px 0px;
  outline: none;
  border-color: transparent;
}

#travel_input_formInicial {
  width: 180px;
  height: 40px;
  border-style: none;
  background-color: #f8f9f7;
  border-radius: 4px;
  display: flex;
  align-self: center;
  justify-content: center;
  padding: 0px 16px 0px 0px;
  outline: none;
  border-color: transparent;
}

#container_data {
  display: flex;
  align-items: center;
  justify-content: baseline;
  gap: 2px;
}
.container-passenger-info {
  display: flex;
  width: 100%;
  justify-content: baseline;
  gap: 2px;
}
.passengerInfo {
  width: 100%;
  height: 40px;
  border-style: none;
  background-color: #f8f9f7;
  border-radius: 4px;
  display: flex;
  align-self: center;
  justify-content: center;
  padding: 0px 16px 0px 0px;
  outline: none;
  border-color: transparent;
}
.date_input {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 40px;
  display: flex;
  align-self: center;
  justify-content: center;
  outline: none;

  border-color: transparent;
  background-color: #f8f9f7;
  direction: rtl;
}

.date_input::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  right: auto;
  background-color: var(
    --primary
  ); /* Muda a cor do ícone do calendário (em navegadores WebKit) */
  color-scheme: dark;
  margin-left: 10px;
  border-radius: 2px;
  align-self: center;
  flex-direction: column;
  display: flex;
}

#passenger_input_aereo {
  width: 150px;
  height: 40px;
  border-style: none;
  background-color: #f8f9f7;
  border-radius: 4px;
  align-self: center;
  justify-content: center;

  outline: none;
  border-color: transparent;
  cursor: pointer;
}

#passenger_input_formInicial {
  width: 150px;
  height: 40px;
  border-style: none;
  background-color: #f8f9f7;
  border-radius: 4px;
  display: flex;
  align-self: center;
  justify-content: center;

  outline: none;
  border-color: transparent;
}

.input-container {
  width: 250px;
  height: 50px;
  border: 2.5px solid var(--primary);
  border-radius: 4px;
  display: flex;
  align-self: center;
  padding-left: 8px;
  margin-top: 2px;
}

.input-container i {
  width: 2rem;
  height: 50px;
  padding: 20px;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
}
/*/////////////////////////////////////////////////////////////////////////////////*/
@media screen and (max-width: 1920px) {
}

@media screen and (max-width: 1024px) {
  .logoHeader {
    display: none;
  }
  .logoHeaderActive {
    display: flex;
  }

  header {
    height: 1050px;
    background-position: center;
  }
  main {
    top: calc(880px);
    margin-bottom: 850px;
  }

  /*/////////////////////////////////////////////////////////////////////////////////*/

  #rectangle_icon_design,
  #group_icons_fly,
  #elementBox_2 {
    display: flex;
    bottom: 50px;
  }
  #container_home {
    min-height: 100%;
    padding-top: 0px;
  }
  #elements_home {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: calc(5% + 125px);
  }
  #elementBox_1 {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-bottom: 80px;
    padding: 0px;
  }
  #elementBox_1 #title {
    text-align: center;
  }
}

@media screen and (max-width: 790px) {


  .container-passenger-info {
  }
  .input-container-large {
    height: 55px;
  }
  #logo-popTur-mobile {
    display: flex;
  }
  #nav_list,
  #navbar .btn-default {
    display: none;
  }
  #box-text {
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  #elementBox_1 #title {
    padding-bottom: 0px;
    padding-right: 0px;
  }

  #agencies {
    gap: 24px;
  }
  #agency-icon {
    width: 30%;
    height: auto;
  }

  #mobile_btn {
    display: block;
    border: none;
    background-color: transparent;
    width: 50px;
    height: 50px;
    font-size: 1rem;
    background-color: var(--primary);
    cursor: pointer;
    border-radius: 5px;
    color: var(--tertiary);
  }

  #mobile_menu.active {
    display: flex;
    position: fixed;
    right: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: auto;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0px 0px 8px 8px;
    z-index: 10000;
    transition: top 0.3s ease, background-color 0.3s ease; /* Transição suave para a posição e o fundo */
    padding: 0px 12% 0px 12%;
  }
  #mobile_menu.scrolled-up {
    background-color: rgba(
      0,
      0,
      0,
      0.7
    ); /* Fundo escuro quando rolar para cima */
  }
  #mobile_nav_list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: 12px 0px;
    list-style: none;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  #mobile_nav_list .nav-item {
    list-style: none;
    text-align: center;
  }

  header {
    height: 1304px;
  }
  main {
    top: calc(1130px);
    margin-bottom: 1150px;
  }

  #elementBox_1 #title {
    text-align: center;
    font-size: 1.8rem;
    line-height: normal;
    width: 100%;
  }
  #changing-word {
    display: inline-block;
    animation: 10s infinite;
    color: var(--secondary);
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    line-height: normal;
    padding-bottom: 12px;
  }
  #group_icons_fly {
    display: none;
  }

  #rectangle_icon_design {
    width: 100%;
    height: 440px;
    background-image: none;
    background-color: #f8f9f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    margin-top: 1rem;
  }
  #container_subtitle_rectangle {
    margin-left: 0px;
  }

  #elements_home {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 4px;
    width: 100%;

    padding: 0px;
  }

  #elementBox_1 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  #elementBox_2 {
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    height: 6%;
  }

  #container_btn_rectangle {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
    margin-left: 2px;
  }
  #elementBox_2 .btn-aereo {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--tertiary);
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 50%;
    height: 48px;
    letter-spacing: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  #elementBox_2 .btn-hotel {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--tertiary);
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 50%;
    height: 48px;
    letter-spacing: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  .input-container {
    width: 100%;
    height: auto;
    border: 2.5px solid var(--primary);
    border-radius: 4px;
    display: flex;
    align-self: center;
    justify-content: center;
  }
  #date_input {
    justify-content: end;
  }

  #container_inputs,
  #container_inputs_hotel,
  #date_input,
  #passenger_input,
  #travel_input {
    width: 100%;
    font-size: 12px;
  }
  #container_tittle_rectangle {
    display: flex;
    justify-content: center;
    align-self: center;
    margin-left: 0px;
    margin-top: 32px;
  }
  .travel_input {
    width: 100%;
  }
  #travel_input_formInicial {
    width: 100%;
  }

  #passenger_input_aereo {
    width: 100%;
  }
  #passenger_input_formInicial {
    width: 100%;
  }

  #airplane,
  #person {
    padding: 20px;
  }
  .date_input::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    right: auto;
    background-color: var(--primary);
    border-radius: 2px;
  }
  .date_input {
    display: flex;
    height: 50px;
    padding-left: 20%;
    font-size: 12px;

    align-items: center;
  }
  #container_inputs .btn-default {
    position: relative;
    align-self: flex-end;
    bottom: 8px;
    width: 49%;
    background-color: #25d366;
    font-size: 0.8rem;
  }
  #container_inputs_hotel .btn-default {
    position: relative;
    z-index: 4;
    align-self: flex-end;
    font-size: 0.8rem;

    max-width: 49%;
    background-color: #25d366;
  }

  #elementBox_1 .btn-default {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
 
  #container_btn_rectangle {
    width: 100%;
  }
}
@media screen and (max-width: 320px) {
  #elementBox_2 .btn-hotel {
    letter-spacing: 1px;
  }
  #elementBox_2 .btn-aereo {
    letter-spacing: 1px;
  }
}
@media screen and (max-width: 425px) {
  header {
    padding: 16px 1.5rem 0px 1.5rem;
  }
  .date_input::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    right: auto;
    background-color: var(--primary);
    margin-left: 0.6rem;
    border-radius: 2px;
  }
  .date_input {
    display: flex;
    height: 50px;

    font-size: 12px;

    align-items: center;
  }
}
