/* body,a, h1 to h6, header, and footer */

body {
    font-family: "Fjalla One", sans-serif;
    font-size: 120%;
    background-color: #ebdc0c;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
}

footer {
    clear: both;
    position: relative;
    left: 0;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

a {
    text-decoration: none;
    color: #000;
}

hr {
    display: none;
}

/* homepage */
#game-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#home-zone {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-image: url('../images/back-drop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

#hero-img {
    width: 33%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

#master-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#welcome-text {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.5);
    width: 80%;
    border-radius: 20px
}

#master-text {
    text-align: center;
    padding: 5px;
}

.control-buttons {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align:center;
}

.nav-buttons {
    font-size: 130%;
    width: 100px;
    height: 75px;
    margin: 10px;
    border-radius: 30px;
    border: 3px solid #000;
    background-color: #fff;
    padding: 0px;
}

.nav-buttons:hover {
    background-color: #a0db16;
}

/* game play*/
#score-keeper {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.score {
    float: left;
    padding: 0 10px;
}

#play-zone {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    min-height: 342.156px;
    background-color: #eff14e;
    background-image: url('../images/back-drop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

#dice-contiainer>img {
    width: 133px;
    position: relative;
    top: 10px;
}

#dice-contiainer {
    visibility: hidden;
}

#points-indicator {
    background-color: rgba(255, 255, 255, 0.5);
    width: 25%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

#play-controls {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.play-buttons {
    font-size: 130%;
    width: 100px;
    height: 75px;
    margin: 10px;
    border-radius: 30px;
    border: 3px solid #000;
    background-color: #fff;
}

.play-buttons:hover {
    background-color: #a0db16;
}

.play-buttons:disabled:hover {
    background-color: #fff;
}

/*winner popup*/
#winner-pop-up {
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.8);
    width: 70%;
    border-radius: 20px;
    position: fixed;
    z-index: 1;
    right: 200px;
    top: 300px;
}

#popup-img {
    float: left;
}

#popup-text {
    padding-left: 10px;
    text-align: center;
    font-weight: bold;
}

.winner-buttons {
    font-size: 130%;
    width: 100px;
    height: 75px;
    margin: 10px;
    border-radius: 30px;
    border: 3px solid #000;
    background-color: #fff;
    position: relative;
    left: 100px;
    padding: 0px;
}

.winner-buttons:hover {
    background-color: #a0db16;
}

#turn-indicator {
    visibility: hidden;
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 0px;
    margin-left: auto;
    margin-right: auto;
    top: 35%;
}

#static-div {
    width: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#turn-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#turn-text {
    background-color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    border-radius: 20px;
    font-size: 200%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    bottom: 30px;
    z-index: -1;
    border-radius: 20px;
}

/*rules page */
#rules-page {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-image: url('../images/back-drop-big.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

#master-rules-img {
    float: left;
    position: relative;
    top: 10px;
}

#rules-container {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
}

#rules-text {
    padding: 5px;
}

#rules-text>p {
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

.rule-and-about-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*about page */
#about-text {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#about-text>p {
    text-align: center;
}

/*social media links */
.social-networks {
    text-align: center;
    padding-inline-start: 0px;
}

.social-networks>li {
    display: inline;
}

.social-networks i {
    font-size: 200%;
    margin: 0;
    padding: 2%;
    color: #000;
}

/*medium screen for mobiles and tabs 950px wide and down */
@media screen and (max-width: 767px) {
    /*home page */
    #game-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    #home-zone {
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        background-image: url('../images/back-drop.jpg');
        border-radius: 10px;
    }

    #hero-img {
        width: 100%;
    }

    #welcome-text {
        background-color: rgba(255, 255, 255, 0.5);
        width: 60%;
    }

    .nav-buttons {
        font-size: 80%;
        width: 70px;
        height: 50px;
        margin: 10px;
        border-radius: 20px;
    }

    /*Rule page */
    #rules-page {
        width: 100%;
    }

    #master-rules-img {
        width: 100%;
    }

    #master-class-img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #rules-container {
        width: 100%;
        clear: both;
        border-radius: 20px;
    }

    /*home page */
    #score-keeper {
        width: 100%;
        text-align: center;
    }

    .total-score {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #play-zone {
        width: 100%;
        min-height: 174px;
        border-radius: 10px;
    }

    #dice-contiainer>img {
        width: 20%;
        position: relative;
        top: 10px;
    }

    #points-indicator {
        width: 50%;
    }

    #play-controls {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .play-buttons {
        font-size: 80%;
        width: 70px;
        height: 50px;
        margin: 10px;
        border-radius: 20px;
    }

    #winner-pop-up {
        width: 100%;
        position: fixed;
        right: 0px;
        top: 100px;
    }

    #popup-img {
        float: none;
        position: relative;
        top: 10px;
        left: 50px;
    }

    #popup-text {
        padding-left: 0px;
        text-align: center;
        font-weight: bold;
    }

    .winner-buttons {
        font-size: 130%;
        height: 50px;
        margin: 10px;
        position: relative;
        left: 50px;
        border-radius: 20px;
    }

    #static-div {
        width: 90%;
    }
}

/* media for tablets*/
@media screen and (max-width: 768px) {
    #play-zone {
        width: 80%;
        min-height: 345px;
        border-radius: 10px;
    }
}