.main-css {
  padding-top: 90px;
  width: 100vw;
}

.about-first-section {
  position: relative;
  margin: 40px auto;
  width: 90%;
  height: auto;
  background: rgba(0,0,0,0.9);
  padding: 30px 20px;
  box-shadow: inset 2px 3px 6px #0aff0a83;
  border-radius: 8px;
}

.about-first-section h1 {
  color: rgb(110, 216, 110);
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.about-me-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
  justify-items: center;
}

.about-me-container .image-container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 100%;
  background: transparent;
  margin-top: 50px;
  margin-left: 70px;
  
}

.image-container .glow {
  position: absolute;
  top: 0;
  width: 80%;
  height: 100%;
  border-radius: 100%;
  box-shadow: -4px 0px 8px #0aff0a;
  opacity: 1;
  z-index: 1;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* border-radius: 100%; */
  z-index: 2;
}

.about-me-container .about-me-details {
  width: 400px;
}

.about-me-details .details {
  font-size: 1rem;
  line-height: 1.8;
}

.about-first-section .buttons {

  margin-top: 30px;
}

.buttons .button {
  padding: 12px;
  margin-right: 30px;
  text-decoration: none;
  background-color: #eb0aff;
  color: white;
  border: 2px solid white;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
}

.buttons .button:hover {
  opacity: 0.8;
}

.buttons .button:active {
  opacity: 0.5;
}

.buttons .button:visited {
  color: white;
}


/* Comment Out this blocks Not Needed HTML commented out too */
/* .about-first-section .about-box {
  position: relative;
  background: #075207;
  width: 2px;
  height: 50%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.about-box .about-horizontal {
  height: 1px;
  width: 93px;
  background: #077907;
  margin: auto 0;
} 

.about-horizontal.left {
  transform: translateX(-100%)
}

.about-details {
  position: absolute;
  width: 25vw;
  height: 60vh;
  background: black;
  border: 2px solid #0aff0a83;
  border-radius: 8px;
}

.about-horizontal.left .about-details {
  left: -400px;
  top: -82px;
}

.about-horizontal.right .about-details {
  left: 150px;
  top: 0px;
} */

.second-section h1 {
  margin-bottom: 20px;
}

.second-section i {
  display: block;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.6;
  
}

@media screen and (min-width: 1150px) {
  .about-me-container .image-container {
    /* width: 40%; */
    margin-top: 30px;
    margin-left: 50px;
  }
}

@media screen and (max-width: 1090px) {

  .about-me-container .about-me-details {
    width: 400px;
  }

  .image-container .glow {
    width: 60%;
    height: 60%;
  }

  .image-container img {
    width: 70%;
    height: auto;
  }

  .details {
    width: 350px;
  }
}

@media screen and (max-width: 870px) {
  .about-first-section {
    position: relative;
  }

  .about-first-section h1, .second-section h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .image-container {
    margin: 0;
    vertical-align: middle;
  }

  .about-me-details {
    width: 250px;
    margin-left: 0;
    margin-right: 0;
    vertical-align: top;
  }

  .about-first-section .buttons {
    position: absolute;
  }

  .buttons .button {
    margin: 10px;
  }

  /* .image-container {
    width: 70px;
    height: auto;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
  } */


} 

@media screen and (max-width: 780px) {
  .about-first-section {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .about-me-container {
    grid-template-columns: repeat(1, 1fr);
  }
  /* .about-first-section h1 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  } */

  .image-container {
    width: 300px;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
  }

  .image-container img {
    width: 80%;
    /* height: auto; */
  }

  .about-me-details {
    width: 200px;
    margin-left: 0;
    margin-right: 0;
    vertical-align: top;
    font-size: 0.5rem;
  }

  .details {
    width: 100%;
  }

  .buttons .button {
    padding: 6px 8px;
    font-size: 0.6rem;
  }

  .about-me-container {
    width: 100%;
  }

  .about-first-section .buttons {
    height: fit-content;
    bottom: -30px;
  }

}

@media screen and (max-width: 560px) {
  .about-first-section h1, .second-section h1 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  /* .image-container {
    width: 40px;
    height: auto;
    margin-top: 5px;
    margin-left: 0;
    margin-right: 0;
  } */
  .about-me-details {
    width: 150px;
    margin-left: 0;
    margin-right: 0;
    vertical-align: top;
    font-size: 0.3rem;
  }
 
  .about-me-container {
    width: 100%;
  }

}

@media screen and (max-width: 480px) {

  .about-me-container {
    grid-template-columns: repeat(1, 175px);
    margin: 0 auto;
  }

  .image-container {
    width: 200px;
  }
  .about-me-details {
    height: auto;
  }

  .about-me-container {
    width: 100px;
  }

  .details {
    width: 80%;
  }

  .about-first-section .buttons {
    position: relative;
    top: 0;
  }

}
