:root{
    --accent:#555;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.2s ease;
    border: none;
}

html{
    background-color: #222222;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23777777' fill-opacity='0.59'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New;
}

body{
    height: 100dvh;
    width: 100dvw;
}

body, .outer, .inner{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.outer{
    border: 5px solid var(--accent);
    border-radius: 50px;
    overflow: hidden;
}

.outer, .inner{
    width: 800px;
}
.inner{
    flex-direction: column;
    background-color: #111;
    min-height: 400px;
    color: white;
}
.inner > button{
    font-size: 48px;
}
.inner button, button{
    padding: 5px 10px;
    border-radius: 50px;
    text-align: center;
    width: 350px !important;
}

/* End of defaults */

.goal {
    font-size: 36px;
    color: #999;
    font-weight: 500;
}
.counter{
    font-size: 56px;
}

button:hover{
    cursor: pointer;
}


.progress{
    display: flex;
    flex-direction: row;
}

.progress .note{
    margin-right: 5px;
}

.mobile-warning{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    align-items: center;
    position: absolute;
    height: 100%;
    width:100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.788);
}

.game-over{
    display: flex;
    text-transform: uppercase;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-over *:not(i){
    font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New !important;
}

.game-over .note{
    color: #e4e4e4;
}
.game-over .dialog {
    font-size: 64px;
    font-weight: 700;
}

.game-over .socials a{
    font-size: 32px;
    color: white;
}
.game-over .socials a:hover{
    color:#8b8b8b;
}

form.play-again{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 5px solid var(--accent);
    min-height: 300px;
    margin: 10px;
}

form.play-again h2{
    font-size: 48px;
    text-align: center;
}
form.play-again button{
    font-size: 16px;
    font-weight: 800;

}

.response{
    font-size: 32px;
    font-weight: 700;
}

form .duo-wrapper{
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 3px solid var(--accent);
    width: 100%;
    border-radius: 5px;
}

form .duo-wrapper *{
    padding-inline: 5px;
}

form .duo-wrapper .label{
    padding-block: 10px;
    border-bottom: 1.5px solid var(--accent);
    font-weight: 700;
}
form .duo-wrapper input{
    color: white;
    background-color: transparent;
    padding-block: 15px;
}
form input:focus{
    background-color: #333;
    outline: none;
    border-color: white;
}
form input:focus::placeholder{
    color: white;
}

.note.bottom{
    margin-top: 20px;
}

nav{
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    border: 1px solid var(--accent);
    border-radius: 5px;
}

nav ul{
    list-style: none;
}

nav a{
    color: white;
    padding: 10px;
}