@font-face {
  font-family: "Karbon";
  src: url("../font/KARBON~1.OTF") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Karbon-bold";
  src: url("../font/KARBON~2.OTF") format("opentype");
  font-weight: bold;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
}

.leaf-main {
  background-color: white;
  height: 100vh;
  width: 100%;
  padding: 0px 0px;
}

.logo-div h1 {
  color: #14958e;
  font-weight: 100;
  font-size: 50px;
  font-family: "Karbon";
}

.tree {
  position: relative;
  text-align: center;
}

.leaf-wrapper {
  position: absolute;
}

.leaf-wrapper-1 {
  bottom: 0;
  left: 0;
}

.leaf-wrapper-2 {
  top: 0;
  left: 0;
}

.leaf-wrapper-3 {
  top: 0;
  right: 0;
}

.leaf-wrapper-4 {
  top: 0;
  right: 0;
}

.leaf-1 {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(280%, -280%);
  cursor: pointer;
}

.leaf-wrapper-1:hover .leaf-1-text {
  opacity: 1;
  pointer-events: auto;
}

.leaf-1-text {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-30%, -170%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  z-index: 100;
}

.leaf-1-text-1 {
  font-family: "Karbon-bold";
  color: #14958e;
  font-size: 20px;
  border: 1px solid #14958e;
  border-radius: 50px;
  padding: 5px;
  width: 320px;
  position: relative;
  display: block;
  text-decoration: none;
  text-align: center;
}

.leaf-1-text-1:hover {
  background: #14958e;
  color: white;
  text-decoration: none;
}

.leaf-1-text-1::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(135%, 30%);
  width: 20px;
  height: 20px;
  background-image: url(../images/icon2.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.leaf-1-text-2 {
  font-family: "Karbon-bold";
  color: white;
  font-size: 20px;
  background: #14958e;
  border: 1px solid #14958e;
  border-radius: 50px;
  padding: 5px;
  width: 320px;
  position: relative;
  display: block;
  text-decoration: none;
  text-align: center;
  margin-top: 5px;
}

.leaf-1-text-2:hover {
  background: white;
  color: #14958e;
  text-decoration: none;
}

.leaf-1-text-2::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(135%, 30%);
  width: 20px;
  height: 20px;
  background-image: url(../images/icon1.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.leaf-2 {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(570%, 250%);
  cursor: pointer;
}

.leaf-wrapper-2:hover .leaf-2-text {
  opacity: 1;
  pointer-events: auto;
}

.leaf-2-text {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(3%, 241%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  z-index: 100;
}

.leaf-3 {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-620%, 135%);
  cursor: pointer;
}

.leaf-wrapper-3:hover .leaf-3-text {
  opacity: 1;
  pointer-events: auto;
}

.leaf-3-text {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-140%, 250%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  z-index: 100;
}

.leaf-4 {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-220%, 210%);
  cursor: pointer;
}

.leaf-wrapper-4:hover .leaf-4-text {
  opacity: 1;
  pointer-events: auto;
}

.leaf-4-text {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-140%, 250%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  z-index: 100;
}

/* Tablet */
@media (max-width: 1024px) {
  .leaf-1 {
    transform: translate(190%, -280%);
  }
  .leaf-2 {
    transform: translate(445%, 250%);
  }
  .leaf-3 {
    transform: translate(-510%, 150%);
  }
  .leaf-4 {
    transform: translate(-170%, 230%);
  }
  .leaf-1-text-1 {
    font-size: 12px;
    width: 180px;
  }
  .leaf-1-text-2::after {
    transform: translate(135%, 10%);
  }
  .leaf-1-text-2 {
    font-size: 12px;
    width: 180px;
  }
  .leaf-1-text {
    transform: translate(-10%, -230%);
  }
  .leaf-2-text {
    transform: translate(50%, 360%);
  }
  .leaf-3-text {
    transform: translate(-200%, 400%);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .leaf-1 {
    transform: translate(100%, -290%);
  }
  .leaf-2 {
    transform: translate(330%, 250%);
  }
  .leaf-4 {
    transform: translate(-30%, 210%);
  }
  .leaf-3 {
    transform: translate(-305%, 150%);
  }
  .leaf-1-text {
    transform: translate(0%, 25%);
  }
  .leaf-2-text {
    transform: translate(50%, 280%);
  }
  .leaf-3-text {
    transform: translate(-115%, 400%);
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .tree img {
    width: 100%;
    height: 100%;
  }
  .leaf-1 {
    transform: translate(100%, -290%);
  }
  .leaf-2 {
    transform: translate(330%, 260%);
  }
  .leaf-3 {
    transform: translate(90%, 150%);
  }
  .leaf-4 {
    transform: translate(210%, 210%);
  }
}
