/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: #fff;
    background-color: #F1D8D1;
}

/* Шапка */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #555;
    color: #fff;
}

.close-button {
    font-size: 24px;
    cursor: pointer;
}

.header h2 {
    margin: 0;
}

/* Основной контейнер */
.container-main-page {
    position: relative;
    width: 100%;
    height: 100vh; /* Вычитаем высоту шапки */
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content-main-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.content-main-page h1 {
    font-size: 30px;
    margin: 5px 0 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: underline;
}

.content-main-page p {
    font-size: 20px;
    margin: 0 0 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.content-main-page .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.content-main-page .social-button {
    padding: 10px 20px;
    font-size: 18px;
    margin-bottom: 10px;
    background-color: #fff;
    color: #333;
    border: none;
    /* border-radius: 5px; */
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.content-main-page .social-button:hover {
    transform: scale(1.05);
}

.container-useful-page {
    font-size: 25px;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding:0 1em;
}
.container-useful-page h1 {
    font-weight: normal;
    margin-bottom: 20px;
}
.container-useful-page .intro-img{
    width: 100%;
    height: 10em;
    background: url("/img/IMG_20230203_125408.jpg") no-repeat center center;
    background-size: cover;
}
.container-useful-page .memo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.container-useful-page .memo-card {
    display: flex;
    width: 100%;
    border-top: 1px solid #666;
    padding: 0 0.8rem;
    margin-bottom: 20px;
}

.container-useful-page .memo-title {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 5px;
}

.container-useful-page .memo-subtitle {
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
}

.container-useful-page .memo-text {
    font-size: 1em;
    color: #666;
    margin-bottom: 5px;
    padding: 0.8em 0.8em 0.2em;
}
.container-useful-page .memo-text a {
    color: #666;
    text-decoration: none;
}

.container-useful-page .memo-version {
    color: #3498db;
    font-size: 14px;
}

.container-useful-page .memo-number {
    display: flex;
    width: 2em;
    align-items: end;
    font-size: 1.33em;
    color: #666;
    margin-bottom: 10px;
    padding: 0 0.5rem 0.2rem;
    border-right: 1px solid #666;
}

.container-useful-page .intro-text {
    padding: 20px;
    margin-bottom: 30px;
}

.container-useful-page .list-title {
    font-weight: bold;
    margin-top: 30px;
    font-size: 18px;
}

.border-bottom {
    border-bottom: 1px solid #666;
}
.border-top {
    border-top: 1px solid #666;
}
.p-b-1 {
    padding-bottom: 1em;
}
.p-t-1 {
    padding-top: 1em;
}
.p-b-05 {
    padding-bottom: .5em;
}
.p-t-05 {
    padding-top: .5em;
}
.fz-15 {
    font-size: 1.5em;
}

@media screen and (min-width: 1000px) {
    .container-useful-page {
        font-size: 18px;
    }
    .container-useful-page .memo-card {
        width: 48%;
    }
    .container-useful-page .intro-img {
        height: 20em;
    }
}