@charset "UTF-8";
@font-face {
    font-family: 'Work Sans';
    src: url('WorkSans-Regular.ttf');
}

:root {
    --bg-color: white;
    --fg-color: #202020;
    --btn-fade-color: rgba(0, 0, 0, 0);
}

* {
    box-sizing: border-box;
}

body {
    margin: 2em;
    margin-top: 0px;
    font-family: "Work Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: var(--bg-color);
    color: var(--fg-color);
}

h1 {
    font-weight: bold;
    font-size: 3rem;
    margin-bottom: 0;
}

h2 { 
    margin-top: 0px;
    font-size: 1.5rem;
    font-weight: lighter;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--fg-color);
    text-decoration: none;
}

button {
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    font-size: inherit;
}

p {
    line-height: 1.5em;
    font-size: 1.2rem;
}

#desktop-header {
    display: flex;
    border-bottom: 1px solid var(--fg-color);
    max-width: 85%;
    margin: auto;
}

#desktop-header p {
    margin-right: 6rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    word-spacing: 2rem
}

#desktop-header > a {
    text-decoration: none;
}


#header-logo {
    align-content: center;
}

#header-logo p {
    font-weight: bold;
    font-size: 2rem;
    word-spacing: 0.5rem;
}

#header-links {
    font-size: 1.5rem;
    align-content: center;
    margin-left: auto;
    /* margin-right: 6rem; */
}

#header-logo-postfix {
    font-weight: normal;
    font-size: 1rem;
}

#header-links a {
    padding: 10px 20px;
}

#column-image {
    width: 60%;
}

#column-text {
    width: 40%;
    text-align: left;
    margin-top: 2rem;
    margin-left: 40px;
    margin-right: 40px;
}

#column-text a {
    font-weight: bold;
}

#column-text a:hover {
    text-decoration: underline;
}

#footer-copyright > p {
    text-align: center; 
}

#mobile-header {
    overflow: hidden;
    position: relative;
}

#mobile-header #mobile-header-dropdown {
    display: none;
    border-left: 1px solid var(--fg-color);
    border-right: 1px solid var(--fg-color);
}

#mobile-header a {
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    text-align: center;
    border-bottom: 1px solid var(--fg-color);
}

#mobile-header a#mobile-header-icon {
    display: block;
    position: absolute;
    right: 0px;
    top: 14px;
    padding: 16px 16px;
    border-bottom: 0px;
}

#mobile-header-icon:hover #hamburger-img,
#mobile-header-icon:focus #hamburger-img,
#mobile-header-icon:active #hamburger-img {
    -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
    filter: invert(100%);
}

#collection-header-left {
    float: left;
}

#collection-header-right {
    float: right;
    text-align: center;
    width: 50%;
}

#collection-header::after{
    clear: both;
    content: "";
    display: table;
}

.row {
    display: flex; 
    width: 100%;
}

.row-image {
    flex: 1; 
    width: 100%;
    height: auto; 
    object-fit: cover;
}

.column {
    float: left;
    width: 50%;
}

.centered .column {
    align-content: center;
}

.grid {
    border-bottom: 1px solid var(--fg-color);
}

.grid::after {
    content: "";
    clear: both;
    display: table;
} 

.grid.padded.centered {
    display: flex;
}

.base-image {
    display: block;
    width: 100%;
    height: auto;
    padding: 2rem;
}

.button {
    font-size: 14pt;
    text-align: center;
    text-decoration: none;
    color: var(--fg-color);
    background-color: var(--bg-color); 
    border: 1px solid var(--fg-color);
    padding: 15px 72px;
    text-decoration: none;
}

.links {
    display: flex;
    justify-content: space-evenly;
}

/* Buttons on the contact page */
.column .links .button {
    margin-top: 2rem;
    width: 50%;
}

/* Buttons on the main page */
.links .button {
    width: 20%;
}

.links .column {
    margin-top: 1rem;
}

.links p {
    text-align: center;
}

.padded {
    max-width: 80%;
    margin: auto;
}

.mobile-only {
    display: none;
}

.mobile-image {
    width: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: transparent; 
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    font-size: 1.25rem;
    border-top: solid 1px var(--fg-color);
    border-right: solid 1px var(--fg-color);
    border-left: solid 1px var(--fg-color);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: solid 1px var(--fg-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.page-preview {
    border: 1px solid var(--fg-color);
    margin-top: 1em;
    margin-bottom: 1em;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.page-preview h3 {
    font-size: 3rem;
    margin-left: 0px;
}

.page-preview *:hover,
.page-preview *:active,
.page-preview *:focus {
    color: var(--bg-color);
}

.page-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    padding: 1rem;
}

.text-row {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 20px;
}

.text-row-block {
    width: 30%;
    text-align: left;
}

.text-row-block a:hover {
    text-decoration: underline;
}

.text-row-block a {
    font-weight: bold;
}

/* Source: https://github.com/IanLunn/Hover */
.hover-fade, .hover-fade * {
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px var(--btn-fade-color);
    overflow: hidden;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: color, background-color;
    transition-property: color, background-color;
}

.hover-fade:hover, .hover-fade:focus, .hover-fade:active {
    background-color: var(--fg-color);
    color: var(--bg-color);
}

@media screen and (max-width: 1200px) {
    p {
        font-size: 1.75rem;
    }

    #header-logo p {
        font-size: 3.5rem;
    }

    #header-logo-postfix {
        font-size: 2rem;
    }

    #mobile-header-dropdown a {
        font-size: 2.75rem;
    }

    #desktop-header {
        display: none;
    }

    #column-text {
        margin-top: 96px;
        margin-bottom: 96px;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2rem;
    }

    #mobile-header a {
        text-align: left;
    }
    
    #column-image {
        display: none;
    }

    #footer-links > a {
        display: inline-block;
    }

    .mobile-expand {
        width: 100% !important; 
        max-width: 100% !important;
    }

    .column, .padded {
        max-width: 100%;
    }

    .mobile-only, .mobile-block {
        display: block;
    }

    .links .button{
        margin-top: 1rem;
        padding: 2rem;
    }

    .grid.padded.centered {
        display: inherit;
    }
}

@media screen and (min-width: 3840px) {
      /* Add padding to element when dealing with larger displays */
    .padded {
        max-width: 50%;
    }

    #desktop-header {
        max-width: 65%;
    }
}