@font-face {
    font-family: 'gal';
    src: url("../fonts/gallery.ttf");
}

body{
    margin: 0px;
    background-image: url("../imgs/gallery/bg.png");
    background-size: 50%;
    background-color: rgba(255, 255, 255, 0.682);
    background-blend-mode: overlay;

    font-family: 'gal';
    cursor: url("../cur/gallery/arr-pointer.cur") 25 15, default;

    a{
        cursor: url("../cur/gallery/Link.cur") 25 15, pointer;
    }
    h1, p{
        cursor: url("../cur/gallery/arr-text.cur") 25 15, text;
    }
}

#titleDiv{
    filter: brightness(150%);
    text-align: center;
    font-size: 48px;

    h1{
        margin-bottom: 20px;
        color: white;
        text-shadow: 0px 0px 35px rgb(98, 98, 98);
    }
}

.content-div{
    text-align: center;
}

.container{
    margin-right: 5%;
    margin-left: 5%;
    column-count: 3;
    column-gap: 10px;
}

@media only screen and (max-width: 1500px) {
    .container{
        column-count: 2;
    }
}
@media only screen and (max-width: 850px){
    .container{
        column-count: 1;
    }
}

.item{
    display: inline-block;
    width: 100%;

    cursor: url("../cur/gallery/Link.cur") 25 15, pointer;

    img{
        filter: brightness(85%);
        transition: scale 0.25s ease, filter 0.25s ease;
        display: block;
        width: 100%;
        margin-bottom: 10px;
        border-radius: 30px;

        box-shadow: 0px 0px 35px white;

        &:hover{
            scale: 1.02;
            filter: brightness(100%);
        }
    }
}

.header{
    margin: 0px;
    padding-bottom: 5px;
    background-color: white;
    text-align: center;
    transition: filter 0.5s ease;
    position: relative;

    .eye{
        margin-top: 10px;
        height: 50px;
    }

    .pupil{
        width: 80px;
        height: 50px;
        filter: invert();

        position: absolute;
        left: 50%;
        top: 55%;
    }

    &:hover{
        filter: invert();
    }
}

#popup{
    box-shadow: 0px 0px 35px black;
    color: white;

    background: rgba(0, 0, 0, 0.853);
    border-radius: 50px;

    position: fixed;
    top: 13.5%;
    left: 17.5%;

    height: 75%;
    max-width: 65%;
    width: 65%;
    text-align: center;

    img{
        margin-top: 30px;
        border-radius: 35px;
        display: inline-block;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 250px;
        box-shadow: 0px 0px 35px black; 
    }

    #popTitle, #popDesc{
        filter: brightness(200%);
        text-shadow: 0px 0px 35px white;
    }
    #popTitle{
        font-size: 48px;
        margin: 0px;
    }
    #popDesc{
        white-space: normal;
        font-size: 24px;
    }
    #context{
        padding: 15px;
        margin-left: 1.5%;
        margin-right: 1.5%;
    }
}

@media only screen and (max-width: 800px) {
    #popTitle{
        font-size: 34px !important;
    }
    #popDesc{
        font-size: 18px !important;
    }
}

#cover{
    display: block;
    position: fixed;
    background-color: red;
    width: 100%;
    height: 100%;
}