
html {
    height: 100%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(to bottom, #73A7BE, #072F6B);
    background-attachment: fixed;
}

@font-face {
    font-family: 'Original Surfer';
    src: url('../Font/OriginalSurfer-Regular.ttf') format('truetype');
}

*{
  font-family: 'Original Surfer';
  color: white;
  text-decoration: none;
}

p {
    font-size: 1.9vw;
}

h1 {
    font-size: 3.5vw;
}

header {
    background-image: linear-gradient(to bottom, #67a9c6, #1e94c6);
    background-attachment: fixed;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 0.4fr 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas: "logo nav";
    align-items: center;
}

.nav {
    grid-area: nav;
    display: grid;
    grid-auto-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "Home About Games Contact";
    transition: transform 0.2s ease, box-shadow 0.5s ease;
    
}


nav a {
    transition: transform 0.2s ease, text-shadow 0.4s ease;
}

nav a:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

nav a:active {
    transform: scale(1.1);
    text-shadow: 0 4px 10px rgb(1, 22, 255);
}
.home {
    grid-area: "Home";
    margin-left: 5%;
    font-size: 1.5vw;
}

.about {
    grid-area: "About";
    margin-left: 5%;
    font-size: 1.5vw;
}

.games {
    grid-area: "Games";
    margin-left: 5%;
    font-size: 1.5vw;
}

.contact {
    grid-area: "Contact";
    margin-left: 5%;
    font-size: 1.5vw;
}

.logo img {
    width: 100px;
    height: auto;
    margin: 10px 20px;
    grid-area: "logo"
}

.gameCraft {
    font-size: 60px;
    text-align: center;
    margin-top: 20px;

}

.welkom {
    background-image: linear-gradient(to bottom, #73A7BE, #072F6B);
    box-shadow: black;
    margin-left: 50px;
    margin-right: 50px;
    border-radius: 25px;
    padding: 20px;
}

.overOns {
    background-image: linear-gradient(to bottom, #73A7BE, #072F6B);
    box-shadow: black;
    margin-left: 50px;
    margin-right: 50px;
    border-radius: 25px;
    padding: 20px;
}
.overOnsText {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gameContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.gameText {
    background-image: linear-gradient(to bottom, #73A7BE, #072F6B);
    box-shadow: black;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 50px;
    border-radius: 25px;
    padding: 20px;

    display: flex;

    align-items: center;
    justify-content: center;



}


.overOnsPhoto {
    width: 80%;
    height: 80%;
    height: 80%;
    float: right;

    border-radius: 15px;


}

/* i need to put an image here but i dont got them yet so for now its empty*/
.onzeGames {
    background-image: linear-gradient(to bottom, #73A7BE, #072F6B);
    box-shadow: black;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 50px;
    border-radius: 25px;
    padding: 20px;
    padding: 20px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    height: 350px;
    width: 170%;

}

#alleGames {
    width: 60%;
    height: 100%;
    border-radius: 12.5px;

    margin-right: 90px;
    margin-right: 10px;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.onzeGamesText {
    margin-left: 5%;
    display: flex;
    flex-direction: row-reverse;
}

footer {
    background-color: #AD9C65;
    height: 20vh;
    margin-top: 10%;
}


footer img {
    width: 7%;
    height: auto;
    margin-top: -5%;
    margin-left: 6%;
}

.coral {
    margin-left: 70%;
    margin-top: -5%;
}

#anchor {
    position: relative;
    left: 20%;
    width: 10%;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #4224abbd;
}

::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, #73a7be, #072f6b);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #73a7be, #072f6b);
    border-radius: 6px;
    border: solid 1px #ad9c65;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #73a7be, #072f6b);/
}
@media screen and (max-width: 1100px) {
    .gameText {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;



    }

    .overOnsPhoto {
        width: 50%;
        height: 44%;
        height: auto;
        margin-left: 0px;

    }
}

@media screen and (max-width: 950px) {
    .gameText {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        ;


    }

    .overOnsPhoto {
        display: none;

    }

    .contact,
    .games,
    .about,
    .home {
        font-size: 3vw;
    }
}

@media screen and (max-width: 700px) {
    .gameContainer {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .gameText {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
 
}

    #alleGames {
        display: flex;
        width: 50%;
        height: auto;
        border-radius: 12.5px;


    }
    .onzeGames {
        margin-left: 8%;
        display: flex;
        flex-direction: column-reverse;
        width: 79%;
            border-radius: 12.5px;



}
    .onzeGamesText {
        margin-left: 0%;
        display: flex;
        flex-direction: column;
        margin-top: 40px;
}
}

/* Hamburger button hidden on large screens */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 30px;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger .bar {
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
}

/* Show hamburger on smaller screens */
@media screen and (max-width: 750px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 5px;
        right: 0px;
        background: linear-gradient(to bottom, #73A7BE, #072F6B);
        flex-direction: column;
        width: 150px;
        display: none; 
        border-radius: 10px;
        padding: 10px ;
    }

    .nav a {
        margin: 10px;
    }

    .nav.active {
        display: flex; 
    }
}
@media screen  and (max-width: 500px) {
    #alleGames {
        display: flex;
        width: 60%;
        border-radius: 12.5px;
        height: auto;
    }
        .onzeGames {
        margin-left: 8%;
        display: flex;
        flex-direction: column-reverse;
        width: 69%;
            border-radius: 12.5px;
}
    .onzeGamesText {
        margin-left: 0%;
        display: flex;
        flex-direction: column;
        margin-top: 70px;
}

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 5px;
        right: 0;
        background: linear-gradient(to bottom, #73A7BE, #072F6B);
        flex-direction: column;
        width: 100px;
        display: none; 
        border-radius: 10px;
        padding: 10px 0;
    }

    .nav a {
        margin: 10px;
    }

    .nav.active {
        display: flex; 
    }
}
@media screen  and (max-width: 400px) {
    #alleGames {
        display: flex;
        width: 50%;
        height: auto;
        border-radius: 12.5px;

    }
        .onzeGames {
        display: flex;
        flex-direction: column-reverse;
        width: 59%;
            border-radius: 12.5px;
}
    .onzeGamesText {
        margin-left: 0%;
        display: flex;
        flex-direction: column;
        margin-top: 120px;
        margin-bottom: 90px;
}


.home,.about,.games,.contact{font-size: 2vw;}
}


.bubble {
    position: fixed;
    width: 70px;
    height: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    animation: float 15s ease-in forwards;
}

@keyframes float {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-300vh);
        opacity: 0.75;
    }
}

#shark {
    width: 20%;
    position: relative;
    position: relative;
    top: 30%;
    animation: sharkSwim 20s linear infinite;
}
@keyframes sharkSwim {
    0% {
        left: -55%;
        transform: scaleX(-1);
    }

    49% {
        left: 150%;
        transform: scaleX(-1);
    }

    50% {
        left: 150%;
        transform: scaleX(1);
    }

    100% {
        left: -55%;
        transform: scaleX(1);
    }
}

#diverDiv {
    width: 10%;
    position: relative;
    top: 3%;
    animation: diverSwim 25s linear infinite;
    z-index: 2;
}

#diver {
    width: 100%;
    display: block;
    transform-origin: center;
    animation: diverSpin 3s linear infinite;
}

@keyframes diverSwim {
    0% {
        left: 150%;
        transform: scaleX(1);
    }

    49% {
        left: -55%;
        transform: scaleX(1);
    }

    50% {
        left: -55%;
        transform: scaleX(-1);
    }

    100% {
        left: 150%;
        transform: scaleX(-1);
    }
}

@keyframes diverSpin {
    from {
        transform: rotate(-0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}
