body {
    background-image: url("images/game_bg.png");
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    background-attachment: fixed;
    margin: 0; 
    padding: 0; 
}

#header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
@font-face {
    font-family: Poppins;
    src: url("fonts/Poppins-Bold.ttf");
}

@font-face {
    font-family: QuickSand;
    src: url("fonts/Quicksand-VariableFont_wght.ttf");
}

#header {
    font-family: Poppins;
    font-size: 46px;
}

.row-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#info-box-wide {
    display: flex;
    justify-content: space-evenly;
    width: 50vw;
    background-color: #FCEAFB;
    border-radius: 50px;
    padding: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#top-info-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#info-box-wide img {
    width: 200px;
    height: 200px;
}

#info-box-wide h2 {
    font-family: Poppins;
    font-size: 36px;
}

#info-box-body {
    font-family: QuickSand;
    font-weight: 600;
    font-size: 28px;
}

.button-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3vh;
    margin-bottom: 3vh;
}

.cta {
    width: 20vw;
    height: 7vh;
    background-color: #000;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cta a {
    text-decoration: none;
    font-family: QuickSand;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.row {
    display: flex;
    justify-content: space-around;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.info-box {
    display: flex;
    flex-direction: column;
    width: 40vw;
    height: fit-content;
    border-radius: 50px;
    padding: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.info-box img {
    width: 40%;
    height: 70%;
    margin-right: 20px;
    margin-left: 20px;
}

.info-box-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.info-box-header {
    font-family: Poppins;
    font-size: 24px;
    margin-left: 20px;
}

.box-body {
    font-family: QuickSand;
    font-size: 22px;
}

.ps-text {
    font-size: 18px;
}

.yellow-bg {
    background-color: #FEF7C5;
}

.blue-bg {
    background-color: #BCD3F9;
}

.green-bg {
    background-color: #D5FFC9;
}

.purple-bg {
    background-color: #F5D1EF;
}

.white-bg {
    background-color: #f7f7f7;
}

.image-credits {
    background-color: #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: QuickSand;
    font-size: 24px;
    margin-top: 40vh;
}

.image-credits a {
    color: #fff;
}

.mobile-button-section {
    display: none;
}

.reviews-container {
    margin: 5vh auto;
}

#reviews-carousel {
    width: 50vw;
    height: 30vh;
    border-radius: 30px;
    margin-top: 1vh;
}

.carousel-inner .item {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 100%; /* Make sure the item takes up the full carousel height */
}

.reviews-container {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}


.reviews-card {
    width: 50vw;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
}

.reviews-card-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 10vw;
    padding-bottom: 10px;
}

.reviews-avatar {
    height: 42px;
    width: 42px;
    padding-top: 5px;
}

.reviews-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0px;
    padding-left: 20px;
}

.reviews-name {
    font-size: 24px;
    padding-left: 2px;
}

.reviews-user-info > img{
    width: 8vw;
    height: 2vh;
}

.reviews-card-body {
    padding-left: 10vw;
    padding-right: 10vw;
}

video {
    width: 100%;
    height: auto;
    display: block;
}



@media (max-width: 1023px) {
    body {
        background: url("images/game_bg.png") no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    #header-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    #header {
        font-family: Poppins;
        font-size: 26px;
    }

    .mobile-button-section {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 3vh;
        left: 10vw;
    }

    .cta {
        width: 80vw;
    }

    .cta a {
        font-size: 20px;
    }

    .button-section {
        display: none;
    }

    .row, .info-box-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #info-box-wide img {
        width: 70px;
        height: 70px;
        display: none;
    }

    .info-box {
        width: 80%; /* Adjust width as needed */
        margin-bottom: 20px; /* Add spacing between cards */
    }

    #info-box-wide {
        width: 80vw;
    }

    #info-box-wide img {
        margin-right: 10px;
    }

    #info-box-wide h2 {
        font-size: 18px;
    }
    
    #info-box-body {
        font-size: 13px;
    }

    .info-box-header {
        font-size: 16px;
    }

    .info-box img {
        width: 80%;
        height: 40%;
        margin-bottom: 10px;
    }

    .box-body {
        font-family: QuickSand;
        font-size: 14px;
    }

    .ps-text {
        font-size: 10px;
    }

    .image-credits {
        background-color: #fff;
        color: #000;
        font-size: 16px;
        padding-bottom: 12vh;
        margin-top: 20vh;
    }

    .image-credits a {
        color: #000;
    }

    #reviews-carousel {
        width: 90vw; /* Make carousel wider on smaller screens */
        height: auto;  /* Adjust height to content, or set a minimum */
        min-height: 40vh; /* Ensure a minimum height for the carousel */
        border-radius: 20px; /* Slightly smaller radius for smaller screens */
        margin-top: 2vh;
    }

    .reviews-card {
        width: 90vw; /* Make cards wider, match carousel */
        height: auto; /* Adjust height to content */
        min-height: 35vh;
        border-radius: 20px;
        flex-direction: column; /* Stack items vertically if needed */
    }

    .reviews-card-header {
        align-items: flex-start;  /* Align items to the start (top) */
        padding-left: 5vw; /* Adjust padding for smaller screens */
        padding-bottom: 2vw;
    }

    .reviews-avatar {
        height: 50px; /* Slightly larger avatar on mobile */
        width: 50px;
        padding-top: 10px;
    }

    .reviews-user-info {
        padding-left: 10px; /* Remove left padding on user info */
        padding-top: 10px; /* Add top padding to user info */
    }

    .reviews-name {
        font-size: 20px; /* Smaller font size on mobile */
    }

    .reviews-user-info > img {
        width: 20vw; /* Adjust image width as needed */
        height: auto;  /* Maintain aspect ratio */
        max-height: 3vh;
    }

    .reviews-card-body {
        padding-left: 5vw;
        padding-right: 5vw;
        font-size: 0.9em; /* Smaller font size for body text */
    }

    .carousel-indicators {
       bottom: -20px; /* Adjust position of indicators on mobile */
    }

    .carousel-indicators li {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    .carousel-indicators li.active {
        width: 12px;
        height: 12px;
    }
    .reviews-container{
        margin-top: 2vh;
    }
}