@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&family=Urbanist&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@700&display=swap');
* {
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}


/*Extras*/


/*main*/

.main {
    display: none;
    transition: all 0.5s;
}

.header {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('/img/background_detal_care-head.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.icono {
    width: 30%;
    margin: 30px 0 0 20%;
}

.icono img {
    width: 100%;
    height: 100%;
}

.texto {
    width: 50%;
    height: 40%;
    font-family: 'Urbanist', sans-serif;
    text-align: end;
    margin-left: 40%;
    margin-top: 5%;
}

.texto h1 {
    width: 100%;
    font-size: 100px;
    color: rgb(18, 73, 155);
}

.texto p {
    font-size: 40px;
}

.contenedor {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    border: 0;
    background-image: url('/img/background_detal_care-body.jpg');
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.aux {
    position: relative;
    display: flex;
    overflow: hidden;
}

.first {
    background-color: transparent;
    position: relative;
    width: 90%;
    margin: 0 0 5% 10%;
    overflow: hidden;
}

.navbar {
    width: 0%;
    position: sticky;
    height: 80px;
    transition: all 0.5s;
    display: flex;
    opacity: 0;
    float: left;
}

.w50 {
    width: 50%;
    opacity: 1;
    transition: all 0.3s;
}

.black {
    width: 40.5%;
    position: fixed;
    z-index: 99;
    top: 0;
    transition: none;
}

.sticky-bg {
    position: fixed;
    top: 0;
}

.menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(95, 95, 95);
}

.menu.none {
    display: none;
    background: red;
}

.menu:nth-child(1) {
    background: rgb(68, 68, 68);
}

.btn-home a {
    color: #fff;
    font-size: 35px;
    transition: all 0.5s;
}

.menu a {
    color: #fff;
    font-size: 40px;
    transition: all 0.5s;
}

.btn-home a:hover {
    color: rgb(209, 209, 209);
    font-size: 50px;
}

.menu a:hover {
    color: rgb(209, 209, 209);
    font-size: 60px;
}

.logo {
    width: 100%;
    height: 100%;
    background: rgb(143, 142, 142);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50%;
}

.home {
    width: 10%;
}

.home .btn-home {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: red;
}

.contenido-1 {
    position: relative;
    width: 0%;
    float: right;
    overflow: hidden;
    right: 0;
    transition: all 0.3s;
    transition-delay: 0.5s;
    opacity: 0;
}

.w200 {
    width: 50%;
    opacity: 1;
}

.contenido-2 {
    position: relative;
    width: 40%;
    margin: 0 auto 150px;
}

.servicios-basic {
    width: 100%;
    height: 65vh;
    right: 0;
    top: 0;
    background: rgb(10, 88, 204);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-sizing: border-box;
    text-align: center;
}

.servicios-basic h1 {
    margin-bottom: 10%;
    line-height: 50px;
    font-size: 3rem;
    color: #fff;
    font-family: 'Noto Sans SC', sans-serif;
}

.servicios-basic p {
    width: 85%;
    line-height: 30px;
    font-size: 2rem;
    color: #fff;
}


/*SLIDER CAROUSEL*/

.slider,
.slider-main {
    position: relative;
    overflow: hidden;
    height: 65vh;
}

.slider2 {
    position: relative;
    display: block;
    overflow: hidden;
    width: 120%;
    height: 60vh;
    border-radius: 20px;
    background: #fff;
}

.slider-main2 {
    position: static;
}

.slider {
    display: flex;
    flex-direction: column;
}

.slide2 {
    position: absolute;
    width: 80%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slide2.current2,
.slide.current {
    opacity: 1;
}

.slide2 .content {
    position: absolute;
    background: #fff;
    top: -600px;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    color: #333;
    display: flex;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.slide .content h1 {
    margin-bottom: 10px;
}

.slide2.current2 .content,
.slide.current .content {
    opacity: 1;
    transform: translateY(600px);
    transition: all 0.1s ease-in-out 0.3s;
}

.contenedor-slide {
    display: flex;
    width: 90%;
    justify-content: center;
    align-items: center;
}

.contenedor-slide img {
    width: 70px;
    height: 70px;
}

.contenedor-texto {
    padding: 30px;
}

.contenedor-texto h4 {
    font-size: 20px;
}

.contenedor-texto p {
    font-size: 20px;
}

.buttons2 {
    width: 20%;
    height: 100%;
    float: right;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
}

.buttons {
    left: 0;
    transition: all 0.7s;
    transition-delay: 1s;
}

.buttons2 button {
    border: 0;
    width: 70%;
    color: #fff;
    cursor: pointer;
    outline: none;
    background: rgb(226, 21, 21);
    font-size: 20px;
}

.buttons2 button:nth-child(1) {
    background: rgb(163, 36, 36);
}

.buttons #prev {
    transition: all 0.5s;
}

.buttons #next {
    float: right;
    transition: all 0.5s;
}

.buttons2 #prev2 {
    transition: all 0.5s;
    transition-delay: .8s;
}

.buttons2 #next2 {
    transition: all 0.5s;
    transition-delay: .5s;
}

.h {
    height: 0;
    opacity: 0;
}

.w {
    width: 0;
    opacity: 0;
}

.bw50 {
    width: 50%;
    opacity: 1;
}

.bh20 {
    height: 20%;
    opacity: 1;
}

.buttons button {
    height: 70px;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 13px 15px;
    outline: none;
    background: rgb(44, 149, 179);
    transition: all 0.5s;
    font-size: 20px;
}

.buttons button:nth-child(1) {
    background: rgb(25, 191, 233);
}

.buttons2 button:hover,
.buttons button:hover {
    font-size: 25px;
    color: rgb(168, 168, 168);
}


/* Backgorund Images */

.slide:nth-child(1) {
    background: url('/img/nosotros_01_dental_care.JPG') no-repeat center top/cover;
}

.slide:nth-child(2) {
    background: url('/img/nosotros_02_dental_care.JPG') no-repeat center top/cover;
}

.slide:nth-child(3) {
    background: url('/img/nosotros_03_dental_care.JPG') no-repeat center top/cover;
}


/*CITAS*/

.citas {
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 70%;
    background-image: url('/img/bg_morado_dental.JPG');
    border-radius: 20px;
}

.citas h3 {
    text-align: right;
    font-size: 50px;
    margin: 60px 30px;
    color: #fff;
}

.citas a {
    font-size: 20px;
    text-decoration: none;
    width: 250px;
    height: 60px;
    color: rgb(71, 62, 62);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
}

.citas a:hover {
    font-size: 25px;
}


/* mapa*/

.mapa {
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 95%;
    height: 450px;
}

.mapa iframe {
    width: 90%;
    height: 100%;
}


/* Formulario */

.formulario-p {
    position: relative;
    max-width: 800px;
    width: 90%;
    margin: auto;
}

.formulario-p h2 {
    font-size: 50px;
    text-align: center;
    color: #999;
}

.formulario {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 2fr;
    gap: 20px;
}

.formulario__label {
    display: block;
    font-weight: 700;
    padding: 10px;
    cursor: pointer;
}

.formulario__grupo-input {
    position: relative;
    width: 100%;
}

.formulario__input {
    width: 80%;
    background: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    height: 45px;
    line-height: 45px;
    padding: 0 40px 0 10px;
    transition: .3s ease all;
}

.formulario__grupo-input textarea {
    width: 95%;
    height: 150px;
}

.formulario__input:focus {
    border: 3px solid #0075FF;
    outline: none;
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 0.4);
}

.formulario__input-error {
    font-size: 12px;
    margin-bottom: 0;
    display: none;
}

.formulario__input-error-activo {
    display: block;
}

.formulario__grupo-terminos,
.formulario__mensaje,
.formulario__grupo-btn-enviar,
.formulario__mensaje-contact {
    grid-column: span 3;
}

.formulario__mensaje {
    height: 45px;
    line-height: 45px;
    background: #F66060;
    padding: 0 15px;
    border-radius: 3px;
    display: none;
}

.formulario__mensaje-activo {
    display: block;
}

.formulario__mensaje p {
    margin: 0;
}

.formulario__grupo-btn-enviar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formulario__btn {
    height: 45px;
    line-height: 45px;
    width: 30%;
    background: #000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: .1s ease all;
    margin-bottom: 25px;
}

.formulario__btn:hover {
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 1);
}

.formulario__mensaje-exito {
    font-size: 14px;
    color: #119200;
    display: none;
}

.formulario__mensaje-exito-activo {
    display: block;
}


/* ----- -----  Estilos para Validacion ----- ----- */

.formulario__grupo-correcto .formulario__validacion-estado {
    color: #1ed12d;
    opacity: 1;
}

.formulario__grupo-incorrecto .formulario__label {
    color: #bb2929;
}

.formulario__grupo-incorrecto .formulario__validacion-estado {
    color: #bb2929;
    opacity: 1;
}

.formulario__grupo-incorrecto .formulario__input {
    border: 3px solid #bb2929;
}


/*footer */

.footer {
    margin: 0 auto;
    position: relative;
    width: 90%;
    background: #333;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer>div {
    margin: 1% auto;
    width: 33.3%;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

.footer .telefonos {
    font-size: 20px;
    padding: 30px;
}

.footer .telefonos i {
    margin-right: 20px;
    font-size: 40px;
}

.footer .telefonos a {
    display: flex;
    align-items: center;
    margin: 25px;
}

.footer .direccion a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
}

.footer .horarios h3 {
    font-size: 20px;
}

.footer .horarios p {
    margin: 10px;
    font-size: 20px;
    text-align: center;
    padding: 30px;
}


/*FDK*/

.fdk {
    width: 100%;
    position: relative;
    background: rgb(133, 133, 133);
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 15px;
    padding: 20px;
    box-sizing: border-box;
}


/*Media*/

@media screen and (max-width: 1400px) {
    .texto p {
        font-size: 30px;
    }
    .texto h1 {
        font-size: 70px;
    }
    .contenedor-slide img {
        width: 50px;
        height: 50px;
    }
    .contenedor-texto h4 {
        font-size: 25px;
    }
    .contenedor-texto p {
        font-size: 18px;
    }
    .servicios-basic h1 {
        font-size: 2rem;
    }
    .servicios-basic p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 800px) {
    .header {
        text-align: center;
        background-position: -270px;
    }
    .icono {
        width: 60%;
        margin-left: 35%;
        margin-top: 5%;
    }
    .texto {
        position: absolute;
        width: 90%;
        margin: 0;
        bottom: 5px;
    }
    .texto p {
        font-size: 30px;
    }
    .texto h1 {
        font-size: 45px;
    }
    .contenedor {
        width: 100%;
    }
    .bg {
        width: 100vh;
    }
    .first {
        width: 100%;
        margin: 0;
        display: block;
    }
    .navbar {
        width: 100%;
    }
    .home {
        display: none;
    }
    .menu:nth-child(1) {
        padding:5px;
    }
    .menu a {
        font-size: 25px;
    }
    .menu a:hover {
        font-size: 35px;
    }
    .menu.none {
        display: flex;
    }
    .contenido-1 {
        margin-top: 80px;
        width: 100%;
        float: none;
    }
    .contenido-2 {
        width: 100%;
        margin: 10% auto;
    }
    .slider2 {
        width: 100%;
        border-radius: 2;
    }
    .contenedor-texto {
        padding: 10px;
    }
    .contenedor-texto p {
        font-size: 15px;
    }
    .buttons2 {
        width: 25%;
    }
    .buttons2>button {
        height: 100%;
    }
    .servicios-basic h1 {
        line-height: 40px;
        font-size: 30px;
    }
    .servicios-basic p {
        line-height: 20px;
        font-size: 15px;
    }
    .servicios-basic {
        width: 100%;
        margin: 0;
    }
    .citas {
        flex-direction: column;
        overflow: hidden;
    }
    .citas h3 {
        margin: 60px 30px 0 30px;
        text-align: center;
    }
    .citas a {
        width: 80%;
        margin: 10%;
        border-radius: 5px;
    }
    .formulario {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .formulario__grupo-terminos,
    .formulario__mensaje,
    .formulario__mensaje-contact,
    textarea {
        width: 85%;
        grid-column: 1;
    }
    .formulario__grupo-btn-enviar {
        width: 95%;
        grid-column: 1;
    }
    .formulario__btn {
        width: 100%;
    }
    .formulario-p h2 {
        font-size: 30px;
    }
    .navbar {
        width: 100%;
    }
    .sticky-cont1 {
        padding-top: 100px;
    }
    .footer {
        flex-direction: column;
        width: 100%;
    }
    .footer .telefonos {
        padding: 0;
        justify-content: center;
    }
    .footer .telefonos .tel a,
    .footer .telefonos .whatsapp a{
        justify-content: center;
    }
    .footer>div {
        width:100%;
        text-align: center;
        margin: 5% auto;
    }
    .fdk {
        padding: 0;
    }
    .fdk h3 {
        font-size: 15px;
        padding: 10px;
    }
}