@font-face {
    font-family: 'UbuntuBold';
    src: url('/fonts/Ubuntu-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'UbuntuRegular';
    src: url('/fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Heavitas';
    src: url('/fonts/Heavitas.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'UbuntuRegular';
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color:#f2f2f2;
}
html {
    scroll-behavior: smooth;
}
.contenedor {
    height: 100px;
    width: 80%;
    margin-left: 10%;
    user-select: none;
}
.layout_top {
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 100;
    width: 100%;
}
.layout_top.fixed {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
    padding-bottom:20px;
}
.logo_march{
    height:80px;
    width:15%;
    float:left;
    margin-top:20px;
    margin-right:4%;
    cursor:pointer;
}
.logo_march img{
    width:100%;
}
.menu {
    width: 47.5%;
    height: 80px;
    float: left;
    position: relative;
}
.boton {
    width: 22.5%;
    height: 40px;
    margin-top: 40px;
    display: table;
    text-align: center;
    font-size: 16px;
    color: #121212;
    float: left;
    cursor: pointer;
    transition: all ease 0.2s;
    position: relative;
}
.boton:hover {
    color: #972929;
    transition: all ease 0.2s;
}
.boton a {
    display: table-cell;
    vertical-align: middle;
    color:#121212;
    text-decoration:none;
}
/* Flecha específica para "Rubros" */
#downmenu {
    position: relative;
}
#downmenu::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 40%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-left: 2px solid #121212;
    border-bottom: 2px solid #121212;
    transform: rotate(-45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
/* Cambios al pasar el mouse */
.rubros:hover #downmenu::after {
    border-color: #972929;
}
/* Submenú */
.rubros .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    width: 200%;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    z-index: 1000;
}
.rubros:hover .submenu {
    display: block;
}
.submenu-item {
    padding: 10px 15px;
    text-align: left;
    font-size: 14px;
    color: #121212;
    cursor: pointer;
    border-radius: 10px;
}
.submenu-item a {
    text-decoration: none;
    color: inherit;
}
.submenu-item:hover {
    background-color: #f5f5f5;
    color: #972929;
}
.boton_wapp {
    border: 2px solid #972929;
    color: #972929;
    background-color: #f2f2f2;
    display: table;
    text-align: center;
    font-size: 14px;
    width: 15%;
    height: 40px;
    margin-top: 38px;
    border-radius: 10px;
    float: right;
    cursor: pointer;
    font-family: 'UbuntuBold';
    transition: all ease 0.2s;
}
.boton_wapp .icon {
    content: url('/images/whatsapp1.png');
}
.boton_wapp:hover{
    border: 2px solid #972929;
    color: #fff;
    background-color:#972929;
    transition:all ease 0.2s;
}
.boton_wapp:hover .icon {
    content: url('/images/whatsapp2.png');
}
.boton_wapp a{
    display:table-cell;
    vertical-align:middle;
}
.boton_demo {
    border: 2px solid #f3a30a;
    color: #000;
    background-color: #f3a30a;
    display: table;
    text-align: center;
    font-size: 14px;
    width: 15%;
    height: 44px;
    margin-top: 38px;
    border-radius: 10px;
    float: right;
    cursor: pointer;
    margin-right: 2.5%;
    font-family: 'UbuntuBold';
    transition: all ease 0.2s;
}
.boton_demo:hover {
    border: 2px solid #972929;
    color: #fff;
    background-color: #972929;
    transition: all ease 0.2s;
}
.boton_demo a{
    display:table-cell;
    vertical-align:middle;
    color:#000;
    text-decoration:none;
}
.boton_demo a:hover{
    color:#fff;
}
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: #f37878;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content {
    flex: 1;
}
.footer {
    background-color: #121212;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items:center;
    justify-content:center;
}

.whatsapp,
.instagram {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    cursor:pointer;
}
.whatsapp img{
    max-width:100%;
}
.instagram img{
    max-width:100%;
}
@media screen and (max-width: 480px) {

    .contenedor {
        height: 50px;
        width: 100%;
        margin-left: 2%;
        user-select: none;
    }

    .logo_march {
        height: 80px;
        width: 45%;
        float: left;
        margin-top: 10px;
        margin-right: 4%;
        cursor: pointer;
    }

        .logo_march img {
            width: 100%;
        }

    .menu {
        display:none;
    }

    .boton_demo {
        display:none;
    }

    .boton_wapp {
        border: 2px solid #972929;
        color: #972929;
        background-color: #f2f2f2;
        display: table;
        text-align: center;
        font-size: 14px;
        padding-right:1%;
        width: 36%;
        height: 40px;
        margin-top: 23px;
        border-radius: 10px;
        float: left;
        cursor: pointer;
        font-family: 'UbuntuBold';
        transition: all ease 0.2s;
        float:right;
        margin-right:5%;
    }

        .boton_wapp .icon {
            content: url('/images/whatsapp1.png');
            width:80%;
        }

        .boton_wapp:hover {
            border: 2px solid #972929;
            color: #fff;
            background-color: #972929;
            transition: all ease 0.2s;
        }

            .boton_wapp:hover .icon {
                content: url('/images/whatsapp2.png');
            }

        .boton_wapp a {
            display: table-cell;
            vertical-align: middle;
        }

    .footer {
        background-color: #121212;
        color: #fff;
        padding: 20px;
        text-align: center;
        font-size: 14px;
        height: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width:100;
    }

        .footer .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            align-items: center;
            justify-content: center;
        }

    .whatsapp,
    .instagram {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
        cursor: pointer;
    }

        .whatsapp img {
            max-width: 100%;
        }

        .instagram img {
            max-width: 100%;
        }

    .wrapper {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        width:100%
    }
}