@import "reset.css";
*{
    font-family: sans-serif;
}
body{
    background: linear-gradient(#8e672d, #ffb100);
    width: 100vw;
    height: 100vh;
    font-size: 50px;
    color: #ffffff;
}
h1{
    text-align: center;
    font-weight: 100;
    padding: 40px;
    box-sizing: border-box;
    font-size: 70px;
}
#tic-tac-toe{
    width: 70vw;
    height: 70vw;
    max-width: 60vh;
    max-height: 60vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ttt-element {
    width: calc(100% / 3 - 4px);
    height: calc(100% / 3 - 4px);
    float: left;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    position: relative;
}
.ttt-element:hover{
    background-color: #dddddd;
}
.ttt-sign{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #ffffff;
    font-size: 100px;
    font-weight: 100;
}
#ttt3, #ttt4, #ttt5, #ttt6, #ttt7, #ttt8{
    border-top: 2px solid #ffffff;
}
#ttt0, #ttt1, #ttt2, #ttt3, #ttt4, #ttt5{
    border-bottom: 2px solid #ffffff;
}
#ttt0, #ttt1, #ttt3, #ttt4, #ttt6, #ttt7{
    border-right: 2px solid #ffffff;
}
#ttt1, #ttt2, #ttt4, #ttt5, #ttt7, #ttt8{
border-left: 2px solid #ffffff;
}
.tic-tac-toe-status{
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 40px;
    left: 0;
    box-sizing: border-box;
}
.reset-button {
    font-size: 30px;
    cursor: pointer;
    width: 200px;
    margin: 0 auto;
}
@media screen and (max-width: 576px){
    body{
        font-size: 25px;
    }
    .ttt-sign{
        font-size: 35px;
    }
    h1{
        font-size: 25px;
    }
    .reset-button{
        font-size: 20px;
        padding: 5px;
    }
}