* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}

body {
    margin: 0;
    font-family: "Arimo", system-ui;
    background: #323131;
    color: #FFFFFF;
}

h1, h2, h3, h4 {
    font-family: "Cinzel", serif;
    font-weight: 700;
}

.container {
    max-width: 1578px;
    margin: auto;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 28px 0;
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
    gap: 52px;
}

.logo {
    order: 1;
    max-width: 100px;
}

.menu-items li {
    list-style: none;
    font-size: 18px;
}

.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    opacity: 0.7;
    transition: 1s;
    color: #7e0d93;
}

.copyright{
    font-family: "Arimo", system-ui;
    font-weight: bold;
}

@media screen and (max-width: 1600px) {
    .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1200px) {
    .menu-items li {
        font-size: 15px;
    }

    .menu-items {
        gap: 25px;
    }

    .logo img {
        max-width: 200px;
    }

    .navbar {
        padding: 8px 0;
    }
}

/*nav*/
@media (max-width: 830px) {
    .logo img {
        max-width: 150px;
    }

    .navbar {
        opacity: 0.95;
        padding: 0;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: block;
        position: relative;
        padding: 3px 0;
        height: 64px;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        height: 28px;
        width: 35px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
    }

    .line{
        background: white;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0 0;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items {
        padding-top: 100px;
        height: calc(100vh + 10px);
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin: -10px 0 0 -40px;
        padding-left: 60px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0 10px 0 #aaa;
        overflow: scroll;
        background: #323131;
    }

    .navbar .menu-items li {
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
}

@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }
}

.request{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.request .container {
    margin: 0;
}

.callback-text{
    padding-bottom: 40px;
}

.info h2 {
    font-size: 64px;
}

.info ol {
    padding: 0;
}

.info li {
    list-style-position: inside;
    font-size: 32px;
}

.info li span:first-child {
    padding-top: 40px;
}

.info li span:last-child {
    padding-bottom: 40px;
}

.info span {
    display: block;
    padding: 20px 0;
}

.info {
    margin-top: 120px;
    padding-top: 92px;
}

.info a {
    text-decoration: none;
}

.footer-info {
    padding-top: 120px;
    padding-bottom: 90px;
}

.info-links {
    display: flex;
    justify-content: space-between;
    max-width: 368px;
    margin: auto;
}

.info-links a {
    font-size: 16px;
    font-weight: normal;
}

.copyright {
    text-align: center;
    padding-top: 38px;
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.info li ol{
    padding: 40px 0;
}

.info li ol li{
    padding-bottom: 40px;
}

.info li ol li:last-child{
    padding-bottom: 0;
}

ol, ol ol {
    list-style: none;
    counter-reset: li;
}

ol li:before {
    counter-increment: li;
    content: counters(li, ".") ". ";
}

@media screen and (max-width: 1200px) {
    .info{
        margin-top: 80px;
    }
}

@media screen and (max-width: 1000px) {
    .info{
        padding-top: 45px;
    }
    .info h2 {
        font-size: 44px;
    }
    .info li {
        font-size: 25px;
    }
    .info li span:first-child {
        padding-top: 20px;
    }
    .info span {
        padding: 10px 0;
    }
    .info li span:last-child {
        padding-bottom: 20px;
    }
    .info li ol{
        padding: 20px 0;
    }
    .info li ol li{
        padding-bottom: 20px;
    }
    .footer-info {
        padding-top: 60px;
        padding-bottom: 45px;
    }
    .copyright{
        font-size: 20px;
    }
}

@media screen and (max-width: 500px) {
    .info{
        padding-top: 35px;
    }
    .info h2 {
        font-size: 34px;
    }
    .info li {
        font-size: 22px;
    }
    .info li span:first-child {
        padding-top: 16px;
    }
    .info span {
        padding: 8px 0;
    }
    .info li span:last-child {
        padding-bottom: 16px;
    }
    .info li ol{
        padding: 16px 0;
    }
    .info li ol li{
        padding-bottom: 16px;
    }
    .footer-info {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .copyright{
        font-size: 18px;
    }
}

h1 {
    font-size: 96px;
    margin: 0;
    padding-bottom: 40px;
}

h2 {
    text-align: center;
    font-size: 45px;
    padding-bottom: 76px;
    margin: 0;
}

h3 {
    font-size: 35px;
    margin: 0;
}

h4 {
    font-size: 30px;
    margin: 0;
    padding-bottom: 20px;
}

.img-responsive {
    width: 100%;
    height: auto;
}

.catalog-btn:hover, .feedback-btn:hover, a:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: 1s;
}

main {
    padding-bottom: 191px;
}

/*header*/
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    margin-top: 120px;
    background-size: cover;
}

.header-text {
    width: 70%;
    max-width: 1275px;
    margin: auto;
    padding: 10px;
    text-align: center;
}

.header-text p {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/*about us*/
.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
    padding: 130px 0;
}

.about-left-col {
    width: 55%;
}

.about-right-col {
    width: 40%;
}

.about h2 {
    margin: 0;
    padding-bottom: 24px;
    text-align: left;
}

.about p {
    margin: 0;
    font-size: 28px;
}

.about-img {
    width: 100%;
    height: auto;
}

.catalog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 95px;
}

.films-item-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2%;
}

.catalog h3 {
    padding-bottom: 30px;
}

.catalog p {
    padding-bottom: 25px;
}

.catalog-img, .catalog-btn-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.catalog-img {
    width: 25%;
}

.catalog-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    font-size: 25px;
}

.catalog-btn-wrapper {
    width: 20%;
    align-items: flex-end;
}

.catalog-btn {
    display: flex;
    justify-content: center;
    width: 323px;
    padding: 28px 10px;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-family: "Cinzel", serif;
    font-size: 25px;
    font-weight: bold;
    background-color: #7e0d93;
    color: #FFFFFF;
}

/*footer*/
footer {
    padding: 108px 0 59px;
    background: #323131;
}

footer a {
    text-decoration: none;
    color: #FFFFFF;
}

/*feedback*/
#feedback {
    max-width: 1352px;
    margin: auto;
    padding: 0 73px 71px;
}

#feedback form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.feedback-field {
    display: block;
    width: 100%;
    font-size: 30px;
    border-radius: 10px;
    padding: 22px 35px;
    background-color: #323131;
    color: #FFFFFF;
    border: 1px solid #7e0d93;
}

#feedback textarea {
    height: 238px;
}

.feedback-field:focus {
    outline: none;
}

.feedback-btn {
    padding: 33px 0;
    font-family: "Cinzel", serif;
    font-size: 30px;
    background-color: #7e0d93;
    color: #FFFFFF;
}

#contacts {
    font-weight: bold;
}

.contacts-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts-wrapper-left-col {
    width: 30%;
}

.contacts-wrapper-right-col {
    width: 65%;
}

.contacts-address, .contacts-link {
    padding-bottom: 67px;
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.contacts-link {
    display: block;
}

.contacts-link:last-child {
    padding-bottom: 0;
}

.info {
    padding-top: 130px;
}

.info-links {
    display: flex;
    justify-content: space-between;
    max-width: 368px;
    margin: auto
}

.info-links a {
    font-size: 16px;
    font-weight: normal;
}

.copyright {
    text-align: center;
    padding-top: 38px;
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 24px;
    font-weight: bold;
}

@media screen and (max-width: 1500px) {
    h1 {
        font-size: 76px;
    }

    .header-text p {
        font-size: 28px;
    }

    .about p {
        font-size: 24px;
    }

    .catalog-btn {
        width: 243px;
        font-size: 20px;
        padding: 23px 10px;
    }

    .catalog-text {
        font-size: 22px;
    }
}

@media screen and (max-width: 1200px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 34px;
        padding-bottom: 45px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22px;
        padding-bottom: 12px;
    }

    .header {
        margin-top: 80px;
    }

    .header-text p {
        font-size: 24px;
    }

    .catalog-btn {
        width: 183px;
        font-size: 18px;
        padding: 18px 10px;
    }

    .catalog-text {
        font-size: 18px;
    }

    .about p {
        font-size: 19px;
    }

    .feedback-field {
        font-size: 23px;
        padding: 15px 25px;
    }

    .about {
        padding: 80px 0;
    }

    .catalog-wrapper {
        gap: 45px;
    }

    main {
        padding-bottom: 100px;
    }

    footer {
        padding: 58px 0 30px;
    }

    .contacts-link, .contacts-address {
        font-size: 14px;
        padding-bottom: 30px;
    }

    .info {
        padding-top: 65px;
    }

    .copyright {
        padding-top: 24px;
    }
}

@media screen and (max-width: 830px) {
    .films-item-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px
    }

    .catalog-text, .catalog-btn-wrapper, .catalog-btn {
        width: 100%;
    }

    .catalog-img {
        width: 60%;
    }

    .header {
        margin-top: 64px;
    }

    .header-text {
        width: 90%;
    }

    .catalog-text h3 {
        text-align: center;
    }

    .about {
        flex-wrap: wrap;
    }

    .about-left-col {
        width: 70%;
        margin: auto;
    }

    .about-right-col {
        width: 100%;
        padding-top: 30px;
    }

    .about-right-col h2 {
        text-align: center;
    }
}

@media screen and (max-width: 540px) {
    h1 {
        font-size: 36px;
    }

    .header-text p {
        font-size: 22px;
    }

    h2 {
        font-size: 28px;
    }

    .contacts-wrapper-left-col {
        width: 100%;
        padding-bottom: 30px;
    }

    .contacts-wrapper-right-col {
        width: 100%;
    }

    .contacts-wrapper {
        flex-wrap: wrap;
    }

    #feedback {
        padding: 0 20px 71px;
    }
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.game-card.large {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 1rem;
}

.game-card.medium {
    height: 240px;
}

/* About New Section */
.about-new {
    padding: 4rem 0;
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Games Container */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.category-card {
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Timeline */
.timeline-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 2rem;
    border-radius: 1rem;
}

/* Color-only updates */

body {
    background: #1A1826;
    color: #E2E4F3;
}

.navbar a {
    color: #E2E4F3;
}

.navbar a:hover {
    color: #4DFFFF;
}

.line {
    background: #E2E4F3;
}

.navbar .menu-items {
    background: #1A1826;
}

h1, h2, h3, h4 {
    color: #4DFFFF;
}

.catalog-btn {
    background: linear-gradient(135deg, #4DFFFF 0%, #B14DFF 100%);
    color: #1A1826;
}

footer {
    background: #1A1826;
}

footer a {
    color: #E2E4F3;
}

.feedback-field {
    background-color: #232030;
    color: #E2E4F3;
    border: 1px solid #4DFFFF;
}

.feedback-btn {
    background: linear-gradient(135deg, #4DFFFF 0%, #B14DFF 100%);
    color: #1A1826;
}

.contacts-link, .contacts-address {
    color: #E2E4F3;
}

.category-card {
    background: #232030;
    box-shadow: 0 4px 6px rgba(77, 255, 255, 0.1);
}


