/* Copyright (c) 2022 Melissa Osorio */

html{
    width: 100%;
    height: 100%;
    background-image: url(/img/farm_01.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: rgb(39, 39, 39);
}

body{
    margin: 0 auto;
}

footer{
    font-family: Signika;
    text-align: center;
    color: white;
    width: 100%;
    height: 5%;
    position: absolute;
    bottom: 0;
    background-color: black;
}

h1{
    font-family: 'Paytone One';
    font-size: 5em;
    text-align: center;
    padding-bottom: 30px;
    margin: 0 auto;
}

table{
    position: absolute;
    top: 56%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
}

nav{
    width: 100%;
    height: 4em;
    margin: 0 auto;
    padding-left: 100px;
}

ul{
    width: 18em;
    padding-left: 5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

li{
    font-family: 'Paytone One';
    font-size: 1.3em;
    list-style: none;
}

a{
    color: black;
    text-decoration: none;
}

#flags{
    text-align: center;
    width: 50px;
    height: 50px;
}

#timer{
    text-align: center;
    width: 50px;
    height: 50px;
}

#pause-btn{
    padding-right: 40px;
    padding-left: 0;
    font-size: 30px;
    text-align: center;
    width: 8px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

#pause:hover{
    font-size: 32px;
}

.container{
    width: 34em;
    height: 39em;
    position: absolute;
    top: 55%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255,255,255,0.5);
}

.container-header{
    font-family: Signika;
    font-size: 2.3em;
    font-weight:bolder;
    color: beige;
    width: 90%;
    height: 10%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-around;
    padding-left: .75em;
    padding-right: .76em;
    background-color: rgba(207, 9, 9);
}

.timer-container{
    width: 100px;
    display: flex;
    align-content: center;
    justify-content: space-between;
}

.btn{
    width: 12em;
    height: 12em;
    border: none;
    background-color: transparent;
    transform: translate(7%,-2%);
}

.btn-img{
    width: 9.5em;
    height: 7em;
    transition-duration: .3s;
    cursor: pointer;
    background-color: transparent;
    border: none;
    text-align: center;
    transform: translate(7%,-1%);
}

.btn-img:hover{
    width: 11.5em;
    height: 9em;
}


.cell {
    font-family:"Signika";
    font-weight: bold;
    text-align: center;
    height: 2em;
    width: 2em;
    border: 1.5px solid rgb(31, 30, 30);
    border-radius: 30%;
    box-shadow: 1px 1.5px #888888;
    background-color: rgb(186, 185, 182);
    margin: 1px;

}

.cell:hover{
    box-shadow: inset 0 0 5px #292828;

}

.victoryBoard{
    background: linear-gradient(225deg, 
    rgba(15,144,175,.9) 10%, 
    rgba(37,213,154,.9) 30%, 
    rgba(253,210,105,.9) 90% 
    );
}

.defeatBoard{
    background: linear-gradient(225deg, 
    rgba(236,154,76,.9) 10%, 
    rgba(253,131,84,.9) 30%, 
    rgba(248,92,113,.9) 90% 
    );
}

#victoryScreen{
    display:none;
    text-align: center;
    font-family: 'Paytone One';
    position: absolute;
    left: 18%;
    top: 42%;
    font-size: 10rem;
    color: rgb(38, 37, 37);
}

#startScreen{
    height: 150px;
    position: absolute;
    left: 47%;
    top: 30%;
}

#pauseScreen{
    display:none;
    height: 35em;
    width: 40em;
    position: absolute;
    left: 33%;
    top: 28%;
}