/* html elements */

a {
    color: white;
}

a.button {
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 2rem;
    color: #000000;
    background-color: #ffffff;
    min-width: 8rem;
    transition-duration: .25s;

    font-family: canada-type-gibson, sans-serif;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}

a.button:hover {
    background-color: #dddddd;
}

body {
    background-color: #131313;
    color: white;
    height: 100%;
    line-height: 1.5;
    margin: 0;
}

button {
    background-color: #ffffff;
    border: none;
    border-radius: 2rem;
    padding: .75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    min-width: 8rem;
    transition-duration: .25s;

    font-family: canada-type-gibson, sans-serif;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
}

button:hover {
    background-color: #dddddd;
    cursor: pointer;
}

h1 {
    font-family: mendl-sans-dawn, sans-serif;
    font-size: 5em;
    font-style: normal;
    font-weight: 800;
}

h2 {
    font-family: mendl-sans-dawn, sans-serif;
    font-size: 2.5em;
    font-style: normal;
    font-weight: 400;
}

h3 {
    font-family: mendl-sans-dusk, sans-serif;
    font-size: 1.25em;
    font-weight: 600;
    font-style: normal;
}

h4 {
    font-family: mendl-sans-dusk, sans-serif;
    font-size: 1.25em;
    font-weight: 300;
    font-style: normal;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

input, textarea {
    border-radius: .5rem;
    font-family:'Courier New', Courier, monospace;
    margin: auto;
    padding: .5rem;
}

p, li {
    font-family: canada-type-gibson, sans-serif;
    font-size: 1em;
    font-weight: 200;
    font-style: normal;
}





/* custom classes */

.background-image {
    height: auto;
    width: 100%;
    opacity: 50%;
    transition-duration: .25s;
    z-index: -1;
}

.background-image:hover {
    opacity: 100%;
}

.baseline {
    align-items: baseline;
}

.block {
    margin: auto;
    max-width: 50rem;
}

.center {
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
}

.color-accent {
    background-color: rgb(0, 169, 253);
}

.column {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.content {
    flex: 1 1 auto;
    padding: 2rem;
    padding-bottom: 3rem;
}

.cover {
    height: auto;
    max-width: 80vw;
    width: 30rem;
}

.cover-large {
    height: auto;
    max-width: 90vw;
    object-fit: contain;
}

.footer {
    background-color: #050505;
    flex: 0 1 auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-text {
    width: calc(50% + 15rem);
    margin: auto;
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5%;
}

.form-error {
    margin-top: .4rem;
    position: absolute;
}

.fill-height {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.gallery-uniform {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    height: min-content;
    width: 100%;
}

.gallery-uniform > .gallery-item {
    display: inline-block;
    position: relative;
    /* background-color: #666666; */
}

.gap-wide {
    gap: 10vw;
}

.header {
    display: flex;
    flex: 0 1 auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.header-content {
    display: flex;
    flex: 1 0 auto;
    gap: 5%;
    padding-left: 2.5rem;
}

.header-menu {
    display: none;
}

.hidden {
    visibility: hidden;
}

.icon-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
}

.icon-size-big {
    font-size: 2em;
}

.invisible {
    display: none;
    transform: scale(0);
    transition: 1s ease opacity, 1s ease transform;
}

.logo {
    border-radius: 50%;
    height: 2rem;
}

.logo-link {
    padding-top: 1.4em;
}

.margin {
    margin: 2rem;
}

.margin-x {
    margin-left: 2rem;
    margin-right: 2rem;
}

.margin-x-large {
    margin-left: 5rem;
    margin-right: 5rem;
}

.margin-y {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.margin-y-large {
    margin-bottom: 5rem;
    margin-top: 5rem;
}

.mobile-only {
    display: none;
}

.move-up {
    margin-top: -2rem;
}

.narrow {
    line-height: 0%;
}

.no-pointer {
    pointer-events: none;
}

.no-scroll {
    height: 100%;
    overflow: hidden;
}

.overlay-background {
    position: absolute;
    height: 100%;
    width: 100vw;
    background-color: #000000;
    opacity: 50%;
}

.overlay-background.black {
    opacity: 100%;
    z-index: 1;
}

.overlay-container {
    position: absolute;
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.overlay-content {
    background-color: #353535;
    border-radius: .5rem;
    width: calc(100% - 100px);
    max-width: 42rem;
    padding: 2rem;
    padding-top: .1rem;
    overflow: auto;
}

.overlay-image-container {
    position: absolute;
    display: grid;
    height: 100%;
    width: 100%;
    overflow: none;
}

.overlay-image {
    max-height: 100vh;
    max-width: 100%;
    margin: 2rem;
    z-index: 2;
}

.overlay-text {
    position: absolute;
    top: 45%;
    width: 100%;
    z-index: 1;
}

.plain-link {
    color: white;
    text-decoration: none;
    width: fit-content;
}

.post {
    background-color: #353535;
    border-radius: .5rem;
    margin: 2em;
    padding: 2em;
    max-width: 42rem; 
}

.post-date {
    text-align: right;
    margin-top: 0;
    font-family:'Courier New', Courier, monospace;
    opacity: 50%;
}

.post-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 2rem;
}

.post-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    gap: 5vw;
}

.single-line {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    width: fit-content;
}

.subtitle {
    color: #777777;
}

.text-break {
    word-break: break-word;
    hyphens: manual;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-underline {
    text-decoration: underline;
}

.use-width {
    width: 80%;
    max-width: 80rem;
}





/* individual elements */

#contact-name, #contact-email, #newsletter-email {
    height: 1rem;
    width: 20rem;
    max-width: 70vw;
}

#contact-message {
    width: 30rem;
    max-width: 80vw;
    min-height: 8rem;
}

#newsletter-form-edit, #newsletter-form-already-subscribed {
    max-width: 42rem;
    margin: auto;
}





/* adaptions for smaller devices */

@media (width <= 1060px) {
    #release-overview {
        flex-flow: column;
    }

    .mobile-only {
        display: block;
    }
}

@media (width <= 34em) or (width <= 725px) {
    .header {
        flex-basis: content;
        justify-content: space-between;
    }

    .header-content {
        display: none;
        gap: 2em;
        margin: 0%;
    }

    .header-menu {
        display: block;
        padding-top: 1.4em;
    }

    #header-menu-icon {
        font-size: 32px;
    }

    .header.open {
        background-color: black;
    }

    .header-content.open {
        display: block;
    }

    .margin-x-large {
        margin-left: none;
        margin-right: none;
    }

    .mobile-only {
        display: block;
    }
}