:root {
    --color1: #f1f3f3;
    --color2: #1f1f1f;
    --color3: #FFA067;
    --color4: #2B3648 /*#1d5074*/;
    --color5: #f15b27;
    --color6: #FF9800;
    --color7: #b8e341;
    --style-font: 'Manrope', sans-serif;
    --font: 'Open Sans', sans-serif;
}

* {
    font-family: var(--font);
    color: var(--color1);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: var(--style-font);
}

#capital{
    color: var(--color2);
}

span{
    color:var(--color2);
}

body {
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--color4);
}

#nav {
    background-color: var(--color2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 100vh;
    width: 200px;
}

#nav > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.nav-logo {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo > img {
    height: 70%;
}

.nav-link {
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 0px 10px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 65px;
    min-width: calc(100% - 60px);
    padding: 0px 30px;
}

.nav-link > img {
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.nav-link.active {
    background-color: white;
    color: var(--color2);
}

.nav-link.active > img {
    filter: invert(100%);
}

.dashboard-sv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    border-radius: 10px;
    background-color: var(--color2);
    color: var(--color1);
    font-weight: 600;
}

.dashboard-sv img {
    height: 30px;
    filter: invert(100%);
    vertical-align: middle;
    margin-right: 10px;
}

#body {
    background-color: var(--color4);
    height: calc(100vh - 80px);
    width: 100vw; /*calc(100vw - 170px);*/
    padding: 40px;
}

.flex-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.column {
    display: flex;
    flex-direction: column;
}

.bar {
    width: 700px;
    height: 20px;
    background-color: var(--color1);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    width: 0px;
    height: 20px;
    background-color: var(--color3);
    border-radius: 10px;
}

.bar.white {
    background-color: rgba(255,255,255,0.3);
    height: 15px;
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-bottom: 20px;
}

.bar.white > .bar-fill {
    background-color: white;
    height: 15px;
}

.bg-img {
    opacity: 0.3;
    height: 100px;
    filter: invert(100%);
}

.options > button {
    background-color: var(--color1);
    color: var(--color2);
    border-radius: 10px;
    border: 1px solid var(--color2);
    padding: 20px 30px;
    margin: 10px;
    font-size: 16px;
    font-family: var(--style-font);
    cursor: pointer;
    border: 0px;
    transition: all 0.3s ease;
}

.options > button:hover {
    color: var(--color1);
    background-color: var(--color2);
}

.options > button.active {
    background-color: var(--color3);
    color: var(--color1);
}

.options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.submit {
    border: 2px solid var(--color7);
    color: var(--color1);
    border-radius: 10px;
    padding: 10px 20px;
    margin: 10px;
    margin-left: 0px;
    font-size: 16px;
    font-family: var(--style-font);
    cursor: pointer;
    background-color: rgba(0,0,0,0);
    transition: all 0.1s ease-in-out;
}

.submit:hover {
    background-color: var(--color7);
    color: var(--color2);
}

.game.submit {
    background-color: var(--color7);
    color: var(--color2);
    padding: 10px 20px;
    height: 50px;
    margin: 0px;
}

form {
    max-width: 900px;
}

fieldset {
    border-radius: 10px;
    margin: 10px 0px;
    padding-bottom: 20px;
}

.text-box {
    border-radius: 10px;
    width: calc(100% - 20px);
    height: 50px;
    border: 0px;
    padding: 0px 10px;
    margin: 10px 0px;
    outline: none;
    color: var(--color2);
    font-weight: 600;
    font-size: 13px;
    line-height: 50px;
}

.game-body {
    background-color: white;
    height: calc(100vh - 120px);
    width: calc(100vw - 120px);
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.game-split {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.black {
    color: black;
}

.stext {
    color: var(--color2);
    font-size: 18px;
    font-weight: 600;
}

.top-right {
    position: absolute;
    top: 20px;
    right: 20px;
}

.game h1 {
    margin: 10px;
}

.scenario-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#deciding {
    height: 300px;
}

.choice-icon {
    height: 150px;
    margin: 30px;
}

.popup {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

.popup * {
    color: black;
}

.popup > a {
    color: black;
    text-decoration: none;
    background-color: var(--color7);
    padding: 10px 30px;
    border-radius: 10px;
}

.flex-box.game {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.flex-box.game > .left.column {
    height: calc(100% - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-icons {
    max-width: 100%;
    display: flex;
}

@media screen and (max-width: 1000px) {
    .scenario-box {
        flex-direction: row-reverse;
        max-height: calc(100% - 200px);
        width: calc(100% - 120px);
        justify-content: space-between;
    }

    .choice-icons {
        flex-direction: column;
        align-items: flex-end;
    }

    .choice-icon {
        height: 100px;
        object-fit: contain;
    }

    .flex-box.game {
        justify-content: flex-start;
        gap: 0px;
    }

    .bg-img {
        height: 50px;
    }
}

@media screen and (max-width: 900px) {
    .options {
        flex-direction: column;
        margin-top: 0px;
    }

    .options > button {
        width: calc(100vw - 80px);
    }

    body {
        flex-direction: column;
    }

    #nav {
        background-color: var(--color2);
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0px;
        border-top-right-radius: 0px; 
        border-bottom-right-radius: 0px;
        height: 70px;
        margin-bottom: 20px;
        width: 100vw;
    }

    #nav > div {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-width: 120px;
        padding: 0px;
    }

    .nav-link > img {
        display: none;
    }

    .nav-link.active {
        border-radius: 0px;
    }

    .nav-logo {
        height: 70px;
        width: 70px;
        margin-left: 20px;
    }

    .bar.white {
        width: calc(100% - 40px);
        margin-left: 20px;
    }

    #body {
        width: calc(100vw - 40px);
        min-height: calc(100vh - 90px);
        height: fit-content;
        padding: 20px;
    }

    .game-body {
        width: calc(100vw - 80px);
        height: fit-content;
        min-height: calc(100vh - 80px);
    }

    .game.submit {
        background-color: var(--color7);
        position: relative;
        bottom: 0px;
        left: 0px; 
        color: var(--color2);
    }

    .game h1 {
        margin: 0px;
    }

    .bg-img {
        display: none;
    }

    .dashboard-sv {
        padding: 10px 15px;
    }

    .dashboard-sv img {
        height: 25px;
    }

    .choice-icon {
        height: 100px;
        margin: 10px;
    }

    .choice-icons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
    }
    .scenario-box {
        width: fit-content;
    }
}


@media screen and (min-width: 600px) {
    .main {
        align-items: center !important;
    }
}

@media screen and (max-height: 920px) {
    #deciding {
        height: calc(20vh);
    }

    .choice-icon {
        height: 100px;
        margin: 10px;
    }

    .bg-img {
        height: 40px;
    }
}

