.wallpaper {
  background-image: url(../img/projects.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 95%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
  margin: auto;
}

.wallpaper h1 {
  color: #fff;
  opacity: 0.7;
  font-size: 5em;
  padding: 10px;
  background-color: #33333369;
}

.container-about {
  display: flex;
  width: 100%;
  height: 100%;
}

.container-about .nav-bar {
  width: 20%;
  min-height: 100%;
  flex-direction: column;
  background-image: linear-gradient(
      rgba(240, 239, 239, 0.9),
      rgba(240, 239, 239, 0.9)
    ),
    url(../img/AlucoBondFasade.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 70px;
}

.container-about .nav-bar button {
  border: none;
  background-color: transparent;
  width: 100%;
  outline: none;
}

.container-about .right-text {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  row-gap: 20px;
  column-gap: 20px;
  padding: 70px;
  background: #fff;
}

.container-about .right-text .pic {
  position: relative;
  height: 250px;
  width: 250px;
  box-shadow: 3px 3px 5px lightgrey;
  cursor: pointer;
}

.container-about .right-text .pic a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.5s;
}

.container-about .right-text .pic a img:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

@media (max-width: 1405px) {
  .container-about .right-text .right-btns {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1096px) {
  .container-about .right-text {
    flex-direction: column;
  }

  .container-about .right-text .pic {
    height: 450px;
    width: 450px;
  }
}

@media (max-width: 993px) {
  .container-about .right-text .right-btns {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

@media (max-width: 963px) {
  .wallpaper h1 {
    font-size: 3em;
  }
}

@media (max-width: 777px) {
  .container-about .nav-bar {
    width: 25%;
  }

  .container-about .right-text {
    width: 75%;
    padding: 35px;
  }

  .container-about .right-text p {
    line-height: none;
  }

  .container-about .right-text ul {
    line-height: none;
  }
}

@media (max-width: 683px) {
  .container-about .right-text .pic {
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 610px) {
  .container-about {
    flex-direction: column;
  }

  .container-about .nav-bar {
    min-width: 100%;
  }

  .container-about .right-text {
    min-width: 96.5%;
    padding: 10px;
  }

  .container-about .right-text p {
    width: 90%;
  }
}

@media (max-width: 591px) {
  .wallpaper h1 {
    font-size: 2em;
  }
}
