/* Компонент обложки главной страницы */
.flg-cover {
    min-height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flg-cover__carrier {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: scroll;
}

.flg-cover__filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-cover-overlay);
    opacity: var(--opacity-cover);
    mix-blend-mode: multiply;
}

.t-container {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    min-height: 100vh;
}

.flg-cover__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-height) 0 40px;
}

.flg-cover__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.flg-cover__title {
    font-family: "EBGaramond-Regular", sans-serif;
    font-size: 52px;
    line-height: 78px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.flg-cover__description {
    font-size: 26px;
    line-height: 38px;
    margin-bottom: 35px;
}

.flg-cover__button {
    display: inline-block;
    padding: 15px 30px;
    color: var(--text-light);
    text-decoration: none;
    border: 2px solid var(--text-light);
    transition: all 0.3s ease;
    margin-bottom: 35px;
}

.flg-cover__button:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* QR-код для скачивания приложения */
.flg-cover__qr-code {
    position: absolute;
    left: 20px;
    top: 130px;
    width: 200px;
}

.flg-cover__qr-code img {
    width: 200px;
    height: 200px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.flg-cover__qr-code p {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    width: 100%;
    margin: 0;
}

.flg-cover__qr-link {
    text-decoration: none;
    color: var(--text-light);
    display: block;
}

.flg-cover__qr-link:hover {
    opacity: 0.9;
}

.flg-cover__qr-link p {
    color: var(--text-light);
}

@media screen and (max-width: 1024px) {
    .flg-cover__qr-code {
        position: static;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .flg-cover__qr-code img {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .flg-cover__wrapper {
        padding-top: calc(var(--header-height) + 30px);
        align-items: center;
    }
    
    .flg-cover__title {
        font-size: 42px;
        line-height: 62px;
    }

    .flg-cover__description {
        font-size: 22px;
        line-height: 32px;
    }
}

@media screen and (max-width: 480px) {
    .flg-cover__wrapper {
        padding-top: calc(var(--header-height) + 50px);
    }
    
    .flg-cover__title {
        font-size: 36px;
        line-height: 52px;
    }

    .flg-cover__description {
        font-size: 18px;
        line-height: 28px;
    }
}
