@font-face {
    font-family: font;
    src: url(fonts/JetBrainsMono-Bold.ttf);
}
@font-face {
    font-family: tt;
    src: url("fonts/TTHoves-DemiBold.ttf");
}
@font-face {
    font-family: ff;
    src: url("fonts/fontawesome-webfont.eot@");
}



h1, h2 {
    margin: 0;
}

h1 {
    font-size: 3em; /* 1920x1080 */
}

h2 {
    font-size: 2em; /* 1920x1080 */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
}

.project {
    font-family: tt;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    padding: 20px 0;
    color: white;
    position: relative;
}

.nav {
    font-family: font;
    position: relative;
    padding-bottom: 200px;
    font-size: 16px; /* 1920x1080 */
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    text-decoration: none;
    color: white;
    transition: color 0.6s ease;
}

.nav a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.header::after {
    content: "";
    display: block;
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.83);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 70px;
}

.about {
    position: relative;
    padding-top: 50px;
}

.desc {
    position: relative;
    font-family: font;
    font-size: 20px; /* 1920x1080 */
    padding: 8px;
}

second {
    display: block;
    position: absolute;
    top: 150%;
    left: 0;
    right: 0;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
    text-align: center;
    min-height: 700px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.install-gta, .install-samp, .launch-game {
    flex: 1;
    text-align: center;
    margin: 0 10px;
}

.ip-class {
    font-size: 32px;
    font-weight: bold; /* Жирный текст */
    background: linear-gradient(45deg, #1f06ff, #ffaf0f); /* Градиент */
    -webkit-background-clip: text; /* Обрезка фона под текст (для WebKit) */
    -webkit-text-fill-color: transparent; /* Прозрачный цвет текста (для WebKit) */
    background-clip: text; /* Обрезка фона под текст */
    color: transparent; /* Прозрачный цвет текста */
}
.ip {
    font-family: tt;
}

.install {
    width: 40%;
    height: 50px;
    background: rgba(255, 255, 255, 0);
    order: 0;
    border: 3px solid #ffff;
    border-radius: 200px;
    font-size: 17px;
    color: #fff;
    font-family: font;
    font-weight: 600;
    cursor: pointer;
    transition: 0.7s;
}

.install:hover {
    width: 45%;
    background: linear-gradient(144deg, #000baa1d, #1b29eb1d);
}

/* Медиазапросы для адаптации под разрешения */
@media (max-width: 1280px) {
    h1 {
        font-size: 2.5em; /* 1280x720 */
    }

    h2 {
        font-size: 1.8em; /* 1280x720 */
    }

    .nav {
        font-size: 14px;
    }

    .content {
        padding: 60px;
    }

    .desc {
        font-size: 18px; /* 1280x720 */
    }

    .install {
        width: 50%;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em; /* 768px */
    }

    h2 {
        font-size: 1.5em; /* 768px */
    }

    .nav {
        font-size: 12px;
    }

    .content {
        padding: 40px;
    }

    .desc {
        font-size: 16px; /* 768px */
    }

    .install {
        width: 60%;
        font-size: 15px;
    }

    .steps {
        flex-direction: column; /* Вертикальное расположение шагов */
        align-items: center; /* Центрируем элементы */
    }

    .install-gta, .install-samp, .launch-game {
        margin: 10px 0; /* Отступы между шагами */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em; /* 480px */
    }

    h2 {
        font-size: 1.2em; /* 480px */
    }

    .nav {
        font-size: 10px;
    }

    .content {
        padding: 20px;
    }

    .desc {
        font-size: 14px; /* 480px */
    }

    .install {
        width: 80%;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.2em; /* 320px */
    }

    h2 {
        font-size: 1em; /* 320px */
    }

    .nav {
        font-size: 9px;
    }

    .content {
        padding: 10px;
    }

    .desc {
        font-size: 12px; /* 320px */
    }

    .install {
        width: 90%;
        font-size: 12px;
    }
}
