@import url('https://fonts.googleapis.com/css2?family=Antic+Didone&display=swap');
@import url("https://use.typekit.net/hse1ybs.css");

/* font-family: 'Antic Didone', serif; */
/* font-family: 'neuzeit-grotesk', sans-serif; */

@font-face {
    font-family: 'Caviar Dreams';
    src: url('../fonts/CaviarDreams-Bold.woff2') format('woff2'),
        url('../fonts/CaviarDreams-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


body {
    position: relative;
    /* margin: 1rem; */
    margin: 0;
    border: 0;
    /* border: 1px solid #000000; */
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out; 
}

body.is--fixed {
    height: 100%;
    overflow: hidden;
}


html > body {
    font-size: 16px;
    font-size: 1rem;
}

html, article, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, figure, address, cite,
code, del, dfn, em, img, ins, q, small, strong, sub, sup, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td, footer, input, textarea, select {
	border: 0 none;
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

p, ul, ol, label, input, select, textarea, dd, dt, td, th, a, caption, span, blockquote, cite, figcaption, legend, option, h4, h5, h6 {
	color: #1d1d1b;
	font-family: 'neuzeit-grotesk', sans-serif;
	font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.4;
}

@media screen and (min-width: 25rem) {
    p, ul, ol, label, input, select, textarea, dd, dt, td, th, a, caption, span, figcaption, legend, option, h4, h5, h6 {
        font-size: 1,5rem;
    }
}

@media screen and (min-width: 64rem) {
    p, ul, ol, label, input, select, textarea, dd, dt, td, th, a, caption, span, figcaption, legend, option, h4, h5, h6 {
        font-size: 2rem;
    }
}

h1 {
    text-transform: uppercase;
    font-family: 'Caviar Dreams';
    font-size: 3.125rem;
    color: #84b3bd;
    margin-left: 1rem;
    font-weight: 300;
}

h2,
h2 a {
    font-size: 2rem;
    font-family: 'Antic Didone', serif;
    font-weight: 400;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    hyphens: auto;
}

@media screen and (min-width: 48rem) {
    h3 {
        font-size: 1.75rem;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* ------------------------------------------------------------------------------------------------------ header */

.header__inner {
    max-width: 86.25rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden
}

@media screen and (min-width: 88.25rem) {
    .header__inner {
        padding-left: 0;
        padding-right: 0;
    }
}

.logo {
    width: 5rem;
}

.logo img {
    width: 100%;
}

.header-text {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    width: 100%;
}

.header-line {
    height: 4px;
    flex: 0 0 100%;
    background-color: #84b3bd;
    margin-left: 2rem;
}

/* ------------------------------------------------------------------------------------------------------ header */

/* ------------------------------------------------------------------------------------------------------ content */

main {
    max-width: 86.25rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media screen and (min-width: 88.25rem) {
    main {
        padding-left: 0;
        padding-right: 0;
    }
}

.container-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.column {
    flex: 0 0 48%;
}

@media screen and (min-width: 59.375rem) {
    .column {
        flex: 0 0 24%;
    }
}

.container-columns figure {
    position: relative;
}

.container-columns figure:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(132, 179, 189, 0.5);
}

main h3 {
    display: block;
    text-transform: uppercase;
    background-color: #84b3bd;
    color: #fff;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.125rem;
    text-align: center;
    font-family: 'Caviar Dreams';
}

@media screen and (min-width: 48rem) {
    main h3 {
        font-size: 1.75rem;
    }
}

@media screen and (min-width: 86.25rem) {
    main h3 {
        font-size: 2.75rem;
    }
}

.container-columns figure + h3 {
    margin-top: 1.5rem;
}

main h2 {
    color: #ed8a2c;
    text-transform: uppercase;
    font-size: 3.25rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 64rem) {
    main h2 {
        font-size: 6.75rem;
    }
}

.frame-text {
    text-align: center;
}

.seperator {
    display: block;
    height: 4px;
    background-color: #84b3bd;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

blockquote {
    text-align: center;
}

blockquote cite {
    margin-top: 0.5rem;
    display: block;
    text-align: right;
    font-size: 1rem;
    font-style: normal;
}

@media screen and (min-width: 64rem) {
    blockquote cite {
        font-size: 1.5rem;
    }
}

/* ------------------------------------------------------------------------------------------------------ content */

/* ------------------------------------------------------------------------------------------------------ footer */

.wrapper--footer {
    background-color: #b6d0d7;
    padding: 3rem 0 3rem 0;
    margin-top: 5rem;
}

footer {
    max-width: 86.25rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media screen and (min-width: 88.25rem) {
    footer {
        padding-left: 0;
        padding-right: 0;
    }
}

.footer-contact {
    padding-right: 8rem;
}

footer p,
footer a,
footer span {
    color: #727270;
    line-height: 1.2;
    font-size: 1.5rem;
}

footer span {
    display: inline-block;
    width: 64px;
}

/* ------------------------------------------------------------------------------------------------------ footer */

.page--slideup {
    position: fixed;
    z-index: 10;
    bottom: 0;
    /* left: 1rem;
    width: calc(100% - 2rem); */
    left: 0;
    width: 100%;
    height: calc(100vH - 7.25rem);
    padding: 2rem 2rem;
    background-color: #fff;
    border-top: 1px solid #1d1d1b;
    transform: translate(0,100%);
    overflow-y: scroll;
    -webkit-transition: transform 500ms ease-out;
    -webkit-transition-delay: ease, 0s;
    -moz-transition: transform 500ms ease-out;
    -o-transition: transform 500ms ease-out;
    transition: transform 500ms ease-out;
}

@media screen and (min-width: 48rem) {
    .page--slideup {
        /* left: 2rem;
        width: calc(100% - 4rem); */
        height: calc(100vH - 6rem);
    }
}

/* @media screen and (min-width: 74rem) {
    .page--slideup {
        left: 6.75rem;
        width: calc(100% - 13.5rem);
        height: calc(100vH - 6rem);
    }
} */

.page--slideup.is--active {
    transform: translate(0, 0);
}

.page--slideup main {
    padding-bottom: 4rem;
}

.closepage {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
}

.info {
    margin-top: 3rem;
}