html, body {
    width: 100%;

    margin: 0;
}


/* sticky divven */

#stickytop {
    background-color: #4F4789;
    position: fixed;
    width: 100vw;
    height: 12vh;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#text {
    color: #FFC997;
    text-align: center;
  
    font-family: 'Courier New', Courier, monospace;
    font-size: 4vh;
    font-weight: bold;
    text-decoration: none;
}

#stickybackground {
    background-color: #4F4789;
    position: sticky;
    width: cover;
    height: 12vh;
    text-align: center;
    z-index: 1;
}

#pengarpengar {
    display: none;
    color: #FFC997;
}

#navpengar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh;
    width: 50vw;
    background-color: #867BC1;
    border-radius: 5vh;

    position: relative;
    margin-top: 1.5vh;
    margin-left: 1.75vh;

}

#navpengarinner {
    color: #FFC997;
    font-size: 2.5vh;
    text-align: center;
    font-weight: bolder;
    font-family: 'Courier New', Courier, monospace§;
}

#navpengarinner:after {
    content: "kr";
}

/* */


#slideshow {
    background-color: rgb(207, 207, 207);
    height: 55vh;
    width: cover;
}



/* welcome tab */
#popupflex {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#popup {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    font-size: 2.4vh;
    margin-top: 5vh;
    color: white;
    background-color: rgba(0, 0, 0, 0.603);
    height: 40vh;
    width: 70vw;
    text-align: center;

    visibility: hidden;
}

#closepopup {
    color: rgb(241, 233, 243);
    background: rgba(0, 0, 0, 0.322);
    border-color: black;
    border-style: solid;
    font-weight: bolder;
}
/* SLIDER START HÄR */

#slider {

    height: 10vh;
    width: cover;
    background-position-y: center;
    

    background: url(TETXTSTTXTT.jpg);
    background-size: 500% auto;
    animation: textShine 20s infinite linear;
    color: white;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@-webkit-keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* SLIDER END*/

#slideshow-container {
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
}

#brrrt {
    position: relative;
}

#textenspel {
    font-size: 4vh;
    font-weight: bold;
    font-family: 'Inter', sans-serif;

    margin-left: 5.5vw;
    margin-top: 7.5vh;
}

#attaindex {
    color: #525252;
    font-size: 2.75vh;
    font-family: 'Inter', sans-serif;   
}

#spelwrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);

    height: 42.25vh;
    width: 42.25vh;

}

#spelwrapperdenandre {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);

    height: 42.25vh;
    width: 42.25vh;
}

#braid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.spelikoner {
    background-color: #D9D9D9;
    border-radius: 2.75vh;
    margin: 1vh;
    background-position: center;
}

#spel1 {
    background-image: url(dragonsdice.jpg);
    background-size: cover;
}

#spel2 {
    background-image: url(pirateplunder.jpg);
    background-size: cover;
}

#spel3 {
    background-image: url(deadeye2.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#spel4 {
    background-image: url(blackjack.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#spel5 {
    background-image: url(deadeye3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#spel6 {
    background-image: url(DemonsDice.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#spel7 {
    background-image: url(MicrosoftTeams-image\(15\).jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#spel8 {
    background-image: url(MicrosoftTeams-image\(16\).jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#botten {
    background-color: #6D6D6D;
    height: 13.5vh;
    width: cover;

    margin-top: 10vh;
    position: relative;
}

#bottentext {
    color: #B9B9B9;
    text-align: center;

    font-family: 'Courier New', Courier, monospace;
    font-size: 4vh;
    font-weight: bold;
}

#bottentextpt2 {
    color: #B9B9B9;
    text-align: center;

    font-family: 'Courier New', Courier, monospace;
    font-size: 2vh;
    font-weight: bold;
}

@media only screen and (min-width: 600px) {
    #slider {
        background: url(TETXTSTTXTT_PC.jpg);
        animation: textShine 32.5s infinite linear;
    }
    

    #braid {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    #textenspel {
        margin-left: 26.5vw;
    }

    #pengarpengar{
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bolder;
        font-family: 'Courier New', Courier, monospace§;
        font-size: 2.5vh;
        height: 5vh;
        width: 12vw;
        color: #FFC997;
        background-color: #867BC1;
        position: absolute;
        right: 10vw;
        border-radius: 2vh;
    }

    #pengarpengar:after {
        content: "kr";
    }

    #navpengar {
        display: none;
    }

    #slideshow-container {
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: -15vh;

        height: 60vh;
    }
}

