* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdf6f0; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


:root {
    --primary: #4b0082;
    --accent: #ffcc33;
    --light: #fdf6f0;
    --dark-text: #222;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    color: #fff;
    padding: 0.5rem 2rem;
}

.navbar img {
    height: 50px;
    margin-right: 1rem;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--accent);
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

header {
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    color: var(--dark-text);
}


.card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}


button, input[type="submit"] {
    background-color: var(--accent);
    color: #222;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background-color: #e6b800;
}


form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input, form textarea {
    padding: 0.7rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

form input.required {
    border-color: var(--accent);
}

label span {
    color: red;
}

footer {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}


@media (max-width: 1023px) {
    .navbar {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 410px) {
    .container {
        grid-template-columns: 1fr;
    }
}
