:root {
    --medvana-dark-blue: #011935;
}

body,
html {
    font-family: 'Montserrat';
    height: 100%;
    line-height: 1.8em;
    scroll-behavior: smooth;
}

textarea {
    resize: none;
}

.bg-medvana-darkblue {
    background-color: var(--medvana-dark-blue) !important;
}

/*Styles for top menu*/
/* Add a black background color to the top navigation */
.topnav {
    background-color: var(--medvana-dark-blue) !important;
    width: 100%;
    transition-property: background-color, opacity;
    transition-duration: 0.5s;
}

/* Style the links inside the navigation bar */
.topnav a {
    display: inline-block;
    color: #ffffff;
    text-align: center;
    padding: 14px 2%;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    font-size: 16px;
    transition-property: text-decoration-color, text-decoration-thickness;
    transition-duration: 0.5s;
}

/* Change the decoration of links on hover */
.topnav a:hover {
    text-decoration-color: #ffffff;
    text-decoration-thickness: 3px;
    transition-property: text-decoration-color, text-decoration-thickness;
    transition-duration: 0.5s;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

#myIcon {
    width: 15px;
}

.homeSection {
    background-color: var(--medvana-dark-blue) !important;
    color: #ffffff;
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

.aboutSection {
    background-color: #f1f1f1 !important;
    color: #001a35;
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
}

.aboutSection2 {
    background-color: #ffffff !important;
    color: #011935;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.solutionsSection {
    background-color: #002856 !important;
    color: #ffffff;
    padding-top: 13rem !important;
    padding-bottom: 3rem !important;
    background-image: url(../img/soluciones_back.jpeg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
}

.laboratorios-card {
    background-color: #01a0e1 !important;
}

.medicos-card {
    background-color: #9e27b5 !important;
}

.trabajaSection {
    background-color: #011935 !important;
    color: #fffffd;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.contactoSection {
    background-color: #002856 !important;
    color: #06205b;
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
    background-image: url(../img/contacto_back.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.btn-medvana {
    background-color: #e41395;
    border: 1px solid #e41395;
    width: 120px;
    border-radius: 20px;
}

.btn-medvana:hover {
    background-color: #aa0e6f;
    border: 1px solid #aa0e6f;
}

.footer {
    border-top: 5px solid #ffffff;
    background-color: #002856;
    color: #ffffff;
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

.footer a {
    text-decoration: none;
    color: #ffffff;
}

.footer li {
    list-style-type: none;
}

.footer-end {
    background-color: #011935;
    color: #ffffff;
}

/* When the screen is less than 720 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 770px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: transparent;
        transition-property: background-color;
    }

    .topnav a.icon:hover {
        background-color: #075fcd;
        transition-property: background-color;
        transition-duration: 0.5s;
    }

    .topnav {
        position: fixed !important;
        top: 0 !important;
        text-align: center;
        padding-left: 0px;
        padding-right: 0px;
    }

    .topnav a {
        font-size: 19px;
    }

    .topnav #homeBtn {
        width: 100%;
    }

    .solutionsSection {
        padding-top: 13rem !important;
        padding-bottom: 3rem !important;
        background-image: url(../img/soluciones_back.jpeg);
        background-position: top;
        background-repeat: no-repeat;
        background-size: 250%;
    }

    .contactoSection {
        background-position: 43% 0%;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 770px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
        width: auto;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        width: 100%;
    }

    .topnav.responsive #homeBtn {
        position: relative;
    }
}