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

body {
    font-family: 'Roboto Slab', serif;
    line-height: 1.6;
    color: #D9DED9;
}

hr {
    color: #F2CA16;
    margin: 4px 0;
}

/* Общие стили */
.wrapper {
    background: #070626;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Header */
.container {
    padding: 5px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #070626;
    padding: 3px 10px;
/*    position: relative; */ 
}

/* Стили для логотипа */
.header-logo {
 /*   position: absolute; */
    top: 7px; 
    left: 20px; 
}

.logo {
    width: 60px;
    height: 35px;
    border-radius: 4px;
    border: 1px solid #F2CA16;
/*    max-width: 100%;
    object-fit: contain;*/
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 34px;
    width: 42px;
    background: transparent;
    border-radius: 4px;
    border: 1px solid #F2CA16;
    cursor: pointer;
    top: 15px;
/*    transition: transform 0.3s ease; */
}

/*  .burger-btn */ 

.burger-line {
    width: 30px;
    height: 2px;
    background: #B9BFBC;
    margin: 3px 0;
    transition: all 0.3s ease;
/*    transform 0.3s ease,opacity 0.3s ease; */

}


.burger-btn.open .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}


.burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
}


.burger-btn.open .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


nav {
    display: flex;
}

/*
nav.active {
    display: block;
} */

nav ul {
    list-style: none;
    display: flex; 
    padding: 0;
}

/*
nav ul.active {
    display: block;
}  */


nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color:  #D9DED9;
    font-size: 17px;
}

/* Hero секция */
.hero {
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1px 0;
}

.hero--info {
    padding-top: 3px;
    padding-bottom: 20px;
}
/*
.triple-line {
    border: none;
    margin: 10px 0;
    position: relative;
    height: 2px;
} */

.hero--info p {
    font-size: 18px;
} 

.hero--info p b b{
    color: #F2CA16;
    text-decoration: underline;
}

.hero--info h1 a{
    color: #F2CA16;
}

.hero img {
    border-radius: 7px;
    max-width: 100%;
    height: auto;
    border: 1px solid #F2CA16;
    padding: 1px;
    background-color: #F2CA16;
}

/* Trending секция */
.trending {
    margin: 20px 0;
    text-align: center;
}

.trending p {
    font-size: 18px;
}

.games {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.block {
    padding-top: 20px;
    padding-bottom: 20px;
    flex: 1 1 calc(25% - 20px);
    text-align: center;
}

.block span a {
    color: #F2CA16;
}

.block img {
    border-radius: 7px;
    max-width: 100%;
    height: 70%;
    border: 1px solid #F2CA16;
}

/* Big text секция */
.big-text {
    margin: 20px 0;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
}

/* Banner секция */
/*
.banner {
    text-align: center;
    margin: 40px 0;
}
*/

/*
.banner img {
    max-width: 100%;
    height: 80%;
}
*/

/* Адаптивные стили */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .burger-btn {
        display: flex;
        position: absolute;
        top: 15px;
        right: 20px;

    }

    nav {
        display: none;
        flex-direction: column;
        background: #052E08;
        width: 100%;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
/*        position: absolute;
        top: 100%;
        right: 0;
        background: #052E08; */
        width: 100%;
/*        display: none;
        padding: 10px; */
    }

    nav.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .games {
        flex-direction: column;
    }

    .block {
        flex: 1 1 100%;
    }

    .big-text {
        font-size: 33px;
    }
}

@media (max-width: 480px) {
    header nav {
        display: none;
    }
    .burger-btn {
        display: flex;
    }


    nav ul li {
        margin: 0 10px;
    }
}
