html{font-size: 62.5%; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 100, 300, 400, 500, 700, 800, 900; font-style: normal;}

.navbar {
    background-color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 400;
}

.navbar-toggle {
    cursor: pointer;
    display: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-menu li {
    margin-right: 20px;
}

.navbar-menu li a {
    text-decoration: none;
    color: #fff;
}

.navbar-menu li a:hover{
    text-decoration: none;
    color: #50cca3;
}

.button2 {font-weight: bold!important; background-color: #f04e26; font-size:1.2.1rem; padding:5px 10px; border-radius: 6px; cursor: pointer; transition: transform 0.2s ease-in-out;}
.button2:hover {animation: bounce-horizontal 0.5s;}
/* Definición de la animación de rebote */
@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px); /* Rebote hacia la derecha */
    }
}



@media screen and (max-width: 980px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
    }

    .navbar-menu li {
        margin: 0;
        text-align: center;
    }

    .navbar-menu li a {
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid #555;
    }

    .navbar-toggle {
        display: block;
    }
}