﻿body {
    max-width: 100%;
    overflow-x: hidden;
    background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
.imagen-ajustada {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.headerF {
    background: #022335;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 15px;
    z-index: 110;
    padding: 2px 2px;
    border-bottom: 5px solid #3498db;
    color: white;
    text-align: center;
}
.containerL {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    transition: opacity 0.5s ease; /* Transición suave al desaparecer */
}

    .containerL .loader {
        width: 100px;
        height: 100px;
        border: solid 5px #7cd6ec;
        border-radius: 50%;
        animation: loader 0.8s linear infinite;
    }
.left-column,
.right-column {
    flex: 1;
    min-width: 300px;
}
@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.containerL .message {
    position: absolute;
    color: aqua;
    font-size: 18px;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: message 1s alternate infinite ease-in-out;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.containerL .message {
    position: absolute;
    color: aqua;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: message 1s alternate infinite ease-in-out;
    z-index: 100000;
}

.Inferior {
    width: 100%;
    height: 20px;
    padding: 0px;
    background-color: #022335;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #3498db;
    position: fixed;
    bottom: 0;
    color: white;
    z-index: 1000;
    padding: 5px 5px;
    margin-top: 20px;
}
nav {
    background: #022335;
    border: 2px solid #3498db;
    height: 35px;
    width: 100%;
}

.enlace {
    position: absolute;
    padding: 5px 25px;
}

.logo {
    height: 20px;
}

nav ul {
    float: right;
    margin-right: 15px;
    margin-top: 0px;
}

    nav ul li {
        display: inline-block;
        line-height: 30px;
        margin: 0 5px;
    }

        nav ul li a {
            color: #fff;
            font-size: 17px;
            padding: 5px 5px;
            border-radius: 3px;
        }

li a.active, li a:hover {
    background: #000090;
    transition: .5s;
}

.checkbtn {
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/**/
@media (max-width: 952px) {
    .enlace {
        padding-left: 20px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 858px) {
    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #022335;
        top: 45px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    .imagen-ajustada {
        max-height: 250px;
    }
    .fas {
        margin-top: 0;
    }
    nav {
        background: #022335;
        border: 2px solid #3498db;
        height: 45px;
        width: 100%;
    }
    .icon {
        /* Estilos para el icono */
        font-size: 15px; /* Tamaño del icono */
        color: #fff; /* Color del icono */
        margin: auto;
    }

    .checkbtn {
        display: block;
        float: right; 
        line-height: 35px; 
        margin-right: 20px; 
        margin-top: 5px;
    }
    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

        nav ul li a {
            font-size: 20px;
        }

    li a:hover,
    li a.active {
        background: none;
        color: red;
    }

    #check:checked ~ ul {
        left: 0;
    }
}
