textarea {
    color: #eeb;
    background-color: #0a0a0a;
    border: 2px solid #555;
    border-radius: 5px;
}

#dev-contact {
    color: black;
    background-color: var(--dg-red);
    padding: 10px;
    width: fit-content;
    border-radius: 5px;
    box-shadow: 0 0 15px #f006;

    margin: auto;
}

#all-items {
    width: 60%;
    margin: auto;
}

.items {
    margin: 50px 100px;
}

.row {
    display: flex;
    flex-direction: row;

    margin: 50px;
}

.row:first-child {
    flex-grow: 1;
}

textarea {
    width: 100%;
    margin: 0 auto;
    height: 200px;
    resize: vertical;
}

.save {
    text-align: center;
    font-size: 17px;
    font-family: "Comic Sans MS", Arial;

    color: white;
    background: linear-gradient(70deg, rgb(43, 80, 39) 20%, rgb(82, 148, 104) 80%);

    border: none;
    border-radius: 5px;

    padding: 5px 10px;
    margin: 10px 0;
}

.add {
    text-align: center;
    font-size: 17px;
    font-family: "Comic Sans MS", Arial;

    color: white;
    background: linear-gradient(40deg, rgb(87, 20, 39) 20%, rgb(147, 94, 85) 80%);

    border: none;
    border-radius: 5px;

    padding: 5px 10px;
    width: 100px;
    margin: 10px 0;
}

.add:hover {
    cursor: pointer;
    filter: brightness(90%);
}


/*@keyframes save-animate {
    0% { transform: translateY(0.0px); }
    5% { transform: translateY(7.994px); }
    10% { transform: translateY(8.184px); }
    15% { transform: translateY(1.2px); }
    20% { transform: translateY(-6.054px); }
    25% { transform: translateY(-7.192px); }
    30% { transform: translateY(-1.956px); }
    35% { transform: translateY(4.27px); }
    40% { transform: translateY(5.936px); }
    45% { transform: translateY(2.267px); }
    50% { transform: translateY(-2.72px); }
    55% { transform: translateY(-4.5px); }
    60% { transform: translateY(-2.146px); }
    65% { transform: translateY(1.471px); }
    70% { transform: translateY(2.972px); }
    75% { transform: translateY(1.626px); }
    80% { transform: translateY(-0.576px); }
    85% { transform: translateY(-1.442px); }
    90% { transform: translateY(-0.751px); }
    95% { transform: translateY(0.075px); }
    100% { transform: translateY(0.0px); }
}*/

.save:hover {
    cursor: pointer;
    filter: brightness(90%);
}

#logout {
    font-size: 20px;

    color: var(--dg-red);
    background-color: black;
    border: 1px solid var(--dg-red);

    padding: 15px;
    margin-right: 25px;
}

#logout:hover {
    cursor: pointer;
    color: black;
    background-color: var(--dg-red);
}

#images {
    display: block;
    margin: 50px;
}

#images__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.images__images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    position: relative;
    display: flex;
    flex-direction: column;

    justify-content: space-between;

    border: 1px solid #ccc;

    gap: 10px;
}

.images__image {
    display: flex;
    flex-direction: column;
}

.images__image > img {
    max-width: 300px;
}

.images__delete {
    color: black;
    background-color: var(--dg-red);
    border: none;
    border-radius: 15px;
    padding: 5px 10px;
    margin: 10px;

    width: fit-content;
}

.images__delete:hover {
    cursor: pointer;
    filter: brightness(85%);
}

.images__label {
    font-size: 11px;
    font-weight: lighter;
    margin: 10px;
    text-align: center;
}

.images__reupload:hover {
    color: black;
    background-color: var(--dg-red);
    cursor: pointer;
}

.images__drag {
    position: absolute;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 40px;
    height: 40px;
    box-sizing: border-box;
    padding: 5px;
    margin: 5px;

    background-color: #eee;
    border-radius: 15px;
    cursor: nesw-resize;
}

.images__drag > img {
    width: 100%;
    height: 100%;
}

#image-upload {
    padding: 15px;
    cursor: pointer;
    color: white;
}

#events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 70%;
    margin: auto;
}

.col {
    display: flex;
    flex-direction: column;
}

.event-list__entry {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    height: 120px;

    border-bottom: 2px solid #333;
    padding: 10px;
}

.event-list__entry > img {
    height: 100%;
}

#event-add {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    width: 50%;
}

#featured {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 50px;
}

.featured__entry {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #333;
}

.featured__entry > button {
    height: 50px;
    width: 100px;
}

@media screen and (max-width: 1000px) {
    #all-items {
        width: 100%;
    }
    
    #images__list {
        grid-template-columns: repeat(1, 1fr);
    }

    #images {
        margin: 10px;
    }
}

@media screen and (min-width: 1000px) {
    #all-items {
        width: 100%;
    }
    
    #images__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1500px) {
    #images__list {
        grid-template-columns: repeat(4, 1fr);
    }
}
