* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
}

body {
    background-color: #fe8019;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    display: flex;
    justify-content: flex-start;
    width: 800px;
}

.title h1 {
    padding: 21vh 10px 10px 0px;
    font-size: 32px;
}

.second-container {
    display: flex;
    justify-content: center;
    align-items: start;
}

.game-container {
    border: 3px solid #282828;
    background-color: #282828;
    height: 500px;
    width: 500px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);

    flex-shrink: 0;
}

.game-btn {
    border: 3px solid #282828;
    border-radius: 10px;
    background-color: #f9f5d7;
    height: 100%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.X-icon {
    height: 80px;
    width: 80px;
}

.O-icon {
    height: 70px;
    width: 70px;
}

.menu-container {
    background-color: #ebdbb2;    
    border: 6px solid #282828;
    border-left: none;
    height: 300px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.display-container {
    border-bottom: 6px solid #282828;
}

.display-container > div {
    background-color: #f9f5d7;
    font-size:xx-large;
}


.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0px 0px 10px 0px;
}

.button-container > div {
    position: relative;
    display: block;
    
    width: 95%;
    padding: 10px 16px;
    background-color: #fe8019;
    color: #282828;
    font-weight: 800;
    font-size: xx-large;
    text-transform: uppercase;

    border-radius: 6px;
    border: 3px solid #282828;
    box-shadow: 4px 4px #282828;
    cursor: pointer;
    text-align: center;
}

.button-container > div:active {
    transform: translateY(3px) translateX(3px);
    box-shadow: 1px 1px #282828;
}

.footer {
    background-color: #282828;
    color: #f9f5d7;
    text-align: center;
    padding: 1.5em;
    position: relative;
    width: 100%;
    bottom: 0px;
}

.credit {
    color: inherit;
    text-decoration: none;
}

/* media queries for responsive design  */

@media (max-width: 900px) {
    .title {
        width: 675px;
    }
    .game-container {
        height: 450px;
        width: 450px;
    }
    .menu-container {
        height: 450px;
        width: 230px;
    }
    .button-container > div {
        font-size: x-large;
    }
}

@media (max-width: 800px) {
    .title {
        width: 525px;
    }
    .game-container {
        height: 350px;
        width: 350px;
    }
    .X-icon {
        height: 60px;
        width: 60px;
    }
    .O-icon {
        height: 50px;
        width: 50px;
    }
    .menu-container {
        height: 350px;
        width: 200px;
    }
    .button-container > div {
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 650px) {
    .title {
        justify-content: center;
        width: 300px;
    }

    .title h1 {
        padding-top: 15vh;
    }

    .second-container {
        flex-direction: column;
    }
    .game-container {
        height: 300px;
        width: 300px;
    }
    .menu-container {
        height: 250px;
        width: 300px;
        border-left: solid 6px;
        border-top: none;
    }
}



















