@font-face{
    font-family: 'Coolvetica';
    src: url(../fonts/coolvetica\ condensed\ rg.otf) format('truetype')
}

@font-face{
    font-family: 'Couture';
    src: url(../fonts/couture-bld.otf) format('truetype')
}

@font-face{
    font-family: 'Roboto';
    src: url(../fonts/Roboto-Black.ttf) format('truetype')
}


*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

body
{
    text-align: center;
    background: #333333;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12pt;
    font-weight: 400;
    color: #000000;
}

.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    background: black;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.navbar{
    display: flex;
    margin-right: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px !important;
    font-weight: 200;
}

.navbar a{
    display: block;
    padding: 11px 20px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
}

.navbar a:hover{
    background: rgb(59, 58, 58);
    border-radius: 5px;
}

.header{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh !important;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/autobus-publico-personas-epidemia-mundial-covid19.jpg);
    background-size: cover;
    font-family: 'Couture', sans-serif;
}

.header p{
    font-family: sans-serif;
    color: whitesmoke;
    font-weight: 100;
}

.descripcion-empresa{
    /*background-color: #ffefd3;*/
    background-color: black;
    padding: 4%;
}

.descripcion-empresa p{
    color: white;
}

.descripcion-empresa h2{
    color: white !important;
}

.servicios{
    background-color: white;
}

.contacto{
    background-color: gray;
    padding: 4%;
}

h2{
    font-size: 30px;
    font-weight: 400;
    color: black;
    font-weight: bold;
}

.titulo{
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase
}

.title{
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.2em;
}

.logo {
    display: inline-block; 
}

.logo img {
    max-width: 160px; 
    height: auto; 
    vertical-align: middle; 
    padding-left: 10%;
}

p{
    margin-bottom: 40px;
    font-size: 18px;
}

footer{
    background-color: black;
    padding: 2%;
}

footer h1{
    color: white;
}

footer p{
    color: white;
    font-size: 12px;
    font-weight: 300;
    
}

/*********************************************************************************/
/* Servicios                                                                     */
/*********************************************************************************/

#wrapper3
{
    overflow: hidden;
    padding: 4em 0em;
    display: flex;
    justify-content: center;
} 

#portafolio.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#portfolio .box
{
    text-align: center;
    color: rgba(0,0,0,0.7);
}

#portfolio h3
{
    display: block;
    padding-bottom: 1em;
    text-transform: uppercase;
    font-size: 1em;
    color: rgba(0,0,0,0.8);
}

#portfolio .title
{
    text-align: center;
    color: black;
}

#portfolio .title h2
{
   /* color: rgba(0,0,0,0.8);*/
   color: black;
}

#portfolio p{
    font-size: 16.5px;
    font-weight: 100;
}

.column1,
.column2,
.column3,
.column4,
.column5
{
    box-sizing: border-box;
    width: 245px; 
    margin: 0 5px ; 
    height: auto;
    padding: 10px 10px 10px 10px;
    border-radius: 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    float: left;

}


/*********************************************************************************/
/* Image Style                                                                   */
/*********************************************************************************/

.image
{
    display: inline-block;
    border: 0px solid rgba(0,0,0,1);
    padding: 3%;
    overflow: hidden;
}

.image img
{
    display: block;
    width: 50%;
    height: auto;
    object-fit: cover;
}

.image-full
{
    display: block;
    width: 100%;
    margin: 0 0 1em 0;
    border-radius: 5%;
}
/*********************************************************************************/
/* Button Style                                                                  */
/*********************************************************************************/

.button
{
    display: inline-block;
    margin-top: 0em;
    padding: 1em 2em 1em 2em;
    background: #8DCB89;
    border-radius: 8px;
    letter-spacing: 0.20em;
    line-height: 1.8em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.2em;
    color: #FFF;
}

.button-small
{
    padding: 0.6em 1.5em;
    background: #9cc4e4;
    border-radius: 5px;
    line-height: 1.8em;
    font-size: 1em;
}

.button-small:hover
{
    background-color: #000000;
}

/*********************************************************************************/
/* Footer                                                                        */
/*********************************************************************************/

#footer
{
    overflow: hidden;
    padding: 4em 0em;
    background: #9cc4e4;
    text-align: center;
}

#footer .container {
    text-align: center; 
}
    
#footer .fbox1,
#footer .fbox2,
#footer .fbox3
{
    display: inline-block;
    width: 320px;
    padding: 20px 30px 20px 30px;
}

#footer .icon
{
    display: block;
    margin-bottom: 0.6em;
    font-size: 3em;
}


#footer .title span
{
    color: rgba(255,255,255,0.4);
}

#footer img {
    width: 90px; 
    height: 90px;
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) 
{

    #wrapper3 {
        padding: 2em 3em 2em 3em; /* Reducir el espacio superior e inferior */
    }

    .column1,
    .column2,
    .column3,
    .column4,
    .column5 {
        width: 100%; /* Ocupar el ancho completo en dispositivos móviles */
        margin: 0 auto; /* Eliminar el margen lateral */

    }

    .image img {
        height: auto; /* Mantener la proporción original de las imágenes */
    }

    .button,
    .button-small {
        width: 85%; /* Ocupar el ancho completo en dispositivos móviles */
        margin-bottom: 10px; /* Agregar espacio entre botones */
        
    }

    #footer .icon
    {
    display: block;
    }

    .navbar {
        display: none; /* Oculta la barra de navegación por defecto en dispositivos pequeños */
        flex-direction: column;
        margin-top: 10px;
        transition: display 0.3s ease;
    }

    .navbar-mobile {
        display: none;
    }

    .navbar a {
        padding: 10px;
        margin: 5px 0;
    }

/* Estilos para el botón de hamburguesa */
    .menu-icon {
        display: block;
        cursor: pointer;
        background: none;
        border: none;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
    }

    .change .navbar-mobile {
        display: flex;
    }

    .change .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .change .bar:nth-child(2) {
        opacity: 0;
    }

    .change .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Agrega este estilo para mostrar la barra de navegación cuando el botón de hamburguesa se ha hecho clic */
    .change .navbar {
        display: flex;
    }


/* actualizacion 29/7 */
.navbar-mobile {
    display: none; /* Ocultar por defecto en vista móvil */
    flex-direction: column;
    position: absolute; /* Para que el menú se desplace encima del contenido */
    top: 50px; /* Ajusta esto si es necesario para que no se sobreponga a otros elementos */
    right: 0;
    background: black; /* Fondo para el menú desplegado */
    width: 100%; /* Ocupar todo el ancho en móvil */
    z-index: 100; /* Asegúrate de que el menú esté sobre otros elementos */
}

/* Mostrar el menú cuando se activa la clase 'show' */
.navbar-mobile.show {
    display: flex; /* Mostrar el menú cuando se activa la clase 'show' */
}

/* Estilos para el botón de hamburguesa */
.menu-icon {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 15px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

/* Efecto de cambio en el botón de hamburguesa */
.menu-icon.change .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.change .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.change .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

}