body{
    overflow-x: hidden;
}

/* Hero */

.hero{
    width: 100%;
}

#portada-rad,
#portada-kra,
#portada-lab,
#portada-cons{
    width: 100%;
    height: 840px;
}

#kranexlogo,
#labsislogo{
    width: 27%;
}

.hero .hero-rec{
    width: 500px;
    height: 300px;
    background-color: white;
    position: absolute;
    z-index: 1;
    top: 36%;
    left: 230px;
    border-radius: 30px;
    padding: 20px;
    transition: 0.5s;
    cursor: pointer;
}

.hero .hero-rec:hover{
    transform: translateY(-15px);
    transition: 0.5s;
    filter: drop-shadow(0 0px 20px rgb(48, 48, 48));
    
}

.hero .hero-rec img{
    width: 200px;
}

.hero .hero-rec h1{
    text-align: left;
    font-size: 20px;
    color: #B62C38;
    margin-top: 20px;
    margin-left: 5px;
}

.hero .hero-rec .portada-p{
    width: 80%;
}

.hero .hero-rec .portada-p p{
    text-align: left;
    margin-top: 10px;
    margin-left: 5px;
    font-size: 15px;
}


.hero .hero-rec a{
    background-color: #B62C38;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    margin-left: 5px;
    position: relative;
    top: 10px;
}

.hero .hero-rec a:hover{
    color: #B62C38;
    border: 1px solid #B62C38;
    background-color: white;
}

.hero .hero-rec i{
    color: #B62C38;
    position: relative;
    top: -69px;
    left: 300px;
    font-size: 25px;
}

#pass, #pass2, #pass3, #pass4{
    cursor: pointer;
}

#pass:hover, #pass2:hover, #pass3:hover, #pass4:hover{
    text-shadow: 0px 0px 5px black;
}

.portada img{
    width: 100%;
}



/* Hero */

/* Logo in-line */

.logos-in-line{
    width: 100%;
    height: 150px;
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    filter: drop-shadow(0 20px 20px rgb(0, 0, 0));
}

#kranexinline{
    width: 8%;
}

#labsisinline{
    width: 9%;
}

.logos-in-line img{
    width: 14%;
}

.logos-in-line img:hover{
animation-name: floating;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}


@keyframes floating {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, -15px); }
    to   { transform: translate(0, -0px); }    
}

#consultinline{
    width: 15%;
    position: relative;
}

/* Logo in-line */

/* Rectangulos */

.rec-us{
    width: 100%;
    height: 500px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 100px;
    justify-content: center;

}

#title-recs{
    color: #B62C38;
}

.rec-us .rec{
    width: 250px;
    height: 200px;
    
    border-radius: 40px;
    margin-left: 50px;
    cursor: pointer;  

}


#rec1{
    background-image: url("../img/recfondo.png");
}

#rec2{
    background-image: url("../img/rec2.jpg");
}

#rec3{
    background-image: url("../img/rec3.jpg");
}

#rec4{
    background-image: url("../img/rec4.jpg");
}

.rec-us .rec:hover{
    background-color: white;
    border: 1px solid #B62C38;
    transition: 0.5s;
}

.rec-us .rec .rechover1{
    visibility: hidden;
}

.rec-us .rec:hover .rechover1{
    visibility: visible;
}

.rec-us .rec:hover i{
    color: #B62C38;
    margin-top: 24px;
    margin-left: 30px;
    font-size: 30px;
}

.rec-us .rec:hover p{
    color: #B62C38;
    visibility: visible;
}

.rec-us .rec i{
    margin-top: 24px;
    margin-left: 30px;
    font-size: 60px;
    color: white;
}

.rec-us .rec p{
    margin-top: -35px;
    margin-left: 80px;
    font-size: 25px;
    color: #B62C38;
    visibility: hidden;
}

#title-recs{
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
}

#text-hover{
    font-size: 18px;
    margin-top: 10px;
    margin-left: 30px;
}

.rec-us .rec:hover #rec1{
    background-image: url("../img/rec1_hover.jpg");
}


/* Rectangulos */

/* Footer Divider */

.footer-divider{
    background-color: white;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-divider .f-cont{
    width: 300px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 15px;

}

.footer-divider .f-cont h2,
.footer-divider .f-cont p{
    color: #B62C38;
    
}

.footer-divider .f-cont h2{
    margin-top: 10px;
}

.footer-divider .f-cont .icon-area{
    width: 22px;
}

.footer-divider .f-cont .icon-area i{
    font-size: 25px;
    color: #B62C38;
}

.timeline-cont{
    width: 30%;
    margin: auto;
}

.timeline-cont .timeline{
    width: 2px;
    height: 400px;
    background-color: #B62C38;
    margin: auto;
    position: relative;
    z-index: -1;
}

.dec-och{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #B62C38;
    background-color: white;
    margin: auto;
    padding: 20px;
}

.timeline-cont p{
    text-align: center;
    color: #B62C38;
    font-weight: bold;
}

.der-cont{
    width: 200px;
    height: 100px;
    background-color: #B62C38;
    position: absolute;
    left: 50%;
}

html{
    overflow-x: hidden;
}

/* Bubble chat */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #B62C38;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    cursor: pointer;
    text-align: center;
}

.icon-bubble {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.icon-bubble i{
    color: #B62C38;
    font-size: 30px;
}
  

@media (max-width: 1800px){
    .hero .hero-rec{
        top: 28%;
    }

    #portada-rad,
    #portada-kra,
    #portada-lab,
    #portada-cons{
        height: unset;
    }

}

@media (max-width: 991px){


    /* Hero */

    .hero{
        height: 250px;

    }

    .hero .hero-rec{
        width: 225px;
        height: 150px;
        top: 10%;
        left: 25px;
        padding: 15px;
    }

    .hero .hero-rec i{
        top: -60px;
        left: 100px;
        font-size: 20px;
    }

    .hero .hero-rec img{
        width: 100px;
    }

    .hero .hero-rec h1{
        font-size: 12px;
        margin-top: 10px;
        margin-left: 5px;
    }

    .hero .hero-rec .portada-p p{
        margin-top: -3px;
        margin-left: 5px;
        font-size: 8px;
    }

    .hero .hero-rec a{
        padding: 5px 15px;
        margin-top: 0px;
        margin-left: 5px;
        position: relative;
        top: -15px;
        font-size: 10px;
    }

    #portada-rad,
    #portada-kra,
    #portada-lab,
    #portada-cons{
        height: 200px;
    }

    .portada img{
        width: 100%;
    }

    #med{
        height: 150px;
    }

    /* Hero */

    /* Divider */

    .logos-in-line{
        margin-top: -52px;
        height: 75px;
        filter: drop-shadow(0 10px 20px rgb(0, 0, 0));

    }

    #kranexinline,
    #labsisinline{
        width: 15%;
    }
    
    #diagmedinline,
    #consultinline{
        width: 25%;
    }
    
    /* Divider */

    /* Rectangles */

    .rec-us{
        width: 100%;
        height: 1115px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 20px;

    }

    .rec-us .rec{
        background-color: white;
        border: 1px solid #B62C38;
        transition: 0.5s;
        margin-top: 20px;
        margin: auto;
        cursor: pointer;
    }

    .rec-us .rec i{
        color: #B62C38;
        margin-top: 24px;
        margin-left: 30px;
        font-size: 30px;
    }
    
    .rec-us .rec p{
        color: #B62C38;
        visibility: visible;
    }

    /* Rectangles */

    /* Footer Divider */

    .footer-divider{
        height: 105px;
    }

    .footer-divider .f-cont h2{
        margin-top: 0;
        font-size: 15px;
    }

    .footer-divider .f-cont .icon-area i{
        font-size: 18px;
    }

    .footer-divider .f-cont p{
        font-size: 10px;
        text-align: center;
    }

    /* Footer Divider */
    
    
}
