/* Variables and reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

:root {
    --tiny_earth_green: #1f8b4c;
    --tiny_earth_blue: blue;
    --dark_background: #222831;
    --secondary_dark_background: #393E46;
}

html,body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* Home Page */

.home_main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
 /*   background-image: url("../images/background/background_one.png"); */
    background-size: cover;
}

.home_main .title {
    display: flex;
    align-items: center;
    font-size: 100px;
    font-weight: bolder;
    color: whitesmoke;
}

.home_main .title img {
    width: 200px;
    margin-right: 20px;
}

.home_main .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 20px;
}

.home_main .buttons li{
    margin: 35px;
}

.home_main .buttons a {
    border: 1px solid whitesmoke;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: whitesmoke;
    font-size: 40px;
    width: 350px;
    padding: 10px;
    font-weight: bold;   
    transition: width 0.5s, padding 0.5s, font-size 0.5s, border-width 0.2s;
}

.home_main .buttons a:hover {
    font-size: 60px;
    width: 370px;
    padding: 15px;
    border-width: 2px;
}

/* Help */

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    width: 15%;
    height: 100vh;
    background-color: var(--dark_background);
    overflow: hidden;
    left: 0;
}

nav .nav_title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav .nav_title .help_text {
    font-size: 2vw;
    text-align: center;
    color: whitesmoke;
    width: 87%;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: gold;
}

nav .title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 10px;
}

nav .title img 
{
    width: 4vw;
}

nav .title a {
    font-size: 2.3vw;
    font-weight: bold;
    margin-left: 8px;
    color: whitesmoke;
    text-decoration: none;
}

nav ul {
    list-style: none;
    width: 100%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav li {
    width: 87%;
    text-align: center;
    margin: 10px;
}

nav li a {
    text-decoration: none;
    color: whitesmoke;
    font-size: 1.5vw;
    transition: font-size 0.4s;
}

nav li a:hover {
    font-size: 2vw;
}

.selected_nav_page {
    border-right-style: solid;
    border-width: 1px;
    border-color: gold;
}

.selected_nav_page a {
    font-size: 2vw;
}

.nav_button {
    position: fixed;
    color: transparent;
    background-color: transparent;
    border-style: none;
    cursor: pointer;
    margin-left: 15vw;
    margin-top: 37px;
    transform: rotate(90deg);
    transition: transform 0.5s ease-in;
}

.right
{
    transform: rotate(270deg);
}

.nav_button img {
    width: 3vw;
}

.home_help {
    width: 	85%;
    min-height: 100vh;
    margin-left: 15%;
    background-color: var(--secondary_dark_background);
    display: flex;
    flex-direction: column;
    align-items: center;     
}

/* Rules & Safety */

.home_rule{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 25px;
    align-items: center;
    text-align: left;
    color: white;
    border-color: gold;
    border-radius: 20px;
    padding: 20px;
}

.home_rule ul {
    list-style: none;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.home_rule .home_header{
    font-size: 40px;
    margin-bottom: 30px;
    color: gold;
    font-weight: bold;
    border-bottom-style: solid;
    width: 90%;
    text-align: center;
}

.home_rule .home_header_large {
    font-size: 100px;
    color: gold;
    font-weight: bold;
}

.home_rule .home_text {
    color: white;
    font-size: 20px;
    width: 90%;
    margin-bottom: 30px;
}

.rule_big {
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
    border-bottom-style: solid;
    border-color: gold;
    padding-bottom: 45px;
    border-radius: 0;
    text-align: center;
}

.no_border {
    border: none
}

.bold {
    font-weight: bold;
    font-size: 25px;
}

/* Vote */
.voting_sites {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.vote_site {
    min-width: 400px;
    margin: 20px;
    border-style: solid;
    border-color: gold;
    border-width: 4px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vote_site p {
    font-size: 30px;
    margin-bottom: 10px;
    text-align: center;
    color: white;
}

.vote_site a {
    width: 200px;
    text-align: center;
    font-size: 40px;
    text-decoration: none;
    border-style: solid;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin-bottom: 10px;
    transition: width 0.8s, background-color 0.8s;
}

.vote_site a:hover
{
    width: 250px;
    background-color: var(--dark_background);
}

.vote_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    padding-bottom: 10px;
    border-bottom-style: solid;
    border-bottom-color: gold;
    border-width: 4px;
}

.vote_header p {
    font-size: 40px;
    color: gold;
    font-weight: bold;
}

.vote_header img {
    width: 150px;
}

.small {
    font-size: 16px!important;
}

/* Mobile */
@media only screen and (max-width: 650px) {

    /* Home Page */
    .home_main .title img {
        width: 100px;
    }

    .home_main .title p {
        font-size: 0.55em;
    }
}

/* Colors */

.green {
    color: var(--tiny_earth_green);
}

.blue {
    color: var(--tiny_earth_blue);
}

.black {
    color: black;
}