@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

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

html {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

.container {
  min-height: 100vh;
  color: #fafaf9;
  background-image: url("images/bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.container-pattern {
  background-image: url("images/bg.jpg");
  background-repeat: repeat;
  background-size: contain;
}

.nav {
  height: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: #c0c5c1 solid 1px;
  padding: 0px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo > .logo-title {
  color: white;
  font-size: 25px;
  font-weight: 600;
}

.nav-items {
  margin-left: auto;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.nav-item > a {
  text-decoration: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}

.nav-item > a:hover {
  background-color: #e7e5e4c0;
  color: #0c0a09;
}

.nav-item > a.active {
  background-color: #e7e5e4;
  color: #0c0a09;
}

.main {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 3rem;
}

.main-title {
  width: 800px;
  height: auto;
  color: white;
  font-size: 4rem;
  font-weight: 900;
  text-align: center;
}

.about {
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.about-description {
  color: white;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: justify;
  line-height: 2.3rem;
  margin-bottom: 30px;
}

.patterns {
  color: white;
  /* min-height: 90vh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
}

.pattern {
  margin: 10px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pattern-description {
  width: 100%;
  text-wrap: wrap;
}

.pattern > img {
  width: 500px;
  /* object-fit: contain; */
}


@media only screen and (max-width: 750px) {
  .nav-logo > .logo-title {
    font-size: 15px;
    font-weight: 600;
  }

  .nav-item > a {
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
  }

  .main-title {
    font-size: 3rem;
  }

  .about-description {
    font-size: 1rem;
  }

  .patterns {
    padding: 20px 30px;
  }

  .pattern > img {
    width: 400px;
  }
}