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

body {
    font-family: 'Arvo', 'Inter', 'Segoe UI', sans-serif;
}
footer {
    text-align: center;
}

.main-title {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh; /* Use viewport height instead of fixed percentage */
    padding: 2rem 1rem;
    width: 100%;
}

.main-title > div {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.main-title > div > h1 {
    font-size: clamp(2rem, 8vw, 5rem); /* Fluid typography */
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-align: center;
}

.main-title > div > h2 {
    font-size: clamp(1.5rem, 6vw, 4rem); /* Fluid typography */
    line-height: 1.3;
    text-align: center;
    color: #666;
}

.links {
    text-align: center;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.links a {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    background-color: #e62154;
    border: 2px solid #e62154;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.links a:hover {
    color: white;
    transform: translateY(-2px);
}

.content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.content > img {
    width: 100%;
    max-width: 20em;
    height: auto;
    margin: 2em auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.columns {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    display: grid;
    gap: 2rem;
    padding: 1rem;
}

@media (min-width: 600px) {
    .columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-title {
        min-height: 30vh;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .links a {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .main-title > div > h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .main-title > div > h2 {
        font-size: clamp(1.2rem, 6vw, 2.5rem);
    }

    .content > img {
        max-width: 16em;
    }
}
