*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
    background-color: #DFE0DE;
}

p{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    
}

/*FONTS */
@font-face {
    font-family: "Balona";
    src: url(Fonts/balona/Balona-Regular.otf);

    

}

@font-face {
    font-family: "Newyork";
    src: url(Fonts/newyork/NewYork\ PERSONAL\ USE.otf);
}

@font-face {
    font-family: "Fantasik";
    src: url(Fonts/fantasik/Fantasik.otf);
}
h5{
    font-size: large;
    font-family: "Fantasik", sans-serif !important;
}

.service-title{
    width: 30vh;
    border: 1px solid black;    
    border-style: solid;
    border-width: 1px 0px ; /* 5px top and bottom, 20px on the sides */
    margin: 0 auto; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title-image {
    object-fit: cover   ;
    height: 100%;
    width: 45%;
    overflow: hidden;
}


.service-title-image img{
    display: block;
    height: 100%;
    width: 100%;
    border-right: 1px solid black;  
    border-left: 1px solid black;  
}



.services{
    background-color: #cdcdba;
}
.service-title-text{
    margin-left: 15px;
    width: 35%;
    
}


.services-intro{
    width: 100vw;
    max-height: 100px;
    display: flex;
    border-bottom: 1px solid black; 
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.services-intro-text{
    height: auto;
    width: 40%;
    
    text-align: center;
   
    
}

.services-intro-image{
    border-left: 2px solid black; 
    width: 100%;
    max-width: 600px; /* Ajusta este valor según tus necesidades */
    height: auto;
    border: 1px solid #ccc; /* Opcional: para ver los límites del contenedor */
    overflow: hidden; /* Asegura que el contenido no se desborde */
}

.services-intro-image img{
    width: 100%;
    height: auto; /* Mantiene la proporción de aspecto de la imagen */
    display: block; /* Elimina el espacio en blanco abajo de la imagen */
    border-right: 1px solid black; 
}

.services-description{
    width: 100vw;
    height: auto;
    
    border-bottom: 1px solid black; 
    display: grid;
    grid-column: auto;
    
}

.services-description-title{
    border-bottom: 1px solid black; 
    padding: 25px 15px;
    text-align: center;
}




.services-description-text{
    width: 85%;
    text-align: left;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Define dos columnas iguales */
    gap: 20px; /* Espacio entre las columnas */
}

.services-description-text p{
 font-size: medium;
}



.details {
    margin-top: 20px;
}

.details h2 {
    font-size: 1.5em;
    margin: 0;
    font-weight: normal;
}

.details p {
    font-size: 1.2em;
    color: #666;
}



.service {
    flex: 1 1 30%;
 
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service h3 {
    margin-top: 0;
    font-weight: normal;
}

.service p {
    color: #666;
}

@media (max-width: 768px) {
    .service-title-image {
        object-fit: cover   ;
        height: 100%;
        width: 65%;
        overflow: hidden;
    }
    
    .service-title-text{
        font-size: xx-small;
        
    }

    .services-intro-text h2{
       font-size: small;
       
        
    }

    .services-description-title{
        
        text-align: left;
    }
    
    
    .services-description-text p{
        font-size: xx-small;
       }
       

    
}

@media (max-width: 425px) {
    .service-title-image {
        object-fit: cover   ;
        height: 100%;
        width: 60%;
        overflow: hidden;
    }


    
    .service-title-text{
        font-size: 6px;
        
    }

   
    

    
}