/* rest */
body {
  margin: 30px;
  background-image: linear-gradient(140deg, rgb(18, 18, 18), rgb(27, 27, 27));
  height: 93.6vh;
}

* {
  font-family: VCR OSD Mono;
  color: white;
  transition: all 0.5s ease-in-out;
  text-shadow: 0 0 5px;
}

header {
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: white;
  text-decoration: underline;
  margin: 5px;
}

footer {
  margin: 0 30px;
}

.signature {
  position: fixed;
  width: 100%;
  rotate: -45deg;
  margin-left: -80vh;
}

/* container */

.whole {
  border: white 2px solid;
  border-radius: 7px;
  background-color: rgb(35, 35, 35);
}

.container {
  height: 73vh;
}

.selections {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: #1c1c1c;
  height: 5vh;
  border: solid 2px white;
  width: 80%;
  align-self: center;
  justify-self: center;
  font-size: 20px;
  box-shadow: 5px 5px 5px rgb(155, 155, 155);
}

.selections > p {
  text-decoration: underline;
  text-decoration-color: #ffffff00;
  transition: all 0.2s ease;
  cursor: pointer;
  text-shadow: none;
}

.selections > p:hover {
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-shadow: 2px 2px rgb(200, 200, 200);
}

/* pages */

/*About me*/

.content {
  display: flex;
  justify-content: space-around;
  color: white;
}

.text {
  margin-top: 10%;

  width: 40%;
  flex-wrap: wrap;
  font-size: 22px;
  overflow-wrap: break-word;
}
.text > h2 {
  text-decoration: underline;
}

.image {
  margin-top: 7%;
}
.image > img {
  width: clamp(10vh, 40vh, 50vh);
}

/*skills*/

.skillscontent {
  display: none;
  flex-direction: row;
  align-content: center;
  justify-content: space-evenly;

  color: white;
  width: 100%;
  opacity: 0;
}

.text3 {
  flex-wrap: wrap;
  font-size: 22px;
  overflow-wrap: break-word;
  display: flex;
  align-self: center;
  flex-direction: column;
  width: 30%;
}

.text3 > h2 {
  text-decoration: underline;
}
/* contacts*/

.contactscontent {
  display: none;
  flex-direction: column;
  align-content: center;
  justify-content: center;

  color: white;
  width: 100%;
  opacity: 0;
}

.text2 {
  margin-top: 10%;
  text-decoration: underline;
  flex-wrap: wrap;
  font-size: 22px;
  overflow-wrap: break-word;
  display: flex;
  align-self: center;
}

.socials {
  display: flex;
  align-self: center;
  gap: 30px;
}

/* crt screen thing */

.crt-screen::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 18, 18, 0.55) 0.1em, transparent 0.1em);
  background-size: 100% 0.2em;
  pointer-events: none;
}

/* crt flicker */

.crt-flicker::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(33, 33, 33, 0.089);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.90626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.83891;
  }
  30% {
    opacity: 0.65583;
  }
  35% {
    opacity: 0.67807;
  }
  40% {
    opacity: 0.26559;
  }
  45% {
    opacity: 0.84693;
  }
  50% {
    opacity: 0.96019;
  }
  55% {
    opacity: 0.08594;
  }
  60% {
    opacity: 0.20313;
  }
  65% {
    opacity: 0.71988;
  }
  70% {
    opacity: 0.53455;
  }
  75% {
    opacity: 0.37288;
  }
  80% {
    opacity: 0.71428;
  }
  85% {
    opacity: 0.70419;
  }
  90% {
    opacity: 0.7003;
  }
  95% {
    opacity: 0.36108;
  }
  100% {
    opacity: 0.24387;
  }
}
