@font-face {
  font-family: "fa_xcczcfncowregular";
  src: url("fa_xcczcfncow-webfont.woff2") format("woff2"),
    url("fa_xcczcfncow-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative; 
  height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  background-size: cover;
    background-image: url(bg/blurbg.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  flex-direction: column;
 /** background-color: #020100;**/
}


body::before {
  content: "";
  position: fixed;  
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  z-index: 0;  
  background-size: cover;
  background-repeat: no-repeat;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3; 
    opacity: 1;
}


main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  height: 100%;
  width: 100%;
}

.container {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr 1.5fr;
  grid-template-rows: 1.5fr;
  gap: 0px 0px;
  grid-auto-flow: row;
}

.nav {
  grid-area: 1 / 1 / 1 / 5;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-size: 25px;
  z-index: 1;
  max-height: 5%;
}

.nav a {
  color: black;
  font-family: "fa_xcczcfncowregular";
  text-decoration: none;
    transition-duration: 0.5s;
}

.nav a:hover {
  color: white;
  transition-duration: 0.5s;
  text-shadow: white 0 0 10px;
    text-decoration-line: underline;
}

#single {
  grid-area: 3 / 6 / 4 / 6;
}


#single img {
  width: 130px;
  height: 110px;
  border-radius: 50%;
  -moz-box-shadow: 0 0 5px #fff;
  -webkit-box-shadow: 0 0 5px #fff;
  box-shadow: 0px 0px 5px #fff;
  transition: 700ms;
  opacity:0.4;
    filter: grayscale(100%);
}

#single img:hover {
  border-radius: 5%;
  -moz-box-shadow: 0 0 10px black;
  -webkit-box-shadow: 0 0 10px white;
  box-shadow: 0px 0px 10px white;
    filter: grayscale(0%);
      opacity:0.8;

  transition-duration: 1s;
  transition-property: width, height, border-radius;
}

.hug {
  grid-area: 1 / 1 / 1 / 1;
  display: inline-grid;
  z-index: -2;
}

#cubes {
  grid-area: 1 / 1 / 2 / 5;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
}

h4{
   grid-area: 2 / 4 / 2 / 4;
  font-size:20px;
  font-family: "fa_xcczcfncowregular";  
}

h4 a{
  color:black;
  text-decoration:none;
}

#new {
   grid-area: 2 / 4 / 2 / 4;
   z-index:3;
   }

#scroll-container {
  border-radius: 2px;
  height: 20px;
  flex-direction: row;
  overflow-wrap: break-word;
  overflow: hidden;
  max-width: 10%;
}

#scroll-text {
  text-align: right;
  justify-items: center;
  align-items: right;
  align-content: center;
  overflow-wrap: break-word;
  width: 400px;
  opacity: 0.5;
  /* animation properties */
  -moz-transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);

  -moz-animation: my-animation 30s linear infinite;
  -webkit-animation: my-animation 35s linear infinite;
  animation: my-animation 30s linear infinite;
}

/* for Firefox */
@-moz-keyframes my-animation {
  from {
    -moz-transform: translateX(-100%);
  }
  to {
    -moz-transform: translateX(100%);
  }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from {
    -webkit-transform: translateX(-100%);
  }
  to {
    -webkit-transform: translateX(100%);
  }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  to {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

@media only screen and (max-width: 600px) {
  body {
    width: 100%;
    background-size: cover;
    background-attachment: scroll;
  }

  .nav {
    gap: 40px;
  }
}
