body {
    background-image: url('img/fondo.jpg');
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.main-wrapper.container {
    text-align: center;
    color: white;
}

.main-wrapper {
    text-align: center;
}

.form-label {
    color: white;
}

.navbar {
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    padding: 15px 30px;
    display: flex;
    gap: 25px;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 2px solid #ff2b2b;
}

.navbar a {
    color: #ff2b2b;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.navbar a:hover {
    color: #fff;
}

.container,
.card,
.result-card {
    background: rgba(20, 20, 20, 0.85);
    border: 2px solid #ff2b2b;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.25);
}

.main-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 130px auto 40px auto; 
}

h1, h2, h3, h4, h5 {
    color: #ff2b2b;
    font-weight: 800;
}

.btn-rojo, .btn-primary {
    background: #ff2b2b ;
    color: #fff ;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-rojo:hover,
.btn-primary:hover {
    background: #d40000;
}

.binary-section {
    background-color: #111;
    color: #ff4d4d;
    font-family: 'Courier New', monospace;
    padding: 20px;
    border: 1px solid #ff2b2b;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.35);
}

.foto-perfil {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ff2b2b;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
    margin-bottom: 20px;
}
