@font-face {
	font-family: 'hubotsans_semiboold';
    src: url('assets/HubotSans_Condensed-SemiBold.ttf');
}

@font-face {
	font-family: 'hubotsans_light';
    src: url('assets/HubotSans_Condensed-Light.ttf');
}

html{
        background-color: black;

}



main{
    position: relative;
    font-style: normal;
    
}

nav{
    padding: 40px;   
    display: flex;
    position: relative;
    justify-content: space-around;
    list-style-type: none;
}

li{
    /* -webkit-text-stroke: 1px rgb(0, 0, 0); */
    text-decoration:none;
    font-size: 4rem;
    font-family: hubotsans_semiboold;
    animation: glow 1s ease-in-out infinite alternate;
}

li a{
    color: white;
    text-decoration-line: none;
}

li :hover{
        -webkit-text-stroke: 2px rgb(189, 220, 224);
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.3), 0 0 ;
  }
  
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 ;
  }
}

#bg{
    position: fixed;
    width: 100%;

}
#bg img{
    position: absolute;
    width: 100%;
    mix-blend-mode: hard-light;
    opacity: 60%;
}

video{
        width: 100%;

    top:0;
    right: 0;
}

section{
    display: none;
}


section:target{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.itm{
    margin-left: 10px;
    margin-right: 30px;
    position: relative;
    flex-basis: 20%;
    padding: 20px;   
    /* background-color: #1478b3; */
   
}

#gp{
    /* border: red 1px double; */
    border-image-source: url('assets/Layer1.png');
    border-image-slice: 100 100 100 100 fill;
    border-image-repeat: stretch;
}


#gp img{
    position: relative;
    max-width: 90%;
    height: auto;
    object-fit: contain;
    /* border: #b4b4b4 5px double; */
    mix-blend-mode: exclusion;
}

#gp:hover > img{
    /* border: #ffffff 2px double; */
    object-fit: none;
}

.tooltip{
    font-family: hubotsans_light;
    visibility: hidden;
    /* display: inline-block; */
    position: absolute;
    /* text-align: center; */
    z-index: 1;
    color: rgb(0, 0, 0);
    font-size: 2rem;
    font-style: bold;
    background-color: rgb(255, 255, 255);
    bottom: 90%;
    opacity: 0;
    transition: opacity 0.4s;
}

#gp:hover .tooltip{
    visibility: visible;
    opacity: 1;
}

.itm  a{
    position: relative;
    display: inline-block;
    text-decoration:none;
    padding-top: 10px;
    bottom: 0;
    right: 0;
    float: right;
    font-family: hubotsans_semiboold;
    color: aliceblue;
    font-size: 2rem;
    background-image: url('../assets/Layer1.png');
    background-size: 120%;
}

#gd:hover{
    font-size: 2.5rem;
    text-decoration: underline;
    color: rgb(255, 255, 255);

    .tooltip{
    visibility: visible;
    opacity: 1;
    }
}


figcaption{
    font-size:1.7rem;
    font-family: hubotsans_light;
    color: white;
    background-color: #000000;
}

#about p{
    margin:auto;
    font-size: 4rem;
    color: white;
    font-family: hubotsans_light;
    font-style: bold;
    -webkit-text-stroke: 5px rgba(255, 255, 255, 0.3);
}

#about img{
    width: 5rem;
    opacity: 70%;
}

#re{
    visibility: hidden;
}


@media screen and (max-width: 1200px) {
   li{
        font-size: 2.3rem; 
    };
}   

@media screen and (max-width: 992px) {
   li{
        font-size: 1.7rem; 
    };
    
     .itm a{
        font-size: 1.6em;
    }
    figcaption{
        font-size: 1.2rem;
    }
    #gd:hover{
    font-size: 1.8rem;
    }
    .tooltip{
        font-size: 1.5rem;
    }
    .itm{
        flex-basis: 30%;
    }
}

@media screen and (max-width: 768px) {
    li{
        font-size: 1.5rem;
    };
    
     .itm a{
        font-size: 1.3rem;
    }
    figcaption{
        font-size: 0.8rem;
    }
    #gd:hover{
    font-size: 1.5rem;
    }
    .tooltip{
        font-size: 1.2rem;
    }
    .itm{
        flex-basis: 50%;
    }
}

@media screen and (max-width: 576px) {
    li{
        font-size: 1rem;
    
    };
     .itm a{
        font-size: 1rem;
    }
    figcaption{
        font-size: 0.6rem;
    }
    #gd:hover{
    font-size: 1.2rem;
    }
    .tooltip{
        font-size: 0.8rem;
    }
    .itm{
        flex-basis: 100%;
    }
}
