@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
body{
    background-image: url("../assets/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
#content{
    position: relative;
    bottom : 15px;
    margin-bottom : 300px;
}

#ai-switch-text{
    position: relative;
    display: inline-block;
    font-size : 23px;
    font-family: 'Bebas Neue', cursive;
    bottom : 0px;
    top : 820px;
    left : 1200px;
}
.switch input {
    opacity : 0;
    width: 0;
    height: 0;
}

.slider{
    position: absolute;
    cursor: pointer;
    width : 60px;
    height: 34px;
    top : 840px;
    left : 1290px;
    right: 0;
    background-color: #ccc;
    transition : 0.4s;
    -webkit-transition: 0.4s;
    border-radius: 34px;
}
.slider:before{
    border-radius : 50%;
    position: absolute;
    content : "";
    height : 26px;
    width : 26px;
    bottom : 4px;
    background-color: black;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
input:checked + .slider {
    background-color: #0091ff;
}
input:focus + .slider {
    box-shadow : 0 0 1px #2196F3
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

#game-container{
    width : 30%;
    position: absolute;
    margin-top : 5%;
    left : 35%;
}
.grid-item{
    display: inline-block;
    margin : 30px;
    width : 150px;
    height : 150px;
    background : black;
    box-shadow: 5px 5px 10px black;
}
#player-one{
    position: absolute;
}
#player-two{
    position: absolute;
    height: 150px;
    width : 150px;
}
#feedback{
    font-size: 50px;
    margin-left: 30px;
    margin-top : 30px;
    font-family: 'Bebas Neue', cursive;
}
#ai-player{
    position : absolute;
}
#turn{
    font-size: 50px;
    margin-left: 30px;
    margin-bottom : -15px;
    font-family: 'Bebas Neue', cursive;
}
#ai-switch-text{
    color : white;
}
@media only screen and (max-width: 1300px){
    .slider {
        top: 410px;
        left: 347px;
        width : 57px;
    }
    #ai-switch-text{
        top: 390px;
        left: 260px;
        color : white;
    }
    .grid-item {
        display: inline-block;
        width: 50px;
        height : 50px;
    }
    #ai-player {
        width: 50px;
        height : 50px;
    }
    #player-one {
        width: 50px;
        height : 50px;
    }
    #player-two {
        width: 50px;
        height : 50px;
    }
    #game-container{
        width : 80%;
        position: absolute;
        left : 20%;
    }
    #feedback{
        font-size: 23px;
        margin-left: 30px;
        margin-top : 40px;
        font-family: 'Bebas Neue', cursive;
    }
    #turn{
        font-size: 30px;
        margin-left: 30px;
        margin-bottom : -15px;
        font-family: 'Bebas Neue', cursive;
    }
}
@media only screen and (max-width: 2000px){
    #game-container{
        position: relative;
        width : 40%;
    }
    #ai-switch-text{
        left : 1072px;
        top: -75px;
    }
    .slider{
        left : 1165px;
        top: 680px;
    }
}