@import "se1.css";
@import "se2.css";
@import "se3.css";
@import "se4.css";
@import "se5.css";

html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
}

/* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fff; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--blue); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

body{
    min-height: 2000px;/* Estilo de prueba nada más para que salga la barra de deslizar */
}

header{
    width: 100%;
    position: fixed;
    height: 100px;
    background-color: #ffffff00;
    /* border-bottom: 1px solid #ddd; */
    transition: 0.3s;
    z-index: 2;
}

#header-img{
    width: 450px;
    margin-top: 15px;
    margin-left: 180px;
}

#header label{
    width: 30px;
    height: 28px;
    display: flex;
    flex-flow: wrap;
    justify-items: center;
    position: absolute;

    /* Para cambiarle la posición usa estos dos */
    top: 40px;
    right: 35px;

    /* Para cambiarle el tamaño usa el transform */
    transform: scale(1.4);
    transition: 0.3s;

    /* El z index es para que se ponga encima del nav */
    z-index: 10;
    cursor: pointer;
}

#header nav{

    /* Este es el menu que sale de la derecha */

    position: fixed;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;

    /* Si quieres que sala de la izquierda usa -100% en el translateX */
    transform: translateX(120%);
    transition: 250ms ease-in-out;


    /* Puedes hacerlo más ancho si quieres con el width */
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;

    font-size: 14pt;
    margin: auto;
    margin-right: auto;


    /* Con este puedes cambiarle el color, ahorita tiene un fondo semi transparente con desenfoque, pero puedes ponerle color solido */
    background-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    z-index: 6;
    
}

/* Este hace que las opciones del nav se acomoden dentro del menu deslizable */
#header .header-option {
    width: 100%;
    text-align: center;
    font-size: 1.6em;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

#header .header-option a{
    color: #fff;
    text-decoration: none;
    font-family: sans-serif;

    /* Este es el estilo del texto del menu, puedes cambiarle los colores y así */
}

#header label{
    display: none;

    /* Este display none sale por defecto en none porque en versiones de escritorio no se muestra el menú hamburguesa, yo uso un max width:900px display flex para que se muestre solo en dispositivos moviles */
}

#header label div{
    width: 30px;
    height: 2px;
    transition: 0.4s;
    background-color: #333;

    /* Estas son las barritas del menu, puedes cambiarle el color */
}

/* Aqui es donde se hace la animación del menu y saca el nav deslizable y cambian las barritas y así */

#menu-chk:checked ~ #header  nav{
    transform: translate(0%);
} 

#menu-chk:checked ~ #header label{
    /* right: 105px; */
    transition: 0.3s;
} 

#menu-chk:checked ~ #header label div:nth-child(1){
    transform: rotate(45deg) translateY(10px) translateX(2px);
    transition: 0.3s;
} 

#menu-chk:checked ~ #header label div:nth-child(2){
    display: none;
    /* width: 0px;
    transition: 0.3s; */
} 

#menu-chk:checked ~ #header label div:nth-child(3){
    transform: rotate(-45deg) translateY(-8px);
    transition: 0.3s;
} 

#menu-chk:checked ~ #dim-menu-close{
    transform: translate(0%);
    transition: 0.3s;
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0;
    background-color: #111;
    opacity: 0.3;
    z-index: 2;
    cursor: alias;
}

@media (max-width:800px) {
    #header label{
        display: flex;
    }
}

#header-info{
    width: max-content !important;
    display: none;
    align-items: center;
    position: absolute;
    top:30px;
    right: 20px;
}

#call-text{
    font-family: var(--popp);
    font-size: 1.2em;
    color: #252525;
    margin-right: 20px;
}

#call-text:hover{
    text-decoration: underline;
}

#header-info a{
    text-decoration: none;
}


@media (max-width:900px) {
    #header-img{
        margin-left: 15px;
        width: 300px;
        margin-top: 25px;
    }

    header{
        height: 90px;
    }

    #header label{
        top: 35px;
        right: 15px;
    }

    #call-text{
        margin-right: 0px;
    }

    [data="button-2"]{
        margin-top: 30px;
    }
}

#book-header{
    text-decoration: none;
}

/* Footer Styles */
footer{
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-flow: wrap;
    justify-content: left;
    padding-top: 60px;
    background-color: #111;
}

footer a{
    color: #fff;
    text-decoration: none;
}

footer b{
    color: #fff;
    font-weight: bolder;
}

footer a:hover{
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

[footer-active="true"]::before{
    content: '';
    background-color: var(--blue2);
    height: 15px;
    width: 5px;
    position: absolute;
    margin-left: -10px;
    margin-top: 2px;
}


footer #footer-contacto{
    /* width: 20%; */
    margin-left: 200px;
    margin-right: 100px;
}

footer #footer-contacto div{
    width: 100%;
    font-family: var(--popp);
    margin: 10px 0;
}

footer #footer-contacto img{
    width: 200px;
    padding-top: 6px;
    /* margin-bottom: 30px; */
    /* filter: brightness(20) saturate(0.0) contrast(2); */
}

footer #footer-info{
    width: 20%;
}

footer #footer-info #titulo-logo{
    font-family: var(--paci);
    color: #fff;
    /* margin-bottom: 30px; */
    height: 54px;
    font-size: 1.4em;
}

footer #footer-info div{
    width: 100%;
    font-family: var(--popp);
    color: #fff;
    margin: 10px 0;
}


footer #footer-social #social-titulo{
    font-family: var(--paci);
    color: #fff;
    /* margin-bottom: 30px; */
    height: 46px;
    font-size: 1.4em;
}

footer #footer-serving{
    width: 100%;
    text-align: center;
    color: #fff;
    
}

footer #serving-title{
    font-family: var(--paci);
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 20px;
}

footer #serving-desc{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--popp);
    text-align: justify;
    margin-bottom: 70px;
}

footer #footer-social div{
    width: 100%;
    font-family: var(--popp);
    /* margin: 10px 0; */
    color: #fff;
}

#footer-bottom{
    width: 100%;
    border-top: 1px solid #333;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: var(--popp);
    color: #fff;
}

#footer-bottom b{
    color: #fff !important;
}

@media (max-width:900px){
    
    footer #footer-contacto{
        margin-right: 10px;
        margin-left: 30px;
        width: 100%;
        justify-content: center;
        /* margin-right: 10%; */
        display: flex;
        flex-flow: wrap;
    }
    
    footer #footer-contacto div {
        width: 90%;
        margin: 10px 0;
    }
    
    footer #footer-info{
        margin-right: 10%;
        width: 100%;
        justify-content: center;
        /* margin-right: 10%; */
        display: flex;
        flex-flow: wrap;
    }
    
    footer #footer-info #titulo-logo{
        height: auto;
        margin-top: 40px;
        margin-bottom: 10px;
    }
    
    footer #footer-info div{
        width: 90%;
        margin: 10px 0;
    }
    
    #footer-social{
        margin-right: 10px;
        margin-left: 30px;
        width: 100%;
        justify-content: center;
        /* margin-right: 10%; */
        display: flex;
        flex-flow: wrap;
    }
    
    footer #footer-social #social-titulo{
        height: auto;
        margin-top: 40px;
        margin-bottom: 10px;
    }
    
    footer #footer-social div{
        width: 90%;
        margin: 10px 0;
    }
    
    #footer-bottom{
        width: 90%;
    }

    #header-button{
        position: fixed;
        bottom: 25px;
        left: 24px;
        width: 150px;
        text-align: center;
    }

    footer #serving-desc{
        width: 90%;
    }
}

footer svg{
    margin-top: 10px;
}

#top{
    width: 60px;
    height: 60px;
    background-color: var(--blue);
    background-image: url('../img/paw.svg');
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    color:#fff;
    position: fixed;
    bottom: 24px;
    right: 24px;
/*    display: flex;*/
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    border-radius: 60px;
    display: none;
    cursor: pointer;
    z-index: 3;

}
#top:hover{
    background-color: var(--blueDark);
    color: #fff;
}

#top::before{
    margin-top: -5px;
}

@media (width:1024px) and (height:768px) {
    #header-img{
        margin-left: 20px;
    }

    #home-left #home-title{
        font-size: 4em;
        margin-left: 50px;
    }

    #home-left [data="button"]{
        margin-left: 70px;
    }

    #about-info{
        width: 50%;
    }

    #about-img{
        margin-right: unset;
    }

    #customers-slider .item{
        width: 220px;
    }
    #area-titulo{
        margin-left: 40px;
    }

    #area-sign{
        margin-left: 40px;
        width: 90%;
    }
}

#home-text{
    font-family: var(--popp);
    font-size: 1.2em;
    color: #252525;
    margin-right: 20px;
}

#home-text:hover{
    text-decoration: underline;
}

#now-servicing{
    width: 400px;
    height: 110px;
    position: fixed;
    bottom: 12px;
    left: 12px;
    background-color: white;
    border-radius: 5px;

    border: 1px solid #ddd;

    font-family: var(--popp);
    font-size: 1.2em;

    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 10;
    transition: 1s;
    transform: translateX(-150%);
}



#now-servicing p{
    width: 100%;
    text-align: center;
}

#now-servicing div{
    height: 30px;
    width: 100px;
    background-color: var(--blue);
    color: #fff;
    cursor: pointer;
    text-align: center;
    padding: 2px;
    border-radius: 30px;
}

#now-servicing div:hover{
    background-color: var(--blueDark);
}

@media (max-width:800px) {
    #now-servicing{
        width: 70%;

    }
}
