body {
    /* background-color: #21D4FC; */
    background: linear-gradient(90deg, rgba(0,228,255,1) 0%, 
        rgba(0,211,255,1) 10%, 
        rgb(0, 190, 211) 20%,
        rgba(0,211,255,1) 30%, 
        rgba(0, 190, 211) 40%, 
        rgba(0,211,255,1) 50%, 
        rgba(0, 190, 211) 60%, 
        rgba(0,211,255,1) 70%, 
        rgba(0, 190, 211) 80%, 
        rgba(0,211,255,1) 90%, 
        rgba(0, 190, 211) 100%);
    position: relative;
    margin: 0;
}

header {
    width: 66%;
    background-color: #F9A602;
    margin: 1em auto 0 auto;
    padding: 1em;
    border-radius: 6%;
    border: 2px solid black;
}

#website-title {
    text-align: center;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
}

#start {
    height: 80px;
    width: 200px;
    background-color: #F6E4AD;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-size: 2em;
    float: right;
    margin-top: 1em;
    margin-right: .5em;
    z-index: 0;
    position: relative;
    border: 1px solid black;
}

#game-message-background {
    width: 500px;
    height: 150px;
    background: linear-gradient(#9b6f39 0%, #c19a6b 20%, #9b6f39 40%, #c19a6b 60%, #9b6f39 80%, #c19a6b 100%);
    font-size: 2em;
    text-align: center;
    margin: 1em auto;
    border-radius: 4%;
    border: 2px solid black;
}

#game-message-header {
    padding-top: .25em;
}

#game-message {
    font-size: .85em;
    padding: .5em;
}

#player-info {
    text-align: center;
    margin-top: 2em;
}

#player-1 {
    font-size: 2em;
    display: inline-block;
    padding: 1em 2em;
    background-color: #FFA500;
    justify-content: left;
    margin-right: 1em;
    border-radius: 8%;
}

#player-2 {
    font-size: 2em;
    display: inline-block;
    padding: 1em 2em;
    background-color: #FFDF00;
    justify-content: left;
    margin-right: 1em;
    border-radius: 8%;
    margin-top: 0.5em;
}

#game-start {
    font-size: 2em;
    display: inline-block;
    padding: 1em 2em;
    background-color: #52307c;
    justify-content: left;
    margin-right: 1em;
    margin-top: 1em;
    color: white;
    border: 2px solid black;
}

#game-start:hover {
    background-color: #492772;
}

.dice {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: white;
    justify-content: left;
    margin-right: 1em;
    text-align: center;
    border: 1px solid black;
    margin-top: 0.5em;
}

.dice:hover {
    border: 2px solid black;
}

#dice-num {
    background-color: black;
    /* display: inline-block; */
    margin: 0 auto;
    width: 25%;
    height: 25%;
    border-radius: 50%;
    position: relative;
    top: 38%
}

.gameboard {
    margin-top: 2em;
    display: grid;
    grid-template-columns: repeat(7, 65px);
    column-gap: 9px;
    row-gap: 9px;
    text-align: center;
}

.blue-space {
    background-color: blue;
    display: inline-block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid rgb(84, 84, 255);
}

.red-space {
    background-color: #991A00;
    display: inline-block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #ad3219;
}

.green-space {
    background-color: #006400;
    display: inline-block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #0d830d;
    /* line-height: 65px;
    font-size: 2.5em; */
    color: white;
}

.star-space {
    background-color: #d4af37;
    display: inline-block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #e9c54d;
}

#welcome-page-header {
    text-align: center;
    border: 1px solid black;
    margin-bottom: .5em;
}

#welcome-page-rules-header {
    text-align: center;
    text-transform: uppercase;
    text-decoration-line: underline;
    margin: .25em;
}

.welcome-page {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    width: 85%;
    height: 94%;
    background-color: #228B22;
    z-index: 1;
    font-size: 3em;
    padding: 0.5em;
}

.hidden-background {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.9);
    z-index: 0;
    margin: 0;
}

#ok-button {
    font-size: 2em;
    width: 15%;
    position: absolute;
    right: 40%;
    bottom: 0;
    background-color:white;
}

#ok-button:hover {
    background-color: gray;
}

@media only screen and (max-width: 1000px) {
    .welcome-page {
        height: 97%;
        width: 90%;
        font-size: 2.2em;
        margin-left: 0.25em;
        margin-right: 0.25em;
    }

    .hidden-background {
        height: 100%;
        width: 100%
    }

    #ok-button {
        font-size: 1.25em;
    }

    #website-title {
        font-size: 1.5em;
    }
    
    #start {
        height: 60px;
        width: 150px;
        line-height: 52.5px;
        font-size: 1.5em;
    }
    
    .wrapper {
        display: grid;
        grid-template-columns: .5fr 1.5fr;
        grid-template-rows: 1fr 0.5fr;
    }

    #player-info {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .gameboard {
        grid-template-columns: repeat(7, 45px);
        column-gap: 7px;
        row-gap: 7px;
    }

    .blue-space {
        width: 45px;
        height: 45px;
    }
    
    .red-space {
        width: 45px;
        height: 45px;
    }

    .green-space {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 2em;
    }

    .star-space {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 2em;
    }

    #player-1 {
        font-size: 1.5em;
    }
    
    #player-2 {
        font-size: 1.5em;
    }

    #game-start {
        font-size: 1.5em;
        border: 1.5px solid black;
    }

    #game-message-background {
        width: 375px;
        height: 112.5px;
        background: linear-gradient(#9b6f39 0%, #c19a6b 20%, #9b6f39 40%, #c19a6b 60%, #9b6f39 80%, #c19a6b 100%);
        font-size: 1.5em;
        text-align: center;
        margin: 1em auto;
        border-radius: 4%;
        border: 1.8px solid black;
    }
}