@font-face {
    font-family: "NerdFont";
    src: url("../fonts/Monoid/MonoidNerdFont-Regular.ttf") format("truetype"),
    url("mycustomfont.ttf") format("truetype");
}

.topnav{
    background-image: url('../images/rust.png');
    background-size: 4000px 500px;
    background-position: center;
}

.navbutton{
    font-family: "NerdFont";
    color: #4dbf49;
    background-color: black;
    font-size : 24px;
    cursor: pointer;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.navbutton:hover {
  text-shadow:
    0 0 10px #00ff0d,
    0 0 20px #00ff0d,
    0 0 40px #00ff0d,
    0 0 80px #00ff0d;
}

.contactitem{
    font-family: "NerdFont";
    color: #4dbf49;
    background-color: black;
    cursor: pointer;
    border-radius: 10px;
}

.carousel {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
        bottom: 0;
}

.track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.track img {
  width: 200px;     
  height: 200px;
  margin-right: 10px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-43%); }
}
.crop{
  width: 200px;
  height: 200px;
  object-fit: cover;
}


h1{font-family: "NerdFont"; color: #4dbf49}
h2{font-family: "NerdFont"; color: #4dbf49}
summary{font-family: "NerdFont"; color: #4dbf49; font-size: 20px}
p{font-family: "NerdFont"; color: #4dbf49;}
span{font-family: "NerdFont"; color: #4dbf49;}
a{font-family: "NerdFont"; color: #4dbf49;}

html{background-color: black}
summary{transition: 0.3s}
summary:hover {
  text-shadow:
    0 0 10px #00ff0d,
    0 0 20px #00ff0d,
    0 0 40px #00ff0d,
    0 0 80px #00ff0d;
}

.buttonlink{
    transition: 0.3s
}

.buttonlink:hover {
  text-shadow:
    0 0 10px #00ff0d,
    0 0 20px #00ff0d,
    0 0 40px #00ff0d,
    0 0 80px #00ff0d;
}


.videoplayer {
  position: relative;
  width: 1600px;
}

.frame {
  width: 30%;
  height:auto
  display: block;
}

.screen {
  position: absolute;

  top: 100%;    
  left: 50%;

  width: 38%;    
  height:36%;

  transform: translate(-142%, -182%); /* center it */

}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black; /* loader background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 45px;
  height: 30px;
  display: block;
  animation: l1 0.5s infinite linear;
}

@keyframes l1 {
  0%, 25% {
    background: linear-gradient(#e50021 0 0) 50% 0/66% 100% no-repeat;
  }
  25.1%, 50% {
    background: 
      linear-gradient(#004ce4 0 0) 0 0/100% 50% no-repeat,
      linear-gradient(#004ce4 0 0) 0 0/33% 100% no-repeat;
  }
  50.1%, 75% {
    background: 
      linear-gradient(#00e622 0 0) 100% 0/66% 50% no-repeat,
      linear-gradient(#00e622 0 0) 0 100%/66% 50% no-repeat;
  }
  75.1%, 100% {
    background: 
      linear-gradient(#9d0be6 0 0) 0 100%/100% 50% no-repeat,
      linear-gradient(#9d0be6 0 0) 50% 0/33% 50% no-repeat;
  }
}

