/* Body */

body {
    background: url(../images/background.png);
}

h3 {
    color: white;
    font-family: 'Cinzel', 'Georgia', sans-serif;
    font-size: 2.5em;
    padding: 20px;
    text-shadow: 2px 2px 5px black;
    text-align: center;
}

h4 {
    color: white;
    font-family: 'Alegreya Sans SC', 'Georgia', sans-serif;
    font-size: 1.1em;
    text-align: center;
    text-shadow: 2px 2px 5px black;
}

h5 {
    color: white;
    font-family: VT323, 'Georgia', sans-serif;
    font-size: 1.3em;
    text-shadow: 2px 2px 5px black;
}

/* Intro */

.choice {
    background-color: #A5F7FB;
    border-radius: 10px;
    border: 3px solid darkgray;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: 50%;
}

.choice:hover,
.choice:focus {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-decoration: none;
    cursor: pointer;
}

.yourChoices {
    margin: 0 auto;
}

/* Battle Field */

.arena {
    border-radius: 10px;
    border: 3px solid white;
    width: 100%;
}

.battleField {
    background: no-repeat;
    width: 100%;
}

#battleArena {
    position: absolute;
    z-index: 1000;
}

/* Left Side of Battlefield */

.flipped {
    transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -khtml-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
}

#lHPIndicator {
    position: relative;
    bottom: 340px;
    left: 15%;
    width: 300px;
}

#lATKIndicator {
    position: relative;
    bottom: 340px;
    left: 15%;
}

#lHPBar {
    bottom: 340px;
    left: 15%;
}

#lSprite {
    position: relative;
    bottom: 475px;
    right: 5%;
    width: 300px;
}

/* Attack Button */

.btn {
    border: 2px solid white;
    height: 50px;
}

#attack {
    position: relative;
    bottom: 125px;
}

/* Right Side of Battlefield */

#rHPIndicator {
    position: relative;
    bottom: 340px;
    width: 300px;
}

#rATKIndicator {
    position: relative;
    bottom: 340px;
    left: 0%;
}

#rHPBar {
    bottom: 340px;
}

#rSprite {
    position: relative;
    bottom: 475px;
    right: 20%;
    width: 300px;
}

/* Log Display */

#logLG {
    background-color: #ddd;
    border-radius: 10px;
    border: 3px solid white;
    font-family: 'Roboto Mono', 'Georgia', sans-serif;
    height: 300px;
    margin-bottom: 50px;
    overflow-y: scroll;
    padding: 10px;
}

#logElse {
    background-color: #ddd;
    border-radius: 10px;
    border: 3px solid white;
    font-family: 'Roboto Mono', 'Georgia', sans-serif;
    height: 210px;
    margin-top: 20px;
    margin-bottom: 50px;
    overflow-y: scroll;
    padding: 10px;
}

/* For health bars. */

.health-bar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 200px;
    height: 20px;
    padding: 5px;
    background: #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
}

.bar {
    background: #c54;
    width: 100%;
    height: 10px;
    position: relative;

    transition: width .5s linear;
}

.hit {
    background: rgba(255,255,255,0.6);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0px;

    transition: width .5s linear;
}

/* Media Queries */

@media screen and (max-width: 991px){
    #logLG {
        display: none;
    }
}

@media screen and (min-width: 992px){
    #logElse {
        display: none;
    }
    #logLG {
        height: 368px;
    }
}

@media screen and (min-width: 1085px){
    .arena {
        width: 730px;
    }
    #logLG {
        height: 440px;
    }
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.modalText {
    color: black;
    font-family: 'Alegreya Sans SC', 'Georgia', sans-serif;
    font-size: 1.25em;
    text-align: center;
    text-shadow: 2px 2px 5px white;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}