
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background: url('fondo.png') no-repeat center center fixed;
    background-size: cover;
}

/* Canvas interactivo */
canvas#interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 53, 102, 0.753); 
}

/* Header y Navegación */
header {
    background-color: #031a3c31; 
    padding: 10px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
}

.social a {
    color: #00d9ff; 
    text-decoration: none;
    margin-left: 20px;
    font-size: 24px;
}

.social a:hover {
    color: #ffffff;
}


main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.interactive-area {
    background-color: rgba(0, 58, 102, 0.527); 
    padding: 20px;
    border-radius: 10px;
    /*width: 80%;*/
    max-width: 900px;
}

.box {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.subbox {
    background-color: rgba(0, 217, 255, 0.699);
    padding: 5px;
    margin: 10px;
    border-radius: 5px;
    color: #031a3c;
    text-align: center;
    flex: 1;
    min-width: 100px;
    max-width: 200px;
    position: relative;
}

.subbox img {
    width: 100%;
    border-radius: 10px;
    border: 5px solid #003566ad; 
}
.subbox img:hover {
    transform: scale(1.1); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); 
    filter: brightness(1.2); 
}

footer {
   /*  background-color: #1b2d4154;  */
    padding: 10px;
    text-align: center;
    color: #00d9ff;
}

footer p {
    margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .box {
        flex-direction: column;
        align-items: center;
    }

    .subbox {
        width: 100%;
        margin-bottom: 10px;
    }
}
