

* {
  box-sizing: border-box;
}
body,html {
  height: 150%;
  margin: 0;
  font-family: 'Segoe UI';
  background-color: black;

  background-repeat: no-repeat;
  overflow-y: scroll;
  
}

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

::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f100;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 0px;

  transition: background 0.5s;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #3a123b;
}
 

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;
    z-index: 1;
    transition: top 0.5s;
      
  }

.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;
 }


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

 a{
  text-decoration: none;
 }



 .project{
     width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
  
  transition: opacity 0.3s ease, transform 0.2s ease-in-out;
  border-radius: 2%;
  text-align: left;
}

.project:hover{
  opacity: 1;
  transform: scale(1.01);
}

.titles{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  font-size: 2vw;
  font-weight: 700;
  padding-top: 1%;
  outline: inherit;
}

.year{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: rgb(163, 163, 163);
  font-size: 1vw;
  outline: inherit;
}

.tags{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: rgb(138, 138, 138);
  padding-top: 1vh;
  outline: inherit;
}

.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 {
  background: black;
  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;
}

}