:root {
  --color-1: #d6f1cd;
  --color-2: #43624c;
  --color-3: #fac3d6;
  --color-4: #ffffff;
  --color-5: #000000;
  --color-6: #fc6d9f;
  --color-7: #293b2e;
  --font-1: "Dancing Script", cursive;
  --font-2: "Lato", sans-serif;
  --font-size-xxl: 52px;
  --font-size-xl: 40px;
  --font-size-l: 24px;
  --font-size-m: 18px;
  --font-size-s: 12px;
  --font-size-xs: 6px;
}
.color-6 {
  color: var(--color-6);
}
.dancing {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  font-size: var(--font-size-l);
}

html {
  scroll-behavior: smooth;
}

/*general*/
* {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  padding: 0px;
  margin: 0px;
}

h1 {
  font-family: var(--font-1);
  font-weight: 600;
  font-size: var(--font-size-xxl);
  color: var(--color-6);
  padding: 40px 4px;
  padding-right: 0px;
  font-size: 60px;
  margin-bottom: 20px;
}

h1 span {
  color: var(--color-7);
  font-weight: 500;
}

h2 {
  font-family: var(--font-1);
  font-weight: 200;
  font-size: var(--font-size-xl);
  color: var(--color-7);
  background-color: var(--color-3);
  border-radius: 40px;
  margin-bottom: 20px;
  width: fit-content;
}

p,
li {
  font-family: var(--font-2);
  font-size: var(--font-size-l);
  color: var(--color-7);
}
header {
  height: fit-content;
}

header,
main,
section:not(#contacto) {
  padding: 20px 10px;
  background-color: var(--color-1);
}

a {
  width: fit-content;
  color: var(--color-5);
  font-weight: 600;
}

.cta {
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-6);
}

.cta .svg-container {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  max-width: 1024px;
}

.cta svg {
  background-color: var(--color-5);
  border-radius: 100%;
  width: 20%;
  padding: 2px;
  max-width: 120px;
}

.cta img {
  border-radius: 100%;
  width: 60px;
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
}

.cta h3 {
  font-size: var(--font-size-xxl);
  margin-bottom: 20px;
  font-family: var(--font-1);
  text-align: center;
  margin-top: 20px;
}

.cta .button {
  width: 100%;
  max-width: 500px;
  height: 30%;
  max-width: 500px;
  background-color: var(--color-5);
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-xl);
  color: var(--color-3);
  margin-bottom: 40px;
}

/*header*/
header {
  display: flex;
  flex-direction: column;
  background-color: var(--color-3);
  padding: 20px 0px;
  padding-top: 0px;
}

header a {
  color: var(--color-6);
}
.logo {
  max-width: 200px;
  border-radius: 100%;
}

.header-content {
  margin: 0px 10px;
}
.header-content > p {
  margin-bottom: 20px;
  width: fit-content;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  gap: 20px;
}

nav > ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  background-color: var(--color-1);
  height: 80px;
  font-size: 18px;
}

nav > ul > li {
  width: 100px;
  text-align: center;
  user-select: none;
  font-size: var(--font-size-m);
}

/*card talles*/
.cards-container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: var(--color-3);
  border-radius: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  align-items: baseline;
  background-color: var(--color-5);
  border-radius: 18px;
  padding: 20px;
}

.card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-6);
  margin-bottom: 8px;
  width: fit-content;
  border-radius: 100%;
}
.card p {
  font-size: var(--font-size-m);
  color: var(--color-3);
}
.card img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 100%;
}

/*Conocenos*/
#conocenos .card-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: var(--color-3);
  padding: 20px;
  border-radius: 18px;
}

#conocenos .card-1 img {
  max-width: 500px;
  margin-bottom: 40px;
  border-radius: 100%;
  width: 100%;
}

#conocenos p {
  margin-bottom: 20px;
}

/*Contacto*/
#contacto {
  background-color: var(--color-3);
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  padding: 20px 10px;
}

#contacto h2 {
  background-color: var(--color-1);
}

#contacto a {
  color: var(--color-5);
  font-weight: normal;
}

#contacto > img {
  max-width: 250px;
  border-radius: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

#contacto .contact-types > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

#contacto .contact-types > div > svg {
  background-color: var(--color-1);
  border-radius: 100%;
  width: 32px;
  height: 32px;
  padding: 2px;
}

footer {
  padding: 20px;
  background-color: var(--color-6);
}
footer p{
  color: var(--color-5);
}

footer a{
  color: var(--color-5);
}

/* Estilo del botón flotante */
#whatsapp-button {
  position: fixed;
  bottom: 20px; /* Espaciado desde abajo */
  right: 20px; /* Espaciado desde la derecha */
  z-index: 1000; /* Asegura que esté por encima del resto del contenido */
  width: 60px; /* Tamaño del ícono */
  height: 60px;
  border-radius: 50%; /* Forma redonda */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  background-color: #1fd662; /* Color verde de WhatsApp */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

#whatsapp-button:hover {
  transform: scale(1.1);
}

#whatsapp-button img {
  width: 40px; /* Tamaño del ícono */
  height: 40px;
}

@media (min-width: 600px) {
  /*header cards*/
  .cards-container {
    flex-direction: row-reverse;
    align-items: stretch;
  }

  .cards-container .card {
    max-width: 240px;
  }

  /*contacto*/
  #contacto {
    display: grid;
    grid-template-areas: "title logo" "contact logo";
    align-items: center;
    grid-template-columns: 1fr 1fr;
  }

  #contacto h2 {
    grid-area: title;
  }
  #contacto img {
    grid-area: logo;
  }
  #contacto .contact-types {
    grid-area: contact;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 100px;
  }

  h2 {
    font-weight: 100;
    font-size: 60px;
  }
  
    h3{
    font-size: 80px !important;
  }

  .logo {
    max-width: 150px;
    border-radius: 100%;
  }
  nav {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-evenly;
    width: 90%;
    max-width: 1600px;
    gap: 20px;
    margin-left: 10px;
    margin-top: 10px;
  }
  nav ul {
    border-radius: 40px;
  }
  #conocenos .card-1 {
    flex-direction: row;
    gap: 50px;
  }

  .cards-container p {
    font-size: var(--font-size-l);
  }

  .cards-container .card {
    max-width: 300px;
  }

  .cards-container {
    gap: 50px;
  }

  #contacto a,
  #contacto p,
  #contacto span {
    font-size: var(--font-size-l);
  }
}

