@font-face{
    font-family: 'Avigea';
    src: url(/avigea/Avigea.woff2) format('woff2'),
         url(/avigea/Avigea.woff) format('woff'),
         url(/avigea/Avigea.ttf) format('truetype'),
         url(/avigea/Avigea.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}
*{
    margin: 0;
}
body{
    background-color: black;
    font-family: 'Avigea', sans-serif;
    letter-spacing: 2px;
}
.menu{
    height: 80px;
    width: 100vw;
    display: flex;
    justify-content:space-between;
    align-items: center;
    position: relative;
}
.menu .logo{
    margin-left: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    margin-top: 13px;
}
.menu .menu2{
    margin-top: 5px;
    margin-right: 50px;
    display: flex;
}
.menu .menu2 a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    letter-spacing: 2px ;
}
.menu .menu2 a:hover{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-weight: 900;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1{
    color: #000000;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #B30504;
    font-size: 2.2em;
}
h2{
    color: #B30504;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}
h3{
    color: #000000;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}
p{
    margin-bottom: 15px;
    text-align: justify;
}
ul{
    margin-left: 20px;
    margin-bottom: 15px;
}
li{
    margin-bottom: 8px;
}
.updated {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 30px;
}
strong {
    color: #000000;
}
table{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
}
th{
    background-color: #B30504;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}
td{
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
}
tr:hover{
    background-color: #fef5e7;
}
.info-box{
    background-color: #fef5e7;
    padding: 20px;
    border-left: 4px solid #B30504;
    margin: 20px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
a{
	word-break: break-all;
    overflow-wrap: break-word;
}
/* Responsive Design */
@media (max-width: 1000px) {
    .menu-toggle {
        display: block;
        margin-right: 50px;
        font-size: 40px;
    }
    .menu2 {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        width: 30%;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 999;
        min-width: 200px; /* Ancho mínimo para que se vea bien */
    }
    .menu2.active {
        max-height: 400px;
    }
    .menu2 a {
        width: 100%;
        padding: 15px 30px;
        border-bottom: 1px solid #444;
        text-align: left;
    }
    .menu2 a:last-child {
        border-bottom: none;
    }
    .menu2 a:hover {
        background-color: #B30504;
        border-radius: 0;
    }
    .section3 .foto_izq{
        width: 450px ;
    }
    .section4{
        background-image: url(/img/queryflamenca.png);
        margin-top: 0px ;
    }
}
@media(max-width: 600px){
    .menu .logo img{
        height: 35px;
    }
    .menu-toggle {
        font-size: 28px;
    }
    table {
        font-size: 13px;
    }
    
    th, td {
        padding: 8px 5px;
        font-size: 13px;
    }
    
    .info-box {
        padding: 15px;
        font-size: 14px;
    }
    
    .info-box p {
        font-size: 14px;
    }
    
    ul {
        margin-left: 15px;
    }
    
    li {
        font-size: 14px;
    }
    
    a {
        font-size: 14px;
    }
}
@media(max-width: 500px){
    .menu .logo img{
        height: 27px;
    }
    .menu-toggle {
        font-size: 26px;
    }
}
@media(max-width:450px){
    .menu button{
        margin-right: 30px;
    }
    .menu img{
        margin-left: -20px;
    }
  table {
        font-size: 9px;
    }
    
    th, td {
        padding: 4px 2px;
        font-size: 9px;
    }
    
    th {
        font-size: 8px;
    }
}