@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap");
*,
html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
}

.portfolio {
  display: flex;
  flex-wrap: wrap;
}

.container {
  width: 33.33%;
  height: 33.33vh;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.container img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
}
.container .overlay {
  transform: translateY(100%);
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 25%, rgba(0, 0, 0, 0) 100%);
}
.container .overlay .info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.container .overlay .info h2 {
  color: white;
  font-size: 20px;
}
.container .overlay .info .buttons {
  display: flex;
  gap: 10px;
}
.container .overlay .info .buttons a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 16px;
  background-color: white;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .overlay .info .buttons a:hover {
  transform: scale(0.9);
}

@media screen and (max-width: 800px) {
  .container {
    width: 50%;
  }
}
@media screen and (max-width: 500px) {
  .container {
    width: 100%;
  }
}
.container:hover .overlay {
  transform: translateY(0);
  visibility: visible;
  transition: 0.5s;
}

.container:nth-of-type(1) {
  background-color: #9B6B4F;
}

.container:nth-of-type(2) {
  background-color: #00CD8E;
}

.container:nth-of-type(3) {
  background-color: #54A7B9;
}

.container:nth-of-type(4) {
  background-color: #3FAD5A;
}

.container:nth-of-type(5) {
  background-color: #574F3E;
}

.container:nth-of-type(6) {
  background-color: #577377;
}

.container:nth-of-type(7) {
  background-color: #FF0000;
}

.container:nth-of-type(8) {
  background-color: #4933E5;
}

.container:nth-of-type(9) {
  background-color: #A7B05F;
}/*# sourceMappingURL=style.css.map */