/* 
    Estilos de sistema de registro - Creativa Producciones S.A
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito:ital,wght@0,500;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background-color: rgb(11, 0, 46);
    background-image: url("../img/fond-prototype.svg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

.fond_we {
    object-fit: fill;
    width: auto;
    height: inherit !important;
}

main {
    position: absolute;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 1.5rem;
}
/* Regla de variables */
:root {
    --fuente--: #A200EE;
}

/*--- Primera seccion de registro ---*/
.sec_1 {
    padding: 1rem;
    width: 60%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.sec_1 h1 {
    font-size: 3rem;
    font-weight: 600;
}
.sec_1 h4 { 
    font-size: 1.2rem;
    font-weight: 400;
    width: 85%;
    max-width: 35rem;
    color: rgba(255, 255, 255, 0.8);
}

/*--- Segunda seccion de registro - Formulario ---*/
.sec_2 {
    width: auto;
}
.btn_vermas {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--fuente--);
    width: 7rem;
    height: 3rem;
    border-radius: 2.5rem;
    color: var(--fuente--);
    font-weight: 600;
    font-size: 13px;
    margin-top: 1rem;
    transition: 0.2s ease-in; 
}
.btn_vermas:hover {
    background-color: #a300ee3b;
}
.cont_form {
    width: 100%;
    height: auto;
    max-width: 38.5rem;
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem;
    color: #000;
}
.cont_form img:nth-child(1) {
    margin-bottom: 1rem;
}
.cont_form h2:nth-child(2) {
    font-size: 2rem;
    font-weight: 700;
    line-height: 35px;
}
.cont_form h6:nth-child(3) {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #7e7e7e;
    margin-bottom: 2rem;
}

.cont_camps{
    display: flex;
    justify-content: space-between;
}
.cont_camps div:nth-child(1) {
    margin-right: 1rem;
}

.cont_camps_gen {
    display: flex;
    flex-direction: column;
}

.check_camp {
    display: flex;
    margin-top: 0.5rem;
}
.check_camp img {
    height: 1.4rem;
    margin-right: 5px;
}
.check_camp p {
    font-size: 13px;
    line-height: 20px;
}
.check_camp p a {
    color: var(--fuente--);
    text-decoration: underline;                                    
}

.lab_title {
    width: 100%;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.camp {
    border: 1px solid #c4c4c4;
    border-radius: 13px;
    height: auto;
    width: 100%;
    padding: 15px;
}

.org {
    margin-bottom: 1rem;
}

/* Regla de campo obligatorio */
.obli {
     color: var(--fuente--);
}
/* Regla de campo opcional */
.opc {
    font-size: 11px;
    font-weight: 400; 
}

/* Seccion inferior de envio */
.cont_envio {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}
.btn_enviar {
    background-image: url("../img/colors-font.png");
    cursor:default;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    width: 15rem;
    height: 3rem;
    padding: 0rem 1.3rem;
    border-radius: 2rem;
    margin-right: 1rem;
    transition: 0.2s ease;
}
.btn_enviar p {
    margin-right: 0.5rem;
}
.act_btn:hover {
    cursor: pointer;
    transform: translateY(-0.15rem);
    color: rgb(24, 24, 24);
}

.cont_envio p:nth-child(2) {
    width: auto;
    font-size: 12px;
    font-weight: 400;
    color: #808080;
}
.cont_envio p:nth-child(2) span {
    color: #494949;
    font-weight: 500;
}

.loader_enviar{
    width: 1.5rem;
    height: auto;
    margin: 0rem auto;
    -webkit-animation: girar 0.5s linear infinite;
    -o-animation: girar 0.5s linear infinite;
    animation: girar 0.5s linear infinite;
}
@keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Estilos de checkbox */
[type="checkbox"]{display: none;}
.check_camp label:nth-child(2)::before {
    content: url("../img/check_des.svg");
    cursor: pointer;
    margin-right: 0.5rem;
}
[type="checkbox"]:checked + label::before{
    content: url("../img/check_act.svg");
}

/*--- Regla de sistema Responsive ---*/
@media (max-width: 1020px) {
    main {
        flex-direction: column;
    }
    .sec_1, .sec_2 {
        width: 100%;

        display: flex;
        justify-content: center;
    }
}
@media (max-width: 515px) {
    .cont_camps {
        flex-direction: column;
    }
    main {
        padding: 0rem;
    }
    .cont_form {
        margin: 0rem;
        padding: 1.5rem;
        border-radius: 0px 0px 20px 20px;
    }
    .cont_camps div:nth-child(1) {
        margin-right: 0rem;
        margin-bottom: 1rem;
    }
    .sec_1 {
        margin-top: 1rem;
        margin-bottom: 4rem;
    }
    .sec_1 h1 {
        line-height: 3rem;
        margin-bottom: 1rem;
    }
    .sec_1 h4 {
        font-size: 1rem;
    }
}

@media (max-width: 450px) {
    .cont_envio {
        flex-direction: column-reverse;
        text-align: center;
    }
    .btn_enviar {
        width: 100%;
        margin-top: 0.5rem;
        margin-right: 0px;
    }
}
