body{
    background-color: var(--background-color);
    font-family: monospace;
    color: var(--light_fonts);
}

.wizzard{
    margin: auto;
}

#wizzard_2{
    display: none;
}

#wizzard_3{
    display: none;
}

body h1,
body #team_picker{
    width: 80%;
    margin: auto;
}

#marquee h2,
#marquee h3{
    height: 30px;
    border: 1px solid var(--light_filling);
    line-height: 30px;
    text-align: center;
    font-size: 22px;
    font-weight: normal;
}


h1{
    padding: 10px;
    font-size: 30px;
    text-align: center;
}

#weather_display{
    margin-top: -16px;
    font-size: 18px;
}

.wrapper{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 75px 400px 80px 60px 50px;
    margin: auto;
}

#wrapper_match{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

#prefooter{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    position: relative;
    /* left: calc(140px - 10%); */
    bottom: 0px;
    width: 80%;
    height: 50px;
    padding: 10px 0px;
}

#prefooter div{
    margin: auto;
}

#settings{
    height: 50px;
    padding: 10px 0px;
    text-align: center;
}

#settings p{
    margin: 0px;
}

#dark{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    width: 60px;
    height: 30px;
    margin: 0 auto;
    border: 1px solid var(--light_filling);
    cursor: pointer;
}

#dark_btn{
    position: relative;
    margin: auto;
    height: 22px;
    width: 22px;
    border: 1px solid var(--light_filling);
}

.zone_picker{
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: 1fr;
    border: 1px solid var(--light_filling);
}

.zone_buttons{
    width: 50px;
    height: 50px;
    margin: auto;
    background-position: center;
    background-repeat: none;
    background-size: 70%;
    background-repeat: no-repeat;
    cursor: pointer;
}

#zone_back_1,
#zone_back_2{
    background-image: url('img/back_button.svg');
    filter: invert(57%) sepia(0%) saturate(1%) brightness(97%) contrast(91%);
}

#zone_foward_1,
#zone_foward_2{
    background-image: url('img/foward_button.svg');
    filter: invert(57%) sepia(0%) saturate(1%) brightness(97%) contrast(91%);
}

.zone_progress{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 160px;
    height: 20px;
    margin: 10px auto;
    border: 1px solid var(--light_filling);
}

.ball_colored{
    background-color: var(--light_filling);
}

.zone_title{
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
}

.team_picker{
    display: grid;
    align-content: space-evenly;
    justify-items: center;
    grid-template-columns: 50% auto;
    height: 400px;
    margin: 5px 0px;
    border: 1px solid var(--light_filling);
}

.team_box{
    width: 120px;
    height: 40px;
    border: 1px solid var(--light_filling);
    text-align: center;
    text-transform: uppercase;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
}

.team_data{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    height: 75px;
    border: 1px solid var(--light_filling);
}

.team_hard,
.team_soft{
    height: auto;
}

.team_hard{
    display: grid;
    align-content: center;
    text-align: center;
    text-transform: uppercase;
}

.hard_name{
    padding: 2px 0px;
    font-size: 30px;
}

.hard_subname{
    line-height: 10px;
    font-size: 15px;
}

.energy_table{
    display: grid;
    height: auto;
    margin: 2px 0px;
    padding: 4px 0px;
}

.soft_text{
    text-align: center;
}

.energy_ofe,
.energy_def{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 20% 80%;
    height: 25px;
    border: 1px solid var(--light_filling);
    line-height: 0px;
    padding: 4px;
}

.energy_ofe_line,
.energy_def_line{
    width: 5px;
    margin: 0;
    padding: 0;
    background-color: var(--light_filling);
    line-height: 20px;
}

.teams_display,
#time_display{
    height: 60px;
    border: 1px solid var(--light_filling);
    text-transform: uppercase;
    line-height: 60px;
    text-align: center;
    font-size: 20px;
}

#time_display{
    width: 100px;
    margin: 3px auto;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
}

.random_btn,
.next_btn{
    width: 200px;
    max-width: 177px;
    height: 40px;
    margin: auto;
    border: 1px solid var(--light_filling);
    text-transform: uppercase;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
}

#next_1,
#next_2{
    display: none;
}

/* Wizzard 2 */

#board{
    display: grid;
    grid-template-columns: 35% 30% 35%;
    grid-template-rows: 1fr;
    height: 50px;
    border: 1px solid var(--light_filling);
    text-transform: uppercase;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
}

.dices{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
}

#roll_2{
    visibility: hidden;
}

.roll,
.dice{
    border: 1px solid var(--light_filling);
    margin: 3px auto;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
}

.dice{
    visibility: hidden;
}

.roll{
    font-size: 20px;
    cursor: pointer;
}

.roll:active{
    transform: translateY(4px);
  }

#board div{
    border: 1px solid var(--light_filling);
}

#score{
    background-color: var(--light_fonts);
    color: var(--light_back);
}

#tale{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    margin: 3px auto;
    border: 1px solid var(--light_filling);
    width: 100%;
    height: 75px;
    text-align: center;
    line-height: 25px;
    font-size: 20px;
}

#history{
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    position: relative;
    top: 2px;
    padding-left: 5px;
    border: 1px solid var(--light_filling);
    height: 190px;
    line-height: 24px;
    font-size: 20px;
}

.dark_mode{
    background-color: var(--light_fonts);
    color: var(--light_back);
}

.pressable{
    box-shadow: 2px 2px var(--light_filling);
}

/* MEDIA QUERIES */

@media only screen and (min-width: 600px) {
    body{
        max-width: 360px;
        margin: auto;
    }
}

/* VARS */

.ligth_back{
    background-color: var(--light_back);
    color: var(--light_fonts);
}

.dark_back{
    background-color: var(--light_fonts);
    color: var(--light_back);
}

.light_borders{
    border: 1px solid var(--light_borders);
}

.dark_borders{
    border: 1px solid var(--light_back);
}

:root {
    /* light mode */
    --light_back: rgb(247, 247, 247);
    --light_fonts: rgb(46, 46, 46);
    --light_borders: rgb(19, 19, 19);
    --light_shadows: rgb(114, 114, 114);
    --light_filling: rgb(140, 140, 140);
}
