html {
    font-size: 62.5%;
}

body {
    margin: 0;
    font-size: 1.6rem;
    font-family: Arial, sans-serif;
    background-color: whitesmoke;
    color: #222;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

.wrapper {
    width: 90%;
    max-width: 90rem;
    margin: 0 auto;
}

.header {
    background-color: lightblue;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-radius: 0.8rem;
}

.main-nav {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
}

.nav-list {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 1.2rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list a {
    display: inline-block;
    padding: 1rem 1.4rem;
    background-color: aliceblue;
    border-radius: 0.6rem;
    color: darkslategray;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.03rem;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
    background-color: lightcyan;
    color: darkblue;
    transform: translateY(-0.2rem);
}

.layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.main-content {
    margin-top: 0;
}

.sidebar {
    margin-top: 0;
}

.box {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.8rem;
}

.content-block {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: lavenderblush;
    border-radius: 0.6rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: snow;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
}

.card-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.6rem;
}

.card-content h3 {
    margin-bottom: 1rem;
}

.card-link,
.text-link {
    color: royalblue;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.card-link:hover,
.text-link:hover {
    color: darkblue;
    text-decoration: underline;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
    letter-spacing: 0.02rem;
}

h1 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 3.6rem;
}

h2 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 2.6rem;
}

h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.9rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: cornsilk;
    border-radius: 0.8rem;
}