/* Author: Ignacy Aleksander Setlak */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

main {
    margin: auto;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 2rem;
}

ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

li {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

li:last-child {
    border-bottom: none;
}

li:hover {
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    margin-left: 10px;
}

a:hover {
    background-color: #fee2e2;
    color: #c0392b;
}


form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
input:focus {
    border-color: #3498db;
}

input[type="submit"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.message{
    color: #e74c3c;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 20px;
}

footer a {
    color: #7f8c8d;
    text-decoration: underline;
    font-weight: normal;
    background: none;
    width: auto;
    height: auto;
    display: inline;
}

footer a:hover {
    color: #3498db;
    background: none;
    transform: none;
}