/* **************************************************************
** HEADING 
************************************************************** */
* {
    font-family: "Press Start 2P"
}

body {
    background-image: url("https://free4kwallpapers.com/uploads/originals/2015/08/23/minecraft-wallpaper-hd-1920x1080.png");
    background-size: cover;
}

@media screen and (max-width: 768px) {
    body {
        margin: auto;
    }
}

body h1 {
    text-align: center;
    color: salmon;
    font-size: 1.5em;
    margin-top: 10%;
    line-height: 30px;
    text-decoration: underline;
}

/* **************************************************************
** Question
************************************************************** */

#question {
    width: 63rem;
    padding: 30px 0;
    background-color: rgba(0,0,0,0.4);
    color: white;
    font-size: 2em;
    margin: 10px auto;
    text-align: center;
    line-height: 1.7em;
}

@media screen and (max-width: 768px) {
    #question {
        width: 80%;
        padding: 15px;
        color: white;
        font-size: 1em;
        text-align: center;
    }
}

/* **************************************************************
** Answers
************************************************************** */

#answer {
    width: 70em;
    margin: auto;
    color: black;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}

#answer ul {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    padding-left: 0;
}


#answer ul li {
    width: 40%;
    height: 80px;
    background-image: url(./images/birch.png);
    background-size: contain;
    padding-top: 15px;
    text-align: center;
    margin: 10px;
    font-weight: bolder;
    font-size: 1em;
    line-height: 1.5rem;
}

#answer ul li:hover {
    transition: transform 0.2s ease-in-out;
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    #answer {
        width: 80%;
        margin: 10px auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    #answer ul li {
        width: 100%;
        height: 50px;
        padding-top: 15px;
        text-align: center;
        margin: 5px auto;
        font-weight: bolder;
        font-size: .6em;
    }

    #answer ul li:hover {
        transform: scale(1);
    }
}

/* **************************************************************
** Score Board
************************************************************** */

#scores {
    display: flex;
    width: 63.5em;
    background-image: url(./images/stone.png);
    background-size: contain;
    justify-content: center;
    justify-content: space-around;
    margin: 10px auto;
}

#player1, #player2 {
    width: 50%;
    background-image: url(./images/woolwhite.png);
    background-size: contain;
    margin: 5px;
    text-align: center;
}

#player1 h3 {
    color: green;
}

@media screen and (max-width: 768px) {
    #scores {
        display: flex;
        width: 98%;
        background-color: salmon;
        justify-content: center;
        margin: 10px auto;
    }
    #player1, #player2 {
        width: 50%;
        background-color: ivory;
        margin: 5px;
        text-align: center;
        font-size: .7em;
    }
}

/* **************************************************************
** Character Selection Screen
************************************************************** */

#charSelect {
    background-color: firebrick;
    position: fixed;
    top: 0%;
    left: 0%;
    width:100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.chars {
    object-fit: contain;
    max-width: 15%;
    margin-bottom: 10px;
}

@media screen and (max-width: 568px) {
    .chars {
        object-fit: contain;
        max-width: 20%;
    }
}

.choose {
    font-size: 3em;
    position: absolute;
    top: -8%;
    line-height: 60px;
}

.whoChoose {
    font-size: 2em;
    position: absolute;
    top: 20%;
}

.play {
    position: absolute;
    display: block;
    bottom: 25%;
    padding: 20px;
}

.chars:hover{
    transition: transform 0.2s;
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .choose {
        position: absolute;
        top: 0%;
        font-size: 1.5em;
        line-height: 35px;
    }
    .whoChoose {
        position: absolute;
        top: 30%;
        font-size: 1em;
    }
    .chars:hover{
        transition: transform 0.2s;
        transform: scale(1.2);
    }
}

/* **************************************************************
** End Screen
************************************************************** */

#end {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    background-color: salmon;
    position: fixed;
    top: 0%;
    left: 0%;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.endText {
    font-size: 2em;
    text-align: center;
}

#end img{
    margin-left: 20px;
}

@media screen and (max-width: 768px) {
    #end {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0%;
        left: 0%;
        justify-content: center;
        align-items: end;
        visibility: hidden;
    }

    .endText {
        font-size: 2em;
        text-align: center;
    }
    #end img{
        margin: auto;
    }
}

/* **************************************************************
** Abilities
************************************************************** */

.abil {
    float: right;
    max-width: 15%;
    margin-top: -17%;
    margin-right: 25%;
    visibility: hidden;
}

.abil2 {
    float: right;
    max-width: 15%;
    margin-top: -17%;
    margin-right: 25%;
    visibility: hidden;
}

.zombAbil {
    float: right;
    max-width: 15%;
    margin-top: -17%;
    margin-right: 25%;
    visibility: hidden;
}

.zombAbil2 {
    float: right;
    max-width: 15%;
    margin-top: -17%;
    margin-right: 25%;
    visibility: hidden;
}

.enderAbil {
    float: right;
    max-width: 12%;
    margin-top: -15%;
    margin-right: 25%;
    visibility: hidden;
}

.enderAbil2 {
    float: right;
    max-width: 12%;
    margin-top: -15%;
    margin-right: 25%;
    visibility: hidden;
}

.abil:hover {
        transition: transform 0.2s;
        transform: scale(1.2);
}

.abil2:hover {
    transition: transform 0.2s;
    transform: scale(1.2);
}

.zombAbil:hover {
    transition: transform 0.2s;
    transform: scale(1.2);
}

.zombAbil2:hover {
    transition: transform 0.2s;
    transform: scale(1.2);
}

.enderAbil:hover {
    transition: transform 0.2s;
    transform: scale(1.2);
}

.enderAbil2:hover {
    transition: transform 0.2s;
    transform: scale(1.2);
}

@media screen and (max-width: 768px){
    .abil {
        float: right;
        max-width: 20%;
        margin-top: -27.5%;
        margin-right: 15%;
        visibility: hidden;
    }
    .abil2 {
        float: right;
        max-width: 20%;
        margin-top: -27.5%;
        margin-right: 15%;
        visibility: hidden;
    }

    .zombAbil {
        float: right;
        max-width: 20%;
        margin-top: -27.5%;
        margin-right: 15%;
        visibility: hidden;
    }
    .zombAbil2 {
        float: right;
        max-width: 20%;
        margin-top: -27.5%;
        margin-right: 15%;
        visibility: hidden;
    }

    .enderAbil {
        float: right;
        max-width: 16%;
        margin-top: -24.5%;
        margin-right: 15%;
        visibility: hidden;
    }
    .enderAbil2 {
        float: right;
        max-width: 16%;
        margin-top: -24.5%;
        margin-right: 15%;
        visibility: hidden;
    }
}
