@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Oswald', sans-serif;
    background:
    linear-gradient(rgba(0,0,0,.92), rgba(0,0,0,.92)),
    url("AM.jpg");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:white;
    padding:30px;
    animation:fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

hr{
    border:none;
    height:2px;
    background:white;
    margin:20px 0;
}

/* TITULOS */

h1{
    text-align:center;
    font-size:3rem;
    letter-spacing:4px;
    text-transform:uppercase;
    margin:40px 0 20px;
    text-shadow:0 0 15px white;
    animation:glow 2s infinite alternate;
    transition:.4s;
}

h1:hover{
    transform:scale(1.05);
}

h2{
    margin:25px 0 15px;
    border-left:5px solid white;
    padding-left:15px;
    color:#e0e0e0;
}

@keyframes glow{
    from{
        text-shadow:0 0 10px white;
    }
    to{
        text-shadow:
        0 0 20px white,
        0 0 40px white;
    }
}

/* PARRAFOS */

p{
    text-align:justify;
    margin-bottom:20px;
    color:#d4d4d4;
    font-size:1.1rem;
}

/* IMAGENES */

img{
    display:block;
    margin:20px auto;
    border:3px solid white;
    border-radius:15px;
    transition:.5s;
}

img:hover{
    transform:scale(1.08);
    box-shadow:0 0 25px white;
}

/* LISTAS */

ul,ol{
    margin:20px 40px;
}

li{
    margin:10px 0;
    transition:.3s;
}

li:hover{
    color:white;
    transform:translateX(10px);
}

/* TABLAS */

table{
    width:100%;
    margin:25px 0;
    border-collapse:collapse;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(5px);
    border-radius:10px;
    overflow:hidden;
    animation:slideUp 1s ease;
}

@keyframes slideUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

th{
    background:white;
    color:black;
    padding:15px;
    font-size:1.1rem;
}

td{
    border:1px solid rgba(255,255,255,.3);
    padding:12px;
    text-align:center;
}

tr:hover{
    background:rgba(255,255,255,.1);
}

/* AUDIO Y VIDEO */

audio,
video{
    border:2px solid white;
    border-radius:10px;
    transition:.4s;
}

audio:hover,
video:hover{
    box-shadow:0 0 20px white;
}

/* ENLACES */

a{
    color:white;
    text-decoration:none;
    transition:.3s;
    padding:5px;
}

a:hover{
    background:white;
    color:black;
    border-radius:5px;
}

/* SECCIONES */

h1::after{
    content:"";
    display:block;
    width:100px;
    height:3px;
    background:white;
    margin:10px auto;
    box-shadow:0 0 15px white;
}

/* SCROLL BAR */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:black;
}

::-webkit-scrollbar-thumb{
    background:white;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#bfbfbf;
}

/* EFECTO TARJETA */

table,
p,
ul,
ol{
    background:rgba(255,255,255,.03);
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

/* RESPONSIVE */

@media(max-width:768px){

    h1{
        font-size:2rem;
    }

    video{
        width:100%;
        height:auto;
    }

    table{
        display:block;
        overflow-x:auto;
    }
