#welcomeDiv {
    background-color: #8cbaeb;
    position: relative;
    z-index: 0;
    overflow: hidden;
}
a{
    text-decoration: none;
}

p{
    color: #e1e1e1;
    font-size: 1.2em;
}

#image-wrapper {
    position: relative;
    height: 100vh;
    will-change: transform;
    overflow: hidden;
}

#romIMG {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 2s linear;
}

#textDiv,
#cloud-wrapper {
    will-change: transform;
}

.blur-bottom {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 40%;

    backdrop-filter: blur(100px);

    mask-image: linear-gradient(to top, black 0%,
    rgba(0, 0, 0, 0.9) 20%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0) 100%);

    background: linear-gradient(
            to top,
            #f1f1f1 0%,
            rgba(241, 241, 241, 0.8) 30%,
            rgba(241, 241, 241, 0.4) 60%,
            transparent 80%
    );
    will-change: backdrop-filter, transform;
    transform: translateZ(0);
}

#textDiv {
    padding-top: 1px;
    text-align: center;
    font-size: 1.3em;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    color: lightcyan;
}

#textDiv h1 {
    margin: 0px;
}

#roman {
    overflow: hidden;
    font-size: 4em;
    font-family: "Times New Roman";
    color: gold;
}

#cloud-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

#cloud-wrapper img {
    position: absolute;
    left: 10%;
    top: 5%;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

#downLink {
    position: absolute;
    top: 62vh;
    left: 50%;
    transform: translateX(-50%);
}

#downLink img {
    width: 45%;
    animation: arrowFloat 3s ease-in-out infinite;
}

@keyframes arrowFloat {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    60% {
        transform: translateY(15px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
}

.section{
    margin: 0;
    height: auto;
    min-height: 500px;
    padding: 40px;
    position: relative;
    border-radius: 6px;
    text-align: center;
}

.puzzel{
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.section1 {
    background: #f1f1f1;
}

.section2 {
    background: #2a9d8f;
    border: #023535 2px solid;
}

.section3 {
    background: #f1f1f1;
    border-right: #023535 2px solid;
    border-left: #023535 2px solid;
}

.section4 {
    background: #2a9d8f;
    border: #023535 2px solid;
}

.flexWrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.game-card{
    background-color: #023535;
    width: 350px;
    height: 350px;
    border-radius: 15px;
    transition: 0.5s;
    padding: 20px;
}

.game-card h2{
    text-align: center;
    font-family: gameFont;
    color: #e1e1e1;
}

.game-card:hover{
    width: 365px;
    height: 365px;
    transition: 0.5s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

.gameInnerDiv{
    margin-top: 50px;
}

.gameUl{
    padding-left: 20px;
    color: #e1e1e1;
    text-align: left;
    font-size: 1.2em;
}

.gameImg{
    width: 50%;
    justify-content: right;
    border-radius: 5px;
}

#neonSpeedImg{
    width: 50%;
    justify-content: right;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    border: none;
    cursor: pointer;
    z-index: 10;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.prev { left: 0;}
.next { right: 0; }

.carousel-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.prev::before {
    background: linear-gradient(
            to right,
            rgba(0, 15, 60, 0.85) 0%,
            rgba(0, 15, 60, 0.6) 20%,
            rgba(0, 15, 60, 0.2) 50%,
            transparent 100%
    ),
    linear-gradient(
            to bottom,
            rgba(0,0,0,0.3),
            transparent 40%
    );
}

.next::before {
    background: linear-gradient(
            to left,
            rgba(0, 15, 60, 0.85) 0%,
            rgba(0, 15, 60, 0.6) 20%,
            rgba(0, 15, 60, 0.2) 50%,
            transparent 100%
    ),
    linear-gradient(
            to bottom,
            rgba(0,0,0,0.3),
            transparent 40%
    );
}

.carousel-btn:hover::before {
    opacity: 1;
}

@media screen and (max-width: 900px) {
    #cloud-wrapper {
        left: -80%;
        bottom: 15%;
    }
    #downLink {
        display: none;
    }
    .paginationBtn {
        width: 17%;
    }
}

.section3 input {
    font-size: 1.2em;
    width: 70%;
    margin-top: 10px;
    border-radius: 10px;
    padding: 3px;
}