
* {
  box-sizing: border-box;
}
body,html {
  height: 150%;
  margin: 0;
  font-family: 'Segoe UI';
 
  scrollbar-width: none;
  background-repeat: no-repeat;
  overflow-y: hidden;
  
}

 body {
            opacity: 0.6;
            animation: fadeIn 0.5s forwards;
        }
        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  
  width: 100vw;
  height: 100vh;
}

 

video{
  position: absolute;
  display: block;
  
    margin-left: auto;
    margin-right: auto;
    margin: 0;
    top: 60%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: black;
    width: 60%;
 
}

  #menubar{
    display: grid;
    position: fixed;
    left: 0%;
    top: 2%;
    font-family: 'Segoe UI';
    font-weight:700;
    font-size: 1vw;
    text-decoration: none;
    height: 5%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr  1fr 1fr;
    
    
    
    
     transition: top 0.7s;
     
  }

.menubarL{
  position: relative;
   display: inline-block;
   overflow: hidden;
   text-decoration: none;
    color: white;
    text-align: center;
    display: inline;
    align-items: center;
    display: block;
  margin: auto;
  
  
}

.menubarT{
  position: relative;
   display: inline-block;
   overflow: hidden;
   text-decoration: none;
    color: white;
    text-align: center;
    display: inline;
    align-items: center;
    display: block;
  margin: auto;
  padding: 1rem 2rem;
}

.menubarT::after {
   content: '';
   position: absolute;
   bottom: 5px;
   left: 0;
   height: 7px;
   width: 100%;
   background: linear-gradient(90deg, #ffffff, #ce45d3, #ffffff, #ce45d3);
   background-size: 200% auto;
   border-radius: 10px;
   transition: all .5s;
   transform: translateX(-100%);
 }

 .menubarT:hover::after {
   transform: translateX(0%);
   animation: gradient-89 3s linear infinite;
 }
 
 @keyframes gradient-89 {
   0% { background-position: 100% 0%; }
   50% { background-position: 0% 0%; }
   100% { background-position: 100% 0%; }
 }


 #current{
  color: #ce45d3;
  font-weight: 800;
 }

.main{
    width: 100%;
    height: 100%;
    position: fixed;
    display: contents;
    margin: 0;
    background-color: rgb(207, 66, 66);
}

/* .social{
  position: absolute;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  bottom: 4%;
  place-self: center;
    
    width: 40%;
    
    text-align-last: center;
    mix-blend-mode: luminosity;
} */


  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }

  .mobile-container {
  max-width: 480px;
  margin: auto;
  display: none;
  height: 500px;
  color: white;
  border-radius: 10px;
  z-index: 1;
}

@media screen and (max-width: 1600px) {

  #menubar {
    font-size: 1.5vw;
}
}

@media screen and (max-width: 1200px) {

  #menubar {
    font-size: 1.5vw;
}

}

@media screen and (max-width: 1000px) {

  #menubar {
    font-size: 2vw;
}

}

@media screen and (max-width: 900px) {

  .imgGrid {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr ;
    padding: 7%;
    top: 10%;
    column-gap: 2vh;
    row-gap: 25vw;

}

.titles {
    font-size: 4vw;
}

.year{
  font-size: 2vw;
}

.tags{
  font-size: 1.5vw;
}

}

@media screen and (max-width: 600px) {

  .imgGrid {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr ;
    padding: 7%;
    top: 10%;
    column-gap: 2vh;
    row-gap: 30vw;

}

.project{
  opacity: 1;
}

.titles {
    font-size: 9vw;
    padding-bottom: 2%;
}

.year{
  font-size: 3vw;
}

.tags{
  font-size: 2vw;
}

#menubar {
    display: none;
}


/*bunger*/

.mobile-container {
  max-width: 500px;
  margin: auto;
  display: block;
  height: 500px;
  color: white;
  border-radius: 10px;
  z-index: 1;
}

.topnav {
  overflow: hidden;
  
  position: relative;
  z-index: 1;
}

.topnav #myLinks {
  display: none;
  background: rgba(0, 0, 0, 0.555);
  direction: rtl;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 5vw;
  display: block;
}

.topnav a.icon {
  
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 20%;
  mix-blend-mode: color;
}

.topnav a:hover {
 
  color: rgb(172, 166, 166);
}

.topnav a img{
  width: 90%;
}

.topnav a img:active{
  color: #3a123b;
}

.active {
  background-color: #00000000;
  color: white;
}

}