@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100vw;
  max-height: 5vh;
  padding: 5vh;
  background-color: #b0c7dd;
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* pointer-events: auto; */
}

.nav-list li {
  padding-left: 10px;
  padding-right: 10px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1em;
}

.nav-list li a:hover {
  color: #f2e3d0;
}

.nav-list li a {
  text-decoration: none;
  color: black;
}

.logo-text {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.7em;
}

hero {
  position: relative;
  /* max-height: 20vh; */
}

.hero-img {
  opacity: 0.6;
  /* height: 50vh; */
  object-fit: fill;
  height: 70vh;
  width: 100%;
}

.hero-text {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  top: 45%;
  bottom: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 2em;
  letter-spacing: 0.2rem;
}

.about-section {
  background-color: #f2e3d0;
  padding-top: 5%;
  padding-bottom: 5%;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.7em;
  text-align: left;
  padding-bottom: 3%;
  margin-left: 7%;
}

.about-section p {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  text-align: justify;
  margin-left: 7%;
  margin-right: 7%;
}

.projects-section {
  /* padding-top: 5%; */
  background-color: #e4e5e5;
}

.projects-img-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.projects-img-title img {
  /* max-width: 50%; */
  height: 50vh;
  object-fit: cover;
  width: 50%;
}

.projects {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-left: 7%;
  margin-right: 7%;
  padding-top: 3%;
  padding-bottom: 3%;
}

.projects-list {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: start;
  justify-content: space-between;
  list-style: inside;
}

.projects-list li {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  overflow-wrap: break-word;
  text-align: left;
}

.contacts {
  padding-top: 3%;
  padding-bottom: 3%;
  background-color: #f2e3d0;
}

.contacts ul {
  margin-left: 7%;
  list-style: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

footer {
  background-color: #b0c7dd;
  display: flex;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-left: 7%;
  padding-right: 7%;
  align-items: center;
  justify-content: space-between;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1em;
}

footer .company-title {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-size: 1.2em;
}

footer .company-title-small {
  text-transform: capitalize;
}

footer ul {
  list-style: none;
  line-height: 1.5;
}

footer ul li a {
  text-decoration: none;
  color: black;
}

footer ul li a:hover {
  color: #f2e3d0;
}

@media screen and (max-width: 500px) {
  .nav-list {
    flex-direction: column;
    font-size: 0.8em;
    align-items: end;
  }

  .projects-img-title {
    flex-wrap: wrap;
  }

  .projects-img-title img {
    width: 100%;
  }

  .projects {
    flex-wrap: wrap;
  }

  .projects ul {
    width: 100%;
  }

  footer ul {
    display: none;
  }

  footer {
    flex-wrap: wrap;
  }
}
