


:root {
  --gem: #fa1e4e;
  --biz: #fff;
  --page: 1500px;
  --blue: #276ef1;
}  
  
  .agile {
  margin: auto 3rem auto auto;
  text-transform: none;
  color: var(--biz);
}
@media (max-width: 599px) {
  .agile {
  display: none;
}
  h1 {
    font-size: 2rem !important;
    margin: 1rem 0 0 0 !important;
  }
}
h1 {
  font-size: 2.1rem;
  font-weight: 600;
  margin: 3rem 0 0rem 0rem !important;
}
h1, h2, h3, h4, h5, h6, hli {
  margin: 8px 0;
  font-family: 'Arial', sans-serif;
  /*! color: #fff; */
}

a {
  text-decoration: none;
  color: #000;
  height: fit-content !important;
}

a.active {
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
  color: var(--blue);
}

a:visited {
  /*! color: #000; */
}

.datum {
  background-color: red;
  width: fit-content;
  text-align: center;
  border-radius: 10000000px;
  padding: 0.6rem 1.3rem;
  font-size: 70%;
  color: rgb(255, 255, 255) !important;
  font-weight: 450;
  font-family: sans-serif;
}

@media (max-width: 768px) {
  .datum {
    font-size: 1.5rem;
    font-weight: 300;
    background-color: red;
    width: fit-content;
    text-align: center;
    margin: 1rem 1.5rem;
    border-radius: 9999999px;
    padding: .5rem 1rem;
    font-size: 60%;
    color: #fff !important;
    font-weight: 400;
    line-height: 1.4;
  }
  .pair .rollimg {
    min-height: 20rem;
    max-height: 20rem !important;
    height: 20rem !important;
    min-width: calc(100% - 2rem);
  }
}

.left {
  text-align: left !important;
}

.page-container {
  max-width: var(--page);
  margin: 0 auto;
  font-size: 1.2rem;
  font-family: 'Open Sans', sans-serif;
  padding: 7rem 1rem 0 1rem;
  padding-top: calc(4rem + 1rem);
  min-height: 90vh;
}

.pair {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rollimg {
  background-color: #373737;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /*! background-blend-mode: multiply; */
  cursor: pointer;
  padding-top: 4rem;
  max-width: 2560px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  max-height: 750px;
  min-height: 40rem;
  padding: 1rem !important;
  justify-content: left;
  border-radius: 4px;
}
.pair .rollimg {
  width: calc(49% - 2rem);
}

.bold {
 font-weight: 600;
}

body {
  /*! background-color: #110e08; */
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  /*! color: #fff; */
}

.mobile-menu ul {
  position: relative;
  padding: 0;
  min-width: 100%;
}

.mobile-menu li {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-left: 4vw;
  padding-right: 4vw;
  list-style: none ;
  font-size: 2rem;
  min-height: 2rem;
  /*! min-width: 100%; */
}

.mobile-menu a {
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  color: #cf0; 
}
.mobile-menu a:active {
  color: var(--blue) !important;
}

.footer {
  /*! color: #253551; */
  margin: 0;
  padding: 0;
  font-size: 16px;
  display: flex;
}

.page {
  max-width: 1490px;
  margin: 0 auto;
  display: flex;
  width: 100%;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
  font-weight: 200;
}

.page a {
  color: #fff !important;
}
    
.header {
  display: flex; /* CAMBIATO da inline-flex a flex per allineamento verticale */
  /*! justify-content: space-between; */ /* Aggiunto per separare logo e nav */
  align-items: center;
  padding: 0rem 1rem;
  background: rgb(0, 0, 0);
  backdrop-filter: blur(10px);
  /*! color: #253551; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.4rem;
  z-index: 1000;
  /*! text-transform: uppercase; */
  margin: 0 auto;
  /*! max-width: 1920px; */
}

.container {
  display: flex;
  align-items: center;
  min-width: 8%;
  /*! justify-content: center; */
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  line-height: 0;
}

.nav {
  display: flex; /* CAMBIATO da inline-flex a flex */
  align-items: center;
  font-size: 20px;
  font-weight: 500 !important;
}

.nav-links {
  display: flex; /* CAMBIATO da inline-flex a flex */
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%; /* Aggiunto per occupare l'altezza del nav */
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%; /* Aggiunto per occupare l'altezza del nav-links */
  margin: 0 12px;
  /*! justify-content: space-between; */
}

.nav-links li a {
  color: #fff;
  display: flex; /* CAMBIATO per centrare verticalmente il testo */
  align-items: center; /* Centra il testo verticalmente */
  height: 100%; /* Aggiunto per occupare l'altezza del li */
  padding: 0 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  /*! background-color: #ffffff; */
  /*! box-shadow: 0 8px 16px rgba(0,0,0,0.2); */
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 230px;
  background: rgba(0, 0, 0, 0.7);
}

.dropdown-menu li {
  margin: 0 !important;
  height: auto;
  padding: 0;
}

.hidden {
  display: none !important;
}

.dropdown-menu li a {
  padding: 12px 16px;
  display: flex;
  text-decoration: none;
  text-align: left;
  /*! color: #276ef1; */
  width: 100%;
  justify-content: space-between;
  /*! min-width: 100%; */
}

.dropdown-menu li a:hover {
  /*! background-color: #fff; */
  color:  var(--blue) !important;
}

.nav-links li.has-dropdown:hover .dropdown-menu {
  display: block;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  background: var(--biz);
  height: 3px;
  width: 25px;
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4.4rem; /* Modificato per essere coerente con l'altezza dell'header */
  left: 0;
  width: 100%;
  height: calc(100vh - 4.4rem); /* Modificato per essere coerente con l'header */
  background: rgba(255, 255, 255, 0.9);
  align-items: start;
  flex-direction: column;
  z-index: 1002;
}

.mobile-menu.active {
  display: flex;
  background-color: #2b2b2b;
  top: 0;
  bottom: 0;
  height: 103vh;
}

.burger.open span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

.notice {
  font-size: 2.4rem;
  max-width: 50rem;
  width: fit-content;
  margin: 2rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  background: #000; /* #1b1825; */
  color: #fff !important;
  height: 10vh;
  width: calc(100% + 2rem);
  margin: 5px 0;
  transition: 0.3s;
  flex-wrap: wrap;
  padding: 10px;
  white-space: wrap;
  display: flex !important;
  justify-content: start;
  gap: 1rem;
  margin: 0 -1rem;
}

@media (max-width: 599px) {
  .rollimg {
    max-height: 200px;
    min-height: 24rem;
    padding:  1rem !important;
    justify-content: left;
    border-radius: 4px;
  }
  .pair {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100% !important;
    min-width: 100% !important;
  }
  .notice {
    font-size: 2rem;
    text-align: center;
    line-height: 2.2rem;
  }
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
    position: absolute;
    right: 1rem;
    z-index: 9999;
  }
  .footer-bottom {
    display: flex;
    gap: 2rem;
    height: 10rem;
    width: calc(100% + -4px);
    margin: 5px 0;
    transition: 0.3s;
    flex-wrap: wrap;
    padding: 10px;
    white-space: wrap;
    display: flex !important;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0 -1rem;
    align-content: flex-start;
    align-items: flex-start;
  }
  .footer-bottom a {
    text-decoration: none;
    color: #fff;
    height: fit-content !important;
    white-space: wrap;
  }
}

@media (max-width: 768px) {
    .mobile-menu .dropdown-menu {
        display: none;
        position: static;
        background-color: transparent;
        transition: all 0.3s ease-in-out;
        text-transform: none;
        /*! margin-left: -4vw !important; */
    }
    .mobile-menu .dropdown-menu li a {
        font-weight: 400;
        padding: 5px 0;
        justify-content: space-between;
    }
    .mobile-menu li.has-dropdown.active .dropdown-menu {
        display: block;
    }
    .mobile-menu .has-dropdown > a::after {
        content: ' ▼';
        font-size: 0.7em;
        vertical-align: middle;
        transition: transform 0.3s;
    }
    .mobile-menu li.has-dropdown.active > a::after {
        transform: rotate(180deg);
    }
}