body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #fdf6f0;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    color: #d35400;
}

a {
    text-decoration: none;
    color: #d35400;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.filter-section {
    margin-bottom: 15px;
}

.filterBtn {
    position: relative;
    padding: 6px 30px;
    margin-right: 50px;
    border: none;
    border-radius: 5px;
    background-color: #f39c12;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    left: 31%;
}

.filterBtn:hover {
    background-color: #e67e22;
}

.deleteBtn {
    position: relative;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s;
    left: 76.7%;
}

.deleteBtn:hover {
    background-color: #c0392b;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


.rezept {
    position: relative;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.2s;
    top: 25%;
}

.rezept:hover {
    transform: translateY(-2px);
}

.rezept h3 {
    margin: 0 0 5px 0;
}

.rezept p.category {
    font-size: 0.9em;
    color: #777;
    margin: 0 0 10px 0;
}

.rezept a {
    display: inline-block;
    margin-top: 10px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}

label {
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    position: relative;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background-color: #e67e22;
    color: white;
    cursor: pointer;
    margin-top: 10px;
    left: 2%;
}

button:hover {
    background-color: #c5630d;
    transform: translateY(-1px);
}

.pics {
    background: transparent
}



@media (max-width: 1024px) {
  .filter-section {
    margin-bottom: 15px;
}

.filterBtn {
    position: relative;
    padding: 4px 16px;
    margin-right: 25px;
    border: none;
    border-radius: 5px;
    background-color: #f39c12;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    left: 23%;
}

.deleteBtn {
    position: relative;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 2.5px 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s;
    left: 55%;
}

}
