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.6;
}

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;
}

.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 {
    margin-top: 0;
    font-size: 3.2rem;
}

h2 {
    margin-top: 0;
    font-size: 2.4rem;
}

h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: cornsilk;
    border-radius: 0.8rem;
}