@import url(root.css);
@import url(fonts.css);
@import url(common.css);

* {
	box-sizing     : border-box;
	scroll-behavior: smooth;
	scroll-margin  : 100px;
	margin         : 0;
	padding        : 0;
}

html,
body {
	min-height : 100%;
	font-family: var(--main-font), system-ui, Arial, sans-serif;
	font-weight: 400;
	font-size  : var(--main-font-size);
	color      : var(--font-color);
  background-color: var(--blanco);
  line-height: 33px;
}

h1,
h2,
h3 {
	font-family: var(--h1-font), system-ui, Arial, sans-serif;
	margin     : 0;
  font-weight: 400;
}

h1 {
	font-size: var(--h1-font-size);
  position: relative;
  line-height: 1em;
  font-weight: 300;
}

h2 {
	font-size: var(--h2-font-size);
  line-height: 1.3;
}

h3 {
  font-family: var(--h3-font);
	font-size: var(--h3-font-size);
  font-weight: 600;
}

ul {
  list-style: none;
}

ul li:not(:last-child) {
	margin-bottom: 5px;
}


header {
	color           : var(--header-font-color);
	font-size       : var(--header-font-size);
  font-weight: 500;
  overflow: hidden;
  background-color: transparent;
  transition: max-height 1s ease-in-out, background 0.3s ease-in-out;
  max-height: 300px;
}

header a::after {
  content: '';
  height: 1.5px;
  width: 100%;
  position: absolute;
  background-color: #424344;
  left: 0;
  bottom: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

header a.active::after, header .link-nav:hover::after {
  transform: scaleX(1);
}

header a {
  white-space: nowrap;
}

header .flex {
  gap: 32px
}

header .logo {
  transition: all 0.6s ease-in-out;
}

header.scrolled {
  box-shadow: var(--box-shadow);
  background : var(--header-bg-color);
}

footer {
	font-size: var(--footer-font-size);
  background-color: var(--morado);
  line-height: 1.7em;
}

footer ul {
  padding-inline-start: 0;
  list-style-type: none
}

footer .contact-us ul li:not(:last-child) {
  margin-bottom: 20px;
}

footer strong {
  font-size: 12px;
}

footer h2 {
  font-size: 20px;
  margin-bottom: 24px;
}

footer .contenido {
  padding: 80px 15px 100px;
}

footer .copy {
  background-color: var(--tertiary-color);
}

footer .copy .contenido {
  padding: 5px 15px;
}

footer nav.flex {
  gap: 10px
}

footer .logo {
  width: 166px;
}

footer nav .grid {
  grid-template-columns: repeat(5,1fr); 
  margin-left: auto; 
  max-width: 100%;
  gap: 50px 30px;
  width: 1050px;
}

table {
	border-spacing: 0;
	width         : 100%;
}

th,
td{
	padding        : 5px 0;
	border-collapse: collapse;
}

hr {
	border    : none;
	border-top: #B3B4B4 solid 1px;
	width     : min(1000px, 95%);
  margin: 0 auto;
}

/* section:not(#home section) { */
/* 	padding: 0 10px; */
/* } */

section {
	margin: var(--margin-sections);
}

section:first-of-type {
	margin-top: 130px;
}


strong {
	font-weight: bold;
  /* color: var(--secondary-color); */
}

img {
	max-width: 100%;
}

button,
button[type="button"],
.btn {
	padding      : 17px 15px;
	border-radius: 30px;
	text-align   : center;
	cursor       : pointer;
	display      : inline-block;
  line-height: normal;
	color        : white;
  font-size: 14px;
	font-weight     : 600;
	width           : min(180px, 100%);
  background-color: #4DCFCB;
  transition: all 0.1s ease-in-out;
  outline: 2px solid #4DCFCB;
  outline-offset: -2px;
}

.btn.secondary {
  background-color: transparent;
  color: #4DCFCB;
  outline: 2px solid #4DCFCB;
  outline-offset: -2px;
}

.error {
  font-size: 12px;
  color: red;
  font-weight: bold;
}

.logo {
  width: 244px;
  max-width: 100%;
}

.btn:hover, button[type="button"]:hover, button:hover {
  box-shadow: 0 2px 10px cadetblue;
}

div[aria-labelledby="swal2-title"] {
  border-radius: 0;
}

a {
	text-decoration: none
}

a>svg,
span>svg {
	vertical-align: middle;
	height        : 100%;
	width         : 100%;
}

input:-webkit-autofill {
	background-color  : white !important;
	-webkit-box-shadow: 0 0 0 1000px white inset !important;
	box-shadow        : 0 0 0 1000px white inset !important;
}

input,
textarea {
	display: block;
	padding: 14px;
	width  : 100%;
  border-radius: 10px;
  color: var(--font-color);
  border: 1px solid #DFE3E6
}

input.invalid,
select.invalid,
textarea.invalid {
	border          : 2px solid red;
	background-color: #ffe6e6;
  color: red
}

input::placeholder, select::placeholder, textarea::placeholder {
  color: #5A6475;
}

input:focus {
	/* background-color   : white; */
	outline         : none;
	border-radius   : 15px;
  color: var(--font-color);
	/* border       : 2px solid black; */
}

input:focus.invalid {
	outline: none;
	border : 2px solid red
}

label {
	display: block;
}

label:not(:first-of-type) {
	margin: 25px 0;
}


.contenido {
	max-width: var(--contenido);
	margin   : auto;
	padding  : 15px;
	/* position : relative; */
}

.loader {
	border-radius   : 50%;
	border          : 3px solid black;
	border-top-color: transparent;
	animation       : spin 1.2s linear infinite;
	height          : 50px;
	width           : 50px;
	position        : absolute;
	top             : 0;
	bottom          : 0;
	right           : 0;
	left            : 0;
	margin          : auto;
}


#pages {
	margin-top: 50px;
}

#pages .active {
	color: #990000;
}

#collapsing-menu {
	background-color: var(--blanco);
	/* padding         : 15px; */
	/* padding-top     : 130px; */
  max-width: 0;
  width: 100%;
  font-size: 20px;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

#collapsing-menu.open {
  max-width: 100%;
  opacity: 1;
}

#collapsing-menu div {
	padding: 10px;
}

#collapsing-menu div:first-of-type {
	padding-top: 0;
}

#collapsing-menu div:last-of-type {
	padding-bottom: 0;
}

.sombra {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
}

summary {
  /* color: white; */
  padding: 15px 0;
  border-radius: 15px;
  position: relative;
  z-index: 2;
}

details {
  user-select: none;
  overflow: hidden;
  border-bottom: 1px solid #B3B4B4;
  outline-offset: -1px;
  max-height: 70px;
  transition: max-height 0.6s ease-in-out;
}
details[open] {
  max-height: 550px;
}

details > summary:first-of-type {
  list-style: none;
}

details > summary {
  cursor: pointer;
}

details:first-of-type {
  border-top: 1px solid #B3B4B4;
}

details p, details ul {
  padding: 0 0 15px;
  font-weight: bold;
}

details ul {
  padding-left: 30px
}

details > summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  font-size: 24px;
  height: max-content;
  transition: all 0.3s ease-in-out;
}

details[open] > summary::after {
  content: '-';
}

.w3-dropdown-content {
  background-color: var(--tertiary-color);
  text-transform: uppercase;
  font-size: 13px;
  top: 55px;
  left: -16px;
  min-width: 124px;
}

.wa-flotante {
  position: fixed;
  z-index: 99;
  bottom: 30px;
  right: 25px;
  text-align: center;
  font-weight: bold;
}

.wa-flotante img, .wa-flotante svg {
  filter: drop-shadow(-2px 2px 8px rgba(0,0,0,0.3));
  width: 70px;
  color: #4DCFCB;
}

.rounded {
  border-radius: 30px;
}

.g-6 {
  grid-template-columns: repeat(6, 1fr);
}

strong {
  font-size: 21px;
}

#inicio #banner .img-wrapper {
  height: 650px;
  margin-top: 22px;
  z-index: 2;
}

#inicio #attractions .img-wrapper {
  height: 477px;
  margin-bottom: 20px;
  width: 100%;
}

#inicio #attractions .direction-column {
  justify-content: start;
  gap:20px
}

#inicio #pricing-and-membership .flex {
  gap: 15px;
  width: 100%;
}

#inicio #pricing-and-membership .rounded {
  background-color: var(--verde-claro);
}

#inicio #pricing-and-membership label {
  width: min(350px,100%)!important;
  background-color: #FBFFFE!important;
  padding: 10px!important;
  gap: 10px!important;
  border-radius: 10px;
}

#inicio #pricing-and-membership button, #inicio #pricing-and-membership a.btn {
  width: 144px;
}

#inicio #pricing-and-membership h3 {
  width: 200px;
}

#inicio #pricing-and-membership h2 {
  margin-bottom: 20px;
}

#inicio #pricing-and-membership hr {
  margin: 20px 0;
  width: 100%;
}

#inicio #pricing-and-membership p {
  margin-top: 30px;
  font-weight: 500;
}

#inicio #pricing-and-membership label a.flex {
  background-color: white;
}

#inicio #pricing-and-membership label a {
  font-weight: 500;
}

#inicio #pricing-and-membership label.active {
  background-color: cadetblue!important;
  color: white;
}

#inicio #pricing-and-membership label:not(:first-of-type) {
  margin: 0;
}

#inicio #pricing-and-membership .direction-column {
  padding: 80px 50px;
  margin: 0 auto;
}

#inicio #pricing-and-membership .flex .flex {
  justify-content: space-between;
}

#inicio #become-a-member .fondo {
  background-color: var(--morado);
  padding: 80px 0;
}

#inicio #become-a-member .grid {
  gap: 70px
}

#inicio #become-a-member .pricing .item {
  background-color: #F3E8EE;
  width:  min(220px,100%);
}

#inicio #become-a-member h3, #inicio #become-a-member strong {
  font-weight: 700;
}

#inicio #become-a-member h3 {
  margin-bottom: 10px;
}

#inicio #become-a-member ul, #rules-and-policies #main ul  {
  font-weight: 500;
  list-style-type: disc;
  padding-inline-start: 15px;
}

#inicio #become-a-member .pricing.grid {
  max-width: 465px;
  width: 100%;
  gap: 25px
}

#inicio #become-a-member .item {
  padding: 16px;
  border-radius: 20px;
}

#inicio #become-a-member .direction-column.flex {
  gap: 30px;
  align-items: start;
}

#inicio #party-packages .card {
  padding: 56px 56px 64px;
}

#inicio #party-packages .direction-column {
  gap: 25px;
  align-items: start;
  justify-content: start;
}

#inicio #party-packages .card:nth-of-type(1) {
  background-color: var(--morado);
}

#inicio #party-packages .card:nth-of-type(2) {
  background-color: var(--amarillo);
}

#inicio #party-packages .card:nth-of-type(3) {
  background-color: var(--azul);
}

.price {
  border-bottom: 1px solid #42434466;
  width: 100%;
}

#inicio #party-packages h3 {
  text-transform: capitalize;
}

#inicio #party-packages .grid {
  gap: 74px
}

#inicio #party-packages .price span {
  font-size: 16px
} 

#inicio #celebrate-with-us .img-wrapper {
  height: 600px;
}

#inicio #celebrate-with-us .direction-column {
  align-items: start;
  gap: 30px;
  height: 100%;
}

#inicio #about-us {
  background-color: var(--verde-claro);
  padding: 70px 0;
}

#inicio #about-us {
  font-size: 20px;
}

#inicio #about-us .grid {
  gap: 100px
}

#faq h2 {
  margin-bottom: 30px;
}

#contact-us h2 {
  margin-bottom: 30px;
}

#contact-us .btn {
  margin-top: 30px;
  width: 100%;
}

#contact-us .grid {
  gap: 100px
}

#form-contact button {
  padding: 20px 15px;
}

#faq #main .grid, #rules-and-policies #main .grid {
  grid-template-columns: 0.9fr 1.1fr;
}

#faq #party h2 {
  margin-top: 70px;
}

#rules-and-policies h2 {
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 30px;
}

#rules-and-policies .item {
  background-color: #E3F6FF;
  padding: 48px 64px;
  border-radius: 30px;
}

#rules-and-policies hr {
  margin: 15px auto;
}

[data-animation="show"] {
  animation-duration: 1s;
}

div[aria-labelledby="swal2-title"] {
  border-radius: 10px;
}

@media screen and ((min-width: 993px) and (max-width: 1250px)) {
  header {
    font-size: 12px;
  }
  header .flex {
    gap: 20px
  }
}
header.hide {
  max-height: 0;
}


@media only screen and (min-width:601px) {
 /*  header.scrolled .logo { */
	/* 	width : 180px; */
	/* } */
  #inicio #celebrate-with-us .grid {
    grid-template-columns: 0.8fr 1.2fr;
    grid-template-columns: 1.1fr 0.9fr;
  }
  #attractions [data-animation="show"]:nth-of-type(1), #party-packages [data-animation="show"]:nth-of-type(1) {
    animation-delay: .5s; 
  }
  #attractions [data-animation="show"]:nth-of-type(2), #party-packages [data-animation="show"]:nth-of-type(2) {
    animation-delay: 1s; 
  }
  #attractions [data-animation="show"]:nth-of-type(3), #party-packages [data-animation="show"]:nth-of-type(3) {
    animation-delay: 1.5s; 
  }
}

@media screen and ((min-width: 600px) and (max-width: 930px)) {
  details {
    max-height: 81px;
  }
  #contact-us .grid {
    gap: 50px
  }
  #inicio #party-packages .grid {
    gap: 30px
  }
}

@media screen and ((min-width: 600px) and (max-width: 1000px)) {
  footer nav.flex {
    flex-direction: column;
    gap: 20px
  } 
  footer nav .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

}

@media only screen and (max-width:600px) {
	h1 {
		font-size: var(--h1-small-font-size);
	}

	h2 {
		font-size: var(--h2-small-font-size);
	}

	h3 {
		font-size: var(--h3-small-font-size);
	}

  header {
    font-size: 20px;
    /* box-shadow: var(--box-shadow); */
  }

  #collapsing-menu .logo {
    width: 230px;
  }

  button[type="button"], .btn {
    padding: 10px 5px;
    width: min(200px, 100%);
  }

  .logo {
    width: 230px;
  }

  .btn, .btn-dark {
    font-size: 15px;
  }

  section:first-of-type {
      margin-top: 140px;
  }
  footer .flex {
    flex-direction: column;
  }

  strong {
    font-size: 16px;
  }

  .wa-flotante {
    bottom: 20px;
    right: 10px
  }

  .wa-flotante img {
    width: 60px;
  }
  #inicio #banner .img-wrapper {
    height: 450px;
  }
  #inicio #pricing-and-membership .direction-column {
    gap: 50px 
  }

  #inicio #pricing-and-membership .flex .flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  #inicio #become-a-member .direction-column.flex {
    align-items: center;
    max-width: 294px;
    margin: auto;
  }
  #inicio #become-a-member .pricing.grid {
    grid-template-columns: 1fr 1fr !important;
  }
  #inicio #celebrate-with-us .direction-column { 
    align-items: center;
  }
  #inicio #pricing-and-membership a.btn {
    padding: 20px 5px;
    width: 100%;
  }
  details {
    max-height: 82px;
  }
  footer nav.flex {
    gap: 50px
  }
}


@keyframes spin {
	to {
		transform: rotate(360deg)
	}
}
