div {
    color: #fff;
    border-radius: 2px;
    text-align: center;
    padding: 2px;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* animation: borderSwap 1s infinite alternate;*/
@keyframes borderSwap {
    0% {
        border: 1px dashed black;
    }

    1% {
        border-color: #00fff700;
    }

    /* show solid */
    20% {
        border-color: #00fff75c;
    }

    40% {
        border-color: #00fff7b5;
    }

    /* fade to dashed */
    50% {
        border-color: #00ffffde;
    }

    60% {
        border-color: #00fff7b5;
    }

    80% {
        border-color: #00fff75c;
    }

    99% {
        border-color: #00fff700;
    }

    100% {
        border: 1px dashed black;
    }
}

@keyframes borderSwap2 {
    0% {
        border: 1px dashed black;
    }

    1% {
        border-color: #00ff0030;
    }

    /* show solid */
    20% {
        border-color: #00ff0080;
    }

    40% {
        border-color: #00ff00a0
    }

    /* fade to dashed */
    50% {
        border-color: #00ff00ff;
    }

    60% {
        border-color: #00ff00a0;
    }

    80% {
        border-color: #00ff0080;
    }

    99% {
        border-color: #00ff0030;
    }

    100% {
        border: 1px dashed black;
    }
}

.liquid_crystal, footer {
    position: relative;
    float: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.023), rgba(230, 230, 230, 0.184));
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.037);
    transition: transform 0.3s;
}

.crystal-text {
    position: relative;
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffffff;
    opacity: 1;
}

.liquid_crystal:hover {
    transform: scale(1.02);
}

/* INFO ---------------------------------------------------------------------------------------------*/
.info_div_class {
    padding: 10px;
    background-color: #8376e337;
    position: relative;
    float: left;
    width: 300px;
    margin-right: 20px;
    color: #fff;
}

.info-container {
    background-color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    color: inherit;
}

.info-container h2 {
    text-align: center;
    border-bottom: 2px solid;
    padding-bottom: 10px;
    margin: 0 0 15px 0;
    padding-left: 0;
    font-size: 1.2em;
}

.info-content {
    min-height: 100px;
    margin-bottom: 15px;
}

.info-title {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding-left: 0;
    line-height: 1.3;
}

.info-description {
    font-size: 0.9em;
    color: inherit;
    line-height: 1.5;
    margin: 0;
    padding-left: 0;
}

.info-error {
    color: #d63031;
    font-style: italic;
    text-align: center;
    margin: 0;
    padding: 20px 0;
}

.refresh-info-btn {
    background-color: #988aff43;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9em;
    width: 100%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.refresh-info-btn:hover {
    background-color: #8bfbff38;
    color: black;
}

.refresh-info-btn:active {
    background-color: #fff78948;
    transform: translateY(1px);
}

/* Responsive design for info */
@media (max-width: 768px) {
    .info_div_class {
        float: none;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .info-container {
        margin: 0 10px;
    }
}

/*scalper________________________________________________________________________________________________________________________*/
.scalper-box {
    position: relative;
    float: left;
    width: 14%;
}

.crypto-scalper-div {
    position: relative;
    float: left;
    margin: 10px;
    padding: 2px;
    color: #fff;
    width: 400px;
}

.scalper-info {
    visibility: collapse;
}

.scalper-box:hover .scalper-info {
    visibility: visible;
    animation: borderSwap2 2s infinite alternate;
}

.scalper-prices {

    position: relative;
    float: left;
    padding: 2px;
    color: inherit;
}

.scalper-symbol {
    animation: borderSwap 1s infinite alternate;
    position: relative;
    margin: 2px;
    color: inherit;
}

/* Coinbase/Crypto Styling ----------------------------------------------------------------------------*/
.coinbase_div_class {
    margin-left: 20px;
    padding: 10px;
    background-color: rgba(173, 216, 230, 0.138);
    position: relative;
    float: left;
    width: 300px;
    margin-right: 20px;
}

.crypto-container {
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
}

.crypto-container h2 {
    text-align: center;
    color: #f7931a;
    border-bottom: 2px solid #e4e6eb;
    padding-bottom: 10px;
    margin: 0 0 15px 0;
    padding-left: 0;
    font-size: 1.2em;
}

.crypto-prices {
    min-height: 200px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e4e6eb;
    transition: background-color 0.2s ease;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:hover {
    background-color: #f8f9fa32;
    padding-left: 5px;
    padding-right: 5px;
}

.crypto-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.crypto-symbol {
    font-weight: 600;
    color: #050505;
    font-size: 0.9em;
    margin-bottom: 2px;
}

.crypto-volume {
    font-size: 0.75em;
    font-weight: 400;
}

.volume-value {
    color: #1877f2;
}

.volume-error {
    color: #d93025;
    font-style: italic;
}

.crypto-price {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    font-size: 0.9em;
    text-align: right;
}

.price-value {
    color: #00a652;
}

.price-error {
    color: #d93025;
    font-style: italic;
}

.last-updated {
    text-align: center;
    font-size: 0.8em;
    color: #65676b;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid;
}

.error-message {
    text-align: center;
    color: #d93025;
    font-style: italic;
    padding: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .coinbase_div_class {
        float: none;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .crypto-container {
        margin: 0 10px;
    }
}


/* News Container Styling -----------------------------------------------------------------------------*/
.news-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
}

.news-container h2 {
    text-align: center;
    color: #fff;
    border-bottom: 2px solid #e4e6eb;
    padding-bottom: 10px;
    margin: 0 0 15px 0;
    padding-left: 0;
    font-size: 1.2em;
}

.news-feed {
    min-height: 120px;
    position: relative;
}

.news-item {
    border-bottom: 1px solid;
    padding: 10px 0;
    transition: opacity 0.3s ease-in-out;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    font-size: 1em;
    margin: 0 0 8px 0;
    padding-left: 0;
    line-height: 1.3;
}

.news-item h3 a {
    text-decoration: none;
    color: #050505;
    font-weight: 600;
}

.news-item h3 a:hover {
    text-decoration: underline;
    color: #ffc400;
}

.news-item p {
    margin: 0;
    color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
    padding-left: 0;
}

.loading {
    text-align: center;
    font-size: 1em;
    color: #ffffff;
    padding: 20px 0;
}

.news-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.news-controls button {
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    flex: 1;
    width: 30px;
    height: 20px;
}

.news-controls button:hover {
    background-color: #60b24d38;
}

.news-controls button:active {
    background-color: #1465d040;
    transform: translateY(1px);
}

.noticias_div_class {
    margin: 20px;
    padding: 10px;
    background-color: rgba(158, 245, 255, 0.289);
    position: relative;
    float: right;
    width: 300px;
    color: #fff;
}

.news-controls {
    background-color: rgba(158, 245, 255, 0.289);
}

button {
    background-color: #00a65345;
}

.news-container {
    background-color: #51555739;
}

/* Responsive design */
@media (max-width: 768px) {
    .noticias_div_class {
        float: none;
        width: 100%;
        margin-top: 20px;
    }

    .news-container {
        margin: 0 10px;
    }
}

/*-IP LOCATOR--------------------------------------------------------------------------------______________________*/
.location_div {
    position: relative;
    float: left;
    border: 1px solid black;
    width: 13rem;
    background-color: rgba(255, 236, 111, 0.327);
    padding: 10px;
    margin: 10px;
    color: #fff;
}

.location_div p,
h2 {
    text-align: center;
    color: inherit;
}

/*Commodities div____________________________________________________________________________________________________________________*/
.commodities_div {
    border: 1px solid black;
    position: relative;
    float: left;
    margin: 10px;
    background-color: rgba(0, 255, 13, 0.108);
    color: #fff;
}

/*FOOTER_________________________________________________________________________________________________________________*/
#footer_id {
    position: relative;
    float: left;
}

/*OLD STUFF*/
a {
    color: #00fff7;
    font-weight: bold;
    text-decoration: none;
}


a:hover {
    color: #ffc488;
}

p {
    padding-left: 10px;
}

h1 {
    display: none;
}

h2 {
    padding-left: 10px;
}

h3 {
    padding-left: 10px;
}


header {
    max-width: 97%;
    margin: 5px;
    animation: colorDeFondo02 16s infinite alternate;
}

/*________________________NAV_____________________________________________________________________________*/

.menu_nav_class {
    width: 102.5%;
    margin: auto;

}


.menu_ul_class {
    display: flex;
    list-style: none;
    padding: 0px;
}

.menu_ul_class li {
    background-color: rgba(255, 105, 237, 0.13);
}

.menu_ul_class li:hover {
    background-color: #3388ff17;
}

.menu_a {
    text-decoration: none;
    color: #515557;
    font-size: 1.2rem;
}


.menu_ul_class li {
    width: 25%;
    text-align: center;
    position: relative;
    margin: 1%;
}

.home .menu_home,
.productos .menu_productos,
.presupuestos .menu_presupuestos,
.contacto .menu_contacto {
    background-color: rgba(0, 255, 128, 0.203);

}
/*footer*/
footer {
    color: wheat;

}

