@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

body {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 16px;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    letter-spacing: 2px;
    background-color: rgb(255, 200, 200);
}

body button, body input {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 4em);
    min-height: calc(100% - 4em);
    padding: 2em;
    background-color: rgb(255, 200, 200);
}


h1.timer {
    margin: 0;
    font-size: 4em;
    font-family: 'Anton SC', sans-serif;
    color: rgb(100, 10, 10);
}

h1.title {
    margin: 0;
    font-size: 3em;
    font-family: "Lobster", sans-serif;
    color: rgb(250, 100, 100);
}


div.ssim {
    width: 4em;
    height: 4em;
    background-image: url('secretsanta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: ease-in-out .2s;
}

.hz {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
    width: 100%;
    position: relative;
}

.vt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    width: 100%;
    position: relative;
}


.main button {
    font-size: 1.25em;
    background-color: rgb(250, 200, 200);
    color: rgb(100, 10, 10);
    border: 2px solid rgb(100, 10, 10);
    border-radius: 10px;
    padding: .25em .5em;
    cursor: pointer;
    transition: ease-in-out .2s;
    outline: none;
    text-align: center;
}


.main button:hover {
    background-color: rgb(100, 10, 10);
    color: rgb(250, 200, 200);
}

.main input {
    font-size: 1.25em;
    background-color: rgb(250, 200, 200);
    color: rgb(100, 10, 10);
    border: 2px solid rgb(100, 10, 10);
    border-radius: 10px;
    padding: .25em .5em;
    cursor: pointer;
    transition: ease-in-out .2s;
    outline: none;
    text-align: center;
    caret-color: transparent;
}
/* .main input:hover {
    background-color: rgb(100, 10, 10);
    color: rgb(250, 200, 200);
} */

.main input.pin {
    width: 2em;
    height: 3em;
    font-size: 1.75em;
    text-align: center;
}


.main input.pin:focus {
    background-color: rgba(100, 10, 10, .3);
    color: rgb(250, 200, 200);
}








@media screen and (max-width: 800px) {
    body {
        font-size: 12px;
    }
}


@media screen and (max-width: 600px) {
    body {
        font-size: 10px;
    }
}



