#banner-hero {
    position: relative;
    width: 100%;
    border-radius: 6px;
    margin-top: 70px;
}

.contenido-hero > img {
    width: 100%;
    background-size: cover;
    background-position: bottom;
}

#banner-hero:before {
    content: '';
    background: rgba(77,77,92,0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1;
}

.contenido-hero {
    position: relative;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .contenido-hero h3 span {
        font-weight: 600;
        position: absolute;
        z-index: 2;
        top: 35%;
        text-transform: uppercase;
        font-size: 43px;
        padding: 10px;
        color: #fff;
    }

    .contenido-hero p {
        position: absolute;
        text-transform: uppercase;
        line-height: 1.8;
        color: #fff;
        font-size: 20px;
        text-align: justify;
        padding: 20px;
        margin-top: 15%;
        z-index: 1;
    }

@media only screen and (min-width:220px) and (max-width: 450px) {
    .contenido-hero h3 span {
        font-size: 14px;
    }

    .contenido-hero p {
        font-size: 10px;
        margin-bottom: -15px;
    }
}

@media only screen and (min-width:451px) and (max-width: 500px) {
    .contenido-hero h3 span {
        font-size: 18px;
    }

    .contenido-hero p {
        font-size: 13px;
    }
}

@media only screen and (min-width:501px) and (max-width: 680px) {
    .contenido-hero h3 span {
        font-size: 21px;
    }

    .contenido-hero p {
        font-size: 15px;
    }
}


@media only screen and (min-width:681px) and (max-width: 870px) {
    .contenido-hero h3 span {
        font-size: 30px;
    }

    .contenido-hero p {
        font-size: 18px;
    }
}


#Calculadora{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f7f7f7;
    box-sizing: border-box;
    padding-bottom: 40px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }

input[type=number] { 
    -moz-appearance:textfield; 
}

.contenedor-c{
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    box-sizing: border-box;
    margin-bottom: 40px;
    padding-top: 20px;
}

.contenedor-der{
   display: flex;
   flex-direction: column;
   width: 40%;
   box-sizing: border-box;
}

.contenedor-izq{
    display: flex;
    flex-direction: column;
    width: 70%;
    box-sizing: border-box;
}
.medidas{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.contenedor-der > img{
    width: 100%;
}
.container-numeros{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}
.container-label{
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    width: 100%;
}
.container-text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 80%;
}
label{
    text-transform: uppercase;
    font-size: 18px;
}
.lado{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
.lado > p{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.valores{
    border-style: none;
    background-color: #f7f7f7;
    font-size: 32px;
    text-align: center;
    padding-left: 15px;
    width: 84.31px;
    margin: 10px;
    }
 #resultado{
    border-style: none;
    background-color: #f7f7f7;
    font-size: 48px;
    text-align: center;
    width: 100%;
}
 #resultados, #resultados2,
 #resultados3{
    border-style: none;
    background-color: #fff;
    font-size: 22px;
    text-align: center;
    width: 100%;
    color: #828282;
}
.valor{
    display: flex;
}
 .input{
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-right: 20px;
    border: 1px solid;
    border-radius: 6px;
    }
.esconder{
    visibility: hidden;
    display: none;
}
.mostrar{
    visibility: visible;
    display: block;
}
.btn-3d {
    width: 137px;  
    font-size: 22px;
    padding: 20px 30px;
    color: white;
    margin: 20px 10px 10px;
    border-radius: 6px;
    text-align: center;
    transition: top 0.01s linear;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    border-style: none;
}
.btn-3d.blue {
  background-color: #ff9100;
  box-shadow: 0 0 0 1px #ff9100 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset,
    0 8px 0 0 rgba(239, 130, 0, 0.7), 0 8px 0 1px rgba(0, 0, 0, 0.4),
    0 8px 8px 1px rgba(0, 0, 0, 0.5);
}
.btn-3d.blue:active {
  box-shadow: 0 0 0 1px #ff9100 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset,
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
.btn-3d:active {
  top: 9px;
}

@media all and (max-width:1024px) {
.contenedor-c{
    display: flex;
    flex-direction: column;
}
.contenedor-izq, .contenedor-der{
    width: 100%;
    }
    .contenedor-der > img{
        width: 360px;
        margin: auto;
    }
}
@media all and (max-width:500px) {
    .container-label{
        display: flex;
        flex-direction: column;
    }
    .valores{
        width: 60px;
    }

    .btn-3d{
        width: 120px;
    }
}
@media all and (max-width:350px) {
    .container-label{
        display: flex;
        flex-direction: column;
        width: 70%;
        margin: auto;
    }
    .contenedor-der > img{
        width: 320px;
        margin: auto;
    }

}

.container-servicios{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.line{
    height: 1px;
    width: 80%;
    margin: auto;
    background-color: #0057aa;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}
.grid-item {
    border-style: none;
    border-bottom-width: 1px;
    font-size: 30px;
    padding: 20px;
    text-align: center;
}
.grid-item > img{
    width: 100%;
}
.grid-item  .h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    margin-right: auto;
    box-sizing: border-box;
}
.grid-item, .valor > p{
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    color: #828282;
    box-sizing: border-box;
}

@media all and (max-width:768px) {
    .grid-item .h2{
        font-size: 14px;
    }
     #resultados, #resultados2, #resultados3{
        margin-left: -30px;
        font-size: 15px;
    }
    .grid-item > img{
        width: 65px;
    }
    .grid-container{
        width: 100%;
    }
    .line{
        width: 100%;
    }
}
.cta:hover{
  transform: scale(1.1);
  transition: 0.5s;
}
.cont-info > a {
    align-self: auto;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 1px;
  text-align: center;
  transition: 0.5s;
}
.cta {
  color: #ff9100;
  text-transform: uppercase;

}
.cta {
  align-self: flex-end;
  transition: 0.5s;
}
.cont-pasos{
    display: flex;
    width: 100%;
    background-color: whitesmoke;
    height: 100%;
    padding: 20px;
    margin: auto;
}

@media all and (max-width:454px) {
    #resultados, #resultados2, #resultados3{
        margin-left: -10px;
        font-size: 10px;
    }
    .grid-container{
        gap: 0px;
    }
    .grid-item{
        font-size: 9px;
    }
    .grid-item > img{
        width: 65px;
    }
    .grid-item .h2{
        font-size: 10px;
    }
    .grid-item .valor > p{
        font-size: 12px;
    }
}

@media all and (max-width:325px) {
    .grid-container{
        width: 100%;
    }
    .grid-item .valor > p{
        font-size: 10px;
    }
    .line{
        width: 100%;
    }
}
