@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&display=swap');

body,
html {
  margin: 0;
  padding: 2rem 0 0 0;
  font-family: 'Montserrat', sans-serif;
  color: #0a3143;
  background-color: #0a3143;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

header {
  top: 0;
  position: fixed;
  width: 100%;
  background: #cecfc9;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  transition: top 0.3s;
}

header .logo {
  height: 60px;
}

header nav.menu a {
  padding: 0 15px;
  color: #0a3143;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

header .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  filter: invert(0.6);
}

header .social-icons a {
  width: 30px;
  margin: 0 0.5rem;
}

header .social-icons a img:hover {
  filter: invert(0.5);
  transition: 0.3s;
}

header .hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

header .hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background: #0a3143;
  border-radius: 2px;
}

section {
  padding: 60px 20px;
}

#servicios {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

#quienes-somos,
#contacto {
  background-color: #cecfc9;
  width: 100%;
  margin: 0 auto;
}

#quienes-somos h2 {
  text-align: center;
  color: #0a3143;
  margin-bottom: 40px;
}

.servicio-slider {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  background-color: #cecfc9;
  overflow: hidden;
  margin: 4rem;
}

.your-slider-class {
  width: 40%;
  height: 100%;
}

.your-slider-class img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.title-h3 {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0a3143;
}

hr {
  background-color: #0a3143;
  height: 2px;
  margin-left: 5px;
  width: 20%;
}

.descripcion-slider h5 {
  font-size: 1.1em;
  color: #0a3143;
  font-weight: 800;
  padding-left: 2px;
}

.descripcion-slider p {
  font-size: 0.9em;
  color: #0a3143;
  font-weight: 600;
  padding-left: 2px;
}

.descripcion-slider {
  padding-left: 1rem;
  padding-right: 1rem;
}

.perfil {
  display: flex;
  justify-content: center;
  align-items: center;
}

.perfil img {
  width: 200px;
  border-radius: 5px;
  margin-right: 20px;
}

.perfil p {
  font-size: 18px;
  font-weight: 600;
  color: #0a3143;
  text-align: justify;
}

form {
  display: flex;
  flex-direction: column;
  width: 60%;
}

form div {
  margin-bottom: 20px;
  position: relative;
}

form label {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #9ab9cb;
  transition: top 0.3s, left 0.3s;
  pointer-events: none;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #9ab9cb;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.3s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #0a3143;
}

form input:focus + label,
form textarea:focus + label,
form input:not(:placeholder-shown) + label,
form textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: #0a3143;
}

form button {
  align-self: flex-end;
  width: 150px;
  border: none;
  border-radius: 20px;
  background-color: #0a3143;
  color: #efefef;
  font-size: 1.2em;
  font-weight: 600;
  transition: 0.3s;
  font-style: oblique;
  text-transform: uppercase;
}

form button:hover {
  background-color: #9ab9cb;
}

footer {
  background-color: #0a3143;
  color: #efefef;
  text-align: center;
  padding: 2rem 0;
  display: flex !important;
  justify-content: space-around;
  align-items: center;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  filter: invert(1);
}

footer .social-icons a {
  margin: 0 10px;
}

footer .social-icons img {
  width: 24px;
  height: 24px;
}

footer .logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 50px;
}

footer .menu {
  display: flex;
  justify-content: center;
}

footer .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

footer .menu ul li {
  margin: 5px;
}

footer .menu ul li a {
  text-decoration: none;
  color: #efefef;
  font-weight: 600;
  transition: color 0.3s;
}

footer .menu ul li a:hover {
  color: #9ab9cb;
}

footer .simbolo {
  width: 250px;
}

#whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#whatsapp-icon img {
  width: 75px;
  height: 75px;
}

div#wrapped-contact {
  background: #cecfc9;
  display: flex;
  align-items: start;
  justify-content: space-evenly;
  padding: 2rem;
  border-radius: 10px;
}

div#wrapped-contact form h3 {
  font-size: 1.5em;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0a3143;
  text-transform: none;
  padding-bottom: 2rem;
}

div#rrss-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#rrss-contact h3 {
  color: #0a3143;
  text-align: left;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 1rem;
  text-decoration: overline;
}

.social-icons-contact {
  display: flex;
  filter: invert(0.5);
}

.social-icons-contact a {
  margin: 0 10px;
}

.social-icons-contact img {
  width: 30px;
  height: 30px;
}

@media (max-width: 1024px) and (min-width: 728px) {
  .servicio-slider {
    flex-direction: column-reverse;
  }
  .your-slider-class {
    width: 100%;
    height: 100%;
  }

  .your-slider-class img {
    width: 100%;
    height: 100%;
  }

  header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  header nav.menu a {
    color: #0a3143;
  }

  header .logo {
    height: 35px;
  }

  header .social-icons {
    display: none;
  }

  header .hamburger {
    display: flex;
  }

  header .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background-color: rgba(239, 239, 239, 0.95);
    border-radius: 2.5px;
    padding: 10px 20px;
  }

  header .menu.active {
    display: flex;
    justify-content: center;
  }

  .perfil {
    flex-direction: column;
  }

  .perfil img {
    margin-bottom: 20px;
    margin-right: 0;
  }

  form {
    padding: 10px;
  }

  form label {
    font-size: 1rem;
  }

  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  div#wrapped-contact {
    background: #cecfc9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 2rem;
    border-radius: 10px;
  }
}

@media (max-width: 728px) and (min-width: 0px) {
  body,
  main {
    background-color: #cecfc9;
  }

  header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  header nav.menu a {
    color: #0a3143;
  }

  header .logo {
    height: 35px;
  }

  header .social-icons {
    display: none;
  }

  header .hamburger {
    display: flex;
  }

  header .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background-color: rgba(239, 239, 239, 0.95);
    border-radius: 2.5px;
    padding: 10px 20px;
  }

  header .menu.active {
    display: flex;
    justify-content: center;
  }

  .perfil {
    flex-direction: column;
  }

  .perfil img {
    margin-bottom: 20px;
    margin-right: 0;
  }

  form {
    padding: 10px;
  }

  form label {
    font-size: 1rem;
  }

  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  div#wrapped-contact {
    flex-direction: column;
    align-items: center;
  }

  .servicio-slider {
    flex-direction: column-reverse;
    margin: 2rem 0;
  }
  .your-slider-class {
    width: 100%;
    height: 100%;
  }

  .your-slider-class img {
    width: 100%;
    height: 100%;
  }

  .descripcion-slider h5 {
    font-size: 0.9em;
  }

  .descripcion-slider p {
    font-size: 0.7em;
  }

  form {
    padding-bottom: 5rem;
    width: 100%;
  }

  #contacto {
    padding: 0;
  }

  .send-form {
    margin: 0 auto;
  }

  #whatsapp-icon img {
    width: 50px;
    height: 50px;
  }
}
