﻿/* Estilo para el rectángulo */
.container {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #852e97;
    border-radius: 25px;
    display: flex;
    align-items: center;
    flex-direction: column;
}




@media only screen and (max-width: 768px) {
    /* Para pantallas de hasta 768px de ancho */
    .container {
        width: 76%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #852e97;
        border-radius: 25px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .icon-gracias {
        max-width: 100%;
        max-height: 100%;
        width: 85%;
        height: 85%;
        display: block;
        margin: auto;
        margin-top: 20%;
        position: relative;
        top: 125px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* Para pantallas de entre 768px y 1024px de ancho */
    .container {
        width: 76%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #852e97;
        border-radius: 25px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .icon-gracias {
        max-width: 100%;
        max-height: 100%;
        width: 85%;
        height: 85%;
        display: block;
        margin: auto;
        margin-top: 20%;
        position: relative;
        top: 125px;
    }
}


body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/FondoFlatt3.png');
    font-family: 'Century Gothic Std';
    color: #ffffff;
}

@font-face {
    font-family: 'Century Gothic Std';
    src: url('../fonts/CenturyGothicStd-Bold.eot');
    src: url('../fonts/CenturyGothicStd-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/CenturyGothicStd-Bold.woff2') format('woff2'), url('../fonts/CenturyGothicStd-Bold.woff') format('woff'), url('../fonts/CenturyGothicStd-Bold.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
    font-display: swap;
}

#txtContrato {
    border-radius: 10px;
    width: 90%;
    height: 60%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    box-shadow: inset 0 0 0 transparent;
}


.custom-checkbox {
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    margin-right: 10px;
    background-color: white;
    position: relative;
}

    .custom-checkbox span {
        color: white;
        font-size: 12px;
        position: absolute;
        bottom: -20px;
        left: 5px;
    }
/*

.custom-checkbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    margin-right: 10px;
    background-color: white;
}*/


    .custom-checkbox.checked {
        background-color: #ff0000;
    }

.icon-inicio {
    width: 25px;
    height: 20px;
    margin-right: 10px;
    background-image: url('../images/iconoPulgarAbajo.png');
    background-size: cover;
    display: inline-block;
    margin-top: -23px;
}

.icon-final {
    width: 25px; /* Ancho del icono */
    height: 20px; /* Altura del icono */
    margin-right: 0px; /* Espacio entre el icono y los checkbox */
    vertical-align: middle; /* Alineación vertical con el texto */
    background-image: url('../images/iconoPulgarArriba.png'); /* Ruta de la imagen */
    background-size: cover; /* Ajusta el tamaño de la imagen */
    display: inline-block; /* Hace que el span tenga dimensiones */
    margin-top: -23px;
}




.checkbox-container {
    text-align: center;
    margin-top: 20px;
}

    .checkbox-container input[type="checkbox"] {
        display: none;
    }

    .checkbox-container label {
        width: 45%;
        max-width: 150px;
        height: 30px;
        line-height: 60px;
        border-radius: 5px;
        cursor: pointer;
        margin: 0 5px;
        text-align: right;
        padding-right: 35px;
        position: relative;
    }

        .checkbox-container label::before {
            content: "";
            width: 20px;
            height: 20px;
            background-color: white;
            border: 1px solid #fff;
            border-radius: 3px;
            position: absolute;
            right: 5px;
            top: 0px;
        }

    .checkbox-container input[type="checkbox"]:checked + label::before {
        content: "\2713";
        font-size: 16px;
        color: #ff0000;
        text-align: center;
        line-height: 18px;
    }



#btnEnviar {
    background-color: #ff0000;
    border-radius: 15px;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: white;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 15px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 20%;
    font-family: 'Century Gothic Std';
    font-weight: bolder;
    font-style: normal;
    font-display: swap;
}
#containerGracias {
    width: 70%;
    height: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #852e97;
    border-radius: 25px;
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    display: none;
}

.icon-gracias {
    max-width: 100%; /* La imagen nunca excederá el ancho del contenedor */
    max-height: 100%; /* La imagen nunca excederá la altura del contenedor */
    width: 85%;
    height: 85%;
    display: block; /* Asegura que la imagen se comporte como un bloque */
    margin: auto; /* Centra la imagen horizontalmente */
    margin-top: 20%;
    position: relative;
    bottom: 85px;
}


footer {
    position: fixed;
    bottom: 0%;
    left: 0;
    width: 100%;
}

    footer img {
        max-width: 100%; /* La imagen no excederá el ancho del contenedor */
        display: block; /* Asegura que la imagen sea un bloque */
    }

.logo {
    position: fixed;
    bottom: 10px;
    max-width: 167px;
    z-index: -1;
    left: 10px;
    top: 20px;
}