* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

html,
body {
  font-size: 16px;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1rem;
}

a {
  text-decoration: unset;
  color: unset;
  display: block;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background-color: #d3e8f4;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #216796;
  height: 120px;
  z-index: 10;
}

.info-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 150px;
}

.logo {
  max-height: 80px;
  width: auto;
}

.tour-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-around;
  justify-self: start;
  flex-wrap: wrap;
  margin: 20px 0px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  background-color: white;
  overflow: hidden;
  border-radius: 4px;
  min-width: 100px;
  max-width: 256px;
  height: 600px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.tour-day,
#tourDescription {
  text-align: start;
}

.form-contrainer {
  display: none;
  background-color: white;
  padding: 50px;
  overflow: hidden;
  border-radius: 4px;
  min-width: 100px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.form-elements {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.birthdates-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.btn-container {
  display: flex;
  justify-content: center;
  margin: auto 0 20px 0;
  width: 100%;
}

.footer-btns-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

#social-links > a > img {
  width: 32px;
}

#social-links {
  display: flex;
  margin-top: 30px;
  flex-direction: row;
  width: 100%;
  max-height: fit-content;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: #2c9bd6;
  color: white;
  gap: 10px;
  justify-content: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-footer {
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  color: white;
}

.btn-footer:hover {
  text-decoration: underline;
}

.tour-img-description {
  max-width: 100%;
  width: 512px;
  height: auto;
}

#tourIncluded,
#tourExcluded {
  text-align: start;
}

.tour-img {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlay-text {
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

.tour-img:hover img {
  transform: scale(1.15);
}

.tour-img:hover .overlay {
  opacity: 1;
}

.description {
  line-height: 1.4em;
  max-height: calc(1.4em * 6);
  margin-top: 10px;
  overflow: hidden;
  padding: 0 15px;
  white-space: normal;
}

.price {
  font-size: 20px;
  font-weight: bold;
}
.catalog-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selectors-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #2c9bd6;
  color: white;
  border-radius: 4px;
  max-width: fit-content;
  padding: 20px 30px;
  gap: 15px;
  align-items: flex-end;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 400px) {
  .tour-card {
    flex: 1 1 100%;
  }
}

.user-input-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 5px;
  font-weight: bold;
  font-size: 18px;
}
/* .user-input-container {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(177, 197, 255, 0.6);
  background: rgba(250, 252, 255, 0.85);
  color: #1f2f6b;
  transition: border 0.2s ease, box-shadow 0.2s ease;
} */

.user-select-input,
.date-input {
  width: 150px;
  height: 40px;
  padding: 6px;
  border-radius: 4px;
  outline: none;
  border: none;
}

.search-button,
.order-btn {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 233, 102, 1) 0%,
    rgba(254, 222, 22, 1) 100%
  );
  border-radius: 4px;
  padding: 15px;
  height: 40px;
  cursor: pointer;
  margin-top: 0;
  flex: 0 0 150px;
}

.search-button {
  width: 150px;
}
.order-btn {
  max-width: fit-content;
  flex: auto;
}

.check,
.ex {
  list-style: none;
  padding-left: 0;
}

.check::before {
  content: "✔️ ";
  margin-right: 5px;
}

.ex::before {
  content: "❌ ";
  margin-right: 5px;
}

.search-button,
.order-btn {
  transition: box-shadow 0.3s ease;
}

.search-button:hover,
.order-btn:hover {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.tour-info,
.tour-dates-list {
  width: 100%;
  max-width: 500px;
}

.tour-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.tour-dates-list {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  max-height: none;
  column-gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}
.tour-dates {
  align-self: center;
  padding: 15px;
  line-height: 1.4em;
  max-height: calc(1.4em * 6);
  margin-top: 10px;
  overflow: hidden;
  padding: 0 15px;
  white-space: normal;
}

.footer {
  display: flex;
  justify-content: center;
  width: 100%;
  height: fit-content;
  background-color: #216796;
  padding: 20px;
  font-size: 10px;
  color: #ffffff;
}

.sun-spinner {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: 100px auto;
}

.center-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-color: #fee026;
  border: 4px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.sk-circle {
  position: relative;
  width: 100%;
  height: 100%;
}

.sk-child {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.sk-child:before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 5%;
  height: 12%;
  background-color: #fee026;
  border: 3px solid #ffffff;
  border-radius: 100%;
  transform-origin: 50% 85%;
  animation: sk-circleBounceDelay 1.56s infinite ease-in-out both;
}

.sk-circle .sk-circle1 {
  transform: rotate(0deg);
}
.sk-circle .sk-circle2 {
  transform: rotate(36deg);
}
.sk-circle .sk-circle3 {
  transform: rotate(72deg);
}
.sk-circle .sk-circle4 {
  transform: rotate(108deg);
}
.sk-circle .sk-circle5 {
  transform: rotate(144deg);
}
.sk-circle .sk-circle6 {
  transform: rotate(180deg);
}
.sk-circle .sk-circle7 {
  transform: rotate(216deg);
}
.sk-circle .sk-circle8 {
  transform: rotate(252deg);
}
.sk-circle .sk-circle9 {
  transform: rotate(288deg);
}
.sk-circle .sk-circle10 {
  transform: rotate(324deg);
}

.sk-circle .sk-circle1:before {
  animation-delay: 0s;
}
.sk-circle .sk-circle2:before {
  animation-delay: -0.14s;
}
.sk-circle .sk-circle3:before {
  animation-delay: -0.28s;
}
.sk-circle .sk-circle4:before {
  animation-delay: -0.42s;
}
.sk-circle .sk-circle5:before {
  animation-delay: -0.56s;
}
.sk-circle .sk-circle6:before {
  animation-delay: -0.7s;
}
.sk-circle .sk-circle7:before {
  animation-delay: -0.84s;
}
.sk-circle .sk-circle8:before {
  animation-delay: -0.98s;
}
.sk-circle .sk-circle9:before {
  animation-delay: -1.12s;
}
.sk-circle .sk-circle10:before {
  animation-delay: -1.26s;
}

@keyframes sk-circleBounceDelay {
  0%,
  80%,
  100% {
    transform: scale(1.2);
  }
  40% {
    transform: scale(1.6);
  }
}

#spinner {
  opacity: 0;
  transition: opacity 0.8s ease;
  display: none;
}

#spinner.active {
  display: block;
  opacity: 1;
}
