body {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    background-color: rgb(0, 0, 0);
    color: rgb(220, 220, 220);
    display: flex;
    letter-spacing: 0.06em;
    background-image: url("nnnoise.svg");
}

div {
    position: absolute;
}

h1 {
    font-weight: 600;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: 10px;
}

p, a {
    font-size: 0.8rem;
    margin: 0;
    color: rgb(220, 220, 220);
    text-decoration: none;
    font-size: 1rem;
}

/* Navigation */

#nav {
    right: 0vw;
    padding: 1rem 1.25rem;
    position: fixed;
    align-items: flex-end;
    text-align: end;
}

/* Gallery */

#content {
    max-width: 60%;
    margin-top: 1rem;
    margin-left: 2rem;
}

#content img {
    width: 100%;
    margin: 1rem 0%;
    max-width: 1500px;
    border-style: solid;
    border-width: 5px;
    border-color: white;
}

.rotate {
    transform: rotate(90deg);
}

.preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 3, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview img {
    max-height: 80%;
    max-width: 80%;
    border-style: solid;
    border-width: 2px;
    border-color: white;
}

.preview.hidden {
    display: none;
}

/* About */

#about-content {
    width: 80%;
    max-width: 900px;
    margin-top: 20%;
    left: 3%;
}

#sign-off {
    text-align: end;
}

@media only screen and (min-width: 700px) {
    ::-webkit-scrollbar {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    p, a {
        font-size: 1.25rem;
    }

    /* Navigation */

    #nav {
        padding: 1rem 1.5rem;
    }

    /* Gallery */

    #content {
        max-width: 60%;
        margin-top: 1.5rem;
        margin-left: 3rem;
    }

    #content img {
        width: 60%;
        margin: 1.5rem 0%;
        max-width: 1500px;
        border-style: solid;
        border-width: 6px;
        border-color: white;
    }

    .rotate {
        transform: rotate(0deg);
    }

    .preview img {
        max-height: 80%;
        max-width: 80%;
        border-width: 3px;
    }

    /* About */

    #about-content {
        margin-top: 0%;
        top: 50%;
        left: 3rem;
        max-width: 800px;
        transform: translateY(-50%);
    }

@media only screen and (max-height: 700px) {
    ::-webkit-scrollbar {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    p, a {
        font-size: 1rem;
    }

    /* Navigation */

    #nav {
        padding: 1rem 1.5rem;
    }

    /* Gallery */

    #content {
        margin-top: 2.5%;
    }

    #content img {
        width: 50%;
        margin: 2.5% 5%;
        max-width: 800px;
        border-style: solid;
        border-width: 6px;
        border-color: white;
    }

    .rotate {
        transform: rotate(0deg);
    }

    .preview img {
        max-height: 80%;
        max-width: 80%;
        border-width: 3px;
    }

    /* About */

    #about-content {
        margin-top: 0%;
        top: 50%;
        left: 3rem;
        max-width: 800px;
        transform: translateY(-50%);
    }
}
