/* Inicio del codigo de topnavigation y configuracion general */
*
{

    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

body
{

    background-color: white;
    margin: 0;
    padding: 0;
}

html
{

    scroll-behavior: smooth;

}

button
{
 
    padding: 15px 20px;
    font-size: 0.8em;
    border: 1px solid white;
    color: white;
    border-radius: 5px;
    /* background-color: rgb(245, 245, 245); */
    background-color: transparent;
    font-weight: bold;

}

button:hover
{

    background-color: rgb(206, 206, 206);
    color: black;

}

a
{

text-decoration: none;
color: black;

}

a:hover
{

    color: #283618;

}

body
{

margin: 0;
background-color: white;

}


.container
{

    margin: 0; 
    padding: 0;
    max-width: 1440px; 
    font-family: sans-serif;

}

.topnav
{

    margin: 0;
    padding: 0;
    background-color: white;
    align-items: center;
    justify-content: center;

}
.topnav .container
{
    display: flex;
    flex-direction: column;
    padding: 80px;
    align-items: center;
    justify-content: center;
    height: 100%;

}

#brand
{

    text-align: center;
    font-size: 2.4em;
    width: 50%;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;


}

.botonesact{

    text-align: center;


}
.logo
{

    margin: 0;

}

#action
{

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
    padding: 0;
}

#action a
{

    margin: 12px 0;
    font-size: 1.4em;
}
li::marker
{

    content: '- ';

}
/* Fin del codigo de topnavigation y configuracion general */

/* cuerpo */

#empresas
{

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#empresas .container
{

    display: flex;
    flex-direction: column;
    align-items: center;


}

#title
{

    font-size: 2em;
    margin: 30px 0 30px 0;

}

#empresas .empresa-container
{

    display: flex;
    flex-direction: column;
    padding: 0 5px;

}
.empresa-container ul
{

    padding: 0 10px;

}

#empresas .empresa-container
{

    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

}


.empresa-container li
{

    margin: 5px 0;


}

.cardcontainer
{

    margin: 5px;
    border-radius: 5px;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);

}

.servscontainer p
{

    margin: 20px 0;

}


#foot
{

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgb(69, 69, 69);
    color: white;

}

#foot a
{
    color: white;
}




#foot .container{

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    text-align: left;
    padding: 30px 0;
}

.redes
{

    display: flex;
    flex-direction: column;

}

.redes a
{

    margin: 10px 0;
    padding: 0 5px;

}
#foot a, #foot p
    {

        display: flex;
        align-items: center;
        gap: 2px;

    }





/* responsive */
@media (min-width:992px) {
    
    .topnav
    {

        position: fixed;
        background-color: rgb(69, 69, 69); 
        color: white;
        padding: 20px 0;
        width: 100%;

    }


    .topnav a
    {

        color: white;

    }

    .topnav a:hover
    {

        color: #606c38;

    }
    

    .topnav .container
    {
        display: flex;
        flex-direction: row;
        padding: 0;
        text-align: center;
        justify-content:left;
        width: 100%;

    }
    #action
    {
    
        flex-direction: row;
        justify-content: left;
    }
    #action a{

    margin: 0 10px;
    

    }

    #brand
    {

        justify-content: center;
        font-size: 1.7em;
        width: auto;
        padding: 0 15px;

    }

    .botonesact{

    
    justify-content: left;


    }

    #empresas
    {

        padding: 100px 0;

    }
    #empresas .empresa-container
{

    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3,1fr);

}

.cardcontainer
{

    border: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 30px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}


#foot
    {

        align-items: center;
        justify-content: flex-start;

    }


    #foot .container
    {
        width: 100%;
        flex-direction: row;
        justify-content:flex-start;
        padding: 0 50px;
    }

    #foot .telefonos
    {

        display: flex;
        flex-direction: column;
        
    }

    #foot .data
    {

        display: flex;
        flex-direction: row;
        gap: 50px;

    }

    #foot .telefonos h2
    {

       padding: 5px 0;
       margin: 5px 0;

    }

    #foot a, #foot p
    {

        display: flex;
        align-items: center;
        gap: 1px;
        justify-content: center;

    }


}