* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /*background-color: #8a8a8a;*/
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-weight: 0.1cm;
    font-size: 1cm;
}

header {
    color: #fff;
    background-color: #000000;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 9999;
}

.background-image {
  position: fixed;          /* <-- invece di absolute */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;            /* sempre tutta la viewport */
  background-image: url('../Grafiche/BackGround_WebSite.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;              /* sta dietro a tutto */
  opacity: 0.90;
  pointer-events: none;     /* non blocca click/selezione */
}

/*.background-image {
    position: absolute;
    top: calc(20px + 1cm); 
    left: 0;
    width: 100vw;
    height: calc(100vh - (20px + 1cm)); 
    background-image: url('../Grafiche/BackGround_WebSite.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.83; 
}*/

.logo-box {
    position: absolute;
    left: 1cm;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50px + 1cm);
    height: calc(50px + 1cm);
    background-color: #fff;
    background-image: url('../Grafiche/Logo.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.dropdown {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.dropdown-btn {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 25px;
    transition: color 0.3s;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    font-size: 0.5cm;
    font-weight: 0.2cm;
    font-family: 'Great Vibes', cursive;
    background-color: #000000;
    color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
    /*width: 220px;*/
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.logo {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 4px;
}

header {
    overflow: visible;
}

.dropdown {
    overflow: visible;
}