@font-face {
    font-family: "Retrolift";
    src: url("/home/pancho/PROGRAMACION/FLUJOS/retrolift.woff2") format("woff2"),
         url("/home/pancho/PROGRAMACION/FLUJOS/retrolift.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code';
    text-shadow: 10px 10px 20px rgba(0, 255, 76, 0.3);
}

body {
    font-family: 'Fira Code', monospace;
    background: #000000;
    color: #000000;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: "Retrolift", sans-serif;
    font-size: 4em;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 6px 6px 6px #73ff00;
    margin-bottom: 10px;
}

.glob-war:hover .logo { text-shadow: 2px 2px 8px #39ff14; }
.int-sec:hover .logo { text-shadow: 2px 2px 8px #ff69b4; }
.climate:hover .logo { text-shadow: 2px 2px 8px #ff4500; }
.eco-corp:hover .logo { text-shadow: 2px 2px 8px #006400; }
.popl-up:hover .logo { text-shadow: 2px 2px 8px #00008b; }

nav {
    display: flex;
    justify-content: center;
    background-color: #000000;
    color: #ff1a1a;
    padding: 10px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 6em;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 40px;
    box-shadow: 0 0 0px rgba(28, 103, 241, 0);
    
    position: relative;
    border: none;
    transition: .4s ease-in;
    z-index: 1;
    width: 40vw;
    height: 20vh;
    border: 3vw;
    align-items: center;
    border: 3px solid;
}

.nav-links a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(0,0,0,0.3); 
    border: 3px solid black;
}

.glob-war:hover { color: #39ff14; }
.int-sec:hover { color: #ff69b4; }
.climate:hover { color: #ff4500; }
.eco-corp:hover { color: #00fff2; }
.popl-up:hover { color: #0066ff; }

.glob-war { color: #FF4136; background-color: red; }
.int-sec { color: #0074D9; background-color: darkblue; }
.climate { color: #2ECC40; background-color: lightgreen; }
.eco-corp { color: #FFDC00; background-color: yellow; }
.popl-up { color: #FF851B; background-color: orange; }

.background {
    display: flex;
    height: 100vh;
    width: 99%;
    overflow-x: scroll;
}

.background a {
    display: block;
    width: 20%;
    height: 90vh;
    transition: transform 1.5s ease;
}

.background img {
    width: 20%;
    height: 90vh;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.background img:hover {
    transform: scale(1.1);
}

/* Sidebar con comportamiento onhover */
#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background-image: url("/images/flujos7.jpg");
    background-size: cover;
    color: #39ff14;
    padding: 30px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-220px);
    transition: transform 0.3s ease-out;
    overflow: auto;
    font-size: 18px;
    z-index: 3;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#sidebar:hover {
    transform: translateX(0);
}

#sidebar h2 {
    color: #39ff14;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: -1px 0 black, 0 3px black, 3px 0 black, 0 -1px black;
}

#sidebar form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
}

#sidebar label {
    color: #39ff14;
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#sidebar input {
    padding: 10px;
    border: 2px solid #39ff14;
    background: black;
    color: #39ff14;
    border-radius: 5px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

#sidebar input:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

#sidebar input[type="submit"] {
    color: #39ff14;
    background: #ff6600;
    cursor: pointer;
}

#sidebar input[type="submit"]:hover {
    background: #ff6600;
}

footer {
    width: 100%;
    background-color: #000000;
    color: #39ff14;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    font-family: 'Courier New', Courier, monospace;
    z-index: 6;
}

footer a {
    color: #39ff14;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2ECC40;
}

footer p {
    margin: 0;
}

/* Ajuste del iframe para que respete el espacio del sidebar */
.iframe-container {
    width: calc(100% - 250px);
    height: 100vh;
    background: #000000;
    margin: 0 auto;
    border: none;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 250px;
}

