* {
    padding: 0;
    margin: 0;
   font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.background {
    background-color: #7491a0;
    height: 100vh;
    padding-top: 1px;
}

.title {
    color: darkblue;
    text-align: center;
    font-size: 40px;
    margin-top: 5%;
}

.display {
    color: white;
    font-size: 25px;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.hide {
    display: none;
}

.container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 33% 33% 33%;
    max-width: 300px;

}

.tile {
    border: 1px solid rgb(38, 36, 48);
    min-width: 100px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    cursor: pointer;
}
.tile:nth-child(3),.tile:nth-child(6),.tile:nth-child(9){
    border-right-color: transparent;
}
.tile:nth-child(1),.tile:nth-child(4),.tile:nth-child(7){
    border-left-color: transparent;
}
.tile:nth-child(1),.tile:nth-child(3),.tile:nth-child(2){
    border-top-color: transparent;
}
.tile:nth-child(7),.tile:nth-child(8),.tile:nth-child(9){
    border-bottom-color: transparent;
}
.playerX {
    color: black;
}

.playerO {
    color: red;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.controls button {
    color: white;
    padding: 8px;
    border-radius: 8px;
    border: none;
    font-size: 20px;
    margin-left: 1em;
    cursor: pointer;
}

.restart {
    background-color: #498AFB;
}

#reset {
    background-color: darkblue;
}
.resp{
    display: none;
}
@media screen and (max-width:440px) {
main{
    display: none;
}
.resp{
    display: inline;
    margin-top: 5em;
    color: black;
    
    font-size: 3em;
    padding: 5px;
}
    
}