:root {
    --primary-color: #2e7d32;
    --secondary-color: #81C784;
    --accent-color: #4CAF50;
    --background-light: #F8FDF8;
    --background-white: #FFFFFF;
    --border-light: #E8F5E8;
    --gradient-primary: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --gradient-secondary: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
}

body {
    font-family: 'Lexend', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    background-color: #fff;
    color: #111;
    background-image: url('img/wallpaper.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    margin: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 39, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: -1;
    pointer-events: none;
}

body {
    font-size: 1rem;
}

h1,
h2 {
    color: var(--primary-color);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 0;
}

h3 {
    font-size: 1.25rem;
    color: #456e47;
}

h1,
h2,
h3 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: black;
}

a:focus-visible {
    outline: 2px solid #000;
}

.btn-link {
    border-radius: 1rem;
    background: linear-gradient(30deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    padding: .5rem 1rem;
    color: black;
}

nav a {
    margin-right: 1rem;
    position: relative;
}

nav a:focus {
    background-color: #eee;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #4CAF50, #81C784);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

article {
    background-color: #eee;
    padding: 1.5rem;
    border-radius: 1rem;
}

main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

footer {
    width: 100%;
    background: #ccf5ab;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

header {
    background: #fff;
    padding: 1rem;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

address {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
}

address .address-line {
    display: flex;
    gap: 1rem;
}

.heading {
    display: flex;
    gap: 1rem;
}

.logo {
    height: 75px;
}

.icon {
    width: 25px;
    height: 25px;
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    padding-left: 32px;
    position: relative;
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.custom-list li:nth-child(3n+1)::before {
    background-image: url('img/asterisk_1.webp');
    transform: translateY(-50%) rotate(-15deg);
}

.custom-list li:nth-child(3n+2)::before {
    background-image: url('img/asterisk_2.webp');
    transform: translateY(-50%) rotate(25deg);
}

.custom-list li:nth-child(3n)::before {
    background-image: url('img/asterisk_3.webp');
    transform: translateY(-50%) rotate(0deg);
}

.context {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1.5rem;
}

.context-container {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    flex: 1 1 45%;
    min-width: 250px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-left: 4px solid var(--accent-color);
    border-radius: .5rem;
    box-sizing: border-box;

    font-weight: 600;
}

@media (max-width: 600px) {
    .context-container {
        flex: 1 1 100%;
        width: 100%;
    }

    nav {
        display: flex;
        flex-direction: column;
    }

    nav a {
        margin-bottom: 0.5rem;
        text-decoration: none;
    }

    .header-content {
        flex-direction: column;
    }

    main {
        padding: 0;
    }
}