@font-face {
    font-family: 'Better Times';
    src: url('img/BetterTimes.otf') format('opentype');
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('img/interior_1080x1920.png');
    background-size: cover;
    background-position: center;
    font-family: 'Better Times', sans-serif;
    overflow: hidden;
    font-size: 30mm;
    text-align: center;
    text-decoration: none;
}

h1{
    text-align: center;
}

h2 {
    text-align: center;
}

a{
    text-decoration: none;
    color: white;
}

video, canvas {
    position:absolute;
    top: 0;
    left: auto;
    right: auto;
    width: auto;
    display: block;
    height: 90vh;
    z-index: 0;
}


.button_bottom{
    position: absolute;
    bottom: 0;
    left: auto;
    min-width: 200px;
    height: 10vh;
    vertical-align: middle;
    background-color: #9f0000;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    z-index: 3;
}

.middle {
    display: block;
    padding: 5px;
    margin: 10px auto;
    background-color: #9f0000;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    z-index: 3;
    font-size: 50mm;
}

.button:hover {
    background-color: #CF0000;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 90vh;
    background-image: url('img/marco2_1080x1920.png');
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: 2;
    background-repeat: no-repeat;
}

#countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    display: none;
    width:80vw;
}

#countdown_timer {
    font-size: 50mm;
    margin:0;
}

#progress-container {
    width: 100%;
    background-color: #e0e0e0;
    overflow: hidden;
}

#progress-bar {
    width: 0;
    height: 10vh;
    background-color: #9f0000;
    text-align: center;
    line-height: 10vh;
    color: white;
    border-radius: 25px;
}