* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  scroll-behavior: smooth;
}

body {
  background-color: #121212;
}

::-moz-selection {
  background: rgba(230, 0, 255, 0.621);
}

::selection {
  background: rgba(230, 0, 255, 0.288);
}

button {
  border: none;
  outline: none;
  cursor: pointer;
}

.about {
  width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-direction: column;
  height: 70vh;
  justify-content: center;
  padding-top: 10vh;
}

.about-outer {
  display: flex;
}

.about .myself {
  display: flex;
  gap: 10px;
  flex-direction: column;
  color: #e0e0e0;
  width: 70%;
}

#moreAboutMe {
  color: #e0e0e0;
  padding-top: 30px;
  height: 0px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  margin-top: 20px;
}

#moreAboutMe ul {
  padding-left: 15px;
  padding-top: 10px;
}

#moreAboutMe ul li {
  margin-bottom: 10px;
}

.about .important {
  margin-bottom: 20px;
}

.about .socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-button {
  background-color: #e0e0e0;
  color: #121212;
  display: flex;
  align-items: flex-end;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  margin-top: 10px;
  text-decoration: none;
  gap: 5px;
  transition: all 0.1s ease-in-out;
}

.social-button img {
  height: 15px;
}

.social-button:hover {
  box-shadow: 0 0 10px rgba(224, 224, 224, 0.5) !important;
}

.about .myself h1 {
  font-size: 42px;
  font-weight: 500;
}

.tech {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.techstack {
  display: grid;
  grid-template-columns: 25% 25% 25%;
  grid-template-rows: 80px 80px;
  place-items: center;
  gap: 10px;
  justify-content: right;
  height: fit-content;
}

.techstack img {
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.2s ease-in-out;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.techstack img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.experience {
  width: 800px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.experience-section {
  border: 2px solid rgba(91, 91, 91, 0.18);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.experience-section:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 2px;
  background-color: rgba(91, 91, 91, 0.18);
  left: 45px;
}

.experience-title {
  background-color: rgba(91, 91, 91, 0.18);
  color: #e0e0e0;
  padding: 5px 2px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  border-radius: 10px;
}

.experience-logo {
  width: 70px;
  height: 70px;
  border-radius: 100px;
  background-color: #fff;
  padding: 5px;
  z-index: 100;
  border: 2px solid rgba(91, 91, 91, 0.18);
}

.document-logo {
  width: 70px;
  height: 70px;
  padding: 5px;
  z-index: 100;
  border: 2px solid rgba(91, 91, 91, 0.18);
  border-radius: 10px;
  filter: invert(1);
  opacity: 0.9;
  background-color: #ececec;
}

.experience-text {
  display: flex;
  flex-direction: row;
  color: #e0e0e0;
  padding: 0 10px;
  font-size: 16px;
  padding-top: 20px;
}

.experience-text ul {
  padding-left: 15px;
  padding-top: 10px;
}

.experience-inner {
  width: 100%;
  min-width: 70%;
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
}

.experience-outer {
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.experience-company {
  margin: 3px 0;
}

.experience-duration {
  opacity: 0.7;
}

.experience-button {
  background-color: #e0e0e0;
  color: #121212;
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  margin-top: 10px;
  text-decoration: none;
  gap: 5px;
  transition: all 0.1s ease-in-out;
}

.experience-button:hover {
  box-shadow: 0 0 10px rgba(224, 224, 224, 0.5);
}

.experience-button img {
  height: 15px;
}

.projects {
  width: 800px;
  margin: 0 auto;
  color: #e0e0e0;
  margin-bottom: 5vh;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid rgba(91, 91, 91, 0.18);
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #e0e0e0;
  transition: all 0.2s ease-in-out;
  padding-bottom: 5px;
}
.project-name {
  padding: 5px 5px 0;
}
.project-description {
  padding: 0 5px;
}
.project-img {
  width: 100%;
}

.technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 5px;
}

.project a {
  color: #e0e0e0;
  text-decoration: none;
}

@media screen and (max-width: 960px) {
  .about {
    flex-direction: column;
    width: 90%;
    justify-content: center;
    padding: 0;
  }

  .about .social-button {
    padding: 7px 13px;
    font-size: 14px;
  }

  .techstack {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    place-items: center;
    gap: 10px;
    justify-content: center;
    height: fit-content;
    margin-top: 50px;
  }

  .tech {
    width: 70%;
    align-items: flex-start;
  }

  .experience {
    width: 90%;
  }

  .experience-section:before {
    left: 20px;
  }

  .experience-text {
    font-size: 14px;
  }

  .experience-section:before {
    left: 45px;
  }

  .about-outer {
    flex-direction: column;
    align-items: center;
  }

  #moreAboutMe {
    padding: 0 10px;
  }

  .projects {
    width: 90%;
  }
}

@media screen and (max-width: 660px) {
  .about {
    width: 100%;
    padding-top: 5vh;
    height: fit-content;
  }

  .tech {
    width: 90%;
  }

  .techstack,
  .about .myself {
    width: 90%;
  }

  .about .social-button {
    padding: 7px 13px;
    font-size: 14px;
  }

  .techstack {
    width: 100%;
    grid-template-columns: 33% 33% 33%;
  }

  .techstack img {
    scale: 0.8;
  }

  .experience {
    width: 90%;
  }

  .experience-section:before {
    left: 20px;
  }

  .experience-text {
    font-size: 14px;
  }

  .experience-section:before {
    left: 45px;
  }
}
