/* project-template.css */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    align-items: center;
    color: rgb(40, 40, 40);
    display: flex;
    flex: 1;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    gap: 3rem;
    padding: 60px;
}

main h1 {
    font-size: 70px;
    font-weight: 400;
    letter-spacing: 4px;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 15px;
    text-transform: uppercase;
}

#description {
    padding: 0 60px;
    white-space: pre-line;
}

#gallery {
    column-count: 3;
    column-gap: 60px;
    padding: 0px 60px 60px 60px;
}

#gallery img {
    break-inside: avoid;
    cursor: pointer;
    margin-bottom: 60px;
    width: 100%;
}

#viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 1000;
}

#viewer img {
    max-width: 85%;
    max-height: 85%;
}


#viewer button {
    display: none;
}

#viewer.hidden {
    display: none;
}

@media (max-width: 1100px) {
    #gallery {
        column-count: 2;
        column-gap: 30px;
        padding: 0px 30px 30px 30px;
    }
}

@media (max-width: 750px) {
    #gallery {
        column-count: 2;
        column-gap: 15px;
        padding: 0px 15px 15px 15px;
    }
}
