@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
body{
    background-image:url('../images/marble.jpg');
}
body.doom2, body.incursion2{
    background-image:url('../images/granite2.jpg');
    color:#fff;
}
.doom2 .wrapper:before{
	background-color:#000;
    content:'';
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    opacity:.4;
    z-index:-1;
}
body.doom3{
    background-image:url('../images/obsidian.jpg');
	color:#fff;
}
.doom2 .wrapper:before{
	background-color:#000;
    content:'';
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    opacity:.4;
    z-index:-1;
}
.wrapper{
    display:block;
    max-width:800px;
    margin:auto;
    position:relative;
    text-align: center;
    font-family:'lato';
}
h1{
    font-size: 5em;
    font-family: 'Space Grotesk'
}
h2{
    font-size: 2em;
    font-family: 'Space Grotesk';
    margin:.5em 0;
}
h3{
    background-color: #545454;
    color: #fff;
    font-family: 'Space Grotesk';
    font-size: 2em;
    margin: 0.2em;
    padding: 0.2em;
}
h4{
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
}
p{
    font-size: 1.2em;
    margin: .2em;
}
li{
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
input[type="checkbox"] {
    width: 2em;
    height: 2em;
    flex: 1; 
}
label{
    flex: 10; 
}
.subHeader{
    font-size: 3em;
    margin-top:-7px;
}
#dooom{
    width:500px;
    margin-top:-90px;
}
#strange{
    width: 400px;
    margin-top: -145px;
}
.teamBox{
    position: relative;
}
.teamBox h3{
    position: relative;
    text-align: left;
}
.teamBox .requirements{
    font-size: 14px;
    position: absolute;
    right: .8em;
    top: calc(50% - 7px);
}
.doom .teamBox:before{
    content:'';
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    opacity:.25;
    background-image:url('../images/doomwallpaper.jpg');
    z-index:-1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.incursion .teamBox:before{
    content:'';
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    opacity:.45;
    background-image:url('../images/strange2.jpg');
    z-index:-1;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}
.charBox{
    display: inline-block;
    margin:.1em;
    padding:.5em;
    position: relative;
    z-index:5;
}
.charBox:before{
    content:'';
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    opacity:.5;
    background-color: #93ccea;
    z-index:-1;
}
.charBox.alt:before{
    background-color: #fda172;
}
.charBox .portrait{
    width: 80px;
}
.charBox .iso{
    position: absolute;
    width: 45px;
    top: 85px;
    right: 10px;
}
.charBox .ability img{
    width:25px;
    margin: 0 -2px;
}
.relative{
    position: relative;
}
.rosterExample{
    width: 200px;
    position: absolute;
    right: 0;
    bottom: -115px;
}
.example{
    width: 50px;
}
.flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#isoPopup{
    opacity:0;
    position:absolute;
    display: block;
    background-color: #46962a;
    border-radius: 5px;
    color:#fff;
    padding: 0.3em;
    transition: .5s;
    z-index: 20;
}
.war ol{
    list-style: revert;
}
.war li{
    text-align: left;
    display: revert;
}
.war .charBox .portrait{
    width: 50px;
}
.war #offense, .war #defense{
    box-sizing: border-box;
    margin: 0 1em;
    padding: 0.1em;
}
.war #defense .charBox:before{
    background-color: #fda172;
}
.war .teamBox{
    margin-top: .6em;
}
.counterButton{
    border-radius: 10px;
    text-decoration: none;
    display:block;
    color:#fff;
    background-color: #545454;
    margin:auto;
    max-width: 80px;
    padding: .5em;
    text-decoration: none;
    
}
.counterButton.visible{
    background-color: #ad5252;
}

.counterPopup{
    display:none;
}
.counterPopup.visible{
    display: block;
    position:absolute;
    bottom: 35px;
    background:#38ABF7;
    z-index: 10;
}
#offense .counterPopup.visible{
    background-color: #FFBC6B;
}
.war #defense .counterPopup .charBox:before{
    background-color: #93ccea;
}
.war #offense .counterPopup .charBox:before{
    background-color: #fda172;
}
.wildcard{
    width: 50px;
    height: 75px;
    display: inline-block;
}
.wildcard p{
    font-size: 5em;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 50px;
    position: absolute;
    top: calc(50% - 26.5px);
    left: calc(50% - 20px);
}

@media only screen and (max-width: 700px) {
    #doomText{
        font-size: 2em;
    }
    .subHeader{
        font-size: 1.5em;
        margin-top:-7px;
    }
    #dooom {
        width: 300px;
        margin-top: -25px;
    }
    .rosterExample{
        position: relative;
        bottom:auto;
        right:auto;
    }
    .charBox {
		margin: -1.7em;
		transform: scale(0.5);
	}
}
@media only screen and (max-width: 400px) {
    .war .charBox .portrait {
        width: 30px;
    }
    
}