@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

main {
    padding: 20px;
    overflow: auto;
}

nav {
    width: 100%;
    background: #0f172a;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    width: 100%;
}

nav li {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    background: linear-gradient(145deg, #0284c7, #0369a1);
    border-radius: 6px;
    box-shadow: 
        0 4px 0 #075985, 
        0 6px 10px rgba(0,0,0,0.3);
    transition: all 0.1s ease-in-out;
    position: relative;
    top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

nav a:hover {
    top: 1px;
    box-shadow: 
        0 3px 0 #075985,
        0 4px 6px rgba(0,0,0,0.3);
    background: linear-gradient(145deg, #0ea5e9, #0284c7);
    color: #fff;
}

nav a:active {
    top: 4px;
    box-shadow: 
        0 0 0 #075985,
        0 1px 2px rgba(0,0,0,0.2);
}


body {
    font-family: 'DM Sans';
    margin: 0;
    padding: 0;
}
.cover-image-container {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.cover-image {
    width: 95%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
#content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.featured-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 16px;
}
.card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.card form {
    margin: 10px 0;
    width: 100%;
}
.card button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(145deg, #0284c7, #0369a1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card button:hover {
    background: linear-gradient(145deg, #0ea5e9, #0284c7);
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.4);
    transform: translateY(-2px);
}
.card button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3);
}
footer {
    padding: 20px;
    color: #000;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
}

@media screen and (max-width: 1080px) {
    #content {
        width: 100%;
        padding: 0;
    }
}