/*/----TEXT----/*/

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 3.5em;
    text-align: center;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 0.2em;
    color: white;
    mix-blend-mode: difference;
    position: absolute;
  
}

h4{
    font-family: 'Space Mono';
    font-weight: 900;
    color: black;
    background: linear-gradient(to bottom, transparent 55%, #fff566 45%);
    padding: 0 0.5em 0 0.6em ;
    display: inline;
    text-transform: uppercase;
}

h5{
    font-family: 'Space grotesk';
    font-weight: 600;
    color: black;
    margin-bottom: 3%
}
.titles{
    font-family: 'Space Grotesk';
    font-weight: 900;
    font-size: 5em;
    letter-spacing: 0.1em;
    margin-bottom: 12%;
    display: inline-block;
    background: linear-gradient(to bottom, transparent 55%, #fff566 45%);
    padding: 0 0.2em 0 0.3em ;
}

.titles:hover{
    background: linear-gradient(to bottom, transparent 85%, #fff566 15%);
    
}

.bodytext{
    font-family: 'Space Mono';
    font-weight: 600;
    }

a::before {
  background: linear-gradient(to bottom, transparent 55%, #fff566 45%);
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}

a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}



/*/----CONTENT----/*/

body{
    margin: 0;
}

html {
  scroll-behavior: smooth;
}

.main{ 
    max-width: 1200px;
    margin: auto;
    padding: 0 15%;
}


.hero{  
    position: relative;    
}

video{
    display: block;
    top:0;
    max-width: 100vw;
    width: 100%;
    background-color: black; 
}

.bar{
    position: sticky;
    z-index: 10000;
}

.name{
    font-family: 'Space Mono';
    letter-spacing: 1.9em;
    font-weight: 600;
    text-align: left;
    left: 2%;
    bottom: 1%;
    font-size: 1.2em;
    position: fixed;
    
}

.name a{
    text-decoration: none;
    color: black;
}

.menu{
    font-family: 'Space Mono';
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: right;
    right: 2%;
    bottom: 2%;
    font-size: 1.2em;
    position: fixed;
}

.menuline a{
    position: relative;
    text-decoration: none;
    color: black
}

.about{

}

.aboutimage{
    margin-top: 20%;
    width: 100%;
    height: auto;
}

.aboutblock{
    display: grid;
    grid-template-columns: 1fr 1fr;  
    gap: 3% 3%; 
    grid-template-areas: 
       ". . "
       ". . "
       ". . ";
    margin-bottom: 10%
}

.motionworks{
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr; 
    gap: 3% 3%; 
    grid-template-areas: 
       ". . ."
       ". . ."
       ". . ."; 
    max-width: 100%;
}

.motionworks img{
    width: 100%;
    transition: 0.6s ease;
}

.contentblock{
    overflow: hidden;
    position: relative;
    transition: 0.6s ease;

}

.contentblock:hover img{
    transform: scale(1.1);
    filter: grayscale(100%);
    
}

.contentblock:hover .contenttext{
    opacity: 0.8;
    transition: 0.6s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contenttext{
    opacity: 0;
    font-family: 'Space mono';
    position: absolute;
    font-weight: 600;
    font-size: 1.5vw;
    width: 80%;
    color: black;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #fff566 ;
    padding: 100% 20% 50% 20%;
    transition: 0.6s ease;
}

.overlay{
    color: red;
    width: 100%;
    height: 100%;
}

.stillworks{
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr; 
    gap: 3% 3%; 
    grid-template-areas: 
       ". . ."
       ". . ."
       ". . ."; 
    max-width: 100%;
}

.stillworks img{
    width: 100%;
    transition: 0.6s ease;
}

.contact{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 60vh;
    margin-bottom: 45vh;
    font-size: 1.5em; 
    font-family: 'Space Mono';
    font-weight: 600;
}

.contact .menuline{
    padding: 0 2%;
}

.contact a{
    text-decoration: none;
    color: black;
}

.lg-backdrop {
background-color: rgba(255, 255, 255, 0.95) !important;
}

.old{
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: 'Space Grotesk';
    font-weight: 600;
}

.old a{
    text-decoration: none;
    margin: 2% 1%;
    color: black;
    letter-spacing: 0.2em;
}

/*/---MOBILE---/*/

@media (orientation: portrait){
    
.bar{
    display: none;    
}
    
.hero{  
    position: relative;
    overflow: hidden;
}
    
video{
    display: flex;
    justify-content: center;
    max-width: 100vw;
    width: auto;
    background-color: black; 
    -webkit-scrollbar {display: none;}
    top:0;
}
    
.motionworks{
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 3% 3%; 
    grid-template-areas: 
       ". . "
       ". . "
       ". . "; 
    max-width: 100%;
}

.stillworks{
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 3% 3%; 
    grid-template-areas: 
       ". . "
       ". . "
       ". . "; 
    max-width: 100%;
}
    

.bodytext{
    font-size: 3vw;
    }


.contact{
    display: block;
    font-size: 4vw;
    margin-top: 50vh;
    margin-bottom: 40vh;
}

.contact .menuline{
    margin: 2% 0;
}

.aboutblock{
    display: grid;
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr; 
    gap: 3% 3%; 
    grid-template-areas: 
       ".  "
       ".  ";
    margin-bottom: 50%;
    margin-top: 40%;
}

.aboutimage{
    margin-top: 15%;
    width: 100%;
    height: auto;
}

.contenttext{
    font-size: 3.5vw;
   }
    
.contentblock:hover .contenttext{
    transform: translate(-50%, -60%);
}
    
.still{
   margin-top: 50%;  }
    
    
    
    
}