@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");
html {
  scroll-behavior: smooth;
}

#line {
  display: none;
  height: 3px;
  width: 100%;
  position: fixed;
  background-color: red;
  z-index: 10000;
}

#about-me-link-fix {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
  z-index: 0;
}

body {
  background: #14122f;
  background: radial-gradient(circle, #14122f 0%, black 40%, black 71%, #001418 100%);
  box-sizing: border-box;
  margin: 0;
  overflow-x: hidden;
  cursor: none;
}

body * {
  font-family: "Nunito", sans-serif;
  box-sizing: inherit;
}

body #cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffeede;
  z-index: 1000;
  border: 1px solid black;
}

body h2 {
  font-size: 40px;
  font-family: "Orbitron", sans-serif;
}

body .background {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: radial-gradient(circle, #14122f 0%, black 40%, black 71%, #001418 100%);
}

body .background .stars {
  position: fixed;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

@keyframes movingStars {
  0% {
    transform: translateX(0) translateY(0) translateZ(0);
  }
  50% {
    transform: translateX(47px) translateY(22px) translateZ(-13px);
  }
  100% {
    transform: translateX(0) translateY(0) translateZ(0);
  }
}

@keyframes blinkingStar {
  0% {
    height: 2px;
  }
  45% {
    height: 2px;
  }
  50% {
    height: 4px;
  }
  55% {
    height: 2px;
  }
  100% {
    height: 2px;
  }
}

body .background .stars .star {
  display: inline-block;
  position: absolute;
  width: 100px;
  top: 150px;
  left: 40px;
  animation: movingStars 25s infinite;
}

body .background .stars .star .connections {
  position: relative;
  transform: rotate(45deg);
}

body .background .stars .star .connections .top {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: white;
}

body .background .stars .star .connections .left {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: white;
  transform-origin: left;
  transform: translateX(0px) rotate(60deg);
}

body .background .stars .star .connections .right {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: white;
  transform-origin: right;
  transform: translateX(0px) rotate(-60deg);
}

body .background .stars .star .connections .yellow {
  background-color: #f7f7be;
}

body .background .stars .star .connections .blue {
  background-color: #bbe9ff;
}

body .containing-box {
  position: relative;
  /* END OF ABout me
          Start of Planet
    */
}

body .containing-box #hover-link {
  position: fixed;
  height: 40px;
  width: 100px;
  background-color: rgba(81, 151, 255, 0.479);
  border-radius: 5px;
}

body .containing-box #highlight-link {
  position: fixed;
  height: 40px;
  width: 100px;
  background-color: #5196ff;
  border-radius: 5px;
}

body .containing-box .triggers {
  min-height: 100vh;
  padding-bottom: 120px;
}

body .containing-box nav {
  position: fixed;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  max-width: 1920px;
  width: 100%;
  padding: 10px 50px;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.438);
}

body .containing-box nav h2 {
  margin: 0;
  padding: 0;
  color: white;
}

body .containing-box nav ol {
  display: flex;
}

body .containing-box nav ol li {
  list-style: none;
  padding-left: 30px;
}

body .containing-box nav ol li a {
  position: relative;
  z-index: 1002;
  color: white;
  padding: 12px 6px;
}

body .containing-box .hero {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  z-index: 10;
  top: 0;
  width: 100%;
}

body .containing-box .hero h1 {
  font-size: 160px;
  font-family: "Orbitron", sans-serif;
  color: white;
  text-shadow: 0 0 10px black;
  animation: fadeIn 7s;
}

body .containing-box .hero h2 {
  font-size: 40px;
  font-family: "Orbitron", sans-serif;
  color: white;
  opacity: 1;
  animation: fadeIn 7s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body .containing-box .about-me {
  position: fixed;
  z-index: 12;
  top: 0;
  left: 0;
  transform: translateX(-50%) translateY(-50%);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body .containing-box .about-me > div {
  display: flex;
  max-width: 1000px;
  justify-content: space-around;
}

body .containing-box .about-me > div h3 {
  flex: 0 0 50%;
  padding-top: 100px;
}

body .containing-box .about-me > div .skills ul {
  padding-left: 0;
}

body .containing-box .about-me * {
  color: white;
}

.planet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-5%) translateY(-80%);
  min-width: 34px;
  aspect-ratio: 1;
  background-color: chocolate;
  border-radius: 2000px;
  box-sizing: border-box;
}

.planet::before {
  box-sizing: border-box;
  content: "";
  height: 10%;
  aspect-ratio: 1;
  top: 15%;
  left: 40%;
  border-radius: 200px;
  background-color: #773c13;
  position: absolute;
  z-index: 10;
  border-right: solid #441f12;
}

.planet::after {
  box-sizing: border-box;
  border-right: solid #441f12;
  content: "";
  height: 25%;
  aspect-ratio: 1;
  bottom: 20%;
  right: 20%;
  border-radius: 100%;
  background-color: #773c13;
  position: absolute;
  z-index: 10;
}

#projects {
  min-height: 100vh;
  max-width: 1330px;
  margin: auto;
  margin-bottom: 100px;
}

.project * {
  word-wrap: normal;
  color: white;
}

.project > div {
  background-color: rgba(0, 0, 0, 0.781);
  padding: 20px;
  overflow: hidden;
  border-radius: 10px;
  border: rgba(255, 255, 255, 0.301) 1px solid;
}

.project > div .project-content p {
  font-size: 18px;
}

.project > div .project-content .img {
  width: 100%;
  overflow: hidden;
}

.project > div .project-content .img img {
  max-width: 100%;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-around;
}

.projects h2 {
  color: white;
  width: 100%;
  font-family: "Orbitron", sans-serif;
  text-align: center;
}

.projects > div {
  box-sizing: border-box;
  position: relative;
  width: 47%;
  height: 400px;
  margin-top: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-left: 10px;
  padding-right: 10px;
  word-wrap: break-word;
  overflow: hidden;
}

.projects > div * {
  color: white;
}

.projects > div h4 {
  position: relative;
  font-size: 24px;
  z-index: 11;
}

.projects > div p {
  position: relative;
  font-size: 16px;
  z-index: 11;
}

.projects > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.493);
  opacity: 1;
  z-index: 10;
}

.contact {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.contact .social * {
  color: white;
  font-size: 24px;
}

.contact h2 {
  color: white;
  font-family: "Orbitron", sans-serif;
  text-align: center;
}

.contact input,
.contact textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 30px;
  min-height: 30px;
  border-radius: 10px;
  font-size: 20px;
  background-color: rgba(5, 5, 5, 0.342);
  border: white 1px solid;
  color: white;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: white;
}

.contact input[type="submit"] {
  background-color: white;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.952);
}

@media (max-width: 1510px) {
  body .containing-box .hero h1 {
    font-size: 160px;
    font-family: "Orbitron", sans-serif;
    color: white;
    animation: fadeIn 7s;
  }
  body .containing-box .hero h2 {
    font-size: 40px;
    font-family: "Orbitron", sans-serif;
    color: white;
    opacity: 1;
    animation: fadeIn 7s;
  }
}

@media (max-width: 1510px) {
  body .containing-box .hero h1 {
    font-size: 160px;
  }
  body .containing-box .hero h2 {
    font-size: 40px;
  }
}

@media (max-width: 1210px) {
  body .containing-box .hero h1 {
    font-size: 120px;
  }
  body .containing-box .hero h2 {
    font-size: 35px;
    text-align: center;
  }
}

@media (max-width: 770px) {
  body .containing-box nav {
    display: none;
  }
  body .containing-box .hero h1 {
    font-size: 80px;
  }
  body .containing-box .hero h2 {
    font-size: 32px;
    text-align: center;
    word-wrap: break-word;
  }
  body .projects > div h4 {
    font-size: 18px;
  }
  body .contact h2 {
    font-size: 26px;
  }
  body .contact .social * {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  body .containing-box {
    max-width: 100vw;
  }
  body .containing-box .hero h1 {
    font-size: 40px;
  }
  body .containing-box .hero h2 {
    max-width: 100%;
    font-size: 20px;
    text-align: center;
    word-break: break-all;
  }
}
