h1, h2, h3, h4, h5, h6 {
font-family: 'Gravitas One', serif;
font-weight: 400;
font-style: normal;
}
body.aperisecret-body {
margin: 0;
font-family: 'Lora', serif;
font-weight: 400;
line-height: 1.6;
background: #000;
color: #f5f5f5;
}
p {
font-weight: 400;
font-size: 14pt;
}
strong {
font-weight: 600;
}
.nav a {
font-weight: 500;
}
h2 {
font-size: 30pt;
line-height: normal;
margin-bottom: 10px;
}
section {
margin: 200px auto;
padding: 0 40px;
max-width: 800px;
overflow-x: hidden;
}
.aperisecret-landing {
min-height: 100vh;
}
.aperisecret-nav {
position: fixed;
bottom: 22px;
left: 0;
right: 0;
margin: auto;
/* backdrop-filter: blur(10px); */
z-index: 9999;
max-width: fit-content;
width: 100%;
padding: 20px 10px;
}
.aperisecret-nav ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
justify-content: center;
}
.aperisecret-nav a {
color: #fff;
text-decoration: none;
font-weight: 600;
font-size: 16px;
border: 2px solid #d4af37;
padding: 6px 16px;
background: #000;
margin: 0 4px;
}
body {
padding-bottom: 70px;
overflow-x: hidden;
}
#logo {
min-height: calc(100dvh - 70px);
align-items: center;
display: flex;
}
#logo img {
margin: auto;
display: block;
max-width: 100%;
height: auto;
}
#iscrizione img {
margin-left: -90px;
margin-bottom: -25px;
}
#evento img {
margin-bottom: -30px;
margin-left: -50px;
}
#concetto img {
margin-left: -90px;
margin-bottom: -35px;
}
#collabora-con-noi img {
margin-left: -40px;
margin-bottom: -30px;
}
#contatti img {
margin-left: -70px;
margin-bottom: -25px;
}
form {
display: flex;
flex-direction: column;
gap: 6px;
}
form input {
padding: 12px;
font-size: 13pt;
font-family: 'Lora', serif;
font-weight: 400;
border: 1px solid #fff;
background: transparent;
color: #fff;
}
form button {
background: #d4af37;
font-family: 'Lora', serif;
padding: 12px;
font-size: 14pt;
font-weight: 700;
border: none;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
transition: box-shadow 0.3s ease;
}
form button:hover {
box-shadow: inset 0 0 0 99px rgb(0 0 0 / 7%);
transition: box-shadow 0.3s ease;
}
.as-success {
background: #0f3d0f;
color: #b6ffb6;
padding: 12px 18px;
border-left: 4px solid #2ecc71;
border-radius: 4px;
font-size: 16px;
animation: fadeIn 0.4s ease-out;
position: fixed;
top: 40px;
z-index: 9999999;
width: 100%;
display: block;
max-width: calc(100% - 120px);
margin: auto !important;
left: 0;
right: 0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}
.aperisecret-body {
    background: #050509;
    color: #f5f5f5;
}
.aperisecret-frame {
    position: relative;
    min-height: 100dvh;
    padding: 40px 30px;
    box-sizing: border-box;
}
.aperisecret-frame::before,
.aperisecret-frame::after {
    content: "";
    position: fixed;
    pointer-events: none;
    inset: 20px;
    z-index: 1;
    box-shadow: 0 0 0 99999px #000;
}
.aperisecret-frame::after {
    border: none;
    background:
        linear-gradient(to right, #d4af37 0, #d4af37 40px, transparent 40px) top left,
        linear-gradient(to bottom, #d4af37 0, #d4af37 40px, transparent 40px) top left,
        linear-gradient(to left, #d4af37 0, #d4af37 40px, transparent 40px) top right,
        linear-gradient(to bottom, #d4af37 0, #d4af37 40px, transparent 40px) top right,
        linear-gradient(to right, #d4af37 0, #d4af37 40px, transparent 40px) bottom left,
        linear-gradient(to top, #d4af37 0, #d4af37 40px, transparent 40px) bottom left,
        linear-gradient(to left, #d4af37 0, #d4af37 40px, transparent 40px) bottom right,
        linear-gradient(to top, #d4af37 0, #d4af37 40px, transparent 40px) bottom right;
    background-repeat: no-repeat;
    background-size: 80px 2px, 2px 80px;
}
a {
color: #2297c5;
text-decoration: none;
font-size: 14pt;
}
.informazioni-legali {
margin-top: 40px;
}
small {
opacity: .4;
font-size: 9pt;
line-height: normal;
display: inline-block;
}
#icon-menu {
position: fixed;
right: 35px;
top: 35px;
border: 2px solid #d4b038;
font-family: 'Lora';
text-transform: uppercase;
color: #d4b038;
font-weight: 600;
padding: 5px 10px;
cursor: pointer;
background: #000;
}
.aperisecret-sidebar {
position: fixed;
top: 85px;
right: -260px;
width: 250px;
height: 100vh;
background: #000;
border: 2px solid #d4af37;
padding: 10px 20px;
box-sizing: border-box;
transition: right 0.35s ease;
z-index: 9999;
height: fit-content;
}
.aperisecret-sidebar.open {
right: 35px;
top: 85px;
}
.aperisecret-sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.aperisecret-sidebar a {
display: block;
padding: 12px 0;
color: #fff;
font-size: 16px;
text-decoration: none;
transition: color 0.3s ease;
}
.aperisecret-sidebar a.iscriviti-ora {
background: #d3b137;
color: #000;
font-weight: bold;
padding: 12px 20px;
transition: box-shadow 0.3s ease;
margin-bottom: 8px;
}
.aperisecret-sidebar a.iscriviti-ora:hover {
color: #000;
box-shadow: inset 0 0 0 99px rgb(0 0 0 / 7%);
transition: box-shadow 0.3s ease;
}
.aperisecret-sidebar a:hover {
color: #d4af37;
transition: color 0.3s ease;
}
body.page-template-page-iscrizione section {
margin-top: 0;
}
body.page-template-page-iscrizione #iscrizione img {
margin-top: -50px;
}
body.privacy-policy section {
margin-top: 60px;
}
.informazioni-legali a {
font-size: 9pt;
}
a.instagram {
display: flex;
align-items: center;
gap: 8px;
}
body main > section:last-child {
margin-bottom: 60px!important;
}
#iscrizione a {
background: #d3b137;
color: #000;
font-weight: bold;
padding: 12px 20px !important;
transition: box-shadow 0.3s ease;
display: inline-block;
}
#iscrizione a:hover {
color: #000;
box-shadow: inset 0 0 0 99px rgb(0 0 0 / 7%);
transition: box-shadow 0.3s ease;
}

/* Mobile */
@media (max-width: 800px) {
    .aperisecret-nav {
        max-width: calc(100% - 48px);
        width: 100%;
        padding: 20px 0px;
        padding-bottom: 4px;
        padding-right: 4px;
    }
    .aperisecret-nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .aperisecret-nav a {
        margin: 4px 4px;
        display: inline-block;
    }
    h2 {
        font-size: 18pt;
    }
    #contatti img {
        max-width: 100%;
        height: auto;
    }
    section {
        padding: 0 10px;
    }
    p {
        font-size: 12pt;
    }
}