@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 {
  color: var(--span-color);
}
section {
  padding: 0px 40px 0px 100px;
}
@keyframes move {
  from {
    padding-left: 60px;
  }
  to {
    padding-left: auto;
  }
}

body {
  background-color: var(--background-color);
  /* margin: 0px 100px 0px 100px; */
}
.bg {
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.left > h2 {
  font-family: var(--heading--font);
  font-size: 2.8rem;
  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 {
  /* border: #827e82 dotted;*/
  width: 560px;
  overflow: hidden;
}
.place {
  padding: 15px 0px;
}
.right h4 {
  color: var(--span-color);
  font-family: var(--heading--font);
  font-size: 1.3rem;
  animation: move 1.1s ease-in-out 0s;
}
.right p {
  color: var(--text-color);
  font-family: var(--text-font);
  font-size: 0.9rem;
  line-height: 20px;
  animation: move 1.3s ease-in-out 0s;
  margin-top: 10px;
}
/* ------------------for mobile------------ */
@media screen and (max-width: 600px) {
  section {
    padding: 0px;
  }
  .bg {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    height: 100vh;
  }
  .left > h2 {
    font-size: 2.2rem;
  }
  .left {
    width: 300px;
    margin-right: auto;
    margin-left: auto;
  }
  .right {
    width: 300px;
    /* border: red solid; */
    margin-right: auto;
    margin-left: auto;
  }
  .place > p {
    font-size: 1rem;
    /* text-align: justify; */
  }

  @keyframes down {
    from {
      padding-top: 27px;
    }
    to {
      padding-top: auto;
    }
  }
  .right p {
    animation: down 1s ease-in 0s;
  }
  .right h4 {
    animation: down 1s ease-in 0s;
  }
  .left > h2 {
    animation: down 0.9s ease-in 0s;
  }
}
