@import "base.css";

.title {
    font-size: 100px;
    font-family: var(--font-title);
    text-align: center;
    color: var(--color-red);
    margin: 0;
}

@media screen and (max-width:650px) {
    .title {
        font-size: calc(32px + 4vw);
    }
}

.game-question {
    text-align: center;
    font-size: 20px;
}

.game-wrapper {
    margin: 0 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coin-button {
    height: 100px;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid var(--color-button-border);
    box-shadow: 1px 1px 8px 1px var(--color-button-shadow);
    background-color: var(--color-white);
    outline: none;

    cursor: pointer;
    transition: 0.3s;
}

.coin-button:hover, .coin-button:focus {
    background-color: var(--color-grey-bg);
    transition: 0.4s;
}

.coin-value {
    font-size: 36px;
}

.coin-description {
    position: relative;
    font-size: 16px;
}

.coin-button-first {
    border-radius: 10px 10px 0 0;
}

.coin-button-second {
    border-top: 1px solid var(--color-button-border);
    box-shadow: -1px 5px 8px var(--color-button-shadow), 1px 5px 8px var(--color-button-shadow);
}

.game-or-result {
    height: 60px;
    width: 100%;
    font-size:24px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -1px 5px 8px var(--color-button-shadow), 1px 5px 8px var(--color-button-shadow);
    background-color: var(--color-white);
    outline: none;
}

.score-table {
    width: 100%;
    display: flex;
    justify-content: center;

    box-shadow: -1px 5px 8px var(--color-button-shadow), 1px 5px 8px var(--color-button-shadow);
    background-color: var(--color-white);
}

.score {
    width: 100%;
    height: 70px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.score-correct {
    color: green;
    border-right: 1px solid var(--color-button-border);
}

.score-wrong {
    color: red;
}

.restart-game-wrapper {
    width: 100%;
    border-top: 1px solid var(--color-button-border);
}

.restart-button {
    height: 80px;
    font-size: 32px;
    border-bottom: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 1px 6px 8px 1px var(--color-button-shadow);
}

.exchange-rates {
    font-size: 10px;
}
