* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins",sans-serif;
  line-height: 1;
  color: rgb(255, 255, 255);
  font-weight: 600;
  margin: 0 auto;
}

.sections-header {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
}

/* Scroll Bar */
::-webkit-scrollbar {
  height: 1rem;       
  width: .5rem;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 .5rem rgba(128, 128, 128, 0.39); 
  border-radius: 1rem;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #1f2251; 
  border-radius: 1rem;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1d8cf8; 
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Thin.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-Light.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-Medium.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-Regular.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-ExtraLight.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-Black.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-Bold.woff2") format('woff2'),
  url("../fonts/Poppins/Poppins-ExtraBold.woff2") format('woff2');
  font-style: normal;
}

.container {
  display: grid;
  background-image: url(../img/dots.png);
  background-size: contain;
  background-color: #171941;
  grid-template-rows: 100vh 150vh 35rem 80vh 70vh 4rem;
  width: 136.6rem;
  width: 100%;
}

/* GENERAL BUTTON PROPERTIES */
.btn:link, .btn:visited {
  font-size: 1.4rem;
  padding: 1.1rem 2.3rem;
  border-radius: 10rem;
  border: .1rem solid #1d8cf8;
  text-decoration: none;
  color: #1d8cf8;
  overflow: hidden;
}

.btn:hover {
  font-size: 1.4rem;
  border-radius: 10rem;
  border: .1rem solid #1d8cf8;
  text-decoration: none;
  color: white;
  transition: color 1s;
  transform: translateY(-.2rem);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
}

.btn:active {
  transform: translateY(-.05rem);
  transition: transform .2s;
}

.btn::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-25%, -25%);
  content: "";
  height: 0;
  width: 0;
  border-radius: 10rem;
  background-color: #1d8cf8 ;
  z-index: -2;
  opacity: 0;
  transition: all 1s;
}

.btn:hover::after {
  opacity: 1;
  height: 100%;
  width: 100%;
  transform: scale(20);
}


/* HERO */
.hero {
  position: relative;
  grid-column: 2/-1;
  grid-row: 1/2;
  /* border:1px solid #1d8cf8; */
  overflow: hidden;
  display: flex;
}

.header--container {
  display: flex;
  flex-direction: column;
  margin-top: 12.5rem ;
  width: 60%;
  margin-left: 7rem;
  z-index: 3;
}

.header {
  font-size:3.64rem;
  display: block;
  padding: 1rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .3rem;
  margin-bottom: 1rem;
}

.description {
  display: block;
  font-size: 1.6rem;
  font-weight: 100;
  letter-spacing: .11rem;
  line-height: 1.2;
  color: rgb(255, 254, 254);
  padding: 1rem;
  margin-bottom: 1rem;
}

.name {
  font-size: 2rem;
  font-weight: 600 ;
  margin-top: 2rem;
}

.btn--container {
  display: flex;
  margin-top: 4rem;
  gap: 1.6rem;
}

.btn-hero:link, .btn-hero:visited {
  position: relative; /*IMPORTANT do not remove*/
}

.btn-hero:hover {
  padding: 1.1rem 2.3rem; /*shoudn't be applied in projects*/
}

.header--image-container {
  display: flex;
  flex-direction: column;
}

.header--image-photo {
  position: absolute;
  top: 40%;
  transform: translate(25%,-60%);
  border-radius: 30rem;
  z-index: 2;
  box-shadow: 0 0 1rem rgba(29, 139, 248, 0.74);
  height: 25rem;
  width: 26rem;
}

.professional-title-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64%;
  transform: translate(15%,-60%);
  align-items: center;
}

.professional-title {
  padding: .5rem .77rem;
  font-size: 1.38rem;
  width: 30rem;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 2rem;
  padding-top: .5rem;

}

ion-icon {
  color: rgb(184, 184, 184);
}

a {
  z-index: 999;
  cursor: pointer;
}

.social-icon {
  height: 3rem;
  width: 2.6rem;
}

.square {
  position: absolute;
  z-index: 1;
  border-radius: 15%;
  background: linear-gradient(0deg, #3358f4 0%, #1d8cf8 100%);
  /* transition: 0.5s ease-out; */
}

.square-1 {
  height: 28rem;
  width: 28rem;
  opacity: 0.5;
  left: -2%;
  top: -8%;
  animation: shake 4s infinite;
}

.square-2 {
  height: 35rem;
  width: 35rem;
  opacity: 0.4;
  right: 4%;
  top: -25%;
  animation: shake 6s infinite;
}

.square-3 {
  height: 18rem;
  width: 18rem;
  opacity: 0.4;
  left: -5%;
  bottom: 3.5%;
  animation: shake 5s infinite;
}

.square-4 {
  height: 10rem;
  width: 10rem;
  opacity: 0.9;
  left: 50%;
  bottom: 0;
  animation: shake 9s infinite;
}

.square-5 {
  height: 23rem;
  width: 23rem;
  opacity: 0.1;
  left: 40%;
  bottom: 50%;
  animation: shake 6s infinite;
}

.square-6 {
  height: 8rem;
  width: 8rem;
  opacity: 0.8;
  left: 26%;
  top: 64%;
  animation: shake 9s infinite;
}

.square-7 {
  height: 27rem;
  width: 27rem;
  opacity: 0.1;
  right: 1%;
  bottom: 2%;
  animation: shake 4s infinite;
}

@keyframes shake {
  0% {
    transform: translateX(-1rem);
  }
  50% {
    transform: translateX(1rem);
  }
  100% {
    transform: translateX(-1rem);
  }
}

/* Path Images  */
.path-image-1 {
  position: absolute;
  background-image: url('../img/blob.png');
  background-size: cover;
  height: 80rem;
  width:80rem;
  top: 56%;
  left: 41.2%;
  opacity: 0.02;
}

.path-image-2 {
  position: absolute;
  background-image: url('../img/blob2.png');
  background-size: cover;
  height: 30rem;
  width:30rem;
  top: 23%;
  left: 0%;
  opacity: 0.02;
  transform: rotate(180deg)
}

.path-image-3 {
  position: absolute;
  background-image: url('../img/blob2.png');
  background-size: cover;
  height: 40rem;
  width:40rem;
  top: 8.3%;
  right: 4%;
  opacity: 0.02;
  transform: rotate(100deg)
}


/* temporary */
.project-description-header {
  display: flex;
}
.project-description-imgs {
  display: flex;
  background-color: #1f2251;
  align-items: flex-end;
  margin-left: 5px;
  padding-bottom: 4px;
}

.project-description-imgs img {
  background-color: #1f2251;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-right: -6px;
  /* border: 2px solid #1f2251; */
}
