/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');

@font-face {
    font-family: 'Maritime Champion';
    src: url('fonts/MaritimeChampion-Bold.woff2') format('woff2'),
    url('fonts/MaritimeChampion-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: inherit;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    background: #000;
}

section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

@media (orientation: landscape) {
    section {
        position: fixed;
    }
}

video {
    position: absolute;
    top: 25%;
    left: -25%;
    display: block;
    width: 85vh;
    height: auto;
    transform: rotate(90deg);
}

@media (orientation: landscape) and (max-width: 667px) {
    video {
        position: absolute;
        top: 7.5%;
        left: 7.5%;
        display: block;
        width: 85vw;
        transform: none;
    }
}

@media (orientation: landscape) and (min-width: 667px) {
    video {
        position: absolute;
        top: 12.5%;
        left: 12.5%;
        display: block;
        width: 75vw;
        transform: none;
    }
}

.box {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1;
    height: 100vh;
    width: 100vw;
    text-align: center;
    color: #fefefe;
    cursor: pointer;
    background: #df0914;
    opacity: 1;
    -webkit-transition: opacity 1s ease-in;
    -o-transition: opacity 1s ease-in;
    transition: opacity 1s ease-in;
}

@media (orientation: portrait) {
    .box {
        height: 100vh;
        width: 100vw;
    }
}

@media (orientation: landscape) and (max-width: 1023px) {
    .box {
        transform: rotate(-90deg);
        height: 100vw;
        width: 100vh;
    }
}

.box::after {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern.svg');
    background-position: center;
    background-repeat: repeat;
    background-size: contain;
    color: #df0914;
    z-index: 1;
}

.box.hidden {
    opacity: 0;
}

.box > * {
    z-index: 2;
}


.click {
    padding-bottom: 14px;
    width: 200px;
    font-size: 38px;
    font-weight: 700;
    border-bottom: 2px solid #fff;
}

h1 {
    margin: 0 0 8px 0;
    font-size: 34px;
    line-height: 1.125;
    font-family: 'Maritime Champion', sans-serif;
    font-weight: 600;
}

h1 span {
    font-size: 27px;
}

.sound {
    padding-bottom: 14px;
    font-size: 17px;
    line-height: 1.175;
    width: 200px;
    border-bottom: 2px solid #fff;
}

p {
    margin: 0 0 18px;
    line-height: 1.25;
}

.greetings {
    padding: 4px;
    font-size: 17px;
    font-weight: bold;
    border: 2px solid #fff;
    border-left: none;
    border-right: none;
    width: 200px;
}

.chimney {
    margin: 24px auto;
}

@media (max-width: 639px) {
    .chimney {
        max-width: 75%;
        height: auto;
    }
}

@media (min-height: 560px) and (min-width: 640px) and (max-width: 1023px) {
    .chimney {
        width: 100%;
        height: auto;
        max-width: 512px;
    }
}

@media (min-width: 1024px) {
    .chimney {
        height: auto;
    }
}
