@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
/*header */


header{
    position: relative;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    width: 96.5%;
    height: 60px;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    z-index: 1;
}

header #logo{
    position: absolute;
    top: 10px;
    left: 1%;
    text-decoration: none;
    font-size: 20px;
    font-weight: bolder;
    display: inline-block;
    color: white; 
}

header #logo #p-logo{
    position: absolute;
    top: 25px;
    left: 80px;
    width: 300px;
}

header #logo img{
    width: 80px;
    height: 80px;
    border-radius: 3px;
    vertical-align: middle;
}

header #logo:hover{
    opacity: 0.5;
}

header #main{
    position: absolute;
    left:38%;
    top: 35.5px;
    display: inline-block;
    text-align: right;
    vertical-align: middle;
}

header #main ul{
    list-style: none;
    display: flex;
}

header #main ul li{
    display: inline-block;
    display: flex;
}

header #main ul li a{
    text-decoration: solid;
    display: inline-block;
    display: flex;
    font-weight: bolder;
    font-size: 20px;
    margin-right: 15px;
    color: white;
}

header #botones{
    position: absolute;
    right:5%;
    top: 29px;
    display: inline-block;
    text-align: right;
    vertical-align: middle;
}

header #botones ul{
    list-style: none;
    display: flex;
}

header #botones ul li{
    display: inline-block;
    display: flex;
}

header #botones ul li a{
    text-decoration: none;
    display: inline-block;
    display: flex;
    font-weight: bolder;
    font-size: 20px;
    margin-right: 10px;
    color: white;
    border-radius: 3px;
    border-color: rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
    font-weight: bolder;
    font-size: 25px;
    color: white;
}

header #main ul li a:hover, header #botones ul li a:hover{
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
}

/*contenido*/
.section-fondo{
    background-color: beige;
    color: black;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: 10.5%;
    right: 0;
    width: 100%;
    height: 90%;
    align-items: center;
    vertical-align: middle;
    text-align: center;
    justify-content: center;
    z-index: -1;
}

.info-contacto{
    position: absolute;
    top: 10%;
    left: 0;
    width: 50%;
    height: 80%;
    margin-left: 20px;
}

.info-contacto h1{
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

.info-contacto p{
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.info-contacto #link{
    color: blue;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    bottom: 40%;
    right: 43%;
}

#dir{
    position: absolute;
    font-weight: 600;
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    right: 22.5%;
}

#clinica-mapa{
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    min-height: 100%;
}

#ig, #fb, #tw{
    position: absolute;
    bottom: 20%;
}

#ig{
    left:39%;
}

#tw{
    left: 49%;
}

#fb{
    left: 59%;
}

#ig:hover, #fb:hover, #tw:hover{
    opacity: 0.5;
}

.info-contacto #link:hover{
    color: black;
}

@media only screen and (max-width: 768px) {

    header{
        height: 25px;
        width: 50%;
    }

    header #logo{
        font-size: 12px;
        position: absolute;
        left: 0;
        bottom: 5px;
    }

    header #logo img{
        width: 40px;
        height: 40px;
    }

    header #logo #p-logo{
        visibility: hidden;
    }

    header #main{
        position: absolute;
        left:15%;
        top: 25px;
    }

    header #main ul li a{
        font-size: 10px;
    }

    header #botones{
        position: absolute;
        right: 2%;
        top: 22px;
    }

    header #botones ul li a{
        font-size: 14px;
    }

    .section-fondo{
        top: 0;
    }

    .info-contacto{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        text-align: center;
        vertical-align: middle;
    }

    .info-contacto h1{
        position: absolute;
        left: 5%;
        top: 20%;
        font-size: 25px;
    }

    .info-contacto p{
        position: absolute;
        left: 10%;
        top: 30%;
        font-size: 12px;
    }

    #dir{
        position: absolute;
        left: 0.5%;
        top: 40%;
        font-size: 12px;
        width: 350px;
    }

    .info-contacto #link{
        font-weight: 700;
        cursor: pointer;
        position: absolute;
        bottom: 40%;
        left: 30%;
    }   

    #ig, #fb, #tw{
        bottom: 40%;
    }

    #ig{
        left: 27%;
    }

    #fb{
        left: 42%;
    }

    #tw{
        left: 52%;
    }

    #clinica-mapa{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 80%;
    }
}