@font-face {
    font-family: 'Kotori Rose';
    src: url('/fonts/kotori-rose/kotorirose-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kotori Rose';
    src: url('/fonts/kotori-rose/kotorirose-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/rawline/rawline-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/rawline/rawline-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --border-radius: 3px;
    --background-color: beige;
    --title-color: rgb(0, 61, 0);
    --calc-color: var(--title-color);
    --text-color: var(--background-color);
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #111;
        --title-color: white;
        --calc-color: #333;
        --text-color: white;
    }
}

html,
body {
    background-color: var(--background-color);
    font-family: sans-serif;
    margin: 0px;
}

.staging-banner {
    text-align: center;
    background: rgb(255, 59, 59);
    padding: 10px 20px 7px 20px;
    width: 80vw;
    margin: 20px auto 0 auto;
    border-radius: var(--border-radius);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
}

.title {
    text-align: center;
    font-family: 'Kotori Rose';
    font-weight: bold;
    font-size: clamp(20px, 7vw, 40px);
    max-width: 80vw;
    margin: 30px auto 30px auto;
    color: var(--title-color);
}

.calculator {
    width: 85vw;
    max-width: 500px;
    margin: auto;
    background-color: var(--calc-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    box-sizing: border-box;
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    font-family: "Kotori Rose";
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 25px;
    color: var(--text-color);
}

.input-group .flex-container {
    display: flex;
    justify-content: space-between;
}

.input-group input,
.input-group select {
    height: 40px;
    font-size: 20px;
    font-family: "Kotori Rose";
    border-radius: var(--border-radius);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
    background-color: white;
}

.input-group input {
    width: calc(100% - 130px);
    box-sizing: border-box;
    text-align: center;
    font-family: "Raleway";
    font-weight: bold;
}

.input-group select {
    width: 110px;
}

.answer-container {
    text-align: center;
    font-family: "Kotori Rose";
    font-weight: bold;
}

.answer-container p {
    margin-bottom: 0px;
    font-size: 25px;
    color: var(--text-color);
}

#answer {
    margin: 0px;
    font-size: 40px;
    font-family: "Raleway";
    font-weight: bold;
}