@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,600");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #444; background: #fff; font: 400 1rem/1.7 Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #1bb3e9; }
strong { font-weight: 600; }
h3, h4 { font-weight: 400; letter-spacing: -1px; }
h3 { font-size: 2.1rem; line-height: 1.2; margin: .5rem 0 0; }
h4 { font-size: 1.5rem; margin: .5rem 0 0; }
p { margin: 1.7rem 0; }
ul { margin: .5rem 0; }
.container { width: 100%; }

#header { position: fixed; z-index: 10; inset: 0 0 auto; height: 5rem; padding: 0 7rem; background: #ce0e2c; box-shadow: 0 .05rem 1rem #0002; }
#header .container { height: 100%; }
#header a, #footer a { text-decoration: none; }
#header #logo { float: left; height: 100%; display: flex; align-items: center; }
#header #logo h3 { margin: 0; line-height: 2rem; }
#header #logo a { color: #fff; font-size: 1.5rem; }
#header .language-switch { position: absolute; top: 0; right: 7rem; height: 5rem; display: flex; align-items: center; color: #fff; font-size: .9rem; font-weight: 600; }
#navbar { height: 100%; }
#navbar .navigation { list-style: none; float: right; margin: 1.4rem 3rem 0 0; padding: 0; }
#navbar .navigation li { float: left; }
#navbar .navigation a { position: relative; display: inline-block; padding: .3rem .8rem; color: #fff; font-size: .9rem; }
#navbar .navigation a:hover::after, #navbar .navigation a.active::after { content: ""; position: absolute; height: 1px; background: #ffffffb3; bottom: 0; left: 12.5%; right: 12.5%; }
.menu-btn { display: none; float: right; margin-right: 3rem; border: 0; background: none; color: #fff; font-size: 1.8rem; padding: 1rem; cursor: pointer; }

#body { padding-top: 5rem; padding-bottom: 4rem; }
#body > .modular-row { padding-left: 7rem; padding-right: 7rem; }
.modular-row[id] { scroll-margin-top: 5rem; }
.sponsor { padding-top: 1rem; padding-bottom: 1rem; background: #fff; }
.logo-sponsor { overflow: auto; text-align: left; }
.logo-sponsor img { display: block; width: 290px; height: 90px; margin: 20px 1rem 20px 0; border-radius: 3px; }
.showcase { min-height: 34rem; padding-top: 1rem; padding-bottom: 4rem; text-align: center; background-image: url("assets/banner.jpg"); background-position: center; background-size: cover; }
.showcase p { text-align: left; }
.showcase img { width: 200px; height: auto; }
.features { padding-top: 2rem; padding-bottom: 2rem; }
.features p { margin: 1rem 0; }
.sezione1 img { border-radius: 20px; }
.sezione1 { color: #000; background: #fff; }
.sezione2, .sezione4, .contacts { color: #fff; background: #ce0e2c; }
.sezione3, .sezione6 { color: #fff; background: #e65621; }
.privacy { color: #000; background: #fff; }
.features a { color: inherit; }
.gallery-container { padding-top: 1rem; padding-bottom: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 1rem 0; }
.gallery-grid a { display: block; overflow: hidden; background: #eee; }
.gallery-grid img { display: block; width: 100%; height: auto; }
.gallery-grid a:hover img { opacity: .85; }

.privacy-item { margin-top: 20px; }
.uk-accordion-title { display: block; font-size: 1.25rem; line-height: 1.4; letter-spacing: 0; color: #333; margin: 0 0 15px; padding: 5px 15px; background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 4px; cursor: pointer; }
.uk-accordion-title::after { content: "+"; float: right; color: #666; }
.privacy-item[open] .uk-accordion-title::after { content: "−"; }
.uk-accordion-title:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
.privacy-item > .uk-accordion-content { margin-top: 20px; }
.ecard .features { color: #000; background: #fff; }
.ecard-row { display: flex; gap: 1rem; }
.ecard-column { width: 50%; }
.ecard-column:first-child { text-align: center; }
.ecard-image { max-width: 100%; border: 2px solid #333; border-radius: 5px; }
.ecard .ecard-image { border-radius: 5px; }

#footer { position: relative; height: 6rem; display: flex; justify-content: center; align-items: center; background: #101010; color: #999; text-align: center; }
#footer p { margin: 0; }
#footer a { color: #fff; }
#footer .totop { position: absolute; bottom: 5rem; left: 0; right: 0; }
#footer .totop span { display: inline-block; width: 3rem; height: 2rem; border-radius: 3px; background: #101010; font-size: 1.7rem; line-height: 2.5rem; }

.side-menu { display: none; position: fixed; z-index: 20; inset: 0 auto 0 0; width: 25%; overflow-y: auto; background: #333; color: #ddd; }
.side-menu.open { display: block; }
#panel { padding-top: 1rem; }
#panel-logo { margin-left: 1rem; }
#panel-logo h3 { line-height: 1.2; }
#panel-logo a { color: #fff; font-size: 1.2rem; text-decoration: none; }
#panel .navigation { list-style: none; padding: 0; }
#panel .navigation li { border-bottom: 1px solid #3d3d3d; }
#panel .navigation li:first-child { border-top: 1px solid #3d3d3d; }
#panel .navigation a { display: block; padding: .5rem 1rem; color: #ddd; font-weight: 600; text-decoration: none; }
#panel .navigation a:hover { color: #fff; background: #262626; }

#image-viewer { max-width: min(90vw, 900px); max-height: 90vh; padding: 0; border: 0; background: transparent; overflow: visible; }
#image-viewer::backdrop { background: #000c; }
#image-viewer img { display: block; max-width: 90vw; max-height: 90vh; }
#image-viewer button { position: absolute; top: -2rem; right: 0; border: 0; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }

@media (max-width: 959px) {
  #header, #body > .modular-row { padding-left: 4rem; padding-right: 4rem; }
  #header .language-switch { right: 4rem; }
  #navbar .navigation { display: none; }
  .menu-btn { display: block; }
  .side-menu { width: 25%; }
}
@media (max-width: 767px) {
  #header, #body > .modular-row { padding-left: 1rem; padding-right: 1rem; }
  #header .language-switch { right: 1rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.25rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-menu { width: 40%; }
  .ecard-row { display: block; }
  .ecard-column { width: 100%; }
}
@media (max-width: 480px) {
  .side-menu { width: 55%; }
}
