
/* {
    border: 1px solid black;
    margin: 5px;
}*/

main {
    animation: fadeInUp 0.5s ease-in-out;
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

@media (max-width:1700px) {
    main {
        width: 50%;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#add-button {
    padding: 9px 18px;
    font-size: 18px;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 228, 196, 0.096);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: block;
    margin: 20px auto;
}

#add-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 228, 196, 0.3);
}

.color-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.color-square-container {
    position: relative;

}

.color-square {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    background-color: #ffffff;
    position: relative;
}

.aleatorio-button,
.remove-button {
    background-size: 100% 100%;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 8px;
}

.remove-button {
    background-image: url("x.png");
}

.aleatorio-button {
    background-image: url("+.png");
    margin-right: 16px;
}

.color-info{
    padding-top: 25px;
}

#color-list {
    padding: 5px;
}

#color-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}

.hex-code,
.rgb-code,
.hsl-code {
    margin-left: 15px;
}
