 /* The sidebar menu */
 @font-face {
  font-family: tiltwarp;
  src: url(fonts/TiltWarp.ttf);
}
@font-face {
  font-family: outfit;
  src: url(fonts/Outfit-VariableFont_wght.ttf);
}
@font-face {
  font-family: time;
  src: url(fonts/TimeandSpace-Regular.ttf);
}

.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 37vw; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #fe2640ff;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
  transform: skewX(-3deg) translateX(-20%);
}

.yt-embed iframe{
  aspect-ratio: 16/9;
  width:50%;
  display:block;
  margin-left:auto;
  margin-right:auto;
}
/* The navigation menu links */
.sidenav navtext {
  margin-left: 3000px;
  margin-right:50px;
  text-decoration: none;
  font-size: 40px;
  color: #000000;
  display: block;
  font-family: TiltWarp;
  text-align: right;
  float:right;
}

.sidenav a{
  text-decoration: none;
}

.sidenav logotext {
    margin-left: 15vw;
    margin-bottom:50px;
    margin-top:0px;
    margin-right:25px;
    
  text-decoration: none;
  font-size: 45px;
  color: #000000;
  font-family: TiltWarp;
  display: flexbox;
  float:right;
  transform:skewX(3deg);
}

@keyframes moveright {
    100%{
        transform:translateX(10px);
        color: #f1f1f1;
    }
}

/* When you mouse over the navigation links, change their color */
.sidenav navtext:hover {
  animation: moveright .1s ease-in-out;
  animation-fill-mode: forwards;
}

.sidenav socials {
  position: absolute;
  bottom: 10px;
  right: 40px;
  height: 100px;
}

.sidenav logo img{
  transform:skewX(3deg);
  width:200px;
  height:200px;
  margin-left:155px;
  aspect-ratio: 1;
  float:right;
  margin-right:35px;
}

/* Style page content */
.main {
  margin-left: 30vw; /* Same as the width of the sidebar */
  padding: 0px 10px;
  font-family: outfit;
}

.game{
    width:90%;
    height:300px;
    margin: 20px;
    margin-right:40px;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    outline: 8px;
    outline-color: black;
    outline-style: solid;
    box-shadow: 20px 20px;
    position: relative;
    text-align: center;
    /* color: white; */
    overflow:clip;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 25%, rgba(0, 0, 0, 0.6) 100%);
    display: inline-flexbox;
    margin-bottom:30px;
    float:right;
}

.game:hover {
  animation: gamehover .2s ease-in-out;
  animation-fill-mode: forwards;
}

.game img{
  width:100%;
  height:100%;
  object-fit: cover;
  z-index: -1;
  position: relative;
}

@keyframes gamehover{
    100%{
        transform:translateY(-5px);
        outline-color: #fe2640ff;
        box-shadow: 20px 30px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 25%, rgba(0, 0, 0, 0.6) 100%);
    }
}
.section-header{
  font-family: TiltWarp;
  font-size: 60px;
  color: black;
  margin-left:15px;
  float:right;
  font-style: italic;
}

.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
  font-size: 40px;
  font-family: TiltWarp;
  color:white;
  /* text-shadow: black 1px 0 10px; */
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media (max-width: 800px) or (max-device-width: 800px){
 .sidenav {
    width: 100%;
    height: auto;
    padding:10px;
    transform: skewX(0deg);
    height: auto;
    overflow: hidden;
  }
  
  .sidenav logotext{
    display: none;
  }
  .sidenav navtext {
    float: left;
    top:0;
    text-align: center;
    margin:auto;
    margin-left:20px;
    transform: skewX(-3deg);
    font-size:30px;
    margin-top:0px;
    overflow: hidden;
  }

  .sidenav logo img{
    float:left;
    width:30px;
    height:30px;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
    
    transform:skewX(0deg);
  }
  .sidenav socials{
    float:right;
    top:0;
    height:80px;
    bottom:0;
    right:0;
    transform: scale(0.7);
    margin-right:20px;
    margin-left:20px;
  }
  .main{
    margin-left: 0px;
    margin-top:100px;
    padding: 0px 0px;
    width:100%;
  }
  .game{
    margin-right:20px;
  }
  .section-header{
    display:none;
  }
}

.wide{
  margin:0px;
  padding:0px;
  .sidenav {
    width: 100%;
    height: auto;
    padding:10px;
    transform: skewX(0deg);
    overflow: hidden;
  }
  
  .sidenav logotext{
    display: none;
  }
  .sidenav navtext {
    float: left;
    top:0;
    text-align: center;
    margin:auto;
    margin-left:20px;
    transform: skewX(-3deg);
    font-size:30px;
    margin-top:0px;
    overflow: hidden;
  }

  .sidenav logo img{
    float:left;
    width:30px;
    height:30px;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
    
    transform:skewX(0deg);
  }
  .sidenav socials{
    float:right;
    top:0;
    height:80px;
    bottom:0;
    right:0;
    transform: scale(0.7);
    margin-right:20px;
    margin-left:20px;
  }
  .main{
    margin: 0px;
    margin-top:100px;
    padding:0px;
    width:100%;
  }
  .game{
    margin-right:20px;
  }
  .section-header{
    display:none;
  }
  overflow-x:hidden;
}

.gamedesc {
  text-align: center;
  width: 70%;
  margin:auto;
  font-size: 20px;
  margin-top:20px;
  margin-bottom: 20px;
}

p{
  font-family: outfit;
  font-size:min(10em, 2vw);
  width:90%;
  height:fit-content;
  margin:15px;
}

.gameheader {
  width:100%;
  height:500px;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.274);
  object-fit: contain;
  background-size:cover;
  /* overflow:hidden; */
  margin: 0px;
  offset: 0px;
  padding:0px;
}

.gameheader iframe{
  float:left;
  margin-top:8%;
  margin-left:20px;
  border-radius: 20px;
  filter:drop-shadow(black 10px 10px 5px);
}
.gameheader p{
  float:left;
  margin:50px;
  color:white;
  background-color: rgba(0, 0, 0, 0.613);
  border-radius: 20px;
  padding:30px;
  width:35%;
  filter:drop-shadow(black 10px 10px 5px);
}
.gameheader img{
  width:100%;
  height:100%;
  object-fit: cover;
  z-index: -1;
  position:absolute;
}
.gamelogo img{
  position:absolute;
  top:10px;
}
.screenshots{
  margin:auto;
  width:90%;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
}
.screenshots img{
  
  margin:5px;
  border-radius: 20px;
  border-width: 3px;
  border-style:solid;
  border-color: white;
  width:50vh;
  height: 100%;
  max-width: 90%;
}

.mutatext {
  font-family: time;
  color:white; font-size:20px;
  padding:3%;
  padding-left:6%;
  padding-right:6%;
  line-height: 35px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.758);
  text-align: center;
}
