body {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;    
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #0041F1; 
    position: relative;
    z-index: 0;
}

/* Creamos una capa para la imagen de fondo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/back.png) no-repeat;
    background-size: contain;
    /* Ponemos la capa detrás del contenido escrito en el body */
    z-index: -1; 
    
    /* Lanzamos la animación de opacidad */
    animation: pulsoOpacidad 3s ease-in-out infinite;
}

body:not(.home)::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/back.png) no-repeat;
    background-size: contain;
    z-index: -1; 
    animation: none;
}

@keyframes pulsoOpacidad {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

body.inner {
    background: #0041F1;
}

header {
    background: url(../img/header.png) no-repeat;
    background-position: right bottom;
    background-size: 60%;
}

.bg-form{
    background: #fff;
    border-radius: 15px;
}

.bg-amarillo{
    background: #FFF55C;
}


.brand{
    width: 50px;
}

.arrow-down{
    width: 50px;
}

.text-dark{
    color: #000 !important;
}

.text-azul{
    color: #0041F1 !important;
}

.text-svg{
    max-width: 500px;
}

.small{
    font-size: 75% !important;
}

.btn{
    font-size: 16px !important;
}

.btn-sm {
    font-size: 14px !important;
    border-radius: 5px;
    font-weight: 400 !important;
}

.btn-warning {
    color: #fff !important;
    background-color: #FF685D !important;
    border-color: #FF685D !important;
}

.btn-warning:hover {
    color: #fff !important;
    background-color: #7FD0DD !important;
    border-color: #7FD0DD !important;
}

.btn-outline-primary {
    color: #000;
    border-color: #fff;
    background: #fff;
    
}

.btn-outline-primary:hover {
    color: #000;
    border-color: #a6dcf9;
    background: #a6dcf9;
}

.btn-primary {
    color: #fff !important;
    border-color: #0041F1 !important;
    background: #0041F1 !important;
}

h1{
    font-size: 20px;
    font-weight: 600;
}

h2 {
    font-size: 20px;
    line-height: 25px;
}

h3{
    font-size: 28px;
}


.form-control, .form-input, .form-select{
    font-size: 1rem !important;
    padding: 14px;
    border-radius: 8px;
    border-color: #BAE7FF;
    background-color: #BAE7FF;
}

.form-control {
    color: #000;
}

.form-select{
    color: #0041F1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.input-group {
    gap: 15px;
}

.input-group>.form-control, .input-group>.form-select {
    border-radius: 8px !important;
}


::-ms-input-placeholder { /* Edge 12-18 */
    color: #0041F1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
  
::placeholder {
    color: #0041F1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.pointer-events-none{
    pointer-events: none;
}


.form-check {
    text-align: center;
    padding-left: 0;
}
.form-check input[type="radio"] {
    display: none;
}
.form-check img {
    cursor: pointer;
    transition: transform 0.2s;
}


.mt-n{
    margin-top: -15px;
}


.mt-n-lg{
    margin-top: -40px;
}




.elegir label {
    color: #000;
    text-transform: uppercase;
}

.elegir label img {
    margin-bottom: 5px;
}







@-webkit-keyframes float {
    0% {      
      transform: translatey(0px);
    }
    50% {      
      transform: translatey(-10px);
    }
    100% {      
      transform: translatey(0px);
    }
  }
  
  @keyframes float {
    0% {      
      transform: translatey(0px);
    }
    50% {      
      transform: translatey(-10px);
    }
    100% {      
      transform: translatey(0px);
    }
  }

  .floating {
    transform: translatey(0px);
    -webkit-animation: float 3s ease-in-out infinite;
            animation: float 3s ease-in-out infinite;
  }

  .floating-2 {
    transform: translatey(0px);
    -webkit-animation: float 5s ease-in-out infinite;
            animation: float 5s ease-in-out infinite;
  }

  .floating-3 {
    transform: translatey(0px);
    -webkit-animation: float 7s ease-in-out infinite;
            animation: float 7s ease-in-out infinite;
  }

  .floating-4 {
    transform: translatey(0px);
    -webkit-animation: float 2s ease-in-out infinite;
            animation: float 2s ease-in-out infinite;
  }

  @-webkit-keyframes fadeOpacity {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
  }

  @keyframes fadeOpacity {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
  }
  
  .animate-fade {
    animation: fadeOpacity 3s infinite;
  }



.deco-1 img {
    width: 90px;
    margin-left: 70px;
    margin-top: -30px;
}

.deco-2 img  {
    width: 40px;
    margin-top: -60px;
    margin-left: 240px;
}

.deco-3 img  {
    width: 40px;
    margin-top: -90px;
    margin-left: 370px;
}

.deco-4 img  {
    width: 40px;
    margin-top: -90px;
}




@media(max-width:992px){
    body::before {
    background-size: 250%;
}

    header {
    background-position: right top;
    background-size: 55%;
}

h1 {
    font-size: 16px;
    font-weight: 600;
}

    .brand {
        width: 40px;
    }
    .elegir label {
        font-size: 9px;
        line-height: 10px;
    }
    .mt-n-lg{
        margin-top: -20px;
    }

    .deco-1 img {
        width: 50px;
        margin-left: 80px;
        margin-top: -120px;
    }
    
    .deco-2 img {
        width: 30px;
        margin-top: -70px;
        margin-left: 190px;
    }
    
    .deco-3 img {
        width: 30px;
        margin-top: -40px;
        margin-left: 280px;
    }

}


@media(min-width:992px){
    .pt-custom {
        padding-top: 45px;
    }

    .elegir label {
        font-size: 12px;
        line-height: 15px;
    }

    .mt-n {
        margin-top: -35px;
    }

}





