
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-size:cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #d4cbcbd0;
    background-size: 100%;
}

.body {
    background-color: #d4cbcbd0;
}

.clients h2 {
    text-shadow: rgb(0, 0, 0) px 3px 3px !important;
    text-align: center;
    margin: auto;
    border-radius: 5%;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: .5px;
    paint-order: stroke fill;
}

@media (min-width:578px )
{
body {
    background: url(./images/oficina.jpg);
    background-position: center bottom;
    background-size: cover;
}
}

 h2, h3 {
    font-weight: bold;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: .5px;
    paint-order: stroke fill;
}

.st {
    color: black;
    font-weight: bold;
}

ul {
    list-style-type: none;
}

/* Barra de navegación */
nav {
    background-color: #3d3e80;
    padding: 20px;
    box-shadow: #3d3e80 0px 3px 3px;
}

.navbar {
    justify-content: space-around !important;
}

.navbar li {
    margin: 5px;
}

.navbar a {
    color: #fafafafa;
    text-decoration: none;
    font-size: 18px;
}

.navbar a:hover {
    text-decoration: underline;
    color: #aaaaaa;
}

/* Sección de Inicio */
.home {
    color: rgba(255, 255, 255, 0);   
    text-align: center;
    padding: 50px 0;
    height: 90vh;
}

.home-content h1 {
    font-size: 3em;
}

.home-content p {
    font-size: 1.5em;
}

.home-content img {
    text-align: center;
    margin-left: 0%;
    min-width: 350px;
    width: 14m;
    height: 10em;   
    margin-top: 25vh;
}   

/* Sección Quiénes Somos */
.about {
    padding: 20px 20px; 
    color: #fafafa;
    background-color: #3d3e80;
    box-shadow: #3d3e80 0px 3px 3px;
    text-align: center;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: black 5px 2px 2px;
}

.about p {
    font-size: 1.2em;
    width: 80%;
    margin: 0 auto;
}

.about ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about li, .colaboradores li {
    display: inline-block;
    padding: 20px;
    font-size: 15px;
    min-width: 12em;
    margin: 2%;
    text-align: center;
    color: #222222;
}

.about li img {
    width: 20em;
    height: 22em;
    border-radius: 10%;
}

.about h3, .colaboradores h3 {
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
    color: #f2f2f2;
    text-shadow: black 3px 3px 5px;
}


li h4{
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    color: #f2f2f2f6;
    text-shadow: black 3px 3px 5px;
}

li h5 {
    font-size: 1em;
    text-align: center;
    color: #f2f2f2f6;
    text-shadow: black 3px 3px 5px;
}

@media(max-width:650px){
    .home-content img {
        width: 8em;
        height: 6em;
    }
    .services{
        padding: 10px 10px;
    }
    .services li{
        padding: 20px;
        width: 25em;
        height: 30em;
        margin: 2%;
        font-size: 13px;
    }

    .services ul {
        margin: 0;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
}

.services li h4{
    color: #333;
    text-shadow: none;
}
@media(min-width:651px){
    .services {
        padding: 50px 20px;
    }

    .services li {
        box-sizing: content-box;
        width: 20em;
        height: 28em;
        min-width: 12em;
        font-size: 15px;
        padding: 20px;
        margin: 1em 8em;
    }

    .services li:hover, .services li:active, .services li:focus {
        display: inline-block;
        position:static;
        background: #ffffff;
        padding: 20px;
        box-shadow: 3px 3px 3px rgb(184, 184, 184);
        width: 20em;
        height: 28em;
        min-width: 12em;
        text-align: center;
        color: #222222;
    }
}

.services li {
    display: inline-block;
    background: #ffffffcb;
    border-radius: 10%;
    box-shadow: 3px 3px 3px rgb(114, 114, 114);
    text-align: center;
    color: #222222;
}
.services h2, .clients h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    color: #f2f2f2;
    text-shadow: black 3px 3px 5px;
}

.services ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services li h3 {
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 10px;
}

.services li p {
    font-weight: bold;
    margin: .8em 0;

}

.services li p {
    text-align: start;
}

.contact {
    padding: 50px 20px;
    background-color: #333;
    color: white;
    text-align: center;

}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 1em;
    border-radius: 1em;
    background-color: #ffffffe5;
    color: #333;
    font-weight: bolder;
    font-size: 18px;
}

.contact label {
    display: block;
    margin-bottom: 10px;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button, .contactb {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: .1px .1px .5px white;
}

.contact button:hover, .contactb:hover {
    background-color: #3f3f3f;
    text-decoration: none;
}

/* Pie de página */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

.clients{
    height: 100vh;
}

.clients h2{
    margin-top: 2em;
}

/* Carousel */

#carousel {
    width: 50%;
    height: 85vh;
    margin:auto;
    margin-top: 15vh;
    display: flex;
}

#carousel div img {
    object-fit: contain;
    height: 25em;
}

@media(max-width:651px){
    #carousel {
        width: 85% !important;
        height: 100vh;
    }
}