:root {
    --primary-color: #2C3E50;
    --secondary-color: #ECF0F1;
    --accent-color: #C0392B;
    --highlight-color: #E67E22;
    --text-color: #000000;
    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-checkbox {
    display: none;
}

.menu-btn {
    display: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background-color: var(--primary-color);
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

nav ul {
    margin-left: auto;
}

nav>ul>li:last-child {
    margin-left: 0;
}


.dropdown li {
    margin: 0;
}

.dropdown li a {
    display: block;
    padding: 10px;
}

.hero {
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://m.media-amazon.com/images/S/pv-target-images/445b0378b4ead6f7527eea42243c36910f6cb67959a20402458f8111f8a275ab.jpg');
    background-size: cover;
    background-position: 0 10px;
    color: var(--secondary-color);
    text-align: center;
    padding: 190px 0;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: zoomIn 0.8s ease-out;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.sidebar-card {
    padding: 2.5rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.sidebar h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    background-color: #f9f9f9;
    padding: 1rem;
    margin-top: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background-color: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 0.5rem;
}

.gallery-item span {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .menu-btn {
        display: block;
    }

    nav ul {
        flex-direction: column;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
    }

    .menu-checkbox:checked~ul {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    .dropdown {
        display: block;
        position: static;
        box-shadow: none;
        background-color: #34495e;
        width: 100%;
    }

    nav ul>li>a {
        display: none;
    }

    .dropdown li a {
        padding: 15px;
        display: block;
    }
}