* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: all-round-gothic, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em;
}

p {
    font-size: 14pt;
    line-height: 1.5em;
    color: #83929b;
}

h1,
h2,
h3 {
    color: #468499;
}

h1 {
    font-weight: 600;
    font-size: 20pt;
}

h2 {
    font-size: 18pt;
    font-weight: 600;
}

h3 {
    font: 16pt;
}

span{
    color: #468499;
    font-weight: 500;
}

#botonmenu {
    display: none;
}

#botonmenu > h2 {
    margin: auto;
    color: white;
}

#menu {
    display: flex;
    background-image: url(../img/fondomenu.jpg);
    background-size: contain;
    height: 6vh;
    width: 100%;
    position: sticky;
    z-index: 1;
    top: 0;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#menu > ul {
    display: flex;
    list-style: none;
    align-items: center;
}

#menu > ul > li {
    text-align: center;
    padding: 1em;
}

#menu > ul > li > a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14pt;
    transition-duration: 2s;

}

#menu > ul > li > a:hover {
    text-decoration: underline;
}

#menu > ul > li:last-child {
    position: absolute;
    right: 0;
    text-decoration: underline;
}

#menu > ul > li:last-child > a {
    font-style: italic;
    font-weight: 100;
    font-size: 12pt;
}

#cerrarmenu {
    position: absolute;
    padding: 0.5em;
    display: none;
}

#cerrarmenu > i {
    color: white;
    font-size: 24pt;
    margin: auto;
}

main {
    display: flex;
    min-height: 94vh;
    width: 100%;
}

#izquierda {
    height: 100%;
    width: 50%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    vertical-align: middle;
    align-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

#izquierda > #regalo{
    margin-top: 0;
    font-size: 15pt;
    font-weight: 500;
}

#regalo > i{
    font-size: 18pt;
    margin-right: 0.5rem;
}

#izquierda > p {
    width: 80%;
    margin: 0.5em;
}

#izquierda > h2,
h3 {
    width: 80%;
    margin-bottom: 1rem;
}


#izquierda > h3 {
    margin-top: 1em;
    font-size: 16pt;
}

#fotos-embarazo {
    display: flex;
    height: 25vh;
    overflow: hidden;
    width: 80%;
}

#fotos-embarazo > figure {
    width: 50%;
}

#fotos-embarazo > figure > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding: 1rem;
}

#foto-embarazo-2 {
    height: 40vh;
    width: 80%;
    overflow: hidden;
    padding: 1rem;
}

#foto-embarazo-2 > figure {
    height: 100%;
    width: 100%;
}

#foto-embarazo-2 > figure > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.ver-mas-servicios {
    border-style: solid;
    border-width: thin;
    border-color: #468499;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
}

.ver-mas-servicios > a {
    text-decoration: none;
    color: #468499;
}

.ver-mas-servicios:hover {
    background-color: #468499;
}

.ver-mas-servicios:hover a {
    color: white;
}


#derecha {
    background-color: #ECECEC;
    height: 94vh;
    overflow: hidden;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 6vh;
}

.main-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-cell {
    width: 100%;
    height: 100%;
    padding: 3rem;
    position: absolute;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.carousel-cell > figure {
    overflow: hidden;
    padding: 1rem;
    height: 90%;
    width: 90%;
}

.carousel-cell > figure > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


/* Responsive menú */

@media screen and (max-width: 450px) {


  #botonmenu {
        display: flex;
        position: sticky;
        bottom: 0;
        z-index: 2;
        background-image: url(../img/fondoazul.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        height: 8vh;
        width: 100%;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    }

   #menu {
            background-image: url(../img/fondoazul.jpg);
            background-size: cover;
            width: 100%;
            position: fixed;
            z-index: 5;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        #menu > ul {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        #cerrarmenu {
            display: block;
            position: absolute;
            bottom: 2vh;
        }

        #menu > ul > li > a {
            font-size: 20pt;
        }

        #menu > ul > li:last-child {
            position: relative;
        }

        #menu > ul > li:last-child > a {
            text-decoration: underline;
            font-size: 14pt;
        }

    main {
        flex-direction: column-reverse;
    }

    #derecha {
        width: 100%;
        height: 50vh;
        position: static;
        overflow: visible;
    }

    .main-carousel {
        height: 100%;
        position: static;
    }

    .carousel-cell {
        width: 100%;
        height: 50vh;
        padding: 1rem;
        position: absolute;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .carousel-cell > figure {
        width: 95%;
        height: 95%;
        padding: 0;
    }

    #izquierda {
        width: 100%;
    }

    #izquierda > h2,
    h3 {
        width: 80%;
        margin-bottom: 0rem;
    }

    #izquierda > h3 {
        margin-top: 0em;
    }

    #fotos-embarazo {
        flex-direction: column;
        height: auto;
    }

    #fotos-embarazo > figure > img {
        padding: 0.5rem 0em;
    }

    #fotos-embarazo > figure {
        width: 100%;
    }
    
    #foto-embarazo-2{
        padding: 0;
        height: auto;
        margin: 0.5rem 0;
    }

    .ver-mas-servicios {
        margin-bottom: 8vh;
        width: 80%;
        text-align: center;
    }

}