@font-face {
    font-family: 'SemiBold';
    src: URL('Fonts/Inter/InterDisplay-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Light';
    src: URL('Fonts/Inter/InterDisplay-Light.otf') format('opentype');
    
    
}


@font-face {
    font-family: 'Icons';
    src: URL('Fonts/Segoe\ MDL\ 2\ Assets\ Regular.ttf') format('truetype');
}

html{
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    

}


body{
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    overflow-y: overlay;
    margin: 50px;

}


h1{
    font-family: SemiBold;
    font-size: 16px;
    line-height: 0;
    user-select:text;
    transition-duration: 500ms; 
    text-rendering: optimizeLegibility;
    font-feature-settings: 'cv10' on;
    letter-spacing: 0.25px;
    color: white;
}

p1{
    font-family: SemiBold;
    font-size: 16px;
    display: block;
    user-select:text;
    transition-duration: 400ms; 
    font-feature-settings: 'cv10' on;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.25px;
    color: white;

}


a{
    user-select:text;
    transition-duration: 400ms; 
    text-decoration: none;

}

.button{
    text-rendering: optimizeLegibility ;
    font-family: Light;
    user-select:text;
    transition-duration: 400ms; 
    text-decoration: none;
    transform: scale(1);
    width: fit-content;
    padding: 10px 10px 10px 0px;
    margin-bottom: 10px;
    line-height: 1;
    color: white;
}

.background{
    z-index: -5;
    display: none;
    position: absolute;
    width: 90vw;
    height: auto;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-x: hidden;

}

.textbutton{
    color: rgb(255, 255, 255);
    text-underline-offset: 20%;
    text-decoration: underline 5% solid rgba(255, 255, 255, 1);

}

.textbutton:hover{
    color: rgb(0, 0, 0);
    text-decoration: underline 2% solid rgba(255, 255, 255, 1);
    background-color: rgb(255, 255, 255);
    
}

.button:hover{
    transform: scale(1.1);
    


}


.alignbottom{
    font-size: 3vh;
    height: auto;
    margin-top: auto;
    line-height: 1;
    white-space: nowrap;
    width: fit-content;
}

.home{
    color: rgb(255, 255, 255);
    text-rendering: optimizeLegibility ;
    font-family: Light;
    padding: 10px;
    transform: scale(1);
    cursor: pointer;
    padding-left: 0px;

}

a .Light{
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}

a .home:hover{
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding-left: 10px;

}

a .Light:hover{
    padding-left: 10px;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

.Light{
    font-family: Light;
    text-rendering: optimizeLegibility;
    line-height: 2;

}

.title2{
    white-space:normal;    
    word-wrap: break-word;
    line-height: 0;
    height: auto;
    margin-top: auto;
}

.titlelink{
    white-space:normal;    
    word-wrap: break-word;
    line-height: 0;
    font-size: 14px;
    height: auto;
    margin-top: auto;
}

.titlelink:hover{
    color: black;
    padding-left: 10px;
    background-color: rgb(255, 255, 255);
}

.titlelink:hover h1{
    color: black;
}

.titlelink:hover .icons{
    color: black;
}


.grid-container {
    display: grid;
    grid-template-columns: 70vw;
    grid-template-rows: 1vh  ;
    column-gap: 0vh;
    row-gap: 2vh;
    height: auto;
    width: auto;
    justify-content: center;
    position: absolute;
    top: 50;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 25px;
}   

.gall-container {
    display: grid;
    grid-template-columns: 40vw 40vw;
    grid-template-rows: 25% 25% 25% 25% ;
    column-gap: 2vh;
    row-gap: 10vh;
    height: 100%;
    width: auto;
    justify-content: center;
    padding-bottom: 100%;
    padding-top: 20px;

}

.imageview{
    width: 80vw;
}

video{
    position: absolute;
    width: 100%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@media only screen and (min-width: 1024px) {

    .grid-container {
        display: grid;
        grid-template-columns: 20vw 20vw 20vw 20vw;
        grid-template-rows: auto auto auto auto;
        gap: 25px    ;
        height: 100%;
        width: auto;
        justify-content: center;
        position: relative;

    }
    .gall-container {
        display: grid;
        grid-template-columns: 17vw 17vw 17vw 17vw 17vw ;
        grid-template-rows: 25% 25%  25%  25% ;
        gap: 2vh    ;
        height: 100%;
        width: auto;
        justify-content: center;
        backdrop-filter: blur(20px) brightness(1.2); 

    }

    .title{
        font-size: 14px;
        font-family: Light;
        height: auto;
        margin-top: auto;
        line-height: 1;
        white-space: nowrap;    
        top: 30%;
        position: fixed;
        left: 40;
    
    }

    .background{
        z-index: -5;
        position: absolute;
        width: auto;
        height: 90vh;
        margin: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        overflow-x: hidden;
        display: block;
        transition-duration: 200ms;
    }

    .title2{
        white-space:normal;    
        word-wrap: break-word;
        line-height: 0;
        position: relative;
    }

    video{
        position: absolute;
        width: 80%;
        margin: auto;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    

    

    .galleryimg:hover{
        transform: scale(1.4);
        z-index: 2;

    }
    
    .gall-container:hover .galleryimg:not(:hover){
        opacity: 60%;
        filter: blur(8px);
        z-index: 1;
        transform: scale(0.95);

    }

    .galleryimg {
        display: block;
        width: auto;
        height: 100%;
        object-fit:contain;
        transition-duration: 400ms;

    }

    .galleryimg:active{
        transform: scale(1.2);
        z-index: 2;
    }
    
    
    
    .gallerytext{
        color: black;
        opacity: 0%;
        font-family: SemiBold;
        line-height: 1;
        transform: scale(0.9) translatey(100px);
        filter: blur(10px);
        z-index: 4;
        position: relative;
        font-size: 2vh;
        pointer-events: none !important;
    }
    
    .grid-item:hover .gallerytext:not(:hover){
        opacity: 100%;
        filter: blur(0px);
        z-index: 4;
        transform: scale(1) translatey(150px);
    }

    .imageview{
        width: 29vw;
    }

    .textlink{
        transition-duration: 600ms;
        background-color: rgba(0, 0, 0, 0);
        height: auto;
        margin-top: auto;
        line-height: 0;
    }
    

    
    .textlink:hover {
        width: 100%;
        padding-left: 10px;
        background-color: rgba(0, 0, 0, 255);
        padding-left: 5px;
    
    }
    
    .textlink:hover .title2{
        color: rgb(255, 255, 255);
    }
    
    .icons{
        color: rgb(255, 255, 255);
        font-family: Icons;
        font-size: 8px;
        transition-duration: 600ms; 
        line-height: 0;
    }
    
    .textlink:hover .icons{
        color: rgb(0, 0, 0);
        padding-left: 10px;
    
    }

    a .Light{
        color: white;
        padding: 0px;
    }
    


    
    
    
    
}

.grid-item {
    display:flex;
    
    border: 1px solid rgba(255, 255, 255, 0.);
    padding: 0px;
    color: rgba(0, 0, 0, 0);   
    border-color: rgba(0, 0, 0, 0.);
    user-select:none;
    text-overflow: ellipsis;
    height: 100%;
    flex-direction: column;
    align-content: flex-start;
}

.galleryimg {
  display: block;
  width: auto;
  height: 100%;
  object-fit:contain;
  transition-duration: 300ms;
  
}

.galleryimg:active{
    transform: scale(1.2);
    z-index: 1;
}

.gall-container:hover img:not(:hover){
    opacity: 50%;
    z-index: 1;
}



.gallerytext{
    color: black;
    font-family: Bold;
    z-index: 1;
    line-height: 1;
    font-size: 2vh;
    pointer-events: none !important;
    text-shadow: 0px 0px 36px #ffffff8e;
    padding-top: 0px;

}

.grid-item:hover .gallerytext:not(:hover){
    opacity: 100%;
    filter: blur(0px);
    z-index: 4;
}



.textlink{
    width: 100%;
    transition-duration: 600ms;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;

}


.textlink:hover {
    width: 100%;
    transform: translateX(20px);
    background-color: rgba(0, 0, 0, 255);
    padding-left: 15px;

}

.textlink:hover .title2{
    color: rgb(255, 255, 255);
}

.icons{
    color: rgb(255, 255, 255);
    font-family: Icons;
    font-size: 11px;
    transition-duration: 600ms; 
    line-height: 0;
}

.textlink:hover .icons{
    color: rgb(0, 0, 0);
    padding-left: 10px;

}