/*css*/

@font-face {
    font-family:"Okine";
    src: url(/fonts/MADEOkineSansPERSONALUSE-Regular.otf);
}
@font-face {
    font-family:"Codec";
    src: url(/fonts/Codec-Cold-ExtraBold-trial.ttf);
}
@font-face {
    font-family:"Codeclight";
    src: url(/fonts/Codec-Cold-Light-trial.ttf);
}
main{
    display: block;
    margin:0 auto;
    width: 80%;
}
h2{ 
    font-family: "Codeclight";
    justify-self: center;
    font-size: 21px;
    font-weight:900;
}
h3{
    font-family: "Okine";
    font-size: 35px;    
    justify-self: center;
}
.description{
    font-family: "Okine";
    font-size:21px;
}
.top-container{
    display:flex;     
    justify-content: space-between;
    width: 100%;
    gap:5px;
    padding-bottom: 55px;
}
.top-container img, .top-container video{
    height: 780px;
}
.gallery{
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 25px;
}
.media{    
    display: block;
    height: 425px;
    width: 450px;  
    object-fit: cover;
    cursor: pointer;
}
.space{
    padding-top: 90px;
}
.lightbox{
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}
.lightbox-content{
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox video,
.lightbox img {
    display: flex;
    justify-self: center;
    height: auto;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    transition: transform 0.3s ease;
}
.close{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
.arrow{ 
    display: flex;
    align-self:start ;
    align-items: center;
    padding-top: 90px;
}
@media screen and (max-width: 1490px) {
.media{    
    height: 350px;
    width: 325px;  
}
.top-container img, .top-container video{
    height: 580px;
}
}
@media screen and (max-width: 1275px) {
.gallery{
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
    gap: 25px;
}
.top-container{
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.top-container img,
.top-container video {
    width: auto;
    height: 580px;
    max-width: 100%;
    display: block;
}
.description {
    max-width: 450px;
    text-align: center;
}
}


@media screen and (max-width: 855px) {
.media{    
    height: 325px;
    width: 300px;  
}
.gallery{
    grid-template-columns: repeat(1, auto);
    justify-content: center;
}
.top-container img,
.top-container video {
    width: auto;
    height: 440px;
    max-width: 100%;
    display: block;
}
.description {
    max-width: 345px;
    text-align: center;
}
}
