@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600;1,700;1,800&display=swap');
body{
    background-color: aliceblue;
}

html, body 
{ 
 overflow-x: hidden !important;
}

#header{
    /*padding: 1rem 0;*/
    position: fixed;
    width: 100%;
    top: 0;
    height: 77px;
    z-index: 999;
}
div #banner{
    background-image: url(..//images/banner1.jpg);
    width: 100%;
    height: 100vh;
    margin: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.offcanvas-start {
    width: 210px;
    background-color: rgb(14, 14, 15);
}

.offcanvas-title{
    color: white !important;
}

.link-page{
    font-size: 18px !important;
    color: white !important;
    letter-spacing:1px;
}
.nav-item{
    padding-right: 50px!important;
}

.link-page:hover{
   border-bottom: 2px solid white;
}
div .card{
    margin: 10px;
}
/* button */
.button {
    border: 1px solid;
    color: black;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button:hover{
    
    color: white;
    background-color: rgb(12, 124, 21);
    padding: 10px 30px;
}

/* Prevent vertical gaps 
line-height: 0;
margin-left:150px;

-webkit-column-count: 2;
-webkit-column-gap:   0px;
-moz-column-count:    2;
-moz-column-gap:      0px;
column-count:         2;
column-gap:           0px;

}*/
#photos img {
/* Just in case there are inline attributes */
width: 100% !important;
height: auto !important;
}
#photos img:hover{
    width: 98%!important;
    transition: 0.3s;
}
.italic{
    font-family: 'Source Serif 4', serif!important;
    font-style: italic!important;
}
.titulo_servicios {
    font-weight: 700;
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 38px;
    text-transform: uppercase;
    color: black;
    margin: 3rem;
}
.parrafos{
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 25px;
    text-align: justify;
}
.btn-wha{
    background-color: rgb(236, 176, 25);
    margin: 10px;
    padding: 10px 20px;
    font-size: 20px;
    color: white;
}
.btn-wha:hover{
    color: white;
}

.btn-wha-leyenda{
    background-color: transparent;
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    border-color: rgb(236, 176, 25) ;
}

.btn-wha-leyenda:hover{
    background-color: rgb(236, 176, 25); 
    color: white;
}

.icono{
    font-size: 48px;
    margin: 20px;
}

.tarjeta{
    padding: 2rem;
}
a{
    color: white;
    text-decoration: none;
}
a:hover{
    color: white;
}

.title {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 45px;
    font-weight: 400;
    position: center center;
    color: white;
    padding-top: 15%;
    letter-spacing: 1.9px;
}

.sub-title {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 21px;
    font-weight: 300;
    position: center center;
    color: white;
    padding-top: 15px;
    padding: 25px;
}

.contenedor{
    position: relative;
    display: inline-block;
    text-align: center;
}

.text_img {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: white !important;
    font-size: 23px !important;
    background-color: #161616;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px;
}

.img-hover:hover{
    opacity: 0.7;
}

/*Responsive*/
@media (max-width: 575.98px) { 
    
    div #banner{
    
    -webkit-background-size:cover;
    -webkit-background-repeat:no-repeat;
    -webkit-background-attachment: fixed;
    -webkit-background-position: center center;
}
   
    .leyenda{
        padding-top: 4rem;
    }

    #photos img {
        width: 90% !important;
        height: auto !important;
    }
    .parrafos{
        padding: 20px!important;
    }
 }
