* {
    margin: 5px;
    border-radius: 5px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    box-sizing: border-box; 
}


body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background-color: #fdfdfd;
    color: #333;
}


.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background: #93c5fd;
    color: #000;
    padding: 0.5em 1em;
    text-decoration: none;
}

.skip-link-in-main {
    display: block;
    margin: 10px 0; 
    text-align: right; 
    width: 100%;
}


header {
    width: 100%;
    padding: 15px 0;
    background-color: #a7f3d0; 
}

.header-container {
    max-width: 1000px;      
    margin: 0;         
    text-align: left;       
    color: #064e3b;
}


nav {
    background-color: #93c5fd;
    width: 100%;
    padding: 10px;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style: none;
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: bold;
}


main {
    width: 100%;
    padding: 15px;
}


section {
    margin-bottom: 20px;
    background-color: #e0e7ff;
    padding: 15px;
    color: #1e1b4b;
    border-radius: 8px;
}


h1 {
    margin-top: 0;
}

h2 {
    margin-top: 0;
    color: #312e81;
}

/* MODIFICACIÓN CLAVE: Altura fija forzada */
/* Eliminadas las reglas obsoletas de .genially-container */
.genially-embed-direct {
    display: block;
    width: 100%;
    /* Altura fija y grande para asegurar que se vea */
    height: 800px; 
    /* Eliminar aspecto para usar la altura fija */
    aspect-ratio: auto; 
    border-radius: 8px;
    overflow: hidden;
    margin: 10px 5px 20px 5px; 
    box-shadow: 0 2px 8px rgba(63,69,81,0.16);
    border: none;
}


footer {
    background-color: #e5e7eb;
    color: #374151;
    width: 100%;
    padding: 15px;
    text-align: center;
}

footer a {
    color: #2563eb;
    text-decoration: none;
}

address {
    margin-bottom: 10px;
    line-height: 1.5;
}

.validacio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box; 
}

#main-content .empresa {

    width: 800px;
    height:600px;
}