body {
    font-family: Arial, sans-serif;
    color: #333;
    background: #f0f2f5;
    margin: 0;
    padding: 0;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 100px;
    gap: 1rem;
    padding: 2rem;
}

h1,
h5 {
    text-align: center;
    color: #2c3e50;
}

.wrap {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    overflow: hidden;
}

.wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.wrap img {
    height: 70%;
    max-width: 60%;
    margin-right: 1rem;
}

.wrap h2,
h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4f46e5;
    text-align: left;
    flex: 1;
    min-height: 50px;
    margin-left: 1rem;
    margin-top: 2rem;
}

.wrap a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    font-weight: bold;
    display: block;
}

input[type="number"],
input[type="text"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

textarea {
    resize: none;
    height: 3em;
    overflow: hidden;
}

.button-container {
    text-align: center;
    margin-top: 0.5rem;
}

input[type="submit"],
button {
    cursor: pointer;
    background-color: #3498db;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover,
button:not(:disabled):hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #737373;
}

table {
    width: 100%;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #3498db;
    color: white;
}

td a {
    color: #3498db;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
}
