/*  h1: title for each container
h2: subheadings
*/

@font-face {
    font-family: FuturaLT-CondensedLight;
    src: url('fonts/FuturaLT-CondensedLight.ttf');
}

@font-face {
    font-family: UniversLTStd-LightUltraCn;
    src: url('fonts/UniversLTStd-LightUltraCn.otf');
}

@font-face {
    font-family: FuturaLT;
    src: url('fonts/FuturaLT.ttf');
}

p {
    font-family: FuturaLT;
    font-size: 14px;
    text-align: left;
}

img {
    float: inherit;
}

h1 {
    font-family: UniversLTStd-LightUltraCn;
    font-size: 3em;
    margin-top: 0em;
    margin-bottom: 0em;
}

h2 {
    font-family: FuturaLT-CondensedLight;
    font-size: 1em;
    margin-bottom: 0.2em;
    margin-top: -0.5em;
}

body {
    margin: auto;
    width: 100%;
}

nav {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    z-index: 999;
}

nav a {
    float: none;
    font-family: FuturaLT-CondensedLight;
    display: block;
    color: #ffffff;
    text-align: center;
    padding: 1em 0 0.5em 0;
    text-decoration: none;
    font-size: 24px;
    transition: 0.4s;
}

a:hover {
    background-color: #cdcdcd;
    color: #121212;
}

a .active {
    background-color: #cdcdcd;
    color: #121212;
}

#menuToggle {
    display: block;
    position: relative;
    top: 0.25em;
    left: 1em;
    z-index: 1000;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: block;
    width: 2em;
    height: 1.6em;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 1002;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 1.65em;
    height: 0.2em;
    margin-bottom: 0.25em;
    position: relative;
    background: #2e2929;
    border-radius: 0.15em;
    z-index: 1001;
    transform-origin: 0.2em 0;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #FFFFFF;
}

#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked~span:nth-last-child(2) {
    opacity: 1;
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    overflow-y: scroll;
    position: absolute;
    width: 100%;
    margin: -3em 0 0 -1em;
    padding: 3em 0 2em 0;
    background: #2e2929;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
    padding: 0.5em 0;
    font-size: 24px;
}

#menuToggle input:checked~ul {
    transform: scale(1.0, 1.0);
    opacity: 1;
}

#phone {
    display: block;
    padding: 0.8em 0;
}

#other {
    display: none;
}

#flex-container {
    display: flex;
    flex-direction: column-reverse;
    border-style: none;
}

#active {
    background-color: #cdcdcd;
    color: #2e2929;
}

.container {
    overflow: hidden;
}

.article {
    text-align: left;
    margin: 1em;
    padding: 1em;
    /* border: 1px solid blue;*/
}

.article-black {
    text-align: left;
    margin: 1em;
    padding: 1em;
    color: #ffffff;
    order: -1;
    /*border: 1px solid blue;*/
}

.article-overview {
    text-align: left;
    margin: 4em 1em 1em 1em;
    /*1em*/
    padding: 1em 1em 1em 1em;
    /* border: 1px solid blue;*/
}

.logo {
    padding: 0 1em;
}

.large {
    display: none;
}

.medium {
    display: none;
}

.small {
    display: none;
}

.smallest {
    display: none;
}

.wide {
    display: inline-block;
    float: inherit;
    margin-bottom: 0.5em;
}

.margin {
    margin: 0 0.5em 0.5em 0.5em;
}

.see-more {
    float: inherit;
    position: relative;
    width: 100%;
}

.overlay {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.5s ease;
}

.see-more:hover .overlay {
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

.button {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    text-align: center;
    opacity: 0;
    transition: opacity .35s ease;
}

.button a {
    font-family: FuturaLT-CondensedLight;
    font-size: 1.5em;
    text-decoration: none;
    width: 10em;
    padding: 0.5em 1em;
    text-align: center;
    color: #FFFFFF;
    border: solid 2px white;
}

.button a:hover {
    color: #121212;
    background: #cdcdcd;
}

.see-more:hover .button {
    opacity: 1;
}

.myImg {
    cursor: pointer;
    transition: 0.3s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    padding: 10em 0 5em 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(46, 41, 41, 0.99);
}

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
}

.modal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.map {
    margin: 0 0.5em 0.5em 0.5em;
}

.headspace {
    text-align: left;
    margin: -1em 1em 1em 1em;
    padding: 1em;
}

.spacing {
    margin-top: -4em;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

.close {
    position: fixed;
    top: 2em;
    left: 0.75em;
    color: #FFFFFF;
    font-size: 3em;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #cdcdcd;
    text-decoration: none;
    cursor: pointer;
}

footer {
    font-family: FuturaLT-CondensedLight;
    margin: auto;
    width: 100%;
    background-color: #2e2929;
    text-align: center;
    padding: 2.5em;
    color: #ffffff;
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
}

footer a:hover {
    color: #cdcdcd;
    text-decoration: none;
    background-color: #2e2929;
}
