@font-face {
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('PT Sans Narrow Bold'), local('PTSans-NarrowBold'),
             url('../fonts/pt-sans-narrow-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
             url('../fonts/pt-sans-narrow-v12-latin-700.woff') format('woff'), /* Modern Browsers */
             url('../fonts/pt-sans-narrow-v12-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('PT Sans'), local('PTSans-Regular'),
             url('../fonts/pt-sans-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
             url('../fonts/pt-sans-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
             url('../fonts/pt-sans-v12-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('PT Sans Bold'), local('PTSans-Bold'),
             url('../fonts/pt-sans-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
             url('../fonts/pt-sans-v12-latin-700.woff') format('woff'), /* Modern Browsers */
             url('../fonts/pt-sans-v12-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
}

html, body, h1, h2, img {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    align-items: center;
    background: linear-gradient(#00001C, #004d96);
    background-attachment: fixed;
    display: flex;
    font: 16px 'PT Sans', regular;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

canvas {
    bottom: 0;
    display: block;
    height: 100vh;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: 2;
}

.curtain {
    align-items: center;
    background: #f4f7f9 url('../img/background.jpg') center center no-repeat;
    background-size: cover;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity .5s linear;
    z-index: 10;
}

.curtain h1 {
    font: 2.4rem 'PT Sans Narrow', sans-serif;
    text-transform: uppercase;
    margin: -40px 0 0;
}

.curtain p {
    margin-bottom: 20px;
    padding: 0 20px;
}

.curtain p strong {
    color: #f90000;
    white-space: nowrap;
}

.curtain .images {
    position: relative;
}

@keyframes pulse-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.curtain .images div {
    animation: pulse-animation 1s infinite ease-out;
    position: absolute;
    left: calc(100% - 70px);
    top: calc(100% - 55px);
    z-index: 2;
}

.curtain .images div span {
    display: block;
    font: bold 14px Helvetica Arial, sans-serif;
}

.present {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
    display: none;
    opacity: 0;
    padding: 20px;
    position: absolute;
    max-width: calc(100% - 80px);
    transition: opacity .4s;
    width: 520px;
    z-index: 100;
}

.present h1 {
    color: #0193d1;
    font-family: 'PT Sans Narrow', sans-serif;
    text-transform: uppercase;
}

.present form {
    display: flex;
    margin-top: 20px;
}

.present button[type=submit] {
    -moz-user-select: none;
    -webkit-user-select: none;
    background-color: #0193d1;
    border-color: #0193d1;
    border-bottom-right-radius: .25rem;
    border-top-right-radius: .25rem;
    border: 1px solid transparent;
    color: #212529;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: 1rem 'PT Sans Narrow', sans-serif;
    line-height: 1.5;
    padding: .375rem .75rem;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    user-select: none;
    vertical-align: middle;
}

.present button[type=submit]:hover,
.present button[type=submit]:focus {
    color: #fff;
    background-color: #004d96;
    border-color: #004d96;
}

.present button[type=submit]:disabled {
    background-color: #cecece !important;
    border-color: #cecece !important;
    cursor: default !important;
    opacity: .8;
}

.present input {
    background-clip: padding-box;
    background-color: #fff;
    border-bottom-left-radius: .25rem;
    border-top-left-radius: .25rem;
    border: 1px solid #ced4da;
    color: #004d96;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-align: center;
    width: 100%;
}

.present input:focus {
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.present input:disabled {
    background-color: #f7e6e6 !important;
    opacity: .8;
}

.present .bt-close {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.sound-bt {
    background-color: transparent;
    border: 0;
    bottom: 5px;
    height: 36px;
    position: absolute;
    right: 5px;
    width: 36px;
    z-index: 9;
}

.sound-bt img {
    display: block;
    height: 100%;
    width: 100%;
}

.title {
    color: #c9d23d;
    display: flex;
    flex-direction: column;
    font: 1.2rem 'Berkshire Swash', sans-serif;
}

.title h1,
.title h2 {
    font-weight: normal;
}

.title img {
    display: block;
    margin: 5px auto 0;
    max-height: calc(100vh - 320px);
    max-width: 100%;
    width: 520px;
}

@media screen and (min-width:600px) {
    .curtain h1 {
        font-size: 2.8rem;
    }

    .sound-bt {
        bottom: 20px;
        right: 20px;
    }

    .title {
        font-size: 1.8rem;
    }

    .title img {
        margin: 20px auto 0;
    }
}