:root {
        --font-family: "Lato", sans-serif;
        --background: #FFFFFF;
        --text-primary: #00171F;
        --text-secondary: #003459;
        --primary: #00A7E1;
        --secondary: #F1F1F2;
    }
@font-face {
        font-family: 'Lato';
        src: url('../fonts/Lato/Lato-Bold.ttf') format('truetype');
        font-weight: 700;
        font-style: normal;
        }

@font-face {
        font-family: 'Lato';
        src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
        font-weight: 400;
        font-style: normal;
        }
:root {
    --max-width: 1200px;
    --container-width: 900px;
    --section-padding: 80px;
    --nav-height: 70px;

    --border-radius: 30px;
    --transition: 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.7;
}

.header {
    background-color: var(--secondary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--text-primary);
}

.nav {
    display: flex;
    align-items: center;
    max-width: var(--max-width);
    margin: auto;
    padding: 0 20px;
    height: var(--nav-height);
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: auto;
}

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 20px;
    transition: color var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.hero {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--secondary);
}

.hero-content {
    animation: slideIn 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-title-block {
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-title-block img {
    height: 80%;
    border-radius: 12px;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius);
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin: 0;
    line-height: 1.2;
}

.content-section {
    padding: var(--section-padding) 20px;
}

.download-btn {
    margin-top: 20px;
    background-color: var(--text-secondary);
    padding: 1rem 1.7rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    color: white;
}

a.download-btn:hover {
    background-color: var(--text-primary);
    transform: translateY(-2px);
}

.container {
    max-width: var(--container-width);
    margin: auto;
    overflow-wrap: break-word;
}

.content-section.dark {
    background-color: var(--text-primary);
    color: var(--secondary);
}

.purchases-title {
    margin: 0;
    font-size: 10px;
    color: rgb(87, 87, 87);
}

.dark h2 {
    color: var(--primary);
}

h2 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.footer {
    text-align: center;
    padding: 30px;
    background-color: var(--secondary);
    border-top: 2px solid var(--text-primary);
    display: flex;
    gap: 2rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 4px;
    object-fit: contain;
    max-height: 40vh;
    background-color: var(--secondary);
}

.nav-link {
    display: block;
}

.footer-accordion {
    font-family: var(--font-family);
    flex: 1;
    transition: flex 0.3s ease; /* smooth grow/shrink */
}

.footer-accordion h3 {
    margin: 0;
    padding: 15px 20px;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    white-space: nowrap;
}

.footer-accordion .content {
    display: none;
    padding: 15px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.footer-accordion .content p {
    margin: 10px 0;
}

.footer-accordion a {
    color: var(--primary);
    text-decoration: none;
}

.footer-accordion a:hover {
    text-decoration: underline;
}

#open-cookie-settings {
    padding: 0;
}
@media (max-width: 992px) {
        .footer {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .nav-link {
        display: none;
    }

    .nav {
        justify-self: center;
    }
    

}
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    width: 80%;
    max-width: 520px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    font-family: system-ui, sans-serif;
    z-index: 9999;
}

#cookie-banner.hidden {
    display: none;
}

#cookie-banner h2 {
    margin-top: 0;
    font-size: 18px;
}

#cookie-banner p {
    font-size: 14px;
    margin: 0 0 10px;
    line-height: 1.5;
}

#cookie-categories label {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
}

#cookie-categories input {
    margin-right: 8px;
}

#cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#accept-all {
    background: #007bff;
    color: #fff;
}

#reject-all {
    background: #e0e0e0;
    color: #333;
}

#save-preferences {
    background: #4caf50;
    color: #fff;
}

#manage-cookies {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    margin-top: 6px;
}

#cookie-settings {
    display: none;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    width: 80%;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

#cookie-settings.active {
    display: block;
    color: #333;
}

#cookie-settings h3 {
    margin-top: 0;
}

#open-cookie-settings {
    background: transparent;
    margin-top: 1rem;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f7f7f7;
    padding: 10px 15px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.accordion-header:hover {
    background-color: #eee;
}

.accordion-content {
    display: none;
    padding: 10px 15px;
    background-color: #fff;
}

.accordion-content p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.accordion-content label {
    font-size: 14px;
}

.accordion-header[aria-expanded="true"] + .accordion-content {
    display: block;
}

#cookie-buttons {
    margin-top: 15px;
}

#save-preferences {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

#save-preferences:hover {
    background-color: #0056b3;
}