
* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: AnimeAce, sans-serif;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;


    overflow: hidden;
    box-sizing: border-box;
}

main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

#waterBackground {
    position:absolute;
    z-index: -10;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#boatDiv {
    display: flex;
    z-index: 1;
    flex-direction: column;
    justify-content: start;
    align-items: center;

    background-color: #773b08;
    width: min(700px,100vw);
    height: 100vh;

    border-left: solid 1em white;
    border-right: solid 1em white;
}


#topDiv {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    z-index: 2;
    background-color: #b66f3e;

    width: 100%;
    flex: 2;
    overflow: visible;
}

#backboardImage {
    width: 450px;
    z-index: 6;
    padding-top: 100px;
}

#poleImage {
    position: absolute;
    top: -200px;
    left: calc(50% - 50px);

    /*height: 75vh;*/
    width: 10vh;
    z-index: -1;
}
#Barrels{
    position: absolute;
    top: 42%;
    left: calc(60% - 20px);
    height: 18vh;
    width: 18vh;
    z-index: 2;
}

#GameField{
    position: absolute;
    top: 42%;
    left: calc(50% - 200px);
    height: 60vh;
    width: 46vh;
    z-index: 1;
}
#Table{
    position: absolute;
    top: 87%;
    left: calc(50% - 200px);
    height: 20vh;
    width: 45vh;
    z-index: 1;
}
#ProgressLog{
    position: absolute;
    top: 89%;
    left: calc(50% - 150px);
    height: 8vh;
    width: 8vh;
    z-index: 1;
}
#Blueprint{
    position: absolute;
    top: 89%;
    left: calc(57% - 10px);
    height: 8vh;
    width: 8vh;
    z-index: 1;
}
#Robot{
    position: absolute;
    top: 59%;
    left: calc(51% - 70px);
    height: 18vh;
    width: 15vh;
    z-index: 1;
}
/* TOP DIV */

#bottomDiv {
    display: flex;
    flex-direction: column;
    z-index: -3;
    background-color: #e7aa7c;

    width: 100%;
    flex: 3;
}

/* BOTTOM DIV */


@media(device-width < 700px) {
    #boatDiv {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;

        background-color: #773b08;
        width: 100vw;
        height: 100vh;
    }

    #waterBackground {
        display: none;
    }
}
