@font-face {
    font-family: 'Montserrat';
    src: url('../../fonts/montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../fonts/montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
}

body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-image: url('../img/Figuras_Desktop2.png');
    background-position: left top, right bottom;
    background-repeat: repeat-y;
    background-size: auto, cover;
	font-size: 15px;
	text-align: justify;
}

/* Evitar justificación en móviles */
@media (max-width: 600px) {
    .justified-text {
        text-align: justify;
        word-spacing: -0.5px; /* Ajusta este valor según necesites */
        letter-spacing: 0.3px; /* Ajusta este valor según necesites */
        line-height: 1.2; /* Ajusta este valor según necesites */
        hyphens: auto;
        word-break: break-word;
        text-align-last: justify;
    }
}

/* Justificación mejorada para pantallas más grandes */
@media (min-width: 601px) {
    .justified-text {
        text-align: justify;
        word-spacing: 2px; /* Ajusta este valor según necesites */
        letter-spacing: 0.5px; /* Ajusta este valor según necesites */
        hyphens: auto;
    }
}


option {
    font-size: medium;
    font-family: 'Montserrat', sans-serif;
}

.titulosb{
	font-size: 20px; 
}

.img-figuras {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-repeat: repeat-y;
    /*height: 100%;*/
    z-index: 2;
    pointer-events: none;
    object-fit: c;
}

p {
    font-size: larger;
}

form {
    padding: 0px 0px 0px 60px;
}

input, select {
    width: 500px;
    margin: 10px;
    padding: 5px;
    border: none; 
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
    font-family: 'Montserrat', sans-serif;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
    font-family: 'Montserrat', sans-serif;
    background: url('../img/flecha.png') no-repeat right 10px center; 
    background-size: 15px; 
}



.select-wrapper {
    position: relative;
    display: inline-block;
}

select::-ms-expand {
    display: none;
}

label {
    margin: 17px;
    font-weight: 700;
}

input#data_treatment {
    width: 37px;
}

button {
    margin: 16px 67px;
    padding: 10px 70px;
    border: 1px solid;
    border-radius: 10px;
    background-color: #143A61;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    font-size: x-large;
    cursor: pointer;
}

input[type="radio"], 
input[type="checkbox"] {
    width: 18px; 
    height: 18px;
    background-color: transparent;
    border: 1px solid #b5121d; 
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: none !important;
}

input[type="checkbox"]::before {
    background-color: #b5121d;
}

.checkbox {
 font-weight: normal ;
}

h1 {
    font-family: system-ui;
    font-weight: 800;
    color:#143A61;
}

.content-form{
    display: flex;
}


.form-container {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    width: 50px;
	padding-right: 15%;
}
.image-container {
    flex: 0 0 60vh;
    position: relative;
    overflow: hidden;
    width: 50vh; 
    height: 110vh; 
    border-top-left-radius: 100vh; 
    border-bottom-left-radius: 100vh;
}
.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover; 
    display: block;
}

.button {
    width: 1000px;
    text-align: center;
}

span{
    color: #c90707;
    font-size: larger;
    font-weight: 800;
    margin-left: 5px;
}

#img-desktop{
    display: block !important;
}
#img-mobile{
    display: none !important;
}

label.label-check{
    font-weight: normal;
    display: flex;
}

.text-policies {
    width: 500px;
    padding: 5px 10px 10px 10px;
}

#check{
    border: 1px solid red !important;
}

div.newcampo {
    margin: 3% 0px 0px 0px;
    /*font-size: 14px;*/
}

label.no-label{
    font-weight: normal;
}

hr {
    border: 0.1px solid #cccccc7a;
    margin: 30px 0;
}

textarea#justification {
    margin: 10px;
    border: none;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    width: 574px;
    height: 123px;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    border: 2px solid #ff9b2d; 
    outline: none; 
}

div#message-not-accepted{
    font-size: large;
}

div#message-accepted {
    font-size: large;
}


@media screen and (max-width: 968px) {
    body {
        overflow-x: hidden;
    }
    .container {
        max-width: 100%; 
        margin: 0 auto;
    }
    .image-container {
        display: none;
    }
}

@media screen and (max-width: 698px) {
    .image-container{
        display: none;
    }
    #img-desktop{
        display: none !important;
    }
    #img-mobile{
        display: block !important;
    }
    form {
        padding: 0px;
    }
    input, select {
        width: 270px;
    }
    h1 {
        font-size: 20px;
    }
    p {
        font-size: 15px;
    }
    .button {
       width: 1px;
    }
    button {
        padding: 10px 50px;
        font-size: larger;
    }
    textarea#justification {
        width: 330px;
        height: 100px;
    }
	
	.form-container {
		flex: 1;
		padding: 47px;
		box-sizing: border-box;
		width: 50px;
		padding-right: 16%;
	}
}