html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    h1 {
        font-size: 35px;
        font-weight: 600;
        font-family: "Open Sans", sans-serif;
    }

    h2 {
        font-size: 30px;
        font-weight: 600;
        font-family: "Open Sans", sans-serif;
    }

    h3 {
        font-size: 25px;
        font-weight: 600;
        font-family: "Open Sans", sans-serif;

    }

    h4 {
        font-size: 20px;
        font-weight: 600;
        font-family: "Open Sans", sans-serif;
    }

    h5 {
        font-size: 18px;
        font-weight: 600;
        font-family: "Open Sans", sans-serif;
    }

    p {
        font-size: 16px;
        font-family: "Open Sans", sans-serif;
    }
}

.fondo {
    background-color: #f3f3f3;
}

.barra {
    height: 90px;
    align-items: center;
}

.secuno {
    
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(https://cdn.pixabay.com/photo/2020/01/20/20/58/building-4781384_1280.jpg);
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;

}
.empresa{
    color: white;
    background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(https://cdn.pixabay.com/photo/2016/03/26/13/09/workspace-1280538_1280.jpg);
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;

    p{
        padding: 20px 20px 20px 20px;
    }

}
.seccom{

    background-color: rgb(0, 13, 31);


}

.items-barra {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.boton {
    width: 180px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    padding: 10px 10px;
    background-color: #F38806;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.boton:hover {
    background-color: #FFBB68;
}

.boton:active {
    background-color: rgb(255, 115, 0);
    color: #ffffff;
    padding: 10px 10px;
}

.boton2 {
    width: 180px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    padding: 10px 10px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 600;
}

.boton2:hover {
    background-color: #d8d8d8;
}

.boton2:active {
    background-color: rgb(43, 43, 43);
    color: #ffffff;
    padding: 10px 10px;
}

.servicios {
    margin-bottom: 40px;
    padding: 15px 15px 15px 20px;
    padding-inline: 10px;
    width: 255px;
    height: 235px;
    background-color: white;
    border-radius: 5%;

    img {
        width: 40px;
        height: 40px;
        max-width: 40px;
        max-height: 40px;
        margin-left: 15px;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    h4{
        justify-content: center;
    }

    p {
        padding-top: 3px;
        margin: 5px 15px 5px;
    }

}
.servicio{
    margin: 50px 50px 20px;
    margin-top: 50px;
    margin-bottom: 20px;
    border-radius: 1%;
    width: 380px;
    height: 500px;
    padding: 15px 15px 15px 15px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

img{
    height: 200px;
    width: 200px;
    margin-bottom: 30px;
}
h3{
    margin-bottom: 30px;
}

p{
    font-display: bold ;

}

}



.comentario {
    width: 400px;
    height: 220px;
    background-color: white;
    border-radius: 2%;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: space-between;
    padding: 15px 15px 15px 15px;

    p {
        font-size: 15px;
    }

    img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px;
        max-height: 50px;
        border: solid rgb(225, 225, 225);
        border-radius: 120%;
        margin-right: 30px;
        display: flex;
        flex-direction: column;
    }

}



.imagenes {
    display: flex;
    width: calc(250px * 22);
    animation: scroll 20s linear infinite;
}

.imagenes:hover {

    animation-play-state: paused;

}

.slider {
    height: 250px;
    margin: auto;
    width: 90%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slide {

    height: 200px;
    width: 250px;
    display: flex;
    text-align: center;
    align-items: center;
    padding: 15px;

}

.slide img {

    width: 90%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 11));
    }
}


.footers{
    background-color: rgb(0, 13, 31);
    color: white;
    
    
    a{
        color: white;
        text-decoration: none;
    }

}

.fimg{
    align-items: center;
    img{
        width: 40px;
        height: 40px;
    }
}
.ceo{
    border-radius: 1%;
    padding: 25px 25px 25px 25px;
    width: 654px;
    height: 410px;
    img{
        margin-bottom: 40px;
        width: 200px;
        height: 200px;
        border-radius: 100%;
    }
}

.copy{
    color: white;
    a{
        color: white;
        text-decoration: none;
    }
}

@media (max-width: 768px) {

    body{
        margin: 0;
        padding: 0;
        h1{
            font-size: 30px;
        }
        h2{
            font-size: 25px;
        }

        h3{
            font-size: 20px;
        }
        h4{
            font-size: 16px;
        }
        h5{
            font-size: 14px;
        }
        p{
            font-size: small;
        }

    }
    .barra{

        height: 85px;
        display: flex;
        align-items: center;

    }
    .boton{
        width: 100px;
        height: 50px;
    }
    .boton2{
        width: 100px;
        height: 50px;
    }
    .secuno{

        img{
            display: none;
        }

    }

    .servicio{

        width: 300px;
        height: 450px;
        margin: 20px auto ;
        img{
            width: 180px;
        }

    }
    .servicios{
        margin: 20px auto;
        img{
            width: 30px;
            height: 30px;
        }
        h4{
            font-size: medium;
        }
        p{
            font-size: small;
        }
        width: 300px;
        height: 200px;
    }
    .comentario{
        p{
            font-size: x-small;
        }      
        margin: 20px auto ;
        width: 250px;
        height: 180px;
        img{
            margin-bottom: 10px;
        }
          

    }
    .empresa{

        p{
            display: none;
        }

    }

    .footers{

        display: none;

    }
    copy{
        a{
            color: white;
            text-decoration: none;
        }
    }
    .navbar-nav{
        background-color: black;
    }
    .ceo{

        padding: 30px 30px 30px 30px;
        width: 300px;
        height: 250px;
        margin: 0 auto;
        img{
            margin-bottom: 20px;
            width: 100px;
            height: 100px;
            border-radius: 100%;
        }



    }
    #name{
        width: 100%;
    }
    #email{
        width: 100%;
    }
    #msg{
        width: 100%;
    }



  }