@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap');
:root{
    --verde: #0c443a;
    --limon: #25d1b2;
    --degradado: linear-gradient(90deg, var(--limon), var(--verde));
}
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
}
*::selection{
    background: var(--limon);
    color: white;
}
html{
    font-size: 62.4%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    background: #f9f9f9;
}

section{
    min-height: 100vh;
    padding: 0 9%;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
}
.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .8rem 3rem;
    border-radius: 5rem;
    background: var(--degradado);
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    transition: all 3s linear;
}
.btn:hover{
    transform: scale(1.1);
}

.heading{
    text-align: center;
    background: var(--verde);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 3.5rem;
    text-transform: uppercase;
    padding: 1rem;
}
header{
    position: fixed; /*Cambiamos de fixed a relative*/
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}
header .logo{
    font-size: 2rem;
    color: var(--verde);
}
header .logo span{
    color: var(--limon);
}
header .navbar a{
    font-size: 1.8rem;
    margin-left: 2rem;
    color: var(--verde);
}
header .navbar a:hover{
    color: var(--limon);
}
header input{
    display: none;
}
header label{
    font-size: 3rem;
    color: var(--verde);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
}

.inicio{
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(./img/inicio_fondo.png) no-repeat;
    background-size: cover;
    background-position: center;
}
.inicio .image img{
    width: 40vh;
    animation: float 3s linear infinite;
}
@keyframes float{
    0%, 100%{
        transform: translateY(0rem);
    }
    50%{
        transform: translateY(-3.5rem);
    }
}
.inicio .content h3{
    font-size: 5.5rem;
    color: #333;
    text-transform: uppercase;
}
.inicio .content h3 span{
    color:  var(--limon);
    text-transform: uppercase;
}
.inicio .content p{
    font-size: 1.7rem;
    color: #666;
    padding: 1rem 0;
}
.detalles .caja-contenedor{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.detalles .caja-contenedor .caja{
    flex: 1 1 30rem;
    background: white;
    border-radius: .5rem;
    border: .1rem solid rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    margin: 1.5rem;
    padding: 3rem 2rem;
    border-radius: .5rem;
    text-align: center;
    transition: .2s linear;
}
.detalles .caja-contenedor .caja img{
    height: 15rem;
}
.detalles .caja-contenedor .caja h3{
    font-size: 2rem;
    color: #333;
    padding-top: 1rem;
}

.detalles .caja-contenedor .caja p{
    font-size: 1.3rem;
    color: #666;
    padding: 1rem 0;
}
.acerca_de{
    background: url(./img/fondo_2.png) no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 3rem;
}
.acerca_de .columna{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.acerca_de .columna image{
    flex: 1 1 40rem;
}
.acerca_de .columna .image img{
    width: 100%;
}
.acerca_de .columna .content{
    flex: 1 1 40rem;
}
.acerca_de .columna .content h3{
    font-size: 3rem;
    color: #333;
}
.acerca_de .columna .content p{
    font-size: 1.5rem;
    color: #666;
    padding: 1rem 0;
}
.acerca_de .columna .content .bottons a:last-child{
    margin-left: 2rem;
}

.suscribete{
    text-align: center;
    padding: 5rem;
    background: url(./img/fondo_sub.png) no-repeat;
    background-size: cover;
    background-position: center;
}
.suscribete h3{
    color: white;
    font-size: 3rem;
    text-transform: uppercase;
}
.suscribete p{
    color: whitesmoke;
    font-size: 1.6rem;
    margin: 2rem auto;
    width: 70rem;
}
.suscribete form{
    display: flex;
    max-width: 70rem;
    border: .2rem solid whitesmoke;
    padding: .5rem;
    border-radius: 5rem;
    margin: 2rem auto;
    height: 5.5rem;
}
.suscribete form input[type="email"]{
    padding: 0 2rem;
    font-size: 1.7rem;
    background: none;
    width: 100%;
    color: white;
    text-transform: none;
    background: none;
}
.suscribete form input[type="email"]::placeholder{
    color: whitesmoke;
    text-transform: capitalize;
}
.suscribete form input[type="submit"]{
    background: white;
    width: 20rem;
    font-size: 1.7rem;
    border-radius: 5rem;
    cursor: pointer;
}
.suscribete form input[type="submit"]:hover{
    color: var(--limon);
}


.opiniones .caja-contenedor{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.opiniones .caja-contenedor .caja{
    background: white;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    position: relative;
    border: .1rem solid rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    flex: 1 1 30rem;
    border-radius: .5rem;
}
.opiniones .caja-contenedor .caja .fa-atom{
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    color: var(--limon);
    opacity: .3;
}
.opiniones .caja-contenedor .caja .user img{
    border-radius: 50%;
    object-fit: cover;
    height: 8rem;
    width: 8rem;
    margin-top: 2rem;
}
.opiniones .caja-contenedor .caja .user h3{
    color: var(--verde);
    font-size: 2rem;
}
.opiniones .caja-contenedor .caja .user .stars i{
    color: var(--verde);
    font-size: 1.5rem;
    padding: 1rem 0;
}
.opiniones .caja-contenedor .caja .user .comentarios{
    color: #666;
    font-size: 1.5rem;
    padding: 1rem;
}

.precios .caja-contenedor{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.precios .caja-contenedor .caja{
    flex: 1 28rem;
    margin: 1rem;
    padding: 1rem;
    background: white;
    border: .1rem solid rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border-radius: .5rem;
    text-align: center;
    padding-bottom: 3rem;
}
.precios .caja-contenedor .caja:nth-child(2),
.precios .caja-contenedor .caja:hover{
    border: .2rem solid var(--limon);
}
.precios .caja-contenedor .caja .titulo{
    color: var(--verde);
    font-size: 2.5rem;
    padding-top: 1rem;
}
.precios .caja-contenedor .caja .tipos{
    font-size: 4rem;
    color: var(--limon);
    padding: 1rem 0;
}
.precios .caja-contenedor .caja .tipos span{
    font-size: 2rem;
}
.precios .caja-contenedor .caja ul{
    padding: 1rem 0;
    list-style: none;
}
.precios .caja-contenedor .caja ul li{
    font-size: 1.7rem;
    color: #333;
    padding: .5rem 0;
}
.precios .caja-contenedor .caja ul li .fa-check{
    color: lawngreen;
}
.precios .caja-contenedor .caja ul li .fa-xmark{
    color: red;
}

.contactos{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 4rem;
}
.contactos .image{
    flex: 1 1 40rem;
}
.contactos .image img{
    width: 100%;
    padding: 2rem;
}
.contactos form{
    flex:  1 1 40rem;
    padding: 2rem 3rem;
    border: .1rem solid rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border-radius: .5rem;
    background: white;
}
.contactos .heading{
    text-align: left;
    padding: 0;
    padding-bottom: 2rem;
}
.contactos form .input-caja{
    position: relative;
}
.contactos form .input-caja input, .contactos form .input-caja textarea{
    width: 100%;
    background: none;
    color: #333;
    margin: 1.5rem 0;
    padding: .5rem 0;
    font-size: 1.7rem;
    border-bottom: .1rem solid rgba(0, 0, 0, .1);
    text-transform: none;
}
.contactos form .input-caja textarea{
    resize: none;
    height: 13rem;
}
.contactos form .input-caja label{
    position: absolute;
    top: 1.7rem;
    left: 0;
    font-size: 1.7rem;
    color: #666;
    transition: .2s linear;
}
.contactos form .input-caja input:focus ~ label,
.contactos form .input-caja input:valid ~ label,
.contactos form .input-caja textarea:focus ~ label,
.contactos form .input-caja textarea:valid ~ label{
    top: -.5rem;
    font-size: 1.5rem;
    color: var(--limon);
}

.footer{
    background: url(./img/footer-fondo.png) no-repeat;
    padding-top: 3rem;
    background-size: cover;
    background-position: center;
}
.footer .caja-contenedor{
    display: flex;
    flex-wrap: wrap;
}
.footer .caja-contenedor .caja{
    flex: 1 1 25rem;
    margin: 2rem;
}
.footer .caja-contenedor .caja h3{
    font-size: 2.5rem;
    padding: 1rem 0;
    color: wheat;
    text-decoration: underline;
    text-underline-offset: 1rem;
}
.footer .caja-contenedor .caja p{
    font-size: 1.5rem;
    padding: .5rem 0;
    color: whitesmoke;
}
.footer .caja-contenedor .caja a{
    display: block;
    font-size: 1.5rem;
    padding: .5rem 0;
    color: wheat;
}
.footer .caja-contenedor .caja a:hover{
    text-decoration: underline;
}
.footer .caja-contenedor .caja .info{
    display: flex;
    align-items: center;
}
.footer .caja-contenedor .caja .info i{
    margin: .5rem 0;
    margin-right: 1rem;
    border-radius: 50%;
    background: whitesmoke;
    color: var(--limon);
    font-size: 1.8rem;
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    text-align: center;
}
.footer .creditos{
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: .1rem;
    color: wheat;
    border-top: .1rem solid wheat;
    padding: 2.5rem 1rem;
    text-align: center;
}

@media (max-width: 1200px){
    html{
        font-size: 55%;
    }
}
@media (max-width: 990px){
    section{
        padding: 0 3%;
        padding-top: 7.5rem;
        padding-bottom: 2rem;
    }
}


@media (max-width: 768px){
    header label{
        visibility: visible;
        opacity: 1;
    }
    header .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 2rem;
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        transition: .2s linear;
    }
    header .navbar a{
        display: block;
        margin: 2rem 0;
        font-size: 2rem;
    }
    header input:checked ~ .navbar{
        transform: scaleY(1);
        opacity: 1;
    }
    header input:checked ~ label::before{
        content: '\f00d';
    }

    .inicio{
        flex-flow: column-reverse;
    }
    .inicio .image img{
        width: 100%;
    }
    .inicio .content h3{
        font-size: 3.6rem;
    } 
    .inicio .content p{
        font-size: 1.5rem;
    }

    .acerca_de{
        background-position: right;
    }

    .suscribete p{
        width: auto;
    }
}

@media (max-width: 450px){
    html{
        font-size: 49%;

    }

    .acerca_de .columna .content .bottons a{
        width: 100%;
        text-align: center;
    }
    .acerca_de .columna .content .bottons a:last-child{
        margin: 1rem 0;
    }
}
