@font-face {
    font-family: 'Inter';
    src: url("../assets/fonts/Inter-Regular.ttf");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url("../assets/fonts/Inter-Bold.ttf");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url("../assets/fonts/Raleway-Regular.ttf");
    font-weight: 400;
    font-display: swap;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    padding: 56px 64px;
    margin: 0;
    background-color: #F9F9F9;
    font-family: Inter, sans-serif;
}

/* Header */

header > ul {
    display: flex;
    justify-content: end;
    align-items: center;
    margin: 0;
    padding: 0;
}

header > ul > li {
    height: 100%;
    list-style-type: none;
}

header > ul > li + li {
    margin-left: 32px;
}

header > ul > li > a {
    padding: 8px 0;
    color: #171717;
    text-decoration: none;
    text-transform: uppercase;
}

header > ul > li + li > a {
    display: flex;
    gap: 8px;
    letter-spacing: .012em;
}

.logo {
    margin-right: auto;
}

/* Main */

.content {
    min-height: calc(100vh - 184px);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.content > * + * {
    margin-top: 60px;
}

.content > h1 {
    width: 60%;
    margin: 0;
    font-weight: 700;
    font-size: 88px;
    line-height: 88px;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.content > ul {
    margin-bottom: 0;
    padding: 0;
    width: 55%;
    margin-left: 30px;
}

.content > ul > li {
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: .035em;
}

.content > a {
    text-decoration: none;
    padding: 20px 32px;
    border: none;
    color: #FFFFFF;
    letter-spacing: .035em;
    background: #171717;
    border-radius: 16px;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Background images */

.background-img {
    position: fixed;
    z-index: -1;
}

.background-img--snake {
    bottom: 0;
    left: 25%;
    max-width: 25%;
    max-height: 25%;
}

.background-img--star {
    right: 0;
    bottom: 0;
    max-width: 50%;
    max-height: 100%;
}

/* Footer */

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-image: linear-gradient(90deg, rgba(23, 23, 23, 0.6), rgba(23, 23, 23, 0.2));
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 21px 20px;
}

footer > p {
    font-family: Raleway, sans-serif;
    margin: 0;
    color: #FFFFFF;
}

footer > p > a {
    color: inherit;
    text-decoration: none;
}

/* Небольшие отступы, чтобы при маленькой ширине
экрана кнопка и главный заголовок не залазили на другие элементы */

@media (max-width: 1280px) {
    main {
        margin: 40px 0 80px;
    }
}