

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    background-color: rgb(113, 134, 192);
    font-family: Arial, sans-serif;
}

body {
    min-width: 1200px;
    margin: 0% 10%;
}



/* --------- Main body (canvas and help image)---------- */
.bodyColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* --------- Start game overlay ---------*/
.startGame {
    z-index: 4;
    position: absolute;
    top: 480px;
    text-align: center;
    background-color: rgb(93, 135, 156) ;
    border: 4px solid black;
    border-radius: 10px;
    height: 130px;
    width: 252px;
}


.startGame h3 {
    padding-top: 10px;
    color: whitesmoke;
}


.gameStartBody {
    padding: 0px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.gameStartBody #optionsCanvas {
    background-color: whitesmoke;
    margin: 0px;
}


.gameStartBody button {
    max-width: 400px;
    margin-top: 5px;
    font-family: "Monsterrat", sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: whitesmoke;
    text-decoration: none;
    padding: 10px 25px;
    margin-left: 0px;
    background-color: rgb(235, 130, 33);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease 0s;
}


/* --------- Header (About page)---------- */
li, a {
    font-family: "Monsterrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: whitesmoke;
    text-decoration: none;
    padding: 9px 25px;
    margin-top: 10px;
    background-color: rgba(0,100,215,1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease 0s;
}


header {
    display: flex;
    justify-content:space-between;
    align-items: center;
    top: 20px;
    margin-bottom: 30px;
}

.nav_links {
    list-style: none;
}

.nav_links li {
    display: inline-block;
    padding: 10px 0px;
}

.nav_links li a {
    transition: all 0.25s ease 0s;
}

.nav_links li a:hover {
    color: rgba(150,150,150,0.75);
}



/* --------------- Main Body ----------------- */
h1 {
    top: 100px;
    text-align: center;
    margin-bottom: 20px;
    color: whitesmoke;
}

.canvasArea h3 {
    text-align: center;
} 


#gamecanvas {
    margin-top: 40px;
    background-color: rgb(201, 201, 201);
}


/* ---------  Play/Pause audio button ----------- */

.playPause {
    text-align: center;
}

.playPause button {
    max-width: 200px;
    margin-top: 10px;
    font-family: "Monsterrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: whitesmoke;
    text-decoration: none;
    padding: 9px 25px;
    margin-left: 0px;
    background-color: rgb(112, 86, 172);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease 0s;
}


/* ---------  Pop up button to restart game (win or lose) ----------- */
/* Lose */
.restartgame {
    display: none;
    position: absolute;
    top: 600px;
    text-align: center;
}

#restartbtn {
    max-width: 200px;
    margin-top: 10px;
    font-family: "Monsterrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: whitesmoke;
    text-decoration: none;
    padding: 9px 25px;
    margin-left: 0px;
    background-color: rgb(25, 102, 133);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease 0s;
}


/* Win */
.restartgamew {
    display: none;
    position: absolute;
    top: 600px;
    text-align: center;
}

#restartbtnw {
    max-width: 200px;
    margin-top: 10px;
    font-family: "Monsterrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: whitesmoke;
    text-decoration: none;
    padding: 9px 25px;
    margin-left: 0px;
    background-color: rgb(160, 32, 28);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease 0s;
}



/* ---------  Help Image (controls and how to play) under the game canvas ----------- */
.help-Image #help-image {
    width: 804px;
}
