body{
    margin: 0;
}

@font-face {
    font-family: pfefferMediaeval;
    src: url(../css/pfeffer-mediaeval.regular.otf);
}

p {
    box-sizing: border-box;
    font-family: pfefferMediaeval;
    font-size: 24px;
    line-height: 12px;
}

p.Identifier {
    color: antiquewhite;
}

.PlayArea{
    display: flex;
    flex-wrap: wrap;
    background-image: url(../IMG/wood.png);
    background-size: 112px;
    background-repeat: repeat;
    background-position: center;
    min-height: 100vh;
}

.SideBar{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background:rgba(35, 35, 35, 0.375);
    width: 19%;
    height: 100%;
    z-index: 100;
    color: antiquewhite;
    padding: 10px;
    box-sizing: border-box;
}

.SideBarContent{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    color: antiquewhite;
}

#GameControls {
    font-family: pfefferMediaeval;
    /* display: flex; */
    flex-direction: column;
}

/* -------------------------------Button styling starts here */

button#nextBoat{
    background-color: rgb(180, 0, 0);
    color: white;
    height: 2.5vh;
    
}

button#makeBoard{
    background-color: #0065c3;
    color: white;
    /* height: 2.5vh;x */
    min-height: fit-content;
}

button#SpeedCruise{
    background-color: #00860d;
}

button#SpeedFullSteam{
    background-color: rgb(225, 154, 0);
}

button#SpeedFlank{
    background-color: rgb(180, 54, 0);
}

button[id^="FireSide"]{
    justify-self: right;
}

button {
    min-height: fit-content;
    font-family: pfefferMediaeval;
}

#backButton {
    display: block;
    position: fixed;
    width: auto;
    right: 81%;
    bottom: 25px;

    font-family: pfefferMediaeval;
    color: antiquewhite;
    background-color:rgba(0, 0, 0, 0.375);
    border-radius: 25px;
    padding: 10px;

    text-decoration: none;
    font-size: 30px;
    z-index: 101;
    margin-top: 1vh;
}

#backButton:hover {
    color: rgb(255, 250, 244);
    background-color: rgba(35, 35, 35, 0.375);
    transform: scale(1.15, 1.15);
    transition: all 150ms;
}

/* --------------------------------Button styling ends here */


hr{
    color: antiquewhite;
    width: 100%;
}

hr.smallDivider{
    width: 50%;
    margin-left: 0;
}

.Tiles{
    display: flex;
    background-image: url("../IMG/image0.gif");
    background-color: #0065c3;
    background-size: 160px;
    background-repeat: repeat;
    background-position: center;
    overflow:visible;
    max-width: 100%;
    max-height: 100%;
    /* max-height: inherit;
    max-width: inherit; */
    /* border: transparent solid 20px;
    border-image: url("../IMG/borderImage.png") 10 round;
    border-image-width: 20px; */
}

.TileColumn{
    display: flex;
    flex-direction: column;
    position: relative;
}


.Tile{
    position: relative;
    aspect-ratio: 1.15470051/1;
}

.Identifier{
    box-sizing: border-box;
    position: fixed;
    margin: 0;
    pointer-events: none;
    /* background: rgba(80, 80, 80, 0.25); */
    border-radius: 5px;
    padding: 5px;
    font-size: 90%;
    text-align: center;
    width: fit-content;
}


.Board{
    box-sizing: border-box;
    /* border: rgb(253, 231, 111) solid 20px; */
    max-width: 80%;
    height: fit-content;
    width: fit-content;
    object-fit: scale-down;
    max-height: 100vh;
    border: transparent solid 20px;
    border-image: url("../IMG/borderImage.png") 10 round;
    border-image-width: 20px;
    position: relative;
    overflow: hidden;
}

[class^="Ship"]{
    position: fixed;
}

.RightArrow{
    transform: scaleX(-1);
    position: absolute;
    rotate: 90deg;
}

.RightArrow:hover{
    filter: invert(0.65);
}

.LeftArrow{
    position: absolute;
    rotate: -90deg;
}

.LeftArrow:hover{
    filter: invert(0.65);
    
}

img#phaseIndicator{
    width: 15%;
    image-rendering: pixelated;
    align-self: center;
}

div#phaseDiv{
    display: flex;
    align-items: row;
    justify-content: space-between;
    width: 100%;
}

/* p#phase{
    align-self: center;
} */

p#activeTeam{
    font-size: 2.5rem;
}

#angler{
    position: fixed;
    pointer-events: none;
    width: 2500px;
    visibility: hidden;
    opacity: 30%;
}
#fireAnim{
    position: fixed;
    pointer-events: none;
    width: 40px;
    z-index: 7;
    visibility: hidden;
}

#hitAnim{
    position: fixed;
    pointer-events: none;
    width: 60px;
    z-index: 7;
    visibility: hidden;
}

#CodeDisHer {
    display: block;
    position: absolute;
    width: auto;
    right: 19%;
    top: 25px;

    font-family: pfefferMediaeval;
    color: antiquewhite;
    background-color:rgba(0, 0, 0, 0.375);
    border-radius: 25px;
    padding: 10px;

    text-decoration: none;
    font-size: 30px;
    z-index: 101;
    margin-top: 1vh;
}