body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f4f6fb;
    margin: 0;
    padding: 0;
}
header {
    background: #2d3e50;
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
}
header p {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    color: #b0c4d6;
}
main {
    max-width: 700px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem;
}
form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
form input, form textarea {
    flex: 1 1 200px;
    padding: 0.7rem;
    border: 1px solid #cfd8dc;
    border-radius: 5px;
    font-size: 1rem;
}
form textarea {
    min-height: 40px;
    resize: vertical;
}
form button {
    background: #2d3e50;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
form button:hover {
    background: #1a2533;
}
#list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* script below is relative to cards and was made with help of AI*/
.kort {
    background: #f9fafc;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    padding: 1.2rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
}
.kort h3 {
    margin: 0 0 0.3rem 0;
    color: #2d3e50;
}
.kort p {
    margin: 0.2rem 0;
    color: #4a5a6a;
}
.kort .meta {
    font-size: 0.95rem;
    color: #7b8a99;
    margin-bottom: 0.5rem;
}
.kort .actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}
.kort button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}
.kort button.edit {
    background: #2980b9;
}
.kort button.edit:hover {
    background: #1c5a85;
}
.kort button.delete:hover {
    background: #c0392b;
}
@media (max-width: 600px) {
    main {
        padding: 1rem;
    }
    form {
        flex-direction: column;
    }
}
