html {
  cursor: crosshair;
}

a {
  cursor: crosshair;
}

.silkscreen-regular {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.silkscreen-bold {
  font-family: "Silkscreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.michroma-regular {
  font-family: "Michroma", sans-serif;
  font-weight: 400;
  font-style: normal;
}

::-moz-selection { /* Code for Firefox */
  color: #ffffff;
  text-shadow: 0 0 10px white;
}

::selection {
  color: #ffffff;
  text-shadow: 0 0 10px white;
}

::-webkit-scrollbar {
  width: 10px;
  background: rgb(37, 21, 49);
}

::-webkit-scrollbar-thumb {
  background: black; 
  border-radius: 0;
}

body {
    background-image: radial-gradient(rgb(92, 48, 127), black);
    background-attachment: fixed; 
    overflow: hidden;
}

header {
  display: flexbox;
  align-content: center;
  justify-content: center;
  text-align: center;
}

.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, 
  rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06),
  rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}
@keyframes flicker {
  0% {
  opacity: 0.25;
  }
  5% {
  opacity: 0.3;
  }
  10% {
  opacity: 0.2;
  }
  15% {
  opacity: 0.1;
  }
  20% {
  opacity: 0.1;
  }
  25% {
  opacity: 0.1;
  }
  30% {
  opacity: 0.1;
  }
  35% {
  opacity: 0.2;
  }
}
.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.5s infinite;
}

.type {
    text-align: center;
    animation: typing 5s steps(70), step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    width: 1400px;
    margin: 30px;
    color: #fff;
    font-size: 2em;
    text-shadow: 2px 2px 5px black;
    font-family: 'silkscreen';
}

@keyframes typing {
  from {
    width: 0;
  }
}

#container {
  display: flexbox;
  width: auto;
  margin: 0 auto;
  padding: 1.5em;
}

.stuff {
  z-index: 10;
  display: flexbox;
  margin-right: 20%;
  margin-left: 20%;
  margin-top: 50px;
  background-color: rgba(13, 0, 23, 0.5);
  height: 400px;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: solid rgb(135, 84, 176);
  box-shadow: inset 0 0 30px rgb(182, 99, 248);
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #ffffff, 0 0 5px rgba(255, 255, 255, 0), 0 0 5px rgba(0, 0, 0, 0), 0 0 5px rgba(0, 0, 0, 0);
  }
  to {
    text-shadow: 0 0 0;
  }
}

h2 {
  color: #ffffff;
  text-align: center;
  font-family: michroma;
  font-size: 2.5em;
  text-shadow: 2px 2px 20px black;
  animation: glow 0.5s ease-in-out infinite alternate;
}

/*For phones*/
@media (max-width: 400px) {
  h2 {
    font-size: 1.3em;
  }
}
@media (max-width: 400px) {
  .type {
    margin-top: 5em;
    width: 82%;
    font-size: 1.1em;
  }
}
@media (max-width: 400px) {
  .stuff {
    margin: 12%;
    margin-top: 12% ;
    height: auto;
  }
}
@media (max-width: 400px) {
  #container {
    padding: 1em;
  }
}

.music{
  position: absolute;
  z-index: 0;
  top: 110px;
  left: 240px;
  mix-blend-mode: color-dodge;
  animation: disc 3s infinite;
  animation-timing-function: linear;
  overflow: none;
}

.help {
    z-index: 1;
    position: absolute;
    font-family: michroma;
    left: 80px;
    top: 310px;
    width: 200px;
    height: 40px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5em;
    padding-left: 1em;
    border-radius: 20px 0 20px 20px;
    font-size: 12px;
    visibility: hidden;
    border: solid rgb(135, 84, 176) 1px;
}

#disc:hover .help {
    visibility: visible;
}

@keyframes disc {
 100% {transform: rotate(360deg);}
}
@media (max-width: 400px) {
  .music {
    top: 18%; 
    left: 68%;
    overflow: none;
    width: 120px;
  }
}
@media (max-width: 400px) {
  .help {
    width: 150px;
    top: 88%; 
    left: 27%;
    height: 50px;
    font-size: 10px;
    padding-left: 25px;
  }
}

.content {
  margin: 0.7em;
  padding: 1em;
  font-size: 1.1em;
  font-family: michroma;
  text-align: center;
  height: auto;
}

#navbar {
  display: flex;
  height: 5em;
  padding: 0.5em;
  justify-content: center;
}

.navigation {
    display: flexbox;
    gap: 50px;
    height: auto;
    width: 100px;
    padding: 10px;
    margin: 10px;
    margin-right: 2em;
    background-image: linear-gradient(180deg, #f3f0ff, #dcd3fd99, blue 90%);
    border-radius: 5px;
    box-shadow: 0 0 10px #fff;
    font-family: michroma;
    mix-blend-mode: luminosity;
}

.navbox{
    display: flexbox;
    text-shadow: 0 2px 5px hsl(0, 0%, 0%);
    justify-content: center;
    text-align: center;
    font-size: large;
    color: #ffffff;
    margin-top: 8px
}

#navigation:hover {
  animation: navzoom 0.5s alternate infinite;
}

@keyframes navzoom {
  from {
    transform: scale(100%);
  }
  to {
    transform: scale(120%);
  }
}
@media (max-width: 400px) {
  .navigation {
    height: 1em;
    padding: 10px;
    margin: 5px;
  }
}
@media (max-width: 400px) {
  #navbar {
    height: 3em;
    padding: 15px;
    margin: 0;
  }
}
@media (max-width: 400px) {
  .navbox {
    margin-top: -2px;
    font-size: small;
  }
}

.contentend {
  margin: 0.7em;
  padding: 1em;
  font-size: 0.85em;
  font-family: michroma;
  text-align: center;
}

@media (max-width: 400px) {
  .content {
    font-size: 0.8em;
    padding: 5px;
    margin: 0;
  }
}
@media (max-width: 400px) {
  .contentend {
    font-size: 0.6em;
    padding: 5px;
    margin: 0;
  }
}

.help2 {
    z-index: 1;
    position: absolute;
    font-family: michroma;
    width: 115px;
    height: 20px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.7em;
    padding-left: 2em;
    border-radius: 0 20px 20px 20px;
    font-size: 12px;
    border: solid rgb(135, 84, 176) 1px;
    margin-top: 10px;
    left: 870px;
    bottom: 175px;
    visibility: hidden;
}

#mydiv {
  position: absolute;
  bottom: 100px;
  left: 350px;
  background-color: rgba(13, 0, 23,0.9);
  width: 250px;
  height: 400px;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: solid rgb(38, 145, 111);
  box-shadow: inset 0 0 30px rgb(72, 189, 152);
  visibility: hidden;
}

#mydivheader {
  text-align: center;
  padding: 5px;
  cursor: move;
  z-index: 1;
  color: #fff;
  font-family: michroma;
}

#cv {
  margin: 1em;
}

@media (max-width: 400px) {
  #mydiv {
  width: 165px;
  height: 250px;
  bottom: 2%;
  left: 40%;
  align-content: center;
  }
}
@media (max-width: 400px) {
  #mydivheader {
  visibility: hidden;
  }
}
@media (max-width: 400px) {
  #cv {
  margin: 0.5em;
  width: 150px;
  margin-top: -28px;
  }
}
