* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

header {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0b193c;
  min-height: 157px;
}

.navbar {
  width: 80%;
  display: flex;
  padding-left: 5%;
  padding-right: 5%;
  background-color: #0b193ca3;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 1030;
}

.navbar-collapse {
  flex-grow: 0;
}

.navbar-nav {
  color: white;
  display: flex;
  justify-content: space-evenly;
  width: 500px;
  height: fit-content;
  list-style: none;
  font-size: 22px;
  margin: 0;
}

.nav-item {
  width: fit-content;
}

.nav-link {
  color: white;
  padding: 2px;
}

.nav-link:hover {
  border-radius: 10px;
  background-color: white;
  color: #0b193c;
}

.navbar-toggler {
  background-color: white;
}

a {
  text-decoration: none;
  color: white;
}

.logo {
  width: 120px;
  height: auto;
}

.banner {
  width: 80%;
  height: auto;
}

/* SOBRE MI */

h1 {
  font-size: 30px;
}

.about-section {
  width: 80%;
  height: fit-content;
  padding-top: 100px;
  padding-bottom: 50px;
  background-color: #0b193c;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.about-card {
  background-color: white;
  height: fit-content;
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 5px;
  font-size: 18px;
  padding: 20px;
  box-shadow: 5px 5px 10px black;
}

.about-picture {
  border-radius: 5px;
  height: 500px;
  width: auto;
  box-shadow: 70px 70px 0px white;
}

/* SERVICIOS */

.services-section {
  width: 80%;
  height: fit-content;
  background-color: #0b193c;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services {
  width: 95%;
  height: fit-content;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.services h2 {
  color: #0b193c;
  font-size: 50px;
  text-align: center;
}

.services-cards {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
}

.services-card {
  width: 250px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #0b193c;
  color: white;
  border-radius: 5px;
  padding: 20px;
  margin: 5px;
  text-align: justify;
  box-shadow: 5px 5px 10px black;
}

.services-card h3 {
  border-bottom: solid;
  border-width: 0.5px;
  padding-bottom: 5px;
  width: 100%;
  font-size: 18px;
  text-align: center;
}

.services-card img {
  width: 100px;
  border-radius: 15px;
}

.services-card p {
  text-align: left;
  height: 120px;
}

/* CONTACTO */

.contact-section {
  background-color: #0b193cde;
  width: 80%;
  display: flex;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.contact {
  width: 60%;
  display: flex;
  justify-content: space-between;
  background-color: white;
  padding: 15px;
  align-items: center;
  box-shadow: 5px 5px 10px black;
  border-radius: 5px;
}

.contact-image {
  width: 48%;
  background-color: #0b193c;
}
.contact-image img {
  width: 100%;
  height: auto;
}

.contact-image h3 {
  text-align: center;
  margin: 5px;
  color: white;
}

.contact-form {
  width: 48%;
  max-width: 50%;
  padding: 10px;
}

.btn-primary {
  background-color: #0b193c;
  border-color: #0b193c;
}

.btn:hover {
  background-color: white;
  color: #0b193c;
  border-color: #0b193c;
}

/* FOOTER */

footer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer {
  width: 80%;
  background-color: #0b193c;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10%;
  padding-right: 10%;
}

.contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-social h5 {
  color: white;
  border-bottom: solid white 1px;
}

.social-icon {
  font-size: 24px;
}

.address {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.address h5 {
  color: white;
  border-bottom: solid white 1px;
}

.address p {
  color: white;
  text-align: center;
}

/* mobile */
@media only screen and (max-width: 600px) {
  header {
    width: 100%;
  }

  .navbar {
    width: 100%;
  }

  .banner {
    width: 100%;
  }

  .about-section {
    width: 100%;
    flex-direction: column-reverse;
    padding-top: 20px;
    gap: 20px;
  }

  .about-card {
    max-width: 95%;
  }

  .about-picture {
    max-width: 95%;
    height: auto;
    box-shadow: none;
  }

  .services-section {
    width: 100%;
    padding-top: 50px;
  }

  .contact-section {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact {
    flex-direction: column;
    width: 95%;
  }

  .contact-image {
    width: 100%;
  }

  .contact-form {
    min-width: 100%;
  }

  .footer {
    width: 100%;
    flex-direction: column;
    height: fit-content;
    gap: 10px;
    padding: 10px;
  }
}

/* tablet */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  header {
    width: 100%;
  }

  .navbar {
    width: 100%;
  }

  .banner {
    width: 100%;
  }

  .about-section {
    width: 100%;
    flex-direction: column-reverse;
    padding-top: 20px;
    gap: 20px;
  }

  .about-card {
    max-width: 95%;
  }

  .about-picture {
    max-width: 95%;
    height: auto;
    box-shadow: none;
  }

  .services-section {
    width: 100%;
    padding-top: 50px;
  }

  .contact-section {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact {
    flex-direction: column;
    width: 95%;
  }

  .contact-image {
    width: 100%;
  }

  .contact-form {
    min-width: 100%;
  }

  .footer {
    width: 100%;
    flex-direction: column;
    height: fit-content;
    gap: 10px;
    padding: 10px;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1600px) {
  header {
    width: 100%;
  }

  .navbar {
    width: 100%;
  }

  .banner {
    width: 100%;
  }

  .about-section {
    width: 100%;
    padding-top: 20px;
  }

  .about-picture {
    box-shadow: none;
  }

  .services-section {
    width: 100%;
    padding-top: 50px;
  }

  .contact-section {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact {
    width: 95%;
  }

  .footer {
    width: 100%;
  }
}
