* {
    font-family: Montserrat, sans-serif;
    color: #fff0bc;
}

a,
h1 {
    color: #ffc45f;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    width: 100vw;

    background-color: #0b090f;
    font-size: 1.5rem;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro,
.result {
    text-align: center;
    margin: 2rem 0;
    line-height: 1.5;
}

.intro em {
    text-decoration: underline;
    cursor: pointer;
}

h1 {
    margin: 0;
    padding: 0;
}

.input-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: min(90%, 600px);
}

input {
    font-weight: 300;
    font-size: 1.5rem;

    padding: 1rem 2rem;
    flex-grow: 1;

    background-color: transparent;
    border: 1px solid #ffc45f;
    outline: none;

    border-radius: 15px 0 0 15px;
}

button {
    font-size: 1.5rem;
    color: #fff0bc;
    background-color: transparent;

    border: 1px solid #ffc45f;
    border-left: 0;
    border-radius: 0 15px 15px 0;

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

    aspect-ratio: 1 / 1;
    cursor: pointer;
}

button img {
    width: 2rem;
    height: 2rem;
}

.time {
    color: #ffc45f;
}

.loader {
    margin: 15px auto;
    border: 12px solid #0b090f;
    border-top: 12px solid #ffc45f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
