
    body{
        background-color: dodgerblue;
    }

    h1 {
        color: rgb(47, 0, 255);
        font-size: 50px;
        font-style: oblique;
        font-weight: bold;
        text-shadow: 2px 2px red;
        letter-spacing: 4px;
    }

    .SJL{
        color: rgb(240, 127, 255);
        text-shadow: 2px 2px rgb(84, 0, 95);
        font-style: italic;
        font-weight: bold;
        border-style: solid;
        border-color: crimson;
        padding: 2px;
        margin: 2px;
    }

    .IMG{
        border-radius: 25px;
        box-shadow: 6px 10px red;
        display: block;
        margin: auto;
        width: 300px;
        border-style: dotted;
        border-color: darkblue;
        border-width: 5px;
    }

    #LetraG{
        font-size: 70px;
        font-family: "Lavishly Yours", cursive;
        float: left;
        text-shadow: 2px 2px rgb(75, 145, 202);
        line-height: 60px;
        border-radius: 15px;
        border-style: solid;
        background-color: rgb(67, 1, 221);
    }

    /* Contenedor principal del formulario */
.form-moderno {
    max-width: 320px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    font-family: sans-serif; /* O la que prefieras */
}

/* Estilo para los labels de los números */
.form-moderno label:not(.label-resultado) {
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
    display: inline-block;
    margin-bottom: 5px;
}

/* Inputs de número decorados */
.input-moderno {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; /* Crucial para que no se salga del contenedor */
    transition: border-color 0.3s ease;
}

.input-moderno:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* Botón Sumar */
.btn-sumar {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-sumar:hover {
    background-color: #218838;
}

/* Agrega esto a tu archivo styles.css */

.visualizacion-triangulo {
    margin: 20px 0;
    height: 150px;
    background-color: #fff;
    border: 1px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor del gráfico */
.visualizacion-triangulo {
    background-color: #f8f9fa; /* Un gris muy claro de fondo para que resalte el blanco */
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
}

/* Estilo del triángulo */
.triangulo-blanco {
    fill: white;             /* Fondo blanco */
    stroke: #d1d1d1;         /* Un borde gris muy fino y elegante */
    stroke-width: 1;         /* Grosor mínimo */
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1)); /* Sombra suave */
    transition: all 0.3s ease; /* Para que el cambio de tamaño sea fluido */
}

/* Estilo de los textos dentro del SVG */
.svg-texto {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10px;
    fill: #666;              /* Gris oscuro para el texto */
    font-weight: bold;
}

/* Selector por ID para el contenedor principal */
#contenedor-calculadora {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 380px;
    margin: 50px auto; /* Centrado simple */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Selectores por clase */
.calc-titulo {
    font-size: 1.4rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.calc-grupo {
    margin-bottom: 15px;
}

.calc-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #444;
}

.calc-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Importante para que el padding no desborde */
}

.calc-input:focus {
    border-color: #3498db;
    outline: none;
}

.calc-boton {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.calc-boton:hover {
    background-color: #2980b9;
}

/* ID para el cuadro de resultado */
#resultado-final {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 5px solid #3498db;
    border-radius: 4px;
    display: none; /* Se activa con JS */
    line-height: 1.6;
}

.monto-total {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

#svg-triangulo {
    width: 100%;
    height: 100%;
}

#forma-triangulo {
    fill: #27ae60; /* Color verde como tu botón */
    stroke: #1e8449;
    stroke-width: 2;
    transition: points 0.5s ease; /* Animación suave al cambiar valores */
}

/* Label de Resultado (decorado como una caja) */
.label-resultado {
    display: block;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    color: #333;
    font-weight: bold;
    text-align: center;
    border-left: 4px solid #007bff;
}

/* Botón Limpiar */
.btn-limpiar {
    width: 100%;
    padding: 10px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.calculadora-container {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

.calculadora-titulo {
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
}

.calculadora-grupo {
    margin-bottom: 15px;
}

.calculadora-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.calculadora-input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box; /* Para que el padding no afecte el ancho total */
    border: 1px solid #ccc;
    border-radius: 4px;
}

.calculadora-boton {
    width: 100%;
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.calculadora-boton:hover {
    background-color: #219150;
}

.calculadora-resultado {
    margin-top: 20px;
    padding: 10px;
    background-color: #e8f4fd;
    border-left: 5px solid #3498db;
    text-align: center;
    font-weight: bold;
}

.btn-limpiar:hover {
    opacity: 0.8;
}


    #parrafo1{
        font-family: "Saira Stencil", sans-serif;
    }

    #parrafo2{
        font-family: "Playwrite IE", cursive;
    }

    #parrafo3{
        font-family: "Oswald", sans-serif;
    }

    #parrafo4{
        font-family: "Noto Sans Meroitic", sans-serif;
    }

    .menu {
        display: flex;
        padding: 20px;
        justify-content: center;
        gap: 30px;
        flex-direction: column;
    }

    .menu a{
        text-decoration: none;
        color: rgb(91, 46, 255);
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 1px;
        background-color: red;
        padding: 8px;
        border-radius: 8px;
    }

    a.seleccionada{
        background-color: rgb(27, 121, 19);
        text-shadow: 2px 2px blueviolet;
        box-shadow: 2px 2px brown;
    }

    a:hover{
        background-color: blueviolet;
        color: white;
        animation: opacitysacion 1s ease-in forwards;
    }

    .banner:hover{
        border-radius: 8px;
        box-shadow: 2px 2px red;
        animation: opacitysacion 1s ease-in forwards;
    }

    .titulo:hover{
        animation: colorcamb 0.4s ease-in-out forwards;
    }

    .movcarr{
        display: inline-block;
        white-space: nowrap;
        animation: mover 2s ease-in-out infinite alternate;
    }

    .caja {
        width: 150px;
        height: 150px;
        background: #3498db;
        animation: cambioforma 4s ease-in-out infinite alternate;
    }

.tabla-minimal {
    width: 50%;
    border-collapse: collapse;
    font-family: "Saira Stencil", sans-serif;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.tabla-minimal th, 
.tabla-minimal td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    text-shadow: 2px 2px rgb(0, 255, 98);
    font-weight: bold;
}

.tabla-minimal th {
    background-color: #f8f8f8;
    color: #333;
}

.noexclu:hover {
    background-color: #f0f0f0;
    transition: transform 0.3s ease;
    transform: translateX(1px); 
    cursor: pointer;
}

.exclu {
    background-color: #34db53;
}

.iconope {
    font-size: 100px;
    display: inline-block;
    border-radius: 50%;
    animation:
    girar 4s linear infinite,
    brillar 2s linear infinite alternate;
}

.imgemp{
    width: 50px;
    border-radius: 10%;
    box-shadow: 2px 2px goldenrod;
    transition: width 0.5s ease-in-out;
}

.imgemp:hover{
    width: 100px
}

.imgmp {
    width: 200px; /* O el tamaño que desees */
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: width 0.3s ease;
    animation: bounceInDownPPT 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.5s 1 both;
}

/* --- KEYFRAMES: CALCANDO POWERPOINT --- */
@keyframes bounceInDownPPT {
    /* 0%: Inicio - Totalmente invisible y muy arriba */
    0% {
        opacity: 0;
        transform: translateY(-800px); /* Caída desde gran altura */
    }

    /* 60%: PRIMER IMPACTO FUERTE (Suelo) */
    60% {
        opacity: 1; /* Se hace visible justo antes del impacto */
        transform: translateY(0); /* Golpea el punto base */
    }

    /* 75%: PRIMER REBOTE (Sube un poco) */
    75% {
        transform: translateY(-40px); /* Rebota hacia arriba */
    }

    /* 85%: SEGUNDO IMPACTO (Vuelve al suelo) */
    85% {
        transform: translateY(0);
    }

    /* 92%: SEGUNDO REBOTE (Casi imperceptible) */
    92% {
        transform: translateY(-10px); /* Rebote muy pequeño */
    }

    /* 100%: ESTADO FINAL (Asentado) */
    100% {
        transform: translateY(0); /* Se queda quieto */
    }
}

@keyframes girar {
    from {
        transform: rotate(-360deg);
        
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(10px) rotate(0deg); /* Mantén el rotate para que no choque */
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes brillar {
    0% {
        background-color: #dbb734;
        border-radius: 10%;
    }
    100% {
        background: none;
        border-radius: 100%;
    }
}

    @keyframes opacitysacion {
        0%{
        opacity: 100%;
    }
        50%{
            opacity: 70;
        }
        100%{
            opacity: 0;
        }

    }

    @keyframes colorcamb{
        0%{
            color: blue;
            font-size: 50px;
        }
        100%{
            color: green;
            font-size: 60px;
        }
        
    }

    @keyframes mover{
        0%{
            transform: translateX(0%);
            border-radius: 100%;
        }
        100%{
            transform: translateX(300%);
        }
    }

    @keyframes cambioforma{
        0%{
            transform: translateX(0%);
            border-radius: 0%;
            background: #db3434;
        }
        50%{
            transform: translateX(250%);
            border-radius: 50%;
            background: #34db53;
        }
        100%{
            transform: translateX(500%);
            border-radius: 0%;
            background: #dbb734;
        }
    }