@font-face {
  font-family: "nabla";
  src: url(fonts/nabla-regular-variable-font.ttf) format("truetype");
}

@font-face {
  font-family: "Milchroma";
  src: url("fonts/Michroma/Michroma-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
}

@font-face {
  font-family: "Sofia_Sans";
  src: url("fonts/Sofia_Sans/SofiaSans-VariableFont_wght.ttf") format("truetype");
}

html {
  font-size: clamp(16px, 1.2vw + 1rem, 18px);
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  min-height: 100vh;
  font-size: 1rem;
  font-family: "Roboto", "Milchroma", "Sofia_Sans";
  background-image: url(img_pollo_locco/img/11_others/background-water.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;
}

/* ===================================
   HEADER 
=================================== */
header {
  width: 100%;
  background-color: aqua;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
}
header h1 {
  margin: 0;
  color: #000;
  font: clamp(24px, 5vw, 60px) / 1.1 "nabla", Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 1px 1px 0 #661515, -3px -3px 0 #661515, 1px -1px 0 #661515, -1px 1px 0 #661515;
}

/* ===================================
   MAIN CONTENT 
=================================== */
.main-impressum {
  font-family: "Sofia_Sans","Roboto", "Milchroma";
  font-size: 1.1rem;
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ===================================
   FOOTER 
=================================== */
footer {
  font-family: "Milchroma", "Roboto", "Sofia_Sans";
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  z-index: 1100;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  min-height: 40px;
}
footer p {
  margin: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
footer .button-footer {
  background-color: #960b06;
  border: clamp(1px, 0.5vw, 4px) solid #222;
  color: #0ff;
  padding: 0.5em 1.2em;
  border-radius: 20px;
  font-family: "Roboto", "Sofia_Sans", "Milchroma";
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 1.5px 0 #000;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .button-footer:hover {
  background-color: #eb1111;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 0 #000;
}

/* ===================================
   RESPONSIVE 
=================================== */
@media (max-width: 360px) {
  header h1 {
    font-size: clamp(1.1rem, 9vw, 1.5rem);
    letter-spacing: 0;
  }
  footer {
    font-size: 0.75rem;
    min-height: 28px;
    gap: 0.3rem;
  }
  footer .button-footer {
    padding: 0.2em 0.6em;
    border-radius: 6px;
  }
  .main-impressum {
    font-size: clamp(0.7rem, 3vw, 0.95rem);
  }
}

@media (max-width: 600px) {
  header {
    padding: 0.3rem 0.5rem;   
  }
  header h1 {
    font-size: clamp(1rem, 6vw, 2.2rem);
    letter-spacing: 0.02em;
  }
  .main-impressum {
    font-size: 0.6rem !important;
    padding: 10px;
    margin-bottom: 40px;
  }
  footer {
    font-size: clamp(0.7rem, 3vw, 1rem);
    gap: 0.5rem;
    padding: 0.3rem 0.5rem;
    min-height: 34px;
  }
  footer .button-footer {
    padding: 0.3em 0.8em;
    border-radius: 10px;
    font-size: inherit;
  }
}

@media (min-width: 601px) and (max-width: 1181px) {
  .main-impressum {
    font-size: 0.8rem !important;
  }
}