/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-style: italic ;
}

body {
    background-color: #eeedf5;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
header {
    background-color: #033b46;
    color: white;
    padding: 1rem 0;
    text-align: center;
}


nav {
    background: #0a3a43;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    position: sticky;
    top: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: 0.3s;
}
nav :hover{
    background-color: #bc1a8e;
    border-radius: 5px;
}


nav a.active{
     background-color: #bc1a8e;
     border-radius: 5px;
     
    

}

main {
    padding: 2rem;
    min-height: 80vh;
    max-width: 1000px;
    margin: auto;
}
 


section {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;    
   
    padding: 20px;
}


.card {
    width: 280px;       
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.card img {
    width: 100%;      
    height: 200px;      
    object-fit: cover;   
    border-radius: 8px;
}


.card h3 {
    font-size: 1.1rem;
    margin-top: 10px;
    color: #333;
}

.card :hover{
    transform: scale(1.05);
    transition: 0.4s;
}





footer {
    background: #033b46;
    color: white;
    text-align: center;
    padding: 16px;
    margin-top: 32px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: center;
}

th {
    background-color: #ec7adf;
    color: white;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Forms */
form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: #d73488;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #620350;
}


@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    table {
        font-size: 14px;
        display: block;
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        height: auto;
    }
    }
