body {
    margin: 0;
}

.page-showreel .barra { background: #1d1d1d; border-color: #505050; }
.page-showreel .bottoni:hover, .page-showreel .attivo { background-color: #303030; }

.page-civica .barra { background: #1a3e4c; border-color: #2e4e5a; }
.page-civica .bottoni:hover, .page-civica .attivo { background-color: #324f5d; }

.page-fsl .barra { background: #2a1a3e; border-color: #4e2e5a; }
.page-fsl .bottoni:hover, .page-fsl .attivo { background-color: #3d2050; }

.contenitore_bottoni {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    z-index: 100;
    background: transparent;
}

.barra {
    height: 45px;
    background: #0C0C0C;
    background: radial-gradient(circle, rgb(21, 21, 21) 0%, rgba(26, 26, 26, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 405px;
    border-radius: 100px;
    padding: 5px;
    position: relative;
    background-clip: padding-box;
    border: 2px solid transparent;
    margin-bottom: 20px;
}

.barra::before {
    -webkit-box-shadow:0 0 35px 5px rgba(255,255,255,0.13);
    -moz-box-shadow: 0 0 35px 5px rgba(255,255,255,0.13);
    box-shadow: 0 0 35px 5px rgba(255,255,255,0.13);
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(to right, #424242, #1f1f1f);
}

.bottoni {
    width: 125px;
    text-align: center;
    height: 40px;
    border-radius: 100px;
    align-content: center;
    color: white;
    cursor: pointer;
    font-family: arial, sans-serif;
    position: relative;
    transition: background-color 0.5s, opacity 0.3s ease;
}

.bottoni:hover {
    background-color: var(--attivo, #303030);
}
.attivo {
    background-color: var(--attivo, #303030);
}

.logo {
    position: absolute;
    left: 50px;
    width: 125px;
}

iframe {
    width: calc(100% + 17px);
    height: 100%;
    border: none;
    transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
    transform: scale(1);
    filter: blur(0px);
    opacity: 1;
}

iframe.loading {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.03);
}

.contenuto {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.bottoni a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    -webkit-user-drag: none;
}

#overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 999;
}

#overlay.show {
    clip-path: inset(0 0 0% 0);
    pointer-events: all;
}

#overlay.hide {
    clip-path: inset(100% 0 0% 0);
}
