/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* STYLES */
.background img {
    display: block;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.overflow {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 10vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main {
    background: rgba(255,255,255,0.6);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 10px;
    opacity: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
    font-family: 'neue-haas-grotesk-display', sans-serif;
    max-width: 175px;
    margin: 0 auto;
}

.side {
    display: none;
}

.logo {
    width: 120px;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 30px;
}

.title {
    font-size: 20px;
    line-height: 1.1;
}

.title--head {
    font-family: 'ivypresto-headline', sans-serif;
    margin-bottom: 10px;
}
.title--foot {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    margin-bottom: 40px;
}

.more-info button {
    background: #2C2C2C 0% 0% no-repeat padding-box;
    border-radius: 2px;
    color: #F4F4F2;
    letter-spacing: 0.16px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 200ms ease;
}

.more-info button:hover {
    background: black;
}

@media screen and (min-width: 400px) {
    .main {
        padding: 10vw;
        max-width: 60vw;
    }
    .logo {
        width: 30vw;
        margin-bottom: 7vw;
    }
    .title {
        font-size: 6vw;
    }
    .title--bottom {
        margin-bottom: 5vw;
    }
    .desc {
        font-size: 4vw;
        margin-bottom: 5vw;
    }
}

@media screen and (min-width: 1148px) {
    .overflow {
        padding: 0;
    }
    .main {
        padding: 10vh;
        margin: 0 auto;
        box-sizing: border-box;
        min-width: unset;
        width: 100%;
        max-width: 1120px;
        display: flex;
        overflow: hidden;
        /* background: transparent; */
        height: 700px;
    }
    .content {
        flex: 0 0 60%;
        padding-right: 100px;
        position: relative;
    }
    .side {
        flex: 1 1 auto;
        display: block;
        height: 100%;
        width: 100%;
        border-radius: 5px;
        overflow: hidden;
        /* box-shadow: 0 0 0 99999px rgba(255,255,255,0.6); */
    }
    .side .picture {
        height: 100%;
        width: auto;
        display: block;
    }
    .side .picture img {
        height: 100vh;
        width: 100vw;
        object-fit: cover;
        display: block;
        transform: translate(calc(calc((100vw - 1120px) / -2) - 10vh - calc(0.6 * calc(1120px - 20vh)) - 100px), calc(-60vh + 350px));
    }
    .title {
        font-size: 60px;
    }
    .title--bottom {
        margin-bottom: 34px;
    }
    .logo {
        width: 150px;
        margin-bottom: 40px;
        margin-left: 0;
        margin-top: 100px;
    }
    .more-info button {
        margin-bottom: 80px;
    }
}
