@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600&family=Quantico:wght@400;700&family=Special+Elite&family=Wix+Madefor+Text:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,100..900;1,100..900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Hina+Mincho&family=Viaoda+Libre&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manufacturing+Consent&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;

    margin: 0;
    padding: 0;
}

body {
    font-family: 'Wix Madefor Text', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(20, 30, 36);
    color: rgb(226, 226, 226);
}

#backgroundgl {
    width: 100%;
    height: 100vh;
    min-height: 1000px;
    position: absolute;
    background-color: rgb(16, 24, 28);
}

#map-button {
    user-select: none;
    color: white;
    transition: color 0.2s ease-in-out;
}
#map-button:hover {
    cursor: pointer;
    color: rgb(106, 126, 136);
}

#country-page {
    margin-left: 20px;
    margin-right: 20px;
    display: inline-table;
    width: calc(25vw - 40px);
    height: auto; 
    padding-bottom: 50px;
    padding-top: 50px;
}
.affiliation-t {
    background-image: url('../images/emblems/tamanaqhadi.png');
}
.affiliation-r {
    background-image: url('../images/emblems/rjota.png');
}
#affiliation-emblem {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#country-name {
    display: block;
    width: 100%;
    text-align: center;
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    text-transform: uppercase;
}
#administative-separator {
    font-size: 20px;
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}
#division {
    font-family: 'Cormorant Garamond';
    margin: auto;
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 25%;
    display: inline-block;
    border-bottom: 2px solid rgb(30, 46, 56);
}
#division-no-underline {
    font-family: 'Cormorant Garamond';
    margin: auto;
    padding-bottom: 0px;
    margin-bottom: 0px;
    width: 25%;
    display: inline-block;
}
#administrative-division-name {
    text-align: center;
    margin: auto;
    display: inline-block;
    width: 100%;
}
#administrative-division-capital {
    font-style: italic;
    font-size: 13px;
    text-align: center;
    margin: auto;
    display: inline-block;
    width: 100%;
}
#innerscroll-doa {
    width: calc(25vw * 34);
}
.administrative-divisions-container {
    height: 900px;
}

.arrow-left {
    opacity: 0.3;
    background-image: url('../arrow_left.png');
    background-size: 100% 200%;
    background-position: 0px -100px;

    transition: opacity 0.2s ease-in-out;
}
.arrow-right {
    opacity: 0.3;
    background-image: url('../arrow_right.png');
    background-size: 100% 200%;
    background-position: 0px -100px;

    transition: opacity 0.2s ease-in-out;
}

.arrow-left:hover {
    cursor: pointer;
    opacity: 0.8;
}

.arrow-right:hover {
    cursor: pointer;
    opacity: 0.8;
}



#game {
    width: 100vw;
    height: 800px;
    margin: auto;
    display: flex;
}
#game-title {
    width: calc(100% - 90px);
    height: 60px;
    font-size: 60px;
    font-weight: 100;
    margin-top: 80px;
    margin-bottom: 20px;
    margin-left: 80px;
    font-family: 'Manufacturing Consent';
    display: inline-block;
}
#game-split {
    width: 100%;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
}
#paragraph {
    width: calc(100% - 100px - 70px);
    font-size: 16px;
    margin-bottom: 20px;
    margin-left: 100px;
}

#timeline {
    width: 100%;
    font-size: 10px;
    text-align: center;
}


.nrb-poster {
    background-image: url('../images/night-red-banner.png');
    background-position: center;
}
.doa-poster {
    background-image: url('../images/day-of-armistice.png');
    background-position: center;
}
.sd-poster {
    background-image: url('../images/sovereignty-disbanded.png');
    background-position: center;
}
.a2110r-poster {
    background-image: url('../images/2110-redrawn.png');
    background-position: center;
}
.fl-poster {
    background-image: url('../images/fractured-lines.png');
    background-position: center;
}
.tc-poster {
    background-image: url('../images/tblirra_crisis.png');
    background-position: center;
    image-rendering: pixelated;
}
.ph-poster {
    background-image: url('../images/periphery.png');
    background-position: center;
}
.ca-poster {
    background-image: url('../images/cartographica.png');
    background-position: center;
}
.ed-poster {
    background-image: url('../images/edict.png');
    background-position: center;
    image-rendering: pixelated;
}



.azortozha-transparent {
    background-image: url('../images/emblems/azortozha_transparent.png');
}
.khia-transparent {
    background-image: url('../images/emblems/khia_transparent.png');
}
.perijstocia-transparent {
    background-image: url('../images/emblems/perijstocia_transparent.png');
}
.ulum-transparent {
    background-image: url('../images/emblems/ulum_transparent.png');
}
.transparent-emblem {
    font-family: 'Cormorant Garamond';
    display: inline-block;
    width: 200px;
    height: 200px;
    background-size: cover;
}



#emblem {
    width: 400px;
    padding-bottom: 400px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;

    border-radius: 30px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    box-shadow: 0px 2px 5px black;
    transition: width 0.2s ease-in, padding-bottom 0.2s ease-in;
}



.emblem-holder {
    display: flex; 
    justify-content: center;
}

.azortozha-emblem {
    background-image: url('../images/emblems/azortozha_emblem.png');
}
.khia-emblem {
    background-image: url('../images/emblems/khia_emblem.png');
}
.perijstocia-emblem {
    background-image: url('../images/emblems/perijstocia_emblem.png');
}
.ulum-emblem {
    background-image: url('../images/emblems/ulum_emblem.png');
}


.ajort-emblem {
    background-image: url('../images/emblems/ajort_emblem.png');
}
.kallekia-emblem {
    background-image: url('../images/emblems/kl_emblem.png');
}
.koradinsk-emblem {
    background-image: url('../images/emblems/koradinsk_emblem.png');
}
.koryansko-emblem {
    background-image: url('../images/emblems/koryansko_emblem.png');
}
.praesk-emblem {
    background-image: url('../images/emblems/praesk_emblem.png');
}
.qair-emblem {
    background-image: url('../images/emblems/qair_emblem.png');
}
.snzaq-emblem {
    background-image: url('../images/emblems/snzaq_emblem.png');
}
.vjsda-emblem {
    background-image: url('../images/emblems/vjsda_emblem.png');
}


#independent-nations-table {
    width: 100%;
    margin-left: 60px;
    margin-right: 60px;
}

#nation-name {
    display: inline-block;
    width: 20%;
    margin-top: 20px;
    font-family: 'Cormorant Garamond';
}
#game-name {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}
#game-sub-text {
    text-align: center;
}

#nations-table {
    margin-top: 80px;
    margin-bottom: 80px;
    display: flex;
    width: 100%;
}

#series-name {
    width: 400px; 
    margin: auto; 
    text-align: center; 
    height: auto; 
    font-size: 3em;
    margin-top: 10vh; 
    font-family: 'Manufacturing Consent'; 
    display: block;
    color: white;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
#series-name:hover {
    color: rgb(106, 126, 136);
}

#mainpage-title {
    width: 400px; 
    margin: auto; 
    text-align: center; 
    height: auto; 
    font-size: 5em; 
    margin-top: 20vh; 
    font-family: 'Manufacturing Consent'; 
    display: block;
    color: white;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}


@media (max-width: 1640px) {
    #game-title {
        width: 100%;
        margin: 0;
        margin-top: 40px;
        text-align: center;
    }
}

@media (max-width: 1650px) {
    #country-page {
        width: calc(33vw - 40px);
    }
    #innerscroll-doa {
        width: calc(33vw * 34);
    }
}

@media (max-width: 1560px) {
    #emblem {
        display: inline-block;
        width: calc(50% - 50px);
        height: 0px;
        padding-bottom: calc(50% - 50px)
    }
    .emblem-holder {
        display: block;
    }
}

@media (max-width: 1200px) {
    #country-page {
        width: calc(50vw - 40px);
    }
    #innerscroll-doa {
        width: calc(50vw * 34);
    }
}


@media (max-width: 1000px) {
    #game {
        display: block;
        height: 1200px;
    }
    #game-split {
        height: 600px;
    }
}

@media (max-width: 850px) {
    #paragraph {
        width: calc(100% - 50px);
        margin-left: 25px;
    }
}

@media (max-width: 800px) {
    .transparent-emblem {
        width: 25%;
        height: 0;
        padding-bottom: 25%;
    }
}

@media (max-width: 650px) {
    #game-title {
        font-size: 8vw;
    }
    #game {
        height: 1400px;
    }
    #game-split {
        height: 700px;
    }
}

@media (max-width: 720px) {
    #country-page {
        width: calc(100vw - 40px);
    }
    #division {
        width: 33%;
    }
    #innerscroll-doa {
        width: calc(100vw * 34);
    }

    #emblem {
        display: inline-block;
        width: calc(100% - 40px);
        height: 0px;
        padding-bottom: calc(100% - 40px)
    }
    .administrative-divisions-container {
        height: 1200px;
    }
}

@media (max-width: 400px) {
    #division {
        width: 50%;
    }
}