:root {
    --desc-position: absolute;
    --img-width: 49.9%;
    --desc-border: 0.25vw solid var(--color1);
}

@media screen and (max-width: 750px) {
    :root {
        --desc-position: relative;
        --img-width: 100%;
        --desc-border: 0;
    }
}

@media screen and (min-width: 2500px) {
    :root {
        --container-width: clamp(300px, 65vw, 3000px);
    }
}

.container {
    width: calc(var(--container-width) * 0.85);
}

#description {
    height: fit-content;
    position: var(--desc-position);
    padding: calc(var(--mp) * 1.2);
    border: var(--desc-border);
    display: none;
    z-index: 1;
}

p {
    font-size: calc(var(--p-fontsize)*0.9);
}

#description>h1 {
    margin-top: 0px;
}


#gallery img {
    width: var(--img-width);
    height: 50vh;
    display: block;
    object-fit: cover;
}

#gallery img:first-child,
#gallery img:nth-child(3) {
    float: left;
    margin-right: 0.2%;
}

#gallery img:first-child,
#gallery img:nth-child(2) {
    margin-bottom: 0.2%;
}

#biggerImg {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    background: #ffffffe8;
    backdrop-filter: blur(15px);
    z-index: 5;
}

#biggerImg img {
    width: 90%;
    height: 90%;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    object-fit: cover;
}

@media screen and (max-width: 750px) {
    #description {
        padding: 20px 0;
    }

    .container {
        width: calc(var(--container-width) * 0.95);
    }

    #gallery img {
        height: calc(350px + 15vw);
    }
}

@media screen and (min-width: 750px) {
    #gallery img {
        cursor: pointer;
    }
}
