@import url('variables.css');

html {
  box-sizing: border-box;
  scroll-snap-type: y mandatory;
}

body {
  font-family: var(--font-amaranth-regular);
}

*, *:before, *:after { 
  box-sizing: inherit;
}

.header {
  background-color: var(--azul-oscuro);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  display: flex;
  list-style: none;
}

.header h1 {
  margin-left: 2rem;
  font-family: var(--font-amaranth-bold);
}

.menu a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a{
    text-decoration: none;
}

.main-nav {
    margin-right: 2.5rem;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav ul.menu > li {
  display: inline-block;
  position: relative;
}

.main-nav ul.menu > li > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--blanco);
  background: var(--azul-oscuro);
}

.main-nav ul.menu > li > a:hover {
  background: var(--azul-medio);
}

.main-nav ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--azul-oscuro);
  min-width: 180px;
  z-index: 1000;
}

.main-nav ul.dropdown-menu li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: var(--blanco);
}

.main-nav ul.menu li.dropdown:hover > ul.dropdown-menu {
  display: block;
}

.main-nav ul.dropdown-menu li a:hover {
  background: var(--azul-medio);
}

/* HEADER END */

.banner {
  width: 100%;
}

.banner img {
  width: 100%;
}

.main {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  background: url('../img/kinder/fondo-kinder-.jpg')  no-repeat center;
  background-size: 90% auto;
  position: relative;
}

.main-mascota {
    position: absolute;
    width: 200px;
    top: 80%;
    left: 10%;
}

.main-section {
      width: 80%;
    padding: 2rem;
    display: flex;
    gap: 5rem;
    color: var(--azul-oscuro);
    margin: 0 auto;
    align-items: center;
}

.main-section img {
  width: 400px;              /* Or whatever size you want */
  height: 400px;             /* Make sure width = height */
  object-fit: cover;         /* Ensures the image fills the shape without distortion */
  border-radius: 50%;        /* Makes the square a circle */
  border: 6px solid var(--azul-medio); /* Customize border size & color */
}

.main-section-info h5{
  font-size: 1.5rem;
  font-family: var(--font-amaranth-bold);
  margin-bottom: 0px;
  text-align: left;
  margin-left: 30px;
}

.main-section-info p {
  padding: 2rem;
  background-color: var(--amarillo-pastel);
  border-radius: 25px;
  font-size: 1.3rem;
  color: var(--azul-oscuro);
  
}


/*FOOTER START */

footer {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
  display: flex;
  align-items: center;
  height: 140px;
}

.section-1 {
  margin-left: 3rem;
  width: 35%;
}

.section-1 h1, h4 {
  margin: 0;
  font-family: var(--font-amaranth-bold);
}

.footer-main {
  display: flex;
  gap: 9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.section-2 {
  min-height: 90px;
}

.section-2 a {
  text-decoration: none;
  color: var(--blanco);
}

.section-2 svg {
  width: 20px;
  height: 20px;
  margin: 1rem 5px;
}

.section-2 a:hover {
  color: var(--azul-pastel);
}

.social {
  margin-right: 4rem;
}

.social .footer-links {
  flex-direction: row;
}

/*FOOTER END */


@media(max-width: 1200px) {

  .main {
    background-size: 74% auto;
  }

  .main-section img {
    width: 300px;
    height: 300px;
  }

  .main-section-info p {
    background-color: var(--amarillo-pastel);
    font-size: 1.1rem;
    padding: 1.8rem;
  }

  .main-mascota {
        width: 160px;
    left: 12%;
  }

}

@media(max-width: 860px) {
  .main {
    background-size: 95% auto;
  }

  .main-section-info h5 {
    font-size: 1.3rem;
  }

  .main-section img {
    width: 200px;
    height: 200px;
  }

  .main-section-info p {
    font-size: 0.8rem;
    padding: 1.5rem;
  }

  .main-mascota {
      width: 130px;
  }

    /* FOOTER START */

  .footer-main {
    gap: 3rem;
  }

  /* FOOTER END */
}

@media(max-width: 780px) {

  /* HEADER START */

  .main-nav {
    margin-right: 1rem;
  }

  /* HEADER END */

  .main {
    background-size: 95% auto;
  }

  .main-section {
    width: 90%;
  }

  .main-section img {
    width: 230px;
    height: 230px;
  }


  /* FOOTER START */

  footer {
    display: flex;
    align-items: center;
    height: 140px;
  }

  .section-1 {
    margin-left: 3rem;
    width: 30%;
  }

  .section-1 h1 {
    font-size: 1.5rem;
  }


  .footer-main {
    display: flex;
    gap: 3rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
  }

  .footer-links a {
    text-decoration: none;
    color: white;
  }

  .section-2 {
    min-height: 90px;
  }

  .section-2 a {
    text-decoration: none;
    color: var(--blanco);
  }

  .section-2 svg {
    width: 20px;
    height: 20px;
    margin: 1rem 5px;
  }

  .section-2 a:hover {
    color: var(--azul-pastel);
  }

  .social {
    margin-right: 4rem;
  }

  /* FOOTER END */

  
}

@media(max-width: 480px) {
    /* HEADER START */

  .header h1 {
    font-size: 1rem;
    margin-left: 1rem;
  }
  
  .menu a {
    font-size: 0.6rem;
  }

  .main-nav {
    margin-right: 0.3rem;
  }

  .main-nav ul.menu > li > a {
    padding: 10px 10px;
  }

  .main-mascota {
    width: 80px;
    left: 8%;
  }

  /* HEADER END */

  .main {
    background-size: 115% auto;
  }

  .main-section {
    padding: 1rem;
    gap: 1.5rem;
  }

  .main-section img {
    width: 120px;
    height: 120px;
  }

  .main-section-info h5 {
    font-size: 0.8rem;
    margin-left: 15px;
  }

  .main-section-info p {
    font-size: 0.5rem;
    padding: 0.8rem;
  }

  /* FOOTER START */ 

  footer {
    height: 80px;
    
  }

  .section-1 {
    margin-left: 1rem;
  }

  .section-1 h1 {
    font-size: 0.9rem;
  }

  .section-1 p {
    font-size: 0.8rem;
  }

  .section-2 h4 {
    font-size: 0.7rem
  }

  .footer-main {
    margin-left: 2.5rem;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .section-2 {
    min-height: 70px;
  }

  .section-2 a {
    font-size: 0.5rem;
  }

  .section-2 svg {
    margin: 0.2rem 0.2rem;
    width: 10px;
    height: 10px;
  }

  .social {
    margin-right: 0rem;
  }

  /* FOOTER END */
}