@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --montserrat: "Montserrat", sans-serif;

    --black: #191919;
    --secondBlack: #191919;
    --redBrown: #750E21;
    --orange: #E3651D;
    --yellow: #dad71e;
    --colorText: #FFFFFF;
}

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

body{
    font-family: var(--montserrat);
    background: var(--black);
    color: var(--colorText);
}

a{
    text-decoration: none;
    color: var(--yellow);
    transition: all ease-in-out 0.5s;
}


.container{
    width: 100%;
    max-width: 1280px;
    position: relative;
    padding: 0 24px;
    margin: auto;
}

.hero{
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: url('../images/background.jpg') no-repeat center;
    background-size: cover;
    &::before{
        content: '';
        width: 100%;
        height: 50%;
        background: linear-gradient(0deg, var(--black) 0%, transparent 100%);
        position: absolute;
        bottom: 0;
    }
}

.hero-text{
    width: 100%;
    max-width: 700px;
    font-size: 1.2em;
    position: absolute;
    right: 60px;
    margin-left: auto;
    padding: 40px;
    transform: translate(0%, 40%);
    h1{
        font-size: 1.7em;
        margin-bottom: 0.7em;
    }
    p{
        margin-bottom: 2.4em;
    }
}

.navigation{
    background: rgb(247 247 247 / 12%);
    backdrop-filter: blur(8px);
    position: absolute;
    z-index: 9;
    margin: auto;
    left: 0;
    right: 0;
    top: 30px;
    width: fit-content;
    padding: 15px 24px;
    border-radius: 50px;
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #bdbdbd;
    .logo{
        img{
            height: 30px;
        }
        span{
            display: none;
        }
    }

    .menu{
      list-style: none;
      display: flex;
      gap: 15px;
      font-size: 1em;
      font-weight: 700;
      a{
        color: var(--yellow);
        &:hover{
            color: var(--orange);
        }
      }
    }

    .ctas{
        list-style: none;
        display: flex;
        
        a{
            display: inline-block;
            background-color: var(--black);
            padding: 13px 17px;
            font-weight: 600;
            font-size: 15px;
        }
        li:first-child{
            a{
                border-radius: 40px 0 0 40px;
                &:hover{
                    background-color: #424141;
                    color: #FFFFFF;
                }
            }
        }         
        li:last-child{
            a{
                border-radius: 0 40px 40px 0;
                background-color: var(--yellow);
                color: var(--black);
                &:hover{
                    background-color: #f27908;
                }
            }
        }         
    }
}


.btn-grad {background-image: linear-gradient(to right, #FF8008 0%, #FFC837  51%, #FF8008  100%)}
.btn-grad {
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: rgb(0, 0, 0);            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-block;
    font-weight: 700;
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: var(--secondBlack);
    text-decoration: none;
}

.games, .promo, .cta, .faq, .game-categories {
    padding: 60px 24px;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.game-list, .promo-list, .category-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    white-space: nowrap;
}

.game-card, .promo-card, .faq-item, .category-card {
    background: #222;
    padding: 20px 10px;
    border-radius: 10px;
    width: 130px;
    text-align: center;
    margin-bottom: 20px;
}

.game-card{
    width: 250px;
    aspect-ratio: 2 / 2.3;
    white-space: normal;
    font-size: 14px;
    padding: 0;
}

.promo-list{
    display: flex;
    flex-wrap: nowrap;
}
.promo-card{
    width: auto;
    white-space: normal;
}

.category-card img {
    height: 30px;
    margin-bottom: 15px;
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.game-card h3, .promo-card h3, .faq-item h3, .category-card h3 {
    font-size: 1em;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--yellow);
}

.game-card h3{
    font-size: 1.3em;
    font-weight: 600;
}
.promo-card h3{
    font-size: 1.4em;
    font-weight: 600;
}

.cta {
    background: #222;
}

.cta a{
    margin-top: 30px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item{
    width: 100%;
    padding: 60px 40px;
}
.faq-item h3{
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
}

footer {
    background: #111;
    padding: 40px 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--yellow);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-social a {
    margin-right: 15px;
}

.footer-social img {
    height: 24px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

@media (max-width: 920px) {
    .navigation{
        padding: 8px 8px;
        .logo{
            img{
                height: 25px;
                margin-left: 10px;
            }
        }
        .menu{
            font-size: 14px;
            font-weight: 500;
        }
        .ctas{
            font-size: 14px;
            font-weight: 400;
            li{
                a{
                    padding: 8px 15px;
                }
            }
        }
    }

}


@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        top: 0;
        border-radius: 0;
        border: none;
        border-bottom: 3px solid #e0e0e0;
        padding: 30px 10px;
    }

    .hero-text {
        transform: none;
        right: 0;
        left: 0;
        bottom: 100px;
        margin: auto;
        text-align: center;
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 1.5em;
    }

    .game-list, .promo-list, .category-list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
