@import url('./common.css');

/* Banner */

section.banner {
  background-image: url('../img/banner.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  div {
    margin: 0 2rem;
    background-color: var(--primary-color);
    border-radius: var(--page-border-radius);
    max-width: 21rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    align-items: center;
  }
}

/* Emblemas */
section.emblems {
  padding: 1rem 0;
  ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

    li {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 2rem;
      i {
        font-size: x-large;
        color: var(--tertiary-color);
      }
    }
  }
}

/* Servicios */
section.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--background-color);
  padding: 5rem 0;

  div.services-header {
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    h2 {
      color: var(--sixth-color);
    }
    p {
      color: var(--fifth-color);
      max-width: 50rem;
      text-align: center;
    }
  }

  ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

    li {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 1rem;
      max-width: 15rem;
      background-color: var(--primary-color);
      padding: 2rem;
      border-radius: var(--page-border-radius);
      margin: 1rem 1rem;
      /* height: 18rem; */

      h2 {
        text-align: center;
      }
    }
  }

  a.style-button2 {
    font-size: x-large;
  }

}


/* Sección sobre mí */

section.me {
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem 2rem;
  border-radius: var(--page-border-radius);
  padding: 3rem 0;

  img {
    width: 9rem;
    border-radius: 50%;
    border-left: 0.2rem solid var(--background-color);
    border-bottom: 0.2rem solid var(--background-color);
    transition: all 0.5s ease;
    margin-bottom: 4rem;
  }

  img:hover {
    -webkit-box-shadow: 0px 2px 11px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 2px 11px -1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 2px 11px -1px rgba(0, 0, 0, 0.75);
  }

  div.me-content-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 45rem;
    margin: 0rem 2rem 0 2rem;

    div {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;

      p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }
    }
  }
}

section.contact {
  border-radius: var(--page-border-radius) var(--page-border-radius) 0 0;
  background-image: url('../img/imagen-fondo2.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  div {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: var(--page-border-radius);
    margin: 0 4rem;

    h2 {
      font-size: 3.5rem;
    }

    p {
      font-size: 1.5rem;
    }

    a {
      i {
        font-size: 5rem;
        transition: all 0.3s ease;
        color: var(--tertiary-color);
      }
      i:hover {
        font-size: 5.5rem;
      }
    }
  }
}

section.why-me {
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;

  div {
    max-width: 75%;
    border-radius: var(--page-border-radius);
    padding: 4rem 4rem;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;

    ul {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      flex-wrap: wrap;

      li {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 1rem;
        max-width: 15rem;
        background-color: var(--background-color);
        padding: 2rem;
        border-radius: var(--page-border-radius);
        margin: 1rem 1rem;
        min-height: 12rem;

        h3,
        p {
          color: var(--fifth-color);
        }

        h3 {
          text-align: center;
        }

        i {
          font-size: 1.9rem;
          position: absolute;
          top: -0.7rem;
          text-shadow: -1px -1px 0 var(--primary-color),
            1px -1px 0 var(--primary-color), -1px 1px 0 var(--primary-color),
            1px 1px 0 var(--primary-color);
        }
      }
    }
  }
}
