.main-container {
    background-image: url('../img/image1.png');
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #351A8F;
    margin: 0px;
    position: relative;
}

.red {
    color: #F83039;
}

.error {
    border: red 1px solid !important;
}

.form-check label.error {
    display: none !important;
}

.btn-send {
    position: relative;
    padding: 10px 25px;
    background: #4B289A;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0px 0px 10px 0px rgb(255, 255, 255);
    border-radius: 100px;
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin-top: 15px;
}

.btn-send:hover,
.btn-send.touch-active {
    color: #fff;
}

.star-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 0 #4B289A);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-2 {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #4B289A);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #4B289A);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-4 {
    position: absolute;
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 0 #4B289A);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-5 {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #4B289A);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-6 {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #4B289A);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.btn-send:hover,
.btn-send.touch-active {
    background: #4B289A;
    color: #ffffff;
    box-shadow: 0 0 80px #4B289A;
}

.btn-send:hover .star-1,
.btn-send.touch-active .star-1 {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 20px;
    height: auto;
    filter: drop-shadow(0 0 10px #4B289A);
    z-index: 2;
}

.btn-send:hover .star-2,
.btn-send.touch-active .star-2 {
    position: absolute;
    top: 35%;
    left: -25%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #4B289A);
    z-index: 2;
}

.btn-send:hover .star-3,
.btn-send.touch-active .star-3 {
    position: absolute;
    top: 80%;
    left: -10%;
    width: 10px;
    height: auto;
    filter: drop-shadow(0 0 10px #4B289A);
    z-index: 2;
}

.btn-send:hover .star-4,
.btn-send.touch-active .star-4 {
    position: absolute;
    top: -25%;
    left: 105%;
    width: 20px;
    height: auto;
    filter: drop-shadow(0 0 10px #4B289A);
    z-index: 2;
}

.btn-send:hover .star-5,
.btn-send.touch-active .star-5 {
    position: absolute;
    top: 30%;
    left: 115%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

.btn-send:hover .star-6,
.btn-send.touch-active .star-6 {
    position: absolute;
    top: 80%;
    left: 105%;
    width: 10px;
    height: auto;
    filter: drop-shadow(0 0 10px #4B289A);
    z-index: 2;
}

.fil0 {
    fill: #4B289A;
}

.center {
    text-align: center;
}

.form-group {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

.form-group.textarea {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

.form-control {
    border-radius: 21px;
    background-color: #F5DFCB;
    border: none;
}

.form-control:focus {
    background-color: #F5DFCB;
    border: none;
    box-shadow: 0 0 10px #F5DFCB;
}

.form-group label {
    color: #231662;
    white-space: nowrap;
    font-weight: 900;
}

.logo-container {
    position: absolute;
    top: 75px;
    left: 30px;
}

.logo {
    width: 240px;
}

.form-check-label {
    font-size: 12px;
}

.form-check {
    margin: 10px auto;
    text-align: center;
}

.from-container {
    background-image: url(../img/bg-carta.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    background-color: transparent;
    flex-direction: column;
    position: relative;
    padding-inline: 30px;
    background-position-y: 0;
}

#formulario::after {
    content: "";
    position: absolute;
    bottom: 95%;
    right: 85%;
    width: 100px;
    height: 85px;
    background-image: url(../img/regalos.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.logoForm {
    width: 100%;
}

.tituloForm {
    color: #632EC4;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    line-height: 35px;
}

.tituloForm span {
    font-weight: 600;
}

.coronas::after {
    content: "";
    position: absolute;
    left: -30px;
    top: 13px;
    width: 25px;
    height: 15px;
    background-image: url(../img/corona.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.coronas::before {
    content: "";
    position: absolute;
    right: -30px;
    top: 13px;
    width: 25px;
    height: 15px;
    background-image: url(../img/corona.png);
    background-size: cover;
    background-repeat: no-repeat;
}

textarea.form-control {
    height: 143px;
}

.reyes-container {
    position: absolute;
    bottom: 0;
    right: 6vw;
    z-index: 10;
}

.regalos-container {
    position: absolute;
    bottom: 0;
    left: 1vw;
    z-index: 10;
}

.reyes {
    width: 29vw;
}

.queridos {
    position: relative;
    width: max-content;
    margin: 0 auto;
    margin-top: 20px;
}

@media only screen and (max-width: 600px) {
    .main-container {
        background-image: url(../img/image1.png);
        background-size: cover;
        height: 755px;
        background-repeat: no-repeat;
        background-position: left;
        background-color: #351A8F;
    }

    .form-group {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .from-container {
        display: flex;
        padding: 20px;
        background-color: #fff;
        border-radius: 30px;
        gap: 15px;
        flex-direction: column;
        position: relative;
        margin-top: 61px;
    }

    textarea.form-control {
        height: 65px;
    }

    #formulario::after {
        content: "";
        position: absolute;
        bottom: 95%;
        right: 84%;
        width: 55px;
        height: 45px;
        background-image: url(../img/regalos.png);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .form-group label {
        font-size: 16px;
        white-space: normal;
        text-align: center;
    }

    .logo-container {
        position: absolute;
        top: 30px;
        right: auto;
        left: auto;
    }

    .logo {
        width: 225px;
        display: block;
    }

    .reyes-container {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 10;
    }

    .reyes {
        width: 160px;
    }

    .tituloForm {
        font-size: 35px;
        font-weight: 300;
        text-align: center;
        line-height: 28px;
    }

    .tituloForm span {
        font-weight: 600;
    }

    .coronas::after {
        left: -32px;
        top: 5px;
        width: 25px;
        height: 15px;
    }

    .coronas::before {
        right: -32px;
        top: 5px;
        width: 25px;
        height: 15px;
    }

}

/*     MEDIDOR     */

.medidor_container {
    position: relative;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.medidor_container .medidor {
    /*    background: lightyellow;*/
    position: relative;
    width: 100%;
}

.medidor_container .rectangulos {
    /*    background: orangered;*/
    position: relative;
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

.medidor_container .rectangulo {
    margin-top: 1px;
    position: relative;
    max-width: 30%;
}

.medidor_container .rectangulo.rojo {}

.medidor_container .rectangulo.verde {}

.medidor_container .indicador {
    position: absolute;
    left: 50%;
    bottom: 15%;
    transform: translateX(-50%);
    transform-origin: bottom;
    max-width: 25%;
    z-index: 1;
}

.medidor_container .indicador_img {
    position: relative;
    /*    transform: translateX(-50%) rotate(0deg);*/
    transform-origin: bottom;
    /*    max-width: 15%;*/
    /*    z-index: 1;*/
}

/*     FIN MEDIDOR     */

.inputGroup {
    font-family: 'Segoe UI', sans-serif;
    margin: 1em 0 1em 0;
    max-width: 80%;
    margin: 0 auto;
    position: relative;
}

.inputGroup input {
    font-size: 100%;
    padding: 0.8em;
    outline: none;
    border: 2px solid rgb(200, 200, 200);
    background-color: transparent;
    border-radius: 20px;
    width: 100%;
}

.inputGroup label {
    font-size: 100%;
    position: absolute;
    left: 0;
    padding: 0.8em;
    margin-left: 0.5em;
    pointer-events: none;
    transition: all 0.3s ease;
    color: rgb(100, 100, 100);
}

.inputGroup :is(input:focus, input:valid)~label {
    transform: translateY(-50%) scale(.9);
    margin: 0em;
    margin-left: 1.3em;
    padding: 0.4em;
    background-color: white;
}

.inputGroup :is(input:focus, input:valid) {
    border-color: rgb(150, 150, 200);
}

.textoMedidor {
    font-size: 22px;
    font-weight: 300;
    color: white;
    padding: 10px 20px;
    text-align: center;
    line-height: 28px;
}

.medi {
    border-radius: 20px;
}

#nombreModal-error {
    display: none !important;
}