body {
    padding: 0px;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(../img/bgindex.png);
    background-size: cover;
    position: relative;
    background-color: black;
}

main {
    margin: 0 3%;
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    padding: 5px 30px;
    background-color: #000000;
    border-bottom: 4px solid #090909;
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-self: start;

}

.logo img {
    padding: 10px 0 0 0;
}

.logo p {
    font-size: 24px;
    background: linear-gradient(to right, #8B5CF6, #3B82F6, #06B6D4);
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
}

.links {
    display: flex;
    gap: 20PX;
    justify-self: center;
}

.links a {
    text-decoration: none;
    color: #D1D5DC;
    font-size: 16px;
}

.links a:hover {
    opacity: 0.6;
}

.nav a.icon {
    display: none;
    color: #D1D5DC;
    font-size: 24px;
    padding: 10px;
}

.welcometothefuture {
    padding: 15px 24px;
    width: 15%;
    height: auto;
    border-radius: 250px;
    color: #53EAFD;
    font-size: 16px;
    border-radius: 50px;
    border: 1px solid rgba(173, 70, 255, 0.50);
    background: linear-gradient(90deg, rgba(152, 16, 250, 0.30) 0%, rgba(0, 146, 184, 0.30) 100%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    margin-top: 5%;
}

.title {
    text-align: center;
}

.title>p:first-child {
    font-size: 96px;
    background: linear-gradient(to right, #C27AFF 0%, #FB64B6 50%, #00D3F2 100%);
    background-clip: text;
    color: transparent;
    margin: 0px;
    margin-top: 1%;
}

.titletext {
    font-size: 24px;
    color: #D1D5DC;
}

.titlebuttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    user-select: none;
}

.btnstartplaying {
    border-radius: 10px;
    background: linear-gradient(90deg, #E60076 0%, #9810FA 50%, #E60076 100%);
    background-size: 200%;
    background-position: 100%;
    box-shadow: 0 10px 15px -3px rgba(173, 70, 255, 0.50), 0 4px 6px -4px rgba(173, 70, 255, 0.50);
    padding: 15px 30px 15px 30px;
    color: white;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.btnlearnmore {
    border-radius: 10px;
    border: 0.1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    padding: 15px 30px 15px 30px;
    color: white;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    background: linear-gradient(90deg, #ffffff1a 0%, #ffffff2d 25%, #ffffff47 50%, #ffffff1a 100%);
    background-size: 300%;
}

.btnlearnmore:hover {
    transform: scale(1.1);
    background-position: 100%;
}


.btnstartplaying:hover {
    transform: scale(1.1);
    background-position: 0%;
}

.ftdtitle {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 5%;
}

.ftdtitle p {
    margin: 0px;
}

.ftdtitle :nth-child(1) {
    font-size: 48px;
    background: linear-gradient(90deg, #C27AFF 0%, #00D3F2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ftdtitle :nth-child(2) {
    font-size: 18px;
    color: #99A1AF;
    margin-top: 23px;
}

.featured {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.cardimg {

    width: 100%;
    height: 100%;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.cardflex {
    margin-top: 5%;
    display: flex;
    justify-content: space-around;
}

.gamecard {
    width: 25%;
    height: 480px;
    background-color: red;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.050);
    border: 1px solid rgba(255, 255, 255, 0.100);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in-out;
}

.gamecard:hover {
    transform: scale(1.05);
}

.gamecard h1 {
    color: white;
    font-size: 24px;
    font-weight: normal;
}

.rating {
    height: 12px;
    padding: 5px 10px;
    width: fit-content;
    border-radius: 50px;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.indexSymbol {
    height: 48px;
}

.rating img {
    width: 13px;
    height: 12px;
}

.carddown p {
    color: #99A1AF;
    font-size: 16px;
    line-height: 26px;
}

.cardPadding {
    display: flex;
    height: 100%;
    padding: 10px 10px 0 10px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.cardup {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    flex: 1.5;
    padding: 10px 10px 0 10px;
    display: flex;
    justify-content: space-between;
    border-radius: 14px;
}

.backgrnd1 {
    background-image: url(../img/indexpixelrush.png);
}

.backgrnd2 {
    background-image: url(../img/indexstellarbattle.png);
}

.backgrnd3 {
    background-image: url(../img/indexblackjack.png);
}

.carddown {
    flex: 2;
    padding-left: 24px;
    padding-right: 24px;
}

.btnplay {
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, #E60076 0%, #9810FA 50%, #E60076 100%);
    background-size: 200%;
    background-position: 100%;
    user-select: none;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10%;
    margin-bottom: 10%;
    transition: 0.3s ease-in-out;
}

.btnplay:hover {
    transform: scale(1.1);
    background-position: 0%;
}

.info {
    margin-top: 5%;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 12%;
}

.infocard {
    width: 240px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.050);
    border: 1px solid rgba(255, 255, 255, 0.100);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
}

.infocard h3 {
    font-size: 36px;
    margin: 0;
    background: linear-gradient(to right, #8B5CF6, #3B82F6, #06B6D4);
    background-clip: text;
    color: transparent;
}

.infocard p {
    color: #99A1AF;
}

.footer {
    border-top: 4px solid #090909;
    text-align: center;
    color: #99A1AF;
    background-color: black;
    padding: 50px;
}

.footer p:nth-child(1) {
    font-size: 16px;
}

.footer p:nth-child(2) {
    font-size: 14px;
    margin: 0px;
}

/* tablet responsive (768px enonder) */
@media (max-width: 768px) {
    body {
        background-size: cover;
    }

    main {
        margin: 0 5%;
    }

    .nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000000;
        padding: 20px 0;
        gap: 0;
        z-index: 1000;
    }

    .links a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .nav a.icon {
        display: block;
        position: static;
    }

    .welcometothefuture {
        width: 60%;
        font-size: 13px;
        padding: 10px 18px;
        margin-top: 5%;
    }

    .welcometothefuture img {
        width: 20px;
        height: 20px;
    }

    .title>p:first-child {
        font-size: 50px;
        margin-top: 3%;
    }

    .titletext {
        font-size: 16px;
        line-height: 24px;
    }

    .titlebuttons {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btnstartplaying,
    .btnlearnmore {
        padding: 10px 22px;
        font-size: 13px;
    }

    .ftdtitle {
        margin-top: 6%;
    }

    .ftdtitle :nth-child(1) {
        font-size: 32px;
    }

    .ftdtitle :nth-child(2) {
        font-size: 14px;
        margin-top: 12px;
    }

    .cardflex {
        flex-wrap: wrap;
        gap: 25px;
        margin-top: 6%;
        justify-content: center;
    }

    .gamecard {
        width: 48%;
        height: auto;
    }

    .gamecard h1 {
        font-size: 18px;
    }

    .cardup {
        padding-left: 18px;
        padding-right: 18px;
        padding-top: 15px;
        height: 150px;
    }

    .cardup img:nth-child(2) {
        height: 40px;
    }

    .carddown {
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 15px;
    }

    .carddown p {
        font-size: 14px;
        line-height: 20px;
    }

    .btnplay {
        font-size: 13px;
        margin-top: 12px;
        padding: 9px 16px;
    }

    .rating {
        font-size: 12px;
        padding: 5px 10px;
        height: fit-content;
    }

    .info {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin-top: 6%;
        margin-bottom: 10%;
    }

    .infocard {
        width: 45%;
        height: auto;
        padding: 20px;
    }

    .infocard h3 {
        font-size: 26px;
        margin: 10px 0;
    }

    .infocard p {
        font-size: 13px;
        margin: 5px 0;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer p:nth-child(1) {
        font-size: 14px;
    }

    .footer p:nth-child(2) {
        font-size: 12px;
    }
}

/* telefoon responsive (480px en onder) */
@media (max-width: 480px) {
    main {
        text-align: center;
    }

    body {
        background-size: cover;
    }

    main {
        margin: 0 4%;
    }


    .nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000000;
        padding: 20px 0;
        gap: 0;
        z-index: 1000;
    }

    .links a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .nav a.icon {
        display: block;
        position: static;
    }

    .welcometothefuture {
        width: 75%;
        font-size: 11px;
        padding: 8px 14px;
        margin-top: 6%;
        gap: 8px;
    }

    .welcometothefuture img {
        width: 18px;
        height: 18px;
    }

    .title>p:first-child {
        font-size: 32px;
        margin-top: 4%;
        line-height: 1.2;
    }

    .titletext {
        font-size: 13px;
        line-height: 18px;
        padding: 0 10px;
    }

    .titlebuttons {
        gap: 10px;
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }

    .btnstartplaying,
    .btnlearnmore {
        margin: 0 auto;
        padding: 10px 18px;
        font-size: 12px;
        width: 80%;
        text-align: center;
    }

    .ftdtitle {
        margin-top: 7%;
    }

    .ftdtitle :nth-child(1) {
        font-size: 22px;
    }

    .ftdtitle :nth-child(2) {
        font-size: 12px;
        margin-top: 8px;
    }

    .cardflex {
        flex-direction: column;
        gap: 18px;
        margin-top: 7%;
        align-items: center;
    }

    .gamecard {
        width: 95%;
        height: auto;
    }

    .gamecard h1 {
        font-size: 16px;
    }

    .cardup {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 12px;
    }

    .cardup img:nth-child(2) {
        height: 36px;
    }

    .carddown {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 12px;
    }

    .carddown p {
        font-size: 12px;
        line-height: 18px;
    }

    .btnplay {
        font-size: 11px;
        margin-top: 15px;
        padding: 8px 14px;
    }

    .rating {
        font-size: 11px;
        padding: 4px 8px;
        height: fit-content;
    }

    .rating img {
        width: 12px;
        height: 12px;
    }

    .info {
        flex-direction: column;
        gap: 12px;
        margin-top: 7%;
        margin-bottom: 12%;
        align-items: center;
    }

    .infocard {
        width: 90%;
        height: auto;
        padding: 15px;
    }

    .infocard h3 {
        font-size: 20px;
        margin: 8px 0;
    }

    .infocard p {
        font-size: 11px;
        margin: 4px 0;
    }

    .footer {
        padding: 20px 15px;
    }

    .footer p:nth-child(1) {
        font-size: 12px;
    }

    .footer p:nth-child(2) {
        font-size: 11px;
    }
}