@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    background-color: #042940;
    padding: 0 40px;
}

footer {
    align-items: center;
    background-color: #005C53;
    border-top: 2px solid white;
    color: white;
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    padding: 50px;
    text-align: center;
}

html {
color: white;
    font-family: Arial;
    font-size: 20px;
    scroll-padding-top: 4rem;
    scroll-behavior: smooth;
}

nav {
    background-color: #042940;
    padding: 14px 0;
    top: 0;
    z-index: 10;
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #9FC131;
    color: #042940;
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0 80px;
}

p {
    margin: 50px;
    text-align: justify;
}

.barraNav {
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #042940;
}

.divClv,
.divDef,
.divHist,
.divInt,
.divObj {
    font-size: 1rem;
    line-height: 1.5;
}

.divEncabezado {
    color: #9FC131;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.divVideo {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.footer-cent,
.footer-der,
.footer-izq {
    flex: 1;
}

.footer-cent img {
    height: 75px;
}

.h1Clv,
.h1Def,
.h1Hist,
.h1Int,
.h1Obj {
    color: #D6D58E;
    margin: 50px;
    text-align: center;
}

.h1Titulo {
    animation: fadeIn 1.5s ease;
    color: white;
    display: inline-block;
    position: relative;
}

.h1Titulo::after {
    background-color: #9FC131;
    bottom: -10px;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: calc(100% + 20px);
}

.imagenes {
    margin: 50px;
    text-align: center;
}

.imagenes img {
    transition: transform 0.25s ease;
}

.imagenes img:hover {
    transform: scale(1.05);
}

.ulDef li:first-child {
    color: #D6D58E;
}

#subir {
    background: #005C53;
    border-radius: 6px;
    bottom: 20px;
    color: white;
    font-size: 32px;
    opacity: 0.7;
    padding: 8px 12px;
    position: fixed;
    right: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

#subir:hover {
    opacity: 1;
}

#introduccion::before {
    color: #9FC131;
    content: "› ";
    font-size: 1.2em;
}
