body {
    background-image: url('Images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

#gameContainer {
    display: none;
}

#optionsScreen {
    position: absolute;
    top: 50%;
    left: 25%;
    z-index: 1;
    visibility: hidden;
}

h1, h3 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: justify;
    color: #a06719;
    font-family: Arial, Helvetica, sans-serif;
}

p {
    justify-content: center;
    color: #a06719;
    font-family: Arial, Helvetica, sans-serif;
}

.modal-backdrop {
    position: inherit;
}

h3 {
    font-size: 1.4em;
    font-weight: 600;
}

.endDiv {
    position: absolute;
    top: 50%;
    left: 35%;
    z-index: 1;
    visibility: hidden;
}

#rematch {
    display: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.board{
    max-width: 100%;
    margin: 0 auto;
}

.minified {
	width: 60px;
	height: 69px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}
table tr:first-child td:first-child {
    border-top-left-radius: 20px;
}
table tr:first-child td:last-child {
    border-top-right-radius: 20px;
}
table tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}
.boardTable{
    table-layout: fixed;
}
.boardTable td{
    background: gray;
    border: 3px solid black;
    padding-bottom: 4.1%;
}

#buttonsRow {
    padding: 70px 0;
    text-align: center;
}

#AttackButton, #DefendButton {
    
    border-style: hidden;
    border-radius: 50%;

}

	.block{
        background: repeating-linear-gradient(45deg, #333333 0, #333333 5%, #4f4f4f 0, #4f4f4f 50%) 0 / 10px 10px !important;
    } 

    .viper {
    	background: url('Images/Viper.png') center center no-repeat !important;
        background-size:contain !important;
        background-color: gray !important;
    }

    .cylonViper {
    	background: url('Images/cylonViper.png') center center no-repeat !important;
        background-size:contain !important;
        background-color: gray !important;
    }

    .ballisticRocket {
    	background: url('Images/ballisticRocket.png') center center no-repeat !important;
        background-size:contain !important;
        background-color: gray !important;
    }

    .nuclearRocket {
    	background: url('Images/nuclearRocket.png') center center no-repeat !important;
        background-size:contain !important;
        background-color: gray !important;
    }

    .missle {
    	background: url('Images/missleTwo.png') center center no-repeat !important;
        background-size:contain !important;
        background-color: gray !important;
    }

    .lasers {
    	background: url('Images/mainWeapon.png') center center no-repeat !important;
        background-size:contain !important;
        background-color: gray !important;
    }

    .p1 {
    	background: url('Images/battlestarGalactica.png') center center no-repeat !important;
        background-color:lightblue !important;
        background-size:contain !important;
    }

    .p2 {
    	background: url('Images/cylonBasestar.png') center center no-repeat !important;
        background-color:salmon !important;
        background-size:contain !important;
    }

    .available{
        box-shadow:         inset 0 0 10px #89d40f;
    }
      
/* Intro text */

.intro {
    position: absolute;
    top: 45%;
    left: 35%;
    z-index: 1;
    animation: intro 6s ease-out 1s;
    color: #a06719;
    font-weight: 400;
    font-size: 300%;
    opacity: 0;
}

@keyframes intro {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }

}

#introBoard {
    font-family: Century Gothic, CenturyGothic, sans-serif;
    transform: perspective(300px) rotateX(25deg);
    transform-origin: 50% 100%;
    text-align: justify;
    position: absolute;
    margin-left: -9em;
    font-weight: bold;
    overflow: hidden;
    font-size: 350%;
    height: 50em;
    width: 18em;
    bottom: 0;
    left: 50%;
}

#introBoard:after {
    position: absolute;
    content: ' ';
    bottom: 60%;
    left: 0;
    right: 0;
    top: 0;
}

#introContent {
    animation: scroll 60s linear 7s;
    position: absolute;
    top: 100%;
}

#introTitle {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

@keyframes scroll {
    0% {
        top: 100%
    }
    100% {
        top:-170%
    }
}

