hacklab_web/ingenieria_social.css
2025-11-04 15:07:37 +01:00

179 lines
3.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
body {
background-color: #000000;
color: #00ff00;
font-family: 'Special Elite', 'Courier New', Courier, monospace;
margin: 0;
padding: 0;
overflow-x: hidden;
}
.xmind-container {
display: flex;
justify-content: space-between; /* Separar las dos columnas */
align-items: flex-start;
width: 100%;
max-width: 1200px;
margin: 20px auto;
position: relative;
gap: 8vw; /* Añadir espacio entre las dos columnas */
}
.left-column, .right-column {
display: flex;
flex-direction: column;
gap: 2.5em;
position: relative;
}
.central-button {
position: absolute;
top: 50%; /* Mover el botón al centro vertical de las columnas */
left: 50%;
transform: translate(-50%, -50%); /* Ajustar posición central entre las columnas */
z-index: 2;
}
.xmind-button {
background-color: #00ff00;
color: #000000;
padding: 10px 20px;
text-decoration: none;
font-family: 'Special Elite', 'Courier New', Courier, monospace;
font-size: 1.8em;
border-radius: 5px;
border: 2px solid #00ff00;
box-shadow: 0 4px #008000;
transition: all 0.3s ease;
text-align: center;
}
.xmind-button:hover {
background-color: #ff69b4;
color: #00ff00;
box-shadow: 0 8px #00ff00, 0 0 15px #ff69b4;
transform: translateY(-2px);
}
.quiz-container {
width: 80%;
margin: 40px auto;
padding: 20px;
background-color: #111;
color: #00ff00;
border: 2px solid #00ff00;
border-radius: 10px;
}
.quiz-container h2 {
font-size: 1.6em;
margin-bottom: 20px;
}
form label {
font-size: 1.2em;
}
form input[type="range"] {
width: 100%;
margin-bottom: 15px;
}
/* Información sobre SET */
.info-box {
position: fixed;
top: 0;
left: -100%;
width: 50%;
height: 100vh;
background-color: #000000;
color: #00ff00;
border-right: 2px solid #00ff00;
box-shadow: 0 0 20px #00ff00;
padding: 20px;
overflow-y: auto;
transition: left 0.5s ease;
}
.info-box:target {
left: 0;
}
.info-content {
text-align: left;
}
.info-content h2 {
font-size: 1.8em;
color: #ff69b4;
margin-bottom: 10px;
}
.info-content p {
font-size: 1em;
margin-bottom: 20px;
}
.close-button {
display: block;
margin-top: 20px;
padding: 10px;
background-color: #00ff00;
color: #000000;
text-align: center;
border-radius: 5px;
text-decoration: none;
border: 2px solid #00ff00;
box-shadow: 0 4px #008000;
transition: all 0.3s ease;
}
.close-button:hover {
background-color: #ff69b4;
color: #00ff00;
box-shadow: 0 6px #00ff00, 0 0 10px #ff69b4;
transform: translateY(-2px);
}
/* Ajustes responsivos para móviles */
@media only screen and (max-width: 768px) {
.xmind-container {
flex-direction: column;
align-items: center;
}
.left-column, .right-column {
gap: 1.5em;
}
.xmind-button {
font-size: 1.4em;
padding: 8px 15px;
width: 100%;
}
.central-button {
top: -20px;
}
.quiz-container {
width: 90%;
padding: 15px;
}
}
@media only screen and (max-width: 480px) {
.xmind-button {
font-size: 1.1em;
padding: 6px 10px;
}
.quiz-container h2 {
font-size: 1.4em;
}
form label {
font-size: 1em;
}
}