@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400&display=swap');


* {
  box-sizing: border-box;
}

a {
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.note a {
  color: #5a6c8c;
  border-bottom: 1px solid #5a6c8c;
}

html {
  background: rgb(202, 189, 135)  url(gialla.png);
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  padding-bottom: 10%;
  box-shadow: 1px 1px 2px #000;
}

h1 {
  margin: 0 auto;
  padding-top: 10px;
  text-align: center;
}

h1 img {
  width: 100%;
  max-width: 500px;
}

nav {
  margin: 15px 0 35px;
  text-align: center;
}

.tablewrap {
  width: 100%;
  overflow-x: auto;
  box-shadow: inset -10px 0 5px 0px #fff;
}

table {
  border-collapse: collapse; /* evita doppie linee */
  width: 100%;
}

td, th {
  border: 1px solid rgba(0, 0, 0, 0.1); /* linea sottile e trasparente */
  padding: 8px;
}

.wine-year {
  display: none;
}

.note {
  margin: 0 5% 0px 5%;
  padding: 3%;
  top: 200px;
  color: #5a6c8c;
  background: #fff;
  box-shadow: 1px 1px 6px #000;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  font-size: 16px;
  border: 10px solid white;
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: normal;
}

#footer {
  font-family: "Anonymous Pro", monospace;
  clear: all;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 20px 10px;
}

.note::-webkit-scrollbar {
  width: 5px;
}

.note::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.note::-webkit-scrollbar-thumb {
  background: #5a6c8c;
  border-radius: 10px;
}

.btn.btn--menu {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.1px;
  color: #383d45;
  margin: 10px;
}

@media only screen and (min-width: 600px) {
  html {
    background: url(tovaglia.png) -30px -100px;
    height: 100%;
  }

  body {
    background: url(gialla.png);
    width: 90%;
    margin: 5%;
  }

  .note {
    width: 60%;
    margin-bottom: 0;
    margin: 0 5% 0px 5%;
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
  }

  .wine-year {
    display: table-cell;
  }

  #footer {
    position: absolute;
    bottom: 10px;
  }
}

@media only screen and (min-width: 1000px) {
  .note {
    width: 70%;
  }
}
