@import url('https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.teahub.io%2Fviewwp%2FmiTmwb_black-texture-background-wallpaper-hd%2F&psig=AOvVaw2n_jCVCflE2kIHgUkLadwo&ust=1709580853019000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCOjm0ozr2IQDFQAAAAAdAAAAABBI');
@import url('https://fonts.cdnfonts.com/css/capture-it');

* {
  margin: 0;
  padding: 0;
  font-family: "futura md bt";
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

.headernavbar {
  position: fixed;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
}

header {
  display: flex;
  width: 100%;
  align-items: center;
}

#immaginefirma {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.8vh;
  margin-left: 1.5vh;
}

#immaginefirma img {
  height: auto;
  max-height: 6vh;
  max-width: 70%;
  display: block;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  display: inline-block;
  color: #f2f2f2;
  padding: 5px 0;
  position: relative;
  top: 0.1vh;
  right: 23.5vh;
  border: 3px solid transparent;
  font-family: 'Caviar2', sans-serif;
  text-transform: uppercase;
  transition: 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  border-bottom-color: #ffffffe8;
}

.hamburger {
  cursor: pointer;
  display: none;
}

.hamburger div {
  width: 30px;
  height: 3px;
  margin: 5px 0;
  background: #ffffff;
}

input[type="checkbox"] {
  display: none;
}

#immagine-container {
  position: absolute;
  top: 50%;
  left: -100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: left 2s ease, opacity 1s ease;
}

#immagine-container.visible {
  left: 50%;
  opacity: 1;
  z-index: 1;
}

.hidden {
  display: none;
}

#testo {
  padding: 2vw;
  border: 2px solid #3498db;
  border-radius: 1vw;
  background-color: #ecf0f1;
  color: #2c3e50;
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 1vw rgba(0, 0, 0, 0.2);
  display: inline-block;
  max-width: 80%;
  width: 150px;
}

#testo:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

@media only screen and (max-width: 900px) {
  header {
    padding: 0 30px !important;
  }
}

@media only screen and (max-width: 700px) {
  .hamburger {
    display: block !important;
  }
  header nav {
    position: absolute !important;
    width: 100% !important;
    left: -100% !important;
    top: 70px !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px !important;
    transition: 0.3s !important;
  }
  header #nav_check:checked ~ nav {
    left: 0 !important;
  }
  header nav ul {
    display: block !important;
    text-align: center !important;
  }
  header nav ul li a {
    margin: 5px 0 !important;
    right: 0 !important;
    display: inline-block !important;
  }
  #immaginefirma {
    max-width: 100% !important;
    height: 60px !important;
    margin-left: -35px !important;
  }
}