html, body {
    
    background-color: #080c19;
    color: #fff;
    margin: 0;
    padding: 0;
    
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

    font-size: 16px;

}

* {
    position: relative;
}

.d-none {
    display: none !important;
}

.hidden {
    visibility: hidden;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page {

    padding: 40px 20px 120px;

    background: url('background.jpg') no-repeat bottom left;
    background-size: cover;
    width: 100%;
    max-width: 640px;
    min-height: 600px;
    height: calc(100vh - 160px);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

}

h1 {
    width: calc(100% - 40px);
    text-align: center;
    line-height: 1.2em;
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    position: absolute;
    top: 40px;
}

h1 small {
    display: block;
    margin-top: 10px;
    font-size: 0.75em;
    line-height: 1.2em;
    font-weight: 300;
}

h2 {
    width: 100%;
    text-align: center;
    line-height: 1.2em;
    font-size: 1em;
    font-weight: 400;
    margin-top: 40px;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
    color: #fff;
}

.languages {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.languages button {

    text-align: left;

    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 2.5em;

    margin: 10px 20px;
    padding-left: 60px;

}

.languages button::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    background: url('arrow.png') no-repeat left center;
    background-size: contain;
}

button.back {
    
    background: url('back.png') no-repeat 15px center;
    background-size: contain;

    height: 45px;
    width: 80px;
    
    position: absolute;
    top: 40px;
    left: 20px;

}

button.play {

    width: 50%;
    aspect-ratio: 1 / 1;

    background: url('play.png') no-repeat center center;
    background-size: contain;
    margin-top: -20px;
    margin-bottom: 20px;

}

button.play.playing {
    background: url('playing.png') no-repeat center center;
    background-size: contain;
}

@media (min-width: 640px) {

    .page {
        border: 1px solid #ccc;
        height: calc(100vh - 60px);
    }

}
