:root {
    --accent-color: #9966CC;
    --accent-color-dark: #493463;
}

body {
    margin: 0;
}

.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75vw;
    height: 75vh;
}

.map {
    width: 25vw;
}

.arrow {
    padding-left: 2.5vw;
    padding-right: 2.5vw;
    width: 20vw;
}

.countdown-container {
    position: fixed;
    bottom: 5vh;
    display: flex;
    justify-content: center;
    padding: 12px 24px;
    margin-top: 24px;
    font-family: monospace;
    font-size: x-large;
    background-color: var(--accent-color);
    border: medium solid var(--accent-color-dark);
    border-radius: 24px;
}

.countdown-padding {
    color: var(--accent-color-dark);
}

.countdown-padding, .countdown-unit {
    font-weight: bold;
}

.countdown-unit-break::after {
    content: " ";
}

@media (orientation: portrait) {
    .flex-container {
        height: 100vh;
        justify-content: space-between;
    }

    .map-container {
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        min-height: 348px;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .map {
        width: unset;
        height: 35%;
    }

    .arrow {
        width: unset;
        height: 7.5%;
        transform: rotate(90deg);
    }

    .countdown-unit-break::after {
        content: "\A";
        white-space: pre;
    }

    .countdown-container {
        position: unset;
        bottom: unset;
        margin-top: unset;
        margin-bottom: 24px;
        font-size: 3vh;
    }
}
