:root {
    --Soft-orange: hsl(35, 77%, 62%);
    --Soft-red: hsl(5, 85%, 63%);
    --Off-white: hsl(36, 100%, 99%);
    --Grayish-blue: hsl(233, 8%, 79%);
    --Dark-grayish-blue: hsl(236, 13%, 42%);
    --Very-dark-blue: hsl(240, 100%, 5%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--Off-white);
    padding: 2rem 5%;
    line-height: 1.5;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 3rem 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--Dark-grayish-blue);
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--Soft-red);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
    z-index: 2000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--Very-dark-blue);
    transition: 0.3s;
}
.container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

.hero {
    grid-column: span 2;
    display: grid;
    gap: 1.5rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--Very-dark-blue);
}

.hero-description p {
    color: var(--Dark-grayish-blue);
    margin-bottom: 2rem;
}

.btn-read-more {
    background: var(--Soft-red);
    color: white;
    border: none;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-read-more:hover {
    background: var(--Very-dark-blue);
}
.sidebar-new {
    background: var(--Very-dark-blue);
    color: white;
    padding: 1.5rem;
}

.sidebar-new h2 {
    color: var(--Soft-orange);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sidebar-new article {
    border-bottom: 1px solid var(--Dark-grayish-blue);
    padding: 1.5rem 0;
}

.sidebar-new article:last-child {
    border: none;
}

.sidebar-new h3 {
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar-new h3:hover {
    color: var(--Soft-orange);
}
.bottom-articles {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    display: flex;
    gap: 1.5rem;
}

.card img {
    width: 100px;
    height: 130px;
    object-fit: cover;
}

.card-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--Grayish-blue);
}

.card h4 {
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.card h4:hover {
    color: var(--Soft-red);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 10rem 2rem;
        transition: 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-links ul li a {
        color: var(--Very-dark-blue);
        font-size: 1.2rem;
        font-weight: 700;
    }

    .container,
    .hero-content,
    .bottom-articles {
        grid-template-columns: 1fr;
    }

    .hero,
    .sidebar-new,
    .bottom-articles {
        grid-column: span 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

.attribution {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--Dark-grayish-blue);
}
p{
    font-size: 15px;
} 