 @import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300&family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap");
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  color: #ffffff;
}
:root {
  --span-color: #1ed760;
  --text-color: #827e82;
  --background-color: #000000;
  --heading-color: #ffffff;
  --heading--font: "Poppins", sans-serif;
  --text-font: "Nunito", sans-serif;
  --footer-color: #0e0e0e;
}
span.colour {
  color: var(--span-color);
}
section {
  padding: 0px 100px 0px 100px;
}
a {
  text-decoration: none;
  color: var(--text-color);
}
/* <--------------------------------animation--------------------------> */
@keyframes move {
  from {
    padding-left: 60px;
  }
  to {
    padding-left: auto;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 100;
  }
}
/* <---------------------------------------------------------------------> */

body {
  background-color: var(--background-color);
}
.bg {
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.left {
  width: fit-content;
}
.left > h2 {
  font-family: var(--heading--font);
  font-size: 2.5rem;
  letter-spacing: 2px;
  border-left: var(--span-color) solid 2px;
  padding: 8px 15px;
  color: var(--heading-color);
  animation: move 1.1s ease-in-out 0s;
}
.right {
  background-image: url("../img/bg3.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* border: solid red; */
  width: 55vw;
  height: 70vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  /* border: solid red; */
}
.box {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 150px;
  height: 250px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(91, 91, 91, 0.37);
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* background-color: #1ed760; */
  animation: fade 1.5s ease-in-out 0s;
  transition: transform 0.3s ease-in-out;
}
.box:hover {
  transform: translateY(-20px);
}
.bottom > h3 {
  font-family: var(--heading--font);
  font-size: 1rem;
  font-weight: lighter;
  margin-bottom: 10px;
  text-align: center;
}
.bottom > p {
  font-family: var(--text-font);
  font-size: 0.8rem;
}

/* <-------------------------------- for mobile--------------------------> */
@media (max-width: 915px) {
  section {
    padding: 0px;
  }
  .bg {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  .right {
    width: 100vw;
    height: 555px;
    /* border: solid red; */
    justify-content: center;
    background-image: none;
    gap: 30px;
  }
}

@media (max-width: 667px) {
  section {
    padding: 0px;
  }
  .bg {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  .right {
    padding: 10px;
    overflow: hidden;
    width: 100vw;
    justify-content: center;
    gap: 30px;
    background-image: none;
    overflow: scroll;
  }
  .right::-webkit-scrollbar {
    display: none;
  }
}
