* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    justify-content: center; 
    align-items: center;     
    position: relative;
}


.contenedorLogo {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logoSitio {
    width: 80px; 
    height: auto;
}


.contenedorPrincipal {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}


.contenedorBanner {
    width: 100%;
    margin-bottom: -5px; 
}

.bannerImg {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0; 
    display: block;
}


.formularioCaja {
    background: #ffffff;
    padding: 30px;
    border-radius: 0 0 10px 10px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.formularioCaja h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.formularioCaja p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 25px;
}


.campo {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #34495e;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdde1;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #3498db;
}

.btnEnviar {
    width: 100%;
    padding: 12px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btnEnviar:hover {
    background-color: #1a252f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding-top: 50px; 
}


header {
    width: 100%;
    height: 50px;
    background-color: black;
    position: fixed; 
    top: 0;
    left: 0;
    color: aliceblue;
    z-index: 2000; 
}

header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.logoSitio {
    height: 30px; 
    width: auto;
    display: block;
}


#menu_bar {
    display: none; 
}

header label {
    cursor: pointer;
    font-size: 30px; 
    color: white;    
    line-height: 50px; 
    display: block;
}

.menu {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95); 
    transition: all 0.3s ease;
    transform: translateX(-100%); 
    z-index: 1500;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.5);
}

.menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 15px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.menu a:hover {
    background-color: #036bfd;
}


#menu_bar:checked ~ .menu {
    transform: translateX(0%);
}


@media (min-width: 1200px) {
    header label {
        display: none;
    }
    
    .menu {
        position: static;
        width: auto;
        transform: translateX(0);
        display: flex;
        background: none;
        box-shadow: none;
    }

    .menu a {
        border: none;
        padding: 0 20px;
        font-size: 0.95rem;
    }
}


.contenedorPrincipal {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.contenedorBanner {
    width: 100%;
    margin-bottom: 30px;
    z-index: 1; 
}

.bannerImg {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.formularioCaja {
    background: white;
    max-width: 500px;
    margin: 0 auto 50px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.formularioCaja h2 {
    text-align: center;
    color: #036bfd;
    margin-bottom: 10px;
}

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.campo input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btnEnviar {
    width: 100%;
    padding: 12px;
    background-color: #036bfd;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btnEnviar:hover {
    background-color: #0256cc;
}