:root {
    --black: #1d1d1b;
    --yellow: #ffec00; 
}

@font-face {
    font-family: 'Bethany Elingston';
    src: url('fonts/BethanyElingston.eot');
    src: url('fonts/BethanyElingston.eot?#iefix') format('embedded-opentype'),
        url('fonts/BethanyElingston.woff2') format('woff2'),
        url('fonts/BethanyElingston.woff') format('woff'),
        url('fonts/BethanyElingston.ttf') format('truetype'),
        url('fonts/BethanyElingston.svg#BethanyElingston') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('fonts/Avenir-Light.eot');
    src: url('fonts/Avenir-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Avenir-Light.woff2') format('woff2'),
        url('fonts/Avenir-Light.woff') format('woff'),
        url('fonts/Avenir-Light.ttf') format('truetype'),
        url('fonts/Avenir-Light.svg#Avenir-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: 'Avenir';
    line-height: 1.6;
    font-size: 18px;
    background: url(bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body, 
#wrapper {
    min-height: 100vh;
}


a {
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bethany Elingston';
    font-optical-sizing: auto;
    font-weight: 400 !important;
    font-style: normal;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0;
}

#wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
}

#logo {
    width: 100%;
    max-width: 260px;
    /* margin-bottom: 65px; */
}

.content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
    text-align: center;
    color: #fff;
}

.content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 570px;
    max-width: 590px;
    width: 100%;
}

h1 {
    font-size: 64px;
    font-size: 72px;
}

p {
    max-width: 390px;
    margin-top: 0;
    margin-bottom: 0;
}

.separator {
    width: 100px;
    height: 1px;
    background: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
}

.subtitle {
    margin-top: 40px;
    letter-spacing: 4px;
}

.button {
    margin-top: 70px;
    color: #fff;
    border: solid 1px;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 16px;
}

.button:hover {
    opacity: 0.8;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease, opacity 5s ease;
    transform: translateY(0);
    opacity: 1;
    width: 100vw;
    height: 100vh;
    background: #442941;
    color: #fff;
    font-family: 'Bethany Elingston';
    font-size: 20px;
}

#overlay.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none; /* so it stops blocking clicks once gone */
}



@media only screen and (max-width: 1050px) {


}

@media only screen and (max-width: 1000px) {


}

@media only screen and (max-width: 767px) {

body {
    background-position: 75% center;
}

h1 {
    font-size: 34px;
}

.button {
    margin-top: 40px;
} 

.separator {
    margin-top: 30px;
    margin-bottom: 30px;
}

.subtitle {
    margin-top: 30px;
}

}

@media only screen and (max-width: 400px) {

body {
    background-position: 75% center;
}


#logo {
    margin-top: -30px;
    margin-bottom: -30px;
}

}