body, * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

.main {
    display: flex;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.main a {
    text-decoration: none;
    padding: 10px;
    background: #005;
    border-radius: 15px;
    color: white;
    text-align: center;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

.main a:hover {
    background: #60b4ff;
    color: #005;
}

/* header */

.header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 3px solid #007bff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.header a {
    color: #555;
    font-size: 18px;
}

.header div {
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    font-weight: bold;
}

/* article */

.article {
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

.article img {
    width: 100%;
    border-radius: 15px;
}

.article h1 {
    font-size: 27px;
    text-align: center;
    margin-bottom: 20px;
    color: #007bff;
}

.article h2 {
    font-size: 20px;
    margin-top: 30px;
    border-left: 4px solid #007bff;
    padding-left: 10px;
    margin-bottom: 15px;
}

.article ul {
    padding-left: 20px;
    list-style: none;
}

.article ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.article ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.card {
    border: 1px solid #cfcfcf;
    border-radius: 15px;
    padding: 0 15px 15px;
    background: #edf5ff;
}

.card-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    flex-wrap: wrap;
    gap: 5px;
}

.card-links a {
    width: 120px;
    text-align: center;
    margin: 10px 0;
}

/* aside */

.aside {
    max-width: 330px;
    margin: 10px auto;
}

.aside h2 {
    margin: 20px 0 10px;
}

.options {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* footer */

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 3px solid #007bff;
    margin-top: 30px;
}

.footer a {
    color: #60b4ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 30px auto 0;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.modal-content h2 {
    text-align: center;
}

.close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: darkred;
}

.cookies {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.cookies a {
    color: #60b4ff;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.cookies a:hover {
    color: #ffffff;
}

.hidden {
    display: none;
}

/* media */

@media (max-width: 990px) {
    .aside {
        max-width: 650px;
    }

    .options {
        flex-direction: inherit;
    }
}