@import url(https://fonts.googleapis.com/css?family=Jost:400,200,300,500,600,700,800);
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

body {
    font-family: "Jost", Helvetica, Arial, sans-serif;
}

nav {
    background-color: transparent;
}

.nav-item a {
    color: white !important;
    padding: 2em 2em;
    font-weight: 500;
    font-size: 14px;
}

.nav-item a:hover {
    color: #4ed569 !important;
    transition: 0.3s;
}

.navbar-nav {

    padding-left: 5em;
}

.bg-image {
    background-image: url('img/background.jpg');
    height: 100vh;
    background-size: cover;
    background-position: center; 
}

.bg-image .row {
    margin-bottom: 1em;
}

.bg-image h4 {
    color: #4ed569;
}

.bg-image h6 {
    line-height: 1.7;
}

.bg-image h1 {
    color: white;
    font-weight: bold;
}

.navbar-nav li {
    padding: 0 1em;
}

.h-phone {
    position: relative;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Jost';
    padding-left: 40px;
    font-size: 18px;
    padding-top: 20px;
}

.h-phone span {
    display: inline-block;
    position: absolute;
    left: 40px;
    top: 0;
    font-size: 12px;
    font-weight: 500;
}

.h-phone i {
    display: inline-block;
    position: absolute;
    font-size: 32px;
    left: 0;
    top: 12px;
    color: #4ed569;
}

#navbar {
    transition: background-color 0.5s ease;
}

#navbar.scrolled {
    background-color: black;
    /* Change the background color to white when the user scrolls down */
}

#navbar.scrolled .navbar-brand {
    
    transition: color 0.5s ease;

    /* Change the color of the brand name to black when the user scrolls down */
}

#navbar.scrolled .navbar-nav .nav-link {
    
    transition: color 0.5s ease;

    /* Change the color of the navbar items to black when the user scrolls down */
}

#navbar.scrolled .h-phone {
    
    transition: color 0.5s ease;

    /* Change the color of the navbar items to black when the user scrolls down */
}

#quienes-somos {
    padding: 5em 0;
}

#quienes-somos h6 {
    color: #4ed569;
    text-transform: uppercase;
    font-weight: 600;
}

#quienes-somos h2 {
    font-weight: 600;
}

#quienes-somos hr {
    background-color: #4ed569;
}

#servicios {
    background-color: #385242 ;
    padding: 5em 0;
}

#servicios h2 {
    color: white;
    
}
#servicios hr{
    background-color: #4ed569;
    margin-bottom: 2em;
}

#servicios p {
    line-height: 2;
    color: white;
}
#servicios li{
    color: white;
    background-color: #385242;
    padding: 1em .5em;
    margin-bottom: 1.5em;
    list-style-type: none;

}
#servicios i{
    color: #4ed569;
    font-size: 30px;
    padding: 0 .5em;
}
#contacto {
    padding: 5em 0;
}
#contacto h4{
    color: #4ed569;
    font-weight: 600;
}
#contacto hr{
    background-color: #4ed569;
}
#contacto p{
    color: gray;
}
#contacto input{
    border-radius: 0;
    color: gray;
}
#contacto span {
    display: block;
    margin-bottom: 1em;
    font-size: 20px;
    padding: .4em;
    color: gray;
    font-weight: 600;
}
#contacto span a{
    color: gray;
}
#contacto span i{
    color: #4ed569;
    font-size: 30px;
    margin-right: 1em;
    margin-top: 2em;
}

footer {
    border-top: .2px solid #ffffff;
    background-color: #385242 ;
    padding: 4em 0;
    color: white;
}

footer .logo {
    padding-bottom: 2em;
}

footer h6 {
    color: #4ed569;
    margin-bottom: 2em;
    font-weight: 500;
}

.ul-style-2 {
    padding: 0;
    list-style: none;
}

.ul-style-2 li {
    margin: 5px 0 5px 0;
    padding-bottom: 1em;
}

.ul-style-2 li:before,
.ul-style-2 li:after {
    font-family: "FontAwesome";
    content: "\f00c";
    margin-right: 15px;
    background: #111111;
    color: #4ed569;
    font-weight: 600;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
}

.ul-style-2.s2 li:before,
.ul-style-2.s2 li:after {
    background: rgba(0, 0, 0, .3);
}


.ul-style-2 li:after {
    display: none;
}

address span {
    display: block;
    margin-bottom: 1em;
    font-size: 14px;
    padding: .4em;
}

address i {
    margin-right: .7em;
    color: #4ed569;
}

address a {
    color: white;
}

footer .form-control {
    padding: 7px 10px 7px 10px;
    background-color: #385242;
    border-radius: 0;
    border: 0;
    color: gray;
    width: 80%;
    float: left;
    display: table-cell;
    border-radius: 0px 0 0 2px;
    -moz-border-radius: 0px 0 0 2px;
    -webkit-border-radius: 0px 0 0 2px;
    -webkit-box-shadow: 2px 2px 20px 0px rgba(20, 20, 20, 0.05);
    -moz-box-shadow: 2px 2px 20px 0px rgba(20, 20, 20, 0.05);
    box-shadow: 2px 2px 20px 0px rgba(20, 20, 20, 0.05);
}

#btn-submit i {
    text-align: center;
    font-size: 28px;
    float: left;
    width: 20%;
    background: #171A21;
    color: #ffffff;
    display: table-cell;
    padding: 5px 0 5px 0;
    border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
}


@media (max-width: 767.98px) {
    nav {
        background-color: black;
    }

    .navbar-nav li {
        padding: 0 0;
    }

    .navbar-nav {
        padding: 1.5em 0;
    }

    .nav-item {
        margin-right: 2em;
    }

    .nav-item a {
        color: white !important;
        padding: 1em 0;
        font-weight: 300;
        font-size: 14px;
        border-bottom: .3px solid rgba(209, 209, 209, .8);

    }

    .navbar .navbar-toggler {
        margin-right: 1.5em;
    }

    .navbar .navbar-toggler span {
        color: white;
    }

    .h-phone {
        color: white;
    }

}