*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dos columnas iguales */
  column-gap: 5%; /* espacio entre columnas */
  row-gap: 1em;   /* espacio entre filas */
  width: 90%;
  margin: 0 auto;
}

.form-grid .form-group {
  width: 100%;
}

.form-group.image img {
  float: right;
  width: 100%;
}

.form-group-double {
  grid-column: span 2; /* que este contenedor ocupe las dos columnas del grid principal */
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* divide en dos dentro del grupo */
  column-gap: 5%;
}

.form-subgroup {
  display: flex;
  flex-direction: column;
}
.radio-group {
  display: flex;
  gap: 1.5em;
  margin-top: 0.5em;
}

.radio-group label {
  font-weight: normal;
}

.radio-inline-group {
  display: flex;
  align-items: center;
  gap: 1em;
}

.radio-main-label {
  min-width: 80px;
  font-weight: bold;
}

.radio-options {
  display: flex;
  gap: 1em;
}

.radio-options label {
  font-weight: normal;
}

.img-verde {
  max-width: 50px;
  height: auto;
  border: 3px solid green;
  border-radius: 4px;
}

.img-rojo {
  max-width: 50px;
  height: auto;
  border: 3px solid red;
  border-radius: 4px;
}

.tick-verde {
  color: green;
  font-size: 40px;
  display: inline-block;
  line-height: 1;
}

.no-oferta {
  color: #999;
  font-size: 16px;
  font-weight: bold;
}

.cero-rojo {
  color: red;
  font-weight: bold;
}

.num-verde {
  color: rgb(5, 87, 9);
  font-weight: bold;
}

.input-cero-rojo {
  color: red;
  font-weight: bold;
}

input.form-control.input-cero-rojo {
  color: red;
  font-weight: bold;
}

input.form-control.input-cero-rojo[readonly] {
  color: red !important;
  font-weight: bold !important;
}



input.form-control[readonly] {
  background-color: #ccc !important;
  color: #000 !important;
}

.myButton {
  margin-top: 13rem;
  margin-left: 2rem;
}








nav{
    background: rgb(113, 141, 236);
    height: 80px;
    width: 100%;
}
.enlace{
    position: absolute;
    padding: 0px 50px;
}
.logo{
    height: 40px;
}
nav ul{
    float: right;
    margin-right: 6%;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: aliceblue;
    font-size: 1.2em;
    padding: 7px 13px;
    border-radius: 5px;
}
li a.active, li a:hover{
    background: rgb(4, 55, 122);
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
/* section{
    background: url(fondo.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    height: calc(100vh - 80px); //se restan pos px del enlace, falta considerar h1
} */
@media (max-width: 952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 1em;
    }
}
@media (max-width: 680px){
    h1 {
        font-size: 1.5em;
    }
    .checkbtn{
        display: block;
    }
    #check:checked ~ label{
        z-index: 99;
        display: block;
        position: absolute;
        line-height: 30px;
        margin-left: 20px;
        margin-top: 20px;
        
    }
   
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: rgb(126, 108, 108);
        /* top: 70px; */
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 1.2em;
    }
    li a:hover, li a.active{
        background: none;
        color: red;
    }
    #check:checked ~ ul{
        left: 0;
        margin-top: 0px;
        z-index: 98;
        position: absolute;
        
        height: 100vh;      
    }
    /* #check:checked, label{
        z-index: 10;
        display: block;
        position: absolute;
        width: 20px;
        line-height: 20px;
    } */
    /* input[type=checkbox]{
        transform: scale(1.5);
    }
 */
}


