@import url("https://fonts.googleapis.com/css2?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");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

main {
  width: 100%;
  height: 100vh;
  background-color: #1e1e1e;
  padding-bottom: 100px;
  padding-top: 50px;
  padding-left: 50px;
  padding-right: 50px;
}
main .heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
main .heading h1:nth-child(1) {
  color: #dedede;
}
main .heading h1:nth-child(2) {
  color: #686868;
}
main .heading h3 {
  color: #dedede;
  text-decoration: underline;
  font-weight: 300;
  font-size: 0.8rem;
}
main .grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 10px;
  padding-bottom: 25px;
  padding-top: 25px;
}
main .grid .card {
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  color: #dedede;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
main .grid .card .overlay-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 10px;
  transition: all ease-in-out 0.3s;
  font-size: 1rem;
}
main .grid .card .btn {
  padding: 10px 20px;
  background-color: #1e1e1e;
  border-radius: 20px;
  cursor: pointer;
}
main .grid .card .ctop {
  position: absolute;
  top: -4%;
  opacity: 0%;
  transition: all ease-in-out 0.3s;
}
main .grid .card .ctop h3 {
  font-weight: 200;
  font-size: 0.9rem;
}
main .grid .card .ctop i {
  width: 30px;
  height: 30px;
  background-color: #1e1e1e;
  border-radius: 50%;
  color: #dedede;
  text-align: center;
  padding-top: 7px;
  margin-left: 120px;
  cursor: pointer;
}
main .grid .card .cbot {
  position: absolute;
  bottom: -20%;
  opacity: 0%;
  transition: all ease-in-out 0.3s;
}
main .grid .card .cbot h2 {
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
main .grid .card .cbot p {
  font-weight: 400;
  font-size: 0.9rem;
  color: #dedede;
  font-weight: 200;
}
main .grid .card:hover .ctop {
  top: 2%;
  opacity: 100%;
}
main .grid .card:hover .cbot {
  bottom: 2%;
  opacity: 100%;
}
main .grid .card:hover .overlay-heading {
  top: 40%;
  opacity: 0;
}
main .grid #cards1 {
  grid-row: span 6/span 6;
  background-image: url("./images/i1.jpg");
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
main .grid #cards1 .ctop {
  display: flex;
  justify-content: space-between;
}
main .grid #cards2 {
  grid-row: span 3/span 3;
  background-image: url("./images/extra.jpg");
}
main .grid #cards3 {
  grid-column: span 2/span 2;
  grid-row: span 3/span 3;
  background-image: url("./images/i3.jpg");
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main .grid #cards3 i {
  position: absolute;
  top: 0;
  right: -160%;
}
main .grid #cards4 {
  grid-row: span 3/span 3;
  grid-column-start: 4;
  grid-row-start: 4;
  background-image: url("./images/i4.jpg");
}
main .grid #cards4 p {
  font-weight: 200;
  font-size: 0.9rem;
}
main .grid #cards4 h3 {
  font-weight: 200;
  font-size: 0.9rem;
  text-decoration: underline;
}
main .grid #cards5 {
  grid-column: span 2/span 2;
  grid-row: span 3/span 3;
  grid-column-start: 2;
  grid-row-start: 4;
  background-image: url("./images/i5.jpg");
}
main .grid #cards5 .ctop {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
main .grid #cards5 .cbot {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
main .grid #cards5 .cbot h2 {
  margin-bottom: 80px;
  font-weight: 400;
  font-size: 3rem;
}/*# sourceMappingURL=style.css.map */