* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: aliceblue;
    align-items: center;
}

.centrado {
    justify-content: center;
}

.header {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.header .panel {
    display: flex;
    width: 100%;
    background-color: rgb(215, 244, 255);
    height: 70px;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.panel + * {
    margin-top: 90px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.header .panel .menu {
    gap: 40px;
}

.header .panel .menu .menu-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
}

.content .menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 20px;
}

.content .menu img {
    width: 100%;
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.menu img {
    transition: transform 0.3s ease;
}

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

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ancho {
    grid-column: 1 / -1;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

label {
    font-style: italic;
    font-weight: 600;
    color: #444;
}

input,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.boton {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    background-color: cornflowerblue;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.boton:hover {
    background-color: #4a76d1;
}

.rojo {
    background-color: crimson;
}

.rojo:hover {
    background-color: #a0122c;
}

.foot {
    width: 90%;
    max-width: 1000px;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

h1 {
    font-weight: bold;
    color: rgb(46, 46, 46);
    margin-bottom: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
    background-color: white;
    margin-top: 10px;
}

th, td {
    border: solid 1px #888;
    padding: 12px;
    text-align: center;
}

th {
    background-color: cadetblue;
    color: white;
}

tr:nth-child(odd) {
    background-color: #f2faff;
}

.izquierda {
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .header .panel .menu {
        gap: 15px;
    }
    
    .content .menu {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content .menu img {
        max-width: 140px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .panel + * {
        margin-top: 80px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}