* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f9;

}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #5D576B;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    gap: 20px;
}

li a {
    display: block;
    text-align: center;
    padding: 18px 20px;
    text-decoration: none;
    font-size: 28px;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-family: "Play", sans-serif;
}

li a:hover {
    background-color: rgb(153, 131, 228);
    border-radius: 10px;
    color: #333;
    transform: scale(1.1);
}

.hero-banner {
    margin-top: 80px;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-banner h1 {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    font-family: "Play", sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#myVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-onderstukje {
    height: 100vh;
    background-image: url('/images/las-vegas-buildings-hd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    font-family: "Play", sans-serif;
    font-size: 1.5rem;
    position: relative;
}

.talking-hero {
    width: 90rem;
    height: 50rem;
    background-color: rgba(244, 241, 187, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    font-family: "Play", serif;
    font-weight: 700;
    font-style: normal;
}

p {
    font-family: "Play", serif;
    font-weight: 400;
    font-style: normal;
}

.achtergrond_contact {
    height: 150vh;
    background-image: url('/images/achtergrond_contact.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.foto_kop_contacten {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    height: 200px;

}

.foto_kop_contacten img {
    width: 770px;

}

.container_contact {
    display: flex;
    justify-content: center;
}

.contactgegevens img {
    height: 450px;

}

.Contactinfo {
    color: white;
}

.vragenc {
    display: flex;
    justify-content: center;
    font-size: 30px;
    margin-top: 50px;
}

.letschat {
    display: flex;
    justify-content: center;
    margin-top: 75px;

}

.gegevens-contacten {
    display: flex;
    justify-content: center;
    gap: 300px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.inputcontacten {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.inputcontacten div {
    flex: 1;
    display: flex;
}

.voornaamcontacten {
    display: flex;
    flex-direction: column;
}

.achternaamcontacten {
    display: flex;
    flex-direction: column;
}

.telefoon-gevens p {
    font-weight: bold;
}

.email-gevens p {
    font-weight: bold;
}

.emailcontacten {
    display: flex;
    flex-direction: column;

}

.emailcontacten input {
    margin: 0;
    width: 230px;
}

.berichtcontacten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    resize: none;
}

.messagebalk {
    display: flex;
    justify-content: center;

}

.knopcontacten {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.knopcontacten button {
    height: 60px;
    width: 100px;
    font-size: 16px;
    background-color: black;
    color: white;
    border-radius: 10px;
}

.contact-box {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(93, 87, 107, 1);
}

.titlegamecraft h2 {
    display: flex;
    margin-top: 130px;
    font-size: 40px;
    justify-content: center;
    color: white;
    text-shadow: 3px 3px black;
    font-family: "Play", sans-serif;
}

.gamebox {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(237, 106, 90, 1);

}

.textboxgamepagina p {
    display: flex;
    color: white;
    justify-content: center;
    font-size: 40px;
    font-family: "Play", sans-serif;
    text-shadow: 3px 3px black;
}

.info-box {
    display: flex;
    font-family: "Play", sans-serif;
    max-width: 80vh;
    margin: 50px auto;
    margin-top: 35vh;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
    align-items: center;
    flex-direction: column;
}

.info-box h2 {
    padding-bottom: 20px;
}

.gamecontainer {
    display: flex;
    justify-content: space-around;
    margin-top: 100px;
    margin-bottom: 100px;
}


.game2 img {
    display: flex;
    width: 300px;

}

.buttongame2 {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.buttongame2 button {
    height: 60px;
    width: 100px;
    font-size: 16px;
    background-color: black;
    color: white;
    border-radius: 10px;
}

.hero-talking-div {
    display: flex;
    width: 90rem;
    height: 50rem;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgba(244, 241, 187, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.hero-talking-div div {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-evenly;
}

.hero-talking-div img {
    width: 40rem;
    border-radius: 10px;
}

.hero-talking-div p {
    width: 30rem;
    font-size: 1.5rem;
    font-family: "Play", serif;
    font-weight: 400;
    font-style: normal;
}

.hero-talking-div h1 {
    font-size: 2.5rem;
    font-family: "Play", serif;
    font-weight: 700;
    font-style: normal;
}

.hero-talking-div.visible {
    animation: fadeIn 2s ease-in-out;
}

.uitlegtekst {
    display: flex;
    font-size: 24px;
    padding-top: 100px;
    flex-direction: column;
    align-items: center;
    color: white;
    text-shadow: 1.5px 1.5px black;

}

.uitlegtekst p {
    max-width: 60vw;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-title {
    position: relative;
    font-size: 4rem;
    font-family: "Play", sans-serif;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideIn 1.5s ease-out forwards, moveUp 1.5s ease-in-out 1.5s forwards;
}

.animated-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    /* Initial position */
    left: 0;
    width: 0%;
    height: 4px;
    /* Thickness of the line */
    background-color: white;
    transition: width 0.5s ease-in-out;
    animation: lineGrow 0.5s ease-in-out 3s forwards;
}

@keyframes slideIn {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes moveUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes lineGrow {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.footerhero {
    background-color: #0A0F29;
    /* Dark blue color */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-family: "Play", sans-serif;
    font-size: 1rem;
    position: relative;
    /* Default placement */
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.footerhero p {
    margin: 0;
}