* {
    padding: 0;
    margin: 0;
}

p {
    font-size: 1.1em;
    padding-top: 1.3em;
}

i {
    color: white;
}

li a {
    user-select: none;
    transition: ease-in-out 0.3s;
}

li a:hover {
    color: white;
}

h2 {
    color: white;
}

h3 {
    color: white;
}

h4 {
    font-size: 1.2em;
    color: rgb(102, 16, 16);
    font-weight: lighter;
}

h5 {
    text-shadow: 0px 0px 8px black;
}

footer {
    text-align: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    background-color: black;
}

.bg-img-2 {
    display: none;
}

.parallax-bg {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    max-height: fit-content;
    background: transparent;
    z-index: -1;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    width: 100%;
    height: 220px;
}

.header-img {
    object-fit: cover;
    width: 500px;
    height: 200px;
}

.main-container {
    position: relative;
    width: 100%;
}

.bg-color {
    background-color: rgba(10, 18, 46, 0.83);
}

.ul-index {
    width: 35%;
    background: rgba(10, 34, 76, 0.864);
    border-bottom: 2px solid rgba(29, 49, 120, 0.437);
    border-left: 2px solid rgba(29, 49, 120, 0.437);
    border-right: 2px solid rgba(29, 49, 120, 0.437);
    margin-left: auto;
    margin-right: auto;
    border-radius: 0px 0px 10px 10px;
}

.ul-container {
    width: 100%;
}

.nopadding {
    padding: 0px;
}

.article-text {
    color: white;
}

.article-img {
    border: rgba(255, 255, 255, 0.500) solid 2px;
    width: 100%;
    min-height: 350px;
    padding: 0;
    object-fit: cover;
}

.fa-laptop-medical{
    margin-top: 20px;
}

.container-bg-color {
    background-image: linear-gradient(rgba(0, 0, 0, 0.700), black);
    margin-top: 40px;
    margin-bottom: 40px;
}

.article-title {
    margin-top: .6em;
}

.separator-container {
    margin-left: 0;
    margin-right: 0;
    margin-top: 40px;
    width: 100%;
    min-height: 800px;
}

.separator-container-2 {
    min-height: 300px;
}

.sp-cnt-2 {
    margin: 0;
}

.img-container {
    width: 100%;
    min-height: 800px;
    padding-left: 0;
    padding-right: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), black);
}

.img-cnt-2 {
    position: absolute;
    background-color: transparent;
}

.img-ctn-3 {
    position: relative;
    display: flex;
    width: 100%;
    font-size: 1.5em;
    padding-left: 0;
    padding-right: 0;
    background-color: black;
   /* background-image: linear-gradient(black, rgba(0, 0, 0, 0.800), black); 
   BACKGROUND ANTERIOR NO FUNCA */
}

.separator-img {
    width: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.sp-img-2 {
    opacity: 0.8;
}

.sp-img-3 {
    opacity: 0.5;
}

.separator-text {
    position: absolute;
    margin: 0;
    font-size: 5em;
    letter-spacing: 4px;
    text-shadow: rgba(255, 0, 0, 0.500) 0px 0px 10px;
    color: rgba(255, 255, 255, 0.800);
    transition: 0.8s ease;
    user-select: none;
}

.separator-text:hover {
    font-size: 5.3em;
    cursor: pointer;
    text-shadow: rgb(255, 0, 0) 0px 0px 50px;
    color: white;
    transition: 0.8s ease;
}

.sp-text-2 {
    font-size: 4em;
}

.sp-text-2:hover {
    font-size: 4.3em;
}

.carousel-container {
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: linear-gradient(black, rgba(0, 0, 0, 0.8), rgba(36, 0, 0, 0.8));
}

.carousel-box {
    width: 50%;
    border: 2px solid white;
    box-shadow: rgba(177, 1, 1, 0.781) 0px 0px 30px 1px;
}

.svg-container {
    width: 100%;
    z-index: 1;
    margin-left: 0;
    margin-right: 0;
}

.svg-position {
    width: 100%;
    margin: 50px;
    padding: 20px;
    border: 4px solid rgba(255, 255, 255, 0.500);
    border-radius: 10px;
    transition: 0.5s ease;
}

svg, .svg-path {
    width: 100%;
    transition: 0.5s ease;
}

.svg-container, .svg-path path, rect, polygon {
    fill: rgba(255, 255, 255, 0.911) !important;
}

.svg-position:hover > .svg-path {
    transition: 0.5s ease;
    opacity: 0.6;
    filter: blur(5px);    
} 

.svg-position:hover {
    border: 4px solid white;
    transition: 0.5s ease;
    fill: red;
    box-shadow: rgba(255, 0, 128, 0.500) 0px 0px 30px 10px;
}

.svg-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(63, 0, 180, 0.500);
    
    z-index: 10;
}

.svg-position:hover > .svg-overlay {
    opacity: 1;
}

.svg-text .svg-text-font {
    width: 100%;
    text-align: center;
    
    text-shadow: white 0px 0px 5px;
    font-family: arial;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    user-select: none;
}

.video-container {
    display: flex;
    width: 100%;
    background-image: linear-gradient(black, rgba(0, 0, 0, 0.800), black);
}

.video-iframe {
    margin: 50px;
    min-width: 800px;
    min-height: 400px;
    box-shadow: rgba(177, 1, 1, 0.781) 0px 0px 30px 1px;
}

.cnt-size {
    height: 100px;
}

.cnt-size-end {
    width: 90%;
    width: 80%;
    padding: 40px;
}

.end-h {
    height: 500px;
}

.no-visible {
    display: none;
}

.o-f {
    object-fit: cover;
}

.carousel-item {
    transition: .6s ease-in-out;
}

.history-text {
    margin: 20px;
    font-size: 1.3em;
}

.map-location {
    border-radius: 10px;
    min-width: 50%;
}

.contact-container {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 50px;
    padding-right: 50px;
}

.contact-text {
    position: absolute;
    align-self: center;
    padding-bottom: 45px;
    font-size: 2em;
    user-select: none;
    opacity: 0;
    transition: ease 0.5s;
    color: white;
}

.contact-icon {
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    font-size: 3em;
    transition: ease 0.5s;
}

.contact-box {
    cursor: pointer;
    border-radius: 10px;
    margin-right: 0;
    margin-left: 0;
    justify-content: center;
    border: white solid 2px;

    transition: ease 0.5s;
}

.contact-box, .icon-box {
    transition: ease 1s;
    background-color: rgba(0, 0, 0, 0.80);
}

.contact-box:hover > .contact-icon {
    transition: ease 0.5s;
    opacity: 0;
}

.contact-box:hover > .contact-text {
    display: flex;
    opacity: 1;
    align-self: center;
    transition: ease 0.5s;
    font-size: 2.2em;
}

/* ------ CONTACT BUTTONS ------ */
.i-size {
    font-size: 5em !important;
}

.c-btn-1 {
    background-image:
    linear-gradient(180deg, rgba(198,51,35,1) 0%, rgba(106,6,6,1) 60%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-1:hover {
    background-image: 
    linear-gradient(180deg, rgba(198,51,35,1) 0%, rgba(106,6,6,1) 60%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

.c-btn-2 {
    background-image:
    linear-gradient(180deg, rgba(0,102,0,1) 0%, rgba(1,196,66,1) 100%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-2:hover {
    background-image: 
    linear-gradient(180deg, rgba(0,102,0,1) 0%, rgba(1,196,66,1) 100%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

.c-btn-3 {
    background-image:
    linear-gradient(180deg, rgba(190,89,0,1) 0%, rgba(207,152,34,1) 100%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-3:hover {
    background-image: 
    linear-gradient(180deg, rgba(190,89,0,1) 0%, rgba(207,152,34,1) 100%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

.c-btn-4 {
    background-image:
    linear-gradient(180deg, rgba(111,0,190,1) 0%, rgba(8,114,187,1) 100%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-4:hover {
    background-image: 
    linear-gradient(180deg, rgba(111,0,190,1) 0%, rgba(8,114,187,1) 100%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

.c-btn-5 {
    background-image:
    linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-5:hover {
    background-image: 
    linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

.c-btn-6 {
    background-image:
    linear-gradient(45deg, rgba(13,73,175,1) 0%, rgba(8,147,187,1) 100%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-6:hover {
    background-image: 
    linear-gradient(45deg, rgba(13,73,175,1) 0%, rgba(8,147,187,1) 100%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

.c-btn-7 {
    background-image:
    linear-gradient(45deg, rgba(77,0,0,1) 0%, rgba(187,8,8,1) 100%);
    background-position:0 0,center;
    background-size:100% 0%,cover;
    background-repeat:no-repeat;
    transition: 0.5s;
}

.c-btn-7:hover {
    background-image: 
    linear-gradient(45deg, rgba(77,0,0,1) 0%, rgba(187,8,8,1) 100%);
    background-size:100% 100% ,cover;
    opacity: 0.9;
}

/* ---- SOCIAL MEDIA ICONS (ICONS DON'T DISSAPEAR BUT CHANGE COLORS) ---- */

.icon-5 {
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    font-size: 3em;
    transition: ease 0.5s;
}

.icon-5:hover {
    transition: 0.5s;
    color: rgb(135, 0, 18);
}

.icon-6 {
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    font-size: 3em;
    transition: ease 0.5s;
}

.icon-6:hover {
    transition: 0.5s;
    color: rgb(6, 38, 135);
}

.icon-7 {
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    font-size: 3em;
    transition: ease 0.5s;
}

.icon-7:hover {
    transition: 0.5s;
    color: rgb(57, 0, 0);
}


@media (min-width: 360px) and (max-width: 991px) {
    .ul-index {
        width: 100%;
        text-align: center;
        letter-spacing: 0.2em;
        background: rgba(10, 34, 76, 0.100);
    }
}

/* Smartphone */
@media (min-width: 360px) and (max-width: 767px) {
    .separator-text{
        font-size: 2em;
    }

    .separator-text:hover{
        font-size: 2.3em;
    }

    .img-container {
        min-height: 400px;
    }

    .separator-container {
        min-height: 400px;
    }

    .carousel-box {
        width: 80%;
    }
    
    .carousel-control-prev {
        width: 10%;
    }

    .carousel-control-next {
        width: 10%;
    }

    .parallax-bg {
        display: none;
    }

    .bg-img-2 {
        display: block;
        background-image: url(../media/bg-img-2.jpg);
        width: 100%;
        height: 100%;
        background-repeat: repeat;
        padding: 0;
    }

    .img-cnt-2 {
        min-width: 100%;
        min-height: 1000px;
    }

    .no-visible {
        position: absolute;
        background-image: url(../media/separator-img-2.jpg);
        display: block;
        height: 3000px;
    }

    .img-ctn-3 {
        opacity: 0.9;
    }

    .video-iframe {
        margin: 0;
        margin: 30px;
        min-width: 90%;
    }

    .article-img {
        border: white solid 2px;
        width: 90%;
        justify-content: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    .cnt-size-end {
        width: 100%;
        margin: 0%;
        padding: 10px;
    }

    .history-text {
        font-size: 1.1em;
    }

    .map-location {
        width: 100%;
        height: 300px;
    }

    .contact-container {
        padding: 60px 0 60px 0px;
    }

    .contact-text {
        padding-bottom: 30px;
        font-size: 1.5em !important;
    }

    .social-med-ctn {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* the animations of the buttons don't show properly on smartphones,
    a-link pops-up before animation starts, and cuts the smooth flow of it */

 }