/* Loading screen style */
.loading-screen-background {
    background-image: url(../images/sky-background.png);
    width: 100%;
    height: 100%;
}

.logo > img {
    width: 600px;
    margin-top: 15px;
}

.loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.instructions {
    background-color: white;
    border: 7px solid #C6E0ED;
    border-radius: 5px;
    border-style: inset;
    padding: 20px 50px;
    box-shadow: 10px 5px 20px rgb(70, 70, 70);

}

.icons-div {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 15px;
}

.icons-div > div {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.play {
    margin-bottom: 30px;
}

.play > button {
    width: 120px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 20px;
    background-color: #3f4a54;
    font-size: 18px;
    font-family: 'Montserrat';
    font-weight: bold;
    color: white;
    box-shadow: 4px 4px 10px rgb(70, 70, 70);
}

.play > button:hover {
    background-color: #4d555e;
    box-shadow: 2px 2px 4px rgba(138, 184, 214, 0.8);
    color: #fff;
    transform: translateY(5px);
    cursor: pointer;
}

h3 {
    text-align: center;
    font-family: 'Montserrat';
    font-weight: bold;
    padding-bottom: 20px;
    margin: 0;
    color: #419FD6;
    font-size: 25px;
}

p {
    margin-top: 0;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: bold;
    color: #3f4a54;
    font-size: 15px;
}

.red {
    color: #B92D2D;
    margin-top: 10px;
}

.green {
    color: #75c195;
    margin-top: 10px;
}



/* Game screen */

    /* Game screen background */
#game-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(../images/sky-background.png);
    background-size: cover;
    opacity: 0.4;
    z-index: -1;
} 

body {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* .loading-screen {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    margin: 10px 0;
    margin: 1%;
} */


    /* Canvas and its two sides */
.main-div {
    display: flex;
    width: 100%;
    margin: auto;
    align-items: center;
    height: 100%;
}

.canvas-sides {
    display: flex;
    align-items: center;
    flex-direction: column; 
    width: 50%;
}

.coin {
    width: 40px;
    height: 40px;
}

.bug {
    width: 55px;
}

.iron {
    width: 40px;
}

canvas {
    border: 6px solid #3f4a54;
    border-radius: 10px;
    margin: 0px;
    background-image: url(../images/cloudy-sky-dark-loading.png);
    background-size: cover;
}

canvas:hover {
    cursor: url(../images/cursor.png), auto;
}

    /* This changes from start to restart in JS */
.start {
    width: 100px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 20px;
    background-color: #3f4a54;
    font-size: 18px;
    font-family: 'Montserrat';
    font-weight: bold;
    color: white;
    box-shadow: 4px 4px 4px rgba(138, 184, 214, 0.8);
}

    /* Changes button and cursor on hover */
.start:hover {
    background-color: #4d555e;
    box-shadow: 2px 2px 4px rgba(138, 184, 214, 0.8);
    color: #fff;
    transform: translateY(5px);
    cursor: pointer;
}

.hidden {
    display: none;
}

.dropbtn {
    width: 70px;
    height: 70px;
    margin-top: 10px;
}
  
  /* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}
    /* Changes cursor on hover */
.dropdown:hover {
    cursor: pointer;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 1;
}
  
  /* Options inside the dropdown */
.dropdown-content button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 10px;
    border: 0;
    display: block;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: bold
}
  
  /* Change color of dropdown options on hover */
.dropdown-content button:hover {
    background-color: #ddd;
    border-radius: 10px;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: bold;
    cursor: pointer;
}
  
  /* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    cursor: pointer;
}


#instructions-btn {
    width: 50px;
    height: 50px;
    margin-left: 0px;
}

    /* General settings for modal div */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #C6E0ED;
    margin: 15% 20%;
    border: 2px solid #C6E0ED;
    border-radius: 10px;
}

    /* X sign on the side to close the modal */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transform: translateX(-10px);
}

    /* X sign on hover */
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}