body {
    font-family: "Montserrat";
}

/* HEADER */

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 5rem;
}

.first-text h1 {
    font-size: 150px;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0rem;
    font-weight: normal;
}

.first-text h1 img {
    width: 7rem;
    transform: rotate(5deg);
    position: absolute;
    right: 7rem;
}

.one span {
    margin-left: 2rem;
}

.two {
    display: none!important;
}

.three span {
    margin-right: 2rem;
}

.services-cards {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-end;
}

.card {
    box-sizing: border-box;
    width: 230px;
    height: 230px;
    background: #8aa9a7;
    border: 1px solid white;
    box-shadow: 12px 17px 51px #88a9a7;
    backdrop-filter: blur(6px);
    border-radius: 17px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: bolder;
    color: white;
    margin-left: 2rem;
    margin-right: 2rem;
}
  
.card:hover {
    border: 1px solid black;
    transform: scale(1.05);
}
  
.card:active {
    transform: scale(0.95) rotateZ(1.7deg);
}

.card p {
    margin: 0rem;
    font-size: 26px;
}

/* PLANES */

.container-plans {
    background-color: #497078;
    overflow: hidden;
}

.content-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.plan-1 .info-plan {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
    border-radius: 20rem 0rem 0rem 20rem;
}

.plan-2 {
    flex-direction: row-reverse;
}

.plan-2 .info-plan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0rem 20rem 20rem 0rem;
}

.plan-3 .info-plan {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
    border-radius: 20rem 0rem 0rem 20rem;
}

.title-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #88a9a7;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 100%;
    width: 35%;
    visibility: hidden;
}

.title-plan h1 {
    font-size: 70px;
}

.info-plan {
    background-color: #88a9a7;
    color: white;
    height: auto;
    width: 65%;
    padding: 1rem;
    visibility: hidden;
}

.info-plan ul {
    list-style: none;
    font-size: 45px;
    padding: 4rem;
    margin: 0rem;
    line-height: 3.5rem;
}

.info-button {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.info-plan button {
    background-color: white;
    color: #497078;
    border: none;
    padding: 2rem;
    margin: 1rem;
    border-radius: 5rem;
    font-size: 40px;
    line-height: 3rem;
    width: 34rem;
}

.info-plan button p {
    margin: 0rem;
}

.extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.extra-text p {
    color: white;
    line-height: 2rem;
    font-size: 30px;
}

.extra-button button {
    background-color: transparent;
    border: solid 2px white;
    border-radius: 4rem;
    color: white;
    font-size: 24px;
    width: 26rem;
    height: 8rem;
}

.extra-button button p {
    margin: 0rem;
    line-height: 2rem;
    font-size: 24px;
}

.italic {
    font-style: italic;
}

/* FINAL */

.final {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color: #497078;
    position: relative;
    height: 70vh;
}

.final-text {
    display: flex;
    align-items: center;
}

.final-text h2 {
    font-size: 50px;
    z-index: 1;
}

.final-text h1 {
    font-size: 150px;
}

.final-button button {
    background-color: #497078;
    color: white;
    border: none;
    border-radius: 5rem;
    width: 22rem;
    height: 4rem;
    font-size: 28px;
}

.final-pattern {
    position: absolute;
    z-index: -1;
    object-fit: cover;
    opacity: 0.2;
    width: 100%;
    height: 100%;
}

/* FOOTER */

footer {
    display: flex;
}

/* ANIMACIONES */

@keyframes plan1 {
    from{
        transform: translateX(50%);
    }
    to{
        transform: translateY(0%);
    }
}

@keyframes plan2 {
    from{
        transform: translateX(-50%);
    }
    to{
        transform: translateY(0%);
    }
}


@media (max-width: 1600px) {

    /* PLANES */

    .content-plan {
        height: 90vh;
    }

    .content-plan {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .title-plan h1 {
        font-size: 60px;
    }

    .info-plan ul {
        font-size: 30px;
    }

    .info-plan button {
        font-size: 30px;
        width: 28rem;
        padding: 1rem;
    }
}

@media (max-width: 1500px) {

    /* HEADER */

    header {
        padding: 4rem;
    }

    .first-text h1 {
        font-size:  130px;
    }

    .first-text h1 img {
        width: 6rem;
        right: 3rem;
    }

    .card {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1360px) {

    /* HEADER */

    header {
        padding: 4rem;
    }

    .first-text h1 {
        font-size:  110px;
    }

    .first-text h1 img {
        width: 5rem;
    }

    .card {
        width: 180px;
        height: 180px;
    }

    /* PLANES */

    .content-plan {
        height: 85vh;
    }

    .content-plan {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .title-plan h1 {
        font-size: 50px;
    }

    .info-plan ul {
        font-size: 24px;
        padding: 3rem;
        line-height: 3rem;
    }

    .info-plan button {
        font-size: 24px;
        width: 22rem;
        padding: 1rem;
        line-height: 2rem;
    }

    .extra-text p {
        line-height: 2rem;
        font-size: 26px;
    }
    
    .extra-button button {
        width: 22rem;
        height: 6rem;
    }

    /* FINAL */

    .final-text h2 {
        font-size: 40px;
    }
    
    .final-text h1 {
        font-size: 120px;
    }
    
    .final-button button {
        border-radius: 5rem;
        width: 18rem;
        height: 3.5rem;
        font-size: 20px;
    }

}

@media (max-width: 1100px) {

    /* HEADER */

    header {
        padding: 6rem;
    }

    .first-text h1 {
        font-size:  90px;
    }

    .first-text h1 img {
        width: 4rem;
    }

    .card {
        width: 160px;
        height: 160px;
    }

    /* PLANES */

    .content-plan {
        height: 75vh;
    }
    
    .content-plan {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .title-plan h1 {
        font-size: 40px;
    }
    
    .info-plan ul {
        font-size: 20px;
        padding: 2rem;
        line-height: 2.5rem;
    }
    
    .info-plan button {
        font-size: 20px;
        width: 18rem;
        padding: 1rem;
        line-height: 2rem;
    }

    .extra-text p {
        line-height: 1.5rem;
        font-size: 22px;
    }
    
    .extra-button button {
        width: 18rem;
        height: 5rem;
    }
    
    .extra-button button p {
        margin: 0rem;
        line-height: 1.5rem;
        font-size: 22px;
    }

}

@media (max-width: 950px) {

    /* HEADER */

    header {
        padding: 4rem;
        height: 80vh;
    }

    .first-text h1 {
        font-size:  90px;
        line-height: 6rem;
    }

    .first-text h1 img {
        display: none;
    }

    .first-text .one {
        font-size: 85px;
    }

    .first-text .one span {
        display: none;
    }

    .first-text .one::after {
        content: url("../../libs/img/green-smile.png");
        transform: scale(0.08) rotate(10deg);
        width: 1rem;
        height: 1rem;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

    .first-text .two {
        display: block!important;
    }

    .first-text .two span {
        font-size: 70px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .first-text .three span {
        display: none;
    }

    .card {
        width: 140px;
        height: 140px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .card p {
        font-size: 20px;
    }

    /* FINAL */

    .final {
        height: 50vh;
    }

    .final-text h2 {
        font-size: 30px;
    }
    
    .final-text h1 {
        font-size: 100px;
    }
    
    .final-button button {
        border-radius: 5rem;
        width: 16rem;
        height: 3rem;
        font-size: 20px;
    }
}

@media (max-width: 850px) {

    /* PLANES */
    
    .content-plan {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .title-plan h1 {
        font-size: 30px;
    }
    
    .info-plan ul {
        font-size: 16px;
        padding: 1rem;
        line-height: 2rem;
    }
    
    .info-plan button {
        font-size: 16px;
        width: 14rem;
        padding: 1rem;
        line-height: 2rem;
    }

    .extra {
        padding: 0.5rem;
    }

    .extra-text p {
        font-size: 18px;
    }

    .extra-button button {
        width: 12rem;
        height: 4rem;
    }
    
    .extra-button button p {
        margin: 0rem;
        line-height: 1rem;
        font-size: 14px;
    }

}

@media (max-width: 750px) {
    
    /* FINAL */

    .final {
        height: 40vh;
    }

    .final-text h2 {
        font-size: 20px;
    }
    
    .final-text h1 {
        font-size: 80px;
    }
    
    .final-button button {
        border-radius: 5rem;
        width: 12rem;
        height: 2.5rem;
        font-size: 16px;
    }
}

@media (max-width: 650px) {

    /* HEADER */

    header {
        padding: 4rem 0rem 4rem 0rem;
        height: 80vh;
    }

    .first-text h1 {
        font-size:  80px;
        line-height: 5.5rem;
    }

    .first-text h1 img {
        display: none;
    }

    .first-text .one {
        font-size: 75px;
    }

    .first-text .one span {
        display: none;
    }

    .first-text .two::before {
        display: block;
    }

    .first-text .two span {
        font-size: 60px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .first-text .three span {
        display: none;
    }

    .card {
        width: 125px;
        height: 125px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    /* PLANES */

    .content-plan {
        height: 50vh;
    }
    
    .content-plan {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .title-plan h1 {
        font-size: 20px;
    }
    
    .info-plan ul {
        font-size: 12px;
        padding: 1rem;
        line-height: 1.5rem;
    }
    
    .info-plan button {
        font-size: 10px;
        width: 10rem;
        padding: 1rem;
        line-height: 1rem;
    }

    .extra-text p {
        font-size: 12px;
        line-height: 0.5rem;
    }

    .extra-button button {
        width: 10rem;
        height: 3rem;
        margin: 0.5rem;
    }
    
    .extra-button button p {
        line-height: 1rem;
        font-size: 12px;
    }
}

@media (max-width: 500px) {

    /* HEADER */

    header {
        padding: 4rem 0rem 4rem 0rem;
    }

    .first-text h1 {
        font-size:  70px;
        line-height: 5rem;
    }

    .first-text h1 img {
        display: none;
    }

    .first-text .one {
        font-size: 65px;
    }

    .first-text .one span {
        display: none;
    }

    .first-text .one::after {
        transform: scale(0.06) rotate(10deg);
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .first-text .two::before {
        display: block;
    }

    .first-text .two span {
        font-size: 50px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .first-text .three span {
        display: none;
    }

    .card {
        width: 115px;
        height: 115px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .card p {
        font-size: 14px;
    }

    /* PLANES */

    .content-plan {
        height: 30vh;
    }
    
    .content-plan {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .title-plan h1 {
        font-size: 16px;
    }

    .info-plan {
        width: 80%;
    }
    
    .info-plan ul {
        font-size: 9px;
        padding: 0.4rem;
        line-height: 1rem;
    }
    
    .info-plan button {
        font-size: 12px;
        width: 10rem;
        padding: 1rem;
        line-height: 1rem;
        margin: 0.5rem;
    }

    .extra {
        padding: 0.2rem;
    }

    .extra-text p {
        font-size: 8.5px;
        line-height: 0.8rem;
        margin: 0rem;
    }

    .extra-button button {
        width: 7rem;
        height: 2rem;
        margin: 0.2rem;
    }
    
    .extra-button button p {
        line-height: 0.5rem;
        font-size: 7px;
    }

    /* FINAL */

    .final {
        height: 20vh;
    }

    .final-text h2 {
        font-size: 14px;
    }
    
    .final-text h1 {
        font-size: 50px;
    }
    
    .final-button button {
        border-radius: 5rem;
        width: 8rem;
        height: 2rem;
        font-size: 10px;
    }
}

@media (max-width: 450px) {

    /* HEADER */

    header {
        padding: 6rem 0rem 6rem 0rem;
    }

    .first-text h1 {
        font-size:  64px;
    }

    .first-text h1 img {
        display: none;
    }

    .first-text .one {
        font-size: 55px;
    }

    .first-text .one span {
        display: none;
    }

    .first-text .two::before {
        display: block;
    }

    .first-text .two span {
        font-size: 60px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .first-text .three span {
        display: none;
    }

    .card {
        width: 100px;
        height: 100px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .card p {
        font-size: 12px;
    }
}

@media (max-width: 400px) {

    /* HEADER */

    header {
        padding: 7rem 0rem 7rem 0rem;
    }

    .first-text h1 {
        font-size:  58px;
    }

    .first-text h1 img {
        display: none;
    }
 
    .first-text .one {
        font-size: 55px;
    }

    .first-text .one span {
        display: none;
    }

    .first-text .two::before {
        display: block;
    }

    .first-text .two span {
        font-size: 60px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .first-text .three span {
        display: none;
    }

    .card {
        width: 100px;
        height: 100px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .card p {
        font-size: 12px;
    }
}

@media (max-width: 370px) {

    /* HEADER */

    header {
        padding: 8rem 0rem 8rem 0rem;
    }

    .first-text h1 {
        font-size:  50px;
        line-height: 4rem;
    }

    .first-text .one::after {
        transform: scale(0.04) rotate(10deg);
        margin-left: 1rem;
        margin-bottom: 1rem;
    }

    .card {
        width: 85px;
        height: 85px;
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }

    .card p {
        font-size: 10px;
    }

    /* MAIN */

    main .container-plans .content-plan .title-plan h1 {
        font-size: 14px;
    }

    main .container-plans .info-plan ul {
        font-size: 7px;
    }

    main .container-plans .info-plan .info-button button {
        width: 8rem;
        padding: 0.5rem;
        font-size: 10px;
        line-height: 0.8rem;
    }
    
    .extra .extra-text p {
        font-size: 7px;
    }

    .extra .extra-button button {
        width: 5rem;
    }

    .extra .extra-button button p {
        font-size: 6px;
        line-height: 0.4rem;
    }

    .final .final-text h2 {
        font-size: 11px;
    }

    .final .final-text h1 {
        font-size: 40px;
    }
}

@media (max-width: 340px) {

}