body {
    background-color: black;
    color: white;
    margin: 0px;
    font-family: Arial, sans-serif;
}
#theWholeScreen {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Gjør bagrunnen mørkere når en popup kommer */
#darkendBG {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.543);
    z-index: 1;
    position: absolute;
    top: 0px;
}
#startDarkBG {
    top: 0;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.856);
    z-index: 1;
} #start {
    padding-top: 15vh;
    text-align: center;
    font-size: 25px;
    height: 230px;
    width: 358.195px;  /* 90vw i mobil form */
    position: absolute;
    top: 10vh;
    background-color: rgb(67, 67, 67);
    z-index: 2;
}



/* Header */
#header {
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.338);
    overflow: hidden;
    z-index: 1;
}
.headItem {
    height: 55px;
    width: 55px;
    float: right;
    font-size: 30px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* MENY og alt inni --- START*/
#leftMenu {
    float: left;
} #timer {
    float: left;
    width: 100px;
}
#menuBox {
    position: absolute;
    height: 80px;
    width: 100vw;
    background-color: rgb(0, 88, 135);
    /* Bilder/detaljer med lysere blå */
    font-size: 25px;
    z-index: 1;
}
#help { /* How to Play*/
    width: 50%;
    height: 100%;
    float: left;
    position: relative;
    
    display: flex;
    align-items: center;
    justify-content: center;
}
#kont { /* Contact */
    width: 50%;
    height: 100%;
    float: left;

    display: flex;
    align-items: center;
    justify-content: center;
}

#howPlay { /* HowToPlay popup*/
    height: 580px;
    width: 358.195px;  /* 90vw i mobil form */
    position: absolute;
    top: 3vh;
    background-color: rgb(0, 88, 135);
    z-index: 1;
} #infoGrid {
    background-color: black;
    padding: 15px;
    display: grid;
    position: absolute;
    grid-template-columns: auto auto auto auto;
    grid-gap: 10px;
    top: 130px;
    z-index: 2;
} #infoText {
    position: absolute;
    top: 250px;
    font-size: 20px;
    margin: 25px;
}

#cont { /* Contact popup*/
    height: 300px;
    width: 358.195px;  /* 90vw i mobil form */
    position: absolute;
    top: 3vh;
    background-color: rgb(0, 88, 135);
    z-index: 1;
} #centerCont {
    position: absolute;
    top: 150px;
}

/* MENY og alt inni --- SLUTT*/

/* Om done = 1 */
#foundWord {
    padding-top: 15vh;
    text-align: center;
    font-size: 30px;
    height: 230px;
    width: 358.195px;  /* 90vw i mobil form */
    position: absolute;
    top: 7vh;
    background-color: rgb(0, 88, 135);
    /*z-index: 0;*/
}


/* Innstillinger */
#settings {
    height: 330px;
    width: 358.195px;  /* 90vw i mobil form */
    position: absolute;
    top: 3vh;
    background-color: rgb(0, 88, 135);
    z-index: 1;
}
.optiChoise {
    width: 278.195px;
    margin: 40px;
    height: 29px;
    position: relative;
    font-size: 20px;
} #rendomWord {
    background-color: white;
    border-radius: 25px;
    width: 54px;
    height: 29px;
    position: absolute;
    top: 0px;
    right: 0;
    color: black;
    font-size: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
} #showRandomWord {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 30px;
    font-size: 30px;

}

/* Leaderboard */
#lead {
    height: 400px;
    width: 358.195px;  /* 90vw i mobil form */
    position: absolute;
    top: 3vh;
    background-color: rgb(0, 88, 135);
    z-index: 1;
    align-items: center;
} #points {
    width: 100%;
    position: absolute;
    top: 15%;
    text-align: center;
    font-size: 30px;
} #leadInfo {
    width: 100%;
    position: absolute;
    top: 25%;
    font-size: 20px;
}



#close { /* The X that closes many popups */
    margin: 10px;
    width: 40px;
    height: 40px;
    font-size: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hide { /* Hides and shows the popups */
    display: none;
}
.show {
    display: block;
}



/* Sentrerer */
#center {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Rutenettet med bokser */
#boxgrid {
    display: grid;
    position: absolute;
    grid-template-columns: auto auto auto auto;
    grid-gap: 10px;
    top: 65px;
    z-index: -1;
 }

.box {
    border: 3px solid white;
    color: white;
    height: 60px;
    width: 60px;
    font-size: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.correctBox {
    background-color: rgb(0, 187, 75);
    border: 3px solid rgba(0, 0, 0, 0);

    color: white;
    height: 60px;
    width: 60px;
    font-size: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.halfCorrectBox {
    background-color: rgb(0, 146, 199);
    border: 3px solid rgba(0, 0, 0, 0);

    color: white;
    height: 60px;
    width: 60px;
    font-size: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.inCorrectBox {
    background-color: rgb(80, 80, 80);
    border: 3px solid rgba(0, 0, 0, 0);

    color: white;
    height: 60px;
    width: 60px;
    font-size: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tastaturet */
#keygrid {
    display: grid;
    position: absolute;
    grid-template-columns: auto auto auto auto auto   auto auto auto auto auto    auto;
    grid-gap: 5px;
    bottom: 5%;
    z-index: 0;
 }

.key {
    background-color: rgba(255, 255, 255, 0.338);
    color: white;
    height: 40px;
    width: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.corKey {
    background-color: rgb(0, 187, 75);
    color: white;
    height: 40px;
    width: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.halfCorKey {
    background-color: rgb(0, 146, 199);
    color: white;
    height: 40px;
    width: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.inCorKey {
    background-color: rgb(147, 147, 147);
    color: white;
    height: 40px;
    width: 30px;

    overflow: hidden;
    object-fit: contain;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}
.boldHide {
    display: none;
    font-weight: bold;
} .boldShow {
    display: block;
    font-weight: bold;
}


#keyhole {
    background-color: rgba(0,0,0,0.0);
    border: 0px;
}

#del {
    grid-row: 2 / 4;
    grid-column: 1 / 2;
    height: 85px;
}
#enter {
    grid-row: 1 / 4;
    grid-column: 11 / 12;
    height: 130px;
}



/*      START - SLIDER BUTTON       */
.slideButtonBaseOn {
    background-color: rgb(0, 187, 75);
    border-radius: 25px;
    width: 54px;
    height: 29px;
    position: absolute;
    top: 0px;
    right: 0;
} .slideButtonBaseOff {
    background-color: black;
    border-radius: 25px;
    width: 54px;
    height: 29px;
    position: absolute;
    top: 0px;
    right: 0;
}
.slideButtonInsideOn {
    background-color: white;
    border-radius: 25px;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 2px;
    left: 27px;
} .slideButtonInsideOff {
    background-color: white;
    border-radius: 25px;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 2px;
    left: 2px;
}
/*       END - SLIDER BUTTON */




/*      BILDER      */

#bluePlanetSircle {
    position: absolute;
    top: 75%;
    right: -100px;
    width: 150px;
}

#blueShip {
    position: absolute;
    top: 25px;
    left: 55%;
    width: 100px;
    z-index: 2;
}

.menuImg {
    width: 40px;
}

.Ximage {
    width: 100%;
}
/* SLUTT - BILDER    */






a:link {
    color: rgb(124, 209, 255);
}

/* visited link */
a:visited {
    color: rgb(63, 199, 113);
}

/* mouse over link */
a:hover {
    color: rgb(255, 255, 255);
}

/* selected link */
a:active {
    color: rgb(63, 199, 113);
}
