.centrar-form {
    margin-top: 3%;
    display: flex;
    justify-content: center;
    margin-bottom: 5%;
}

.form-personalizar {
    background-color: white;
    border-radius: 15px;
    box-shadow: rgba(13, 102, 204, 0.342) 0 0 10px 7px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 40px;
    padding-left: 20px;

}

.form-personalizar-loader {
    background-color: white;
    border-radius: 15px;
    box-shadow: rgba(13, 102, 204, 0.342) 0 0 10px 7px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 40px;
    padding-left: 20px;
}

.centrar-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.centrar {
    margin-top: 4%;
    line-height: auto;
    text-align: center;
}

.fondo {
    border-radius: 10px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;

}

.content {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 70px;
    padding-right: 70px;
    font-weight: 500;
    font-size: 32px;
    color: white;
    font-family: "Serenity Medium";
}

.form {
    font-family: Roboto;
}

.fila-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.input {
    width: 410px;
}

input[type="file"] {
    display: none;
}

.input-line {

    padding: 10px;
    border: 1px solid rgb(141, 141, 141);
}

.showColor {
    border-radius: 10px;
    height: 30px;
    width: 360px;
}

.custom-file-upload {
    background-color: #24B27D;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    width: 100px;
}

.custom-file-upload:hover {
    background-color: #21a172;
}

.text {
    margin-left: 30px;
    font-size: 24px;
    width: 250px;
}

.style1 {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 30px;
    background-color: transparent;
    border: 1px solid rgb(119, 119, 119);
    cursor: pointer;
}

.style1::-webkit-color-swatch {
    border-radius: 5px;
    border: 1px solid rgb(119, 119, 119);
}

.style1::-moz-color-swatch {
    border-radius: 5px;
    border: 1px solid rgb(119, 119, 119);
}

.style2 {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgb(119, 119, 119);
    cursor: pointer;
}

.style2::-webkit-color-swatch {
    border-radius: 5px;
    border: 1px solid rgb(119, 119, 119);
}

.style2::-moz-color-swatch {
    border-radius: 5px;
    border: 1px solid rgb(119, 119, 119);
}

.style3 {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgb(119, 119, 119);
    cursor: pointer;
}

.style3::-webkit-color-swatch {
    border-radius: 5px;
    border: 1px solid rgb(119, 119, 119);
}

.style3::-moz-color-swatch {
    border-radius: 5px;
    border: 1px solid rgb(119, 119, 119);
}



.container {
    display: flex;
    width: 410px;
    height: 50px;
}

.tercio {
    flex-grow: 1;
    flex-basis: 0;
    margin-left: 5px;
    margin-right: 5px;

}

.gradient {
    height: auto;
    width: 70%;
}


.grid-container {
    width: 410px;
    display: grid;
    gap: 8px;
    grid-template-columns: auto auto auto auto auto;
    padding: 10px;
}

.grid-item {
    height: 65px;
    width: 65px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(146, 146, 146, 0.8);
    text-align: center;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.1);
}

/* esto no se si va */
.zoomed {
    transform: scale(1.1);
    box-shadow: -1px 1px 16px 0px rgb(0 0 0 / 74%);
}

.button-cancel {
    border-radius: 5px;
    font-size: 16px;
    padding: 8px 15px;
    border: none;
    background-color: red;
    color: white;
    cursor: pointer;
}

.button-cancel:hover {
    
    background-color: rgb(204, 2, 2);
    
}

.button-save {
    border-radius: 5px;
    font-size: 16px;
    padding: 8px 15px;
    border: none;
    background-color: #6699cd;
    color: white;
    cursor: pointer;
}

.button-save:hover {
    
    background-color: #5581ac;
    
}

.button-reset {
    border-radius: 5px;
    font-size: 16px;
    padding: 8px 15px;
    border: none;
    background-color: #EC6830;
    color: white;
    cursor: pointer;
}

.button-reset:hover {
    
    background-color: #c75a2b;
    
}


.img-preview {
    height: 100px;
    width: 250px;
    object-fit: contain;
}

.fila {
    width: 410px;
    height: 100px;
}

.image-container {
    position: relative;
    width: 68px;
    height: 68px;
    transition: transform .2s;
}

.image-container:hover {
    position: relative;
    width: 68px;
    height: 68px;
    transform: scale(1.1);
}

.image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


@media only screen and (max-width: 600px) {

    .centrar {
        width: 100%;
        margin-top: 5%;
        display: flex;
        justify-content: center;
    }


    .fondo {
        width: 85%;
    }

    .content {
        margin-bottom: 0;
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
        font-weight: 500;
        font-size: 24px;
        color: white;
        font-family: "Serenity Medium";
    }

    .centrar-form {
        margin-top: 50px;
        display: flex;
        flex-direction: column;

    }

    .fila-form {
        display: flex;
        flex-direction: column;

        width: auto;
    }

    .text {
        width: auto;
        margin-left: 0;
    }

    .input {
        width: auto;
        margin-left: 0;
    }

    .showColor {
        border-radius: 10px;
        height: 30px;
        width: 170px;
    }

    .container {
        display: flex;
        width: 180px;
        height: 50px;
    }

    .centrar-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .button-save {
        border-radius: 5px;
        font-size: 16px;
        padding: 8px 15px;
        border: none;
        background-color: #6699cd;
        color: white;
        cursor: pointer;
        width: auto;
    }

    .button-cancel {
        border-radius: 5px;
        font-size: 16px;
        padding: 8px 15px;
        border: none;
        background-color: red;
        color: white;
        cursor: pointer;
        width: auto;
    }

    .img-preview {
        height: 100px;
        width: 250px;
        object-fit: contain;
        margin-top: 10px;
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        width: 90%;
        display: grid;
        gap: 5px;
        margin-left: 40px;
    }

    
}