/*FONTS-----------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
.poppins-thin {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: normal;
}
.poppins-extralight {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: normal;
}
.poppins-light {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: normal;
}
.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}
.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}
.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}
.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}
.poppins-extrabold {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
}
.poppins-black {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
}
.poppins-thin-italic {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: italic;
}
.poppins-extralight-italic {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: italic;
}
.poppins-light-italic {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: italic;
}
.poppins-regular-italic {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: italic;
}
.poppins-medium-italic {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: italic;
}
.poppins-semibold-italic {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: italic;
}
.poppins-bold-italic {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: italic;
}
.poppins-extrabold-italic {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: italic;
}
.poppins-black-italic {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
}
/*HEADBAR---------------------------------------------------------------------*/
.headbar {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.headbar img {
  width: 40%;
}
/*BODY&CONTENT----------------------------------------------------------------*/
body {
  font-family: "Poppins", sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
}
h1, h2, h3, p {
  margin: 0;
}
.main {
  display: flex;
  flex-direction: column;
}
.sidebar {
  width: 10%;
  padding: 1rem;
  position: fixed;
}
.sidebar img {
}
.content {
  width: 100%;
  text-align: center;
}
/*SLIDESHOW-------------------------------------------------------------------*/
.slideshow {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("LORAN1.jpg");
  color: white;
  text-align: left;
}
.slideshow h1 {
  padding: 10rem 0 0 2rem;
  font-size: 10vh;
}
.slideshow h2 {
  margin-left: 50px;
}

/*INFO------------------------------------------------------------------------*/
.info {
  display:flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row;
  justify-content: space-around;
  background: #ff6b6b;
}
.bio {
  width: 40%;
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: space-around;
}
.info h1 {
  padding: 2rem;
  border: 2px solid white;
  font-size: 5rem;
  text-align: left;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  color: white;
  margin: 2rem;
}
.info p{
  padding: 2rem;
  text-align: left;
  font-size: 1.5rem;
  color: #363636;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
.button {
	background-color: #c74545;
	cursor: pointer;
  display: block;
  width: 40%;
  margin: 0 auto;
	color: #ffffff;
	font-family: Arial;
	font-size: 2rem;
	padding: 1rem;
  height: 2rem;
	text-decoration: none;
}
.button:hover {
	background-color: #ff6b6b;
}
.button:active {
	position: relative;
	top: 1px;
}
#filosofia1 {
  background: #363636;
}
.filosofia {
  width: 30%;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-around;
}
.filosofia img {
  width: 100%;
}
.filosofia p{
  color: white;
}
/*SHOP------------------------------------------------------------------------*/
#shop, #filosofia, #corsi {
  padding: 2rem;
}
.shop {
  padding: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.product {
  width: 20%;
  float: left;
  padding:2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
/*POPUP-----------------------------------------------------------------------*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup {
  display: flex;
  animation: zoom-in-zoom-out 1s ease;
  animation-iteration-count: 3;
  align-items: center;
  flex-direction: column;
}
.popup img {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: 40%;
}

.popup-container {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: top 0.5s ease-in-out;
    z-index: 1000;
}
.popup-container2 {
    position: fixed;
    left: -100%;
    top: 10%;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: top 0.5s ease-in-out;
    z-index: 1000;
}
.popup-container.show {
    top: 0;
}
.popup-container2.show {
    left: 0;
}
.popup-container.hide {
    left: -100%;
}
.popup-container.hide {
    top: -100%;
}
.popup-content {
    position: relative;
}
.popup-content img {
    width: 100%;
    display: block;
}
.close-batn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


@keyframes zoom-in-zoom-out {
  0% {scale: 100%;}
  50% {scale: 150%;}
  100% {scale: 100%;}
}
.close-btn {
  background: none;
  border: none;
  font-size: 50px;
  cursor: pointer;
  color: red;
  transition: color 0,2s ease-in;
}
.close-btn:hover {
  color: white;
}
/*MENU------------------------------------------------------------------------*/
.menu {
  background: #363636;
  text-align: center;
  margin: 0;
}
#menuCheckbox {
  display: none;
}
.menu li {
  display: inline-block;
  padding: 2rem;
  transition: background 0.3s ease;
}
.menu li:hover {
  background-color: #323232;
}
#menuToggle a {
  text-decoration: none;
  color: #ff6b6b;
  transition: color 0.3s ease;
}
#menuToggle a:hover {
  color: white;
}
/*FOOTER----------------------------------------------------------------------*/
.footer {
  background: #363636;
  color: white;
  font-size: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 0.3fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "disclaimer social partner"
    "copy copy copy"
    ". . .";
}
.copy {
  padding: 2rem;
  grid-area: copy;
  text-align: center;
}
.disclaimer {
  padding: 2rem;
  grid-area: disclaimer;
}
.social {
  padding: 2rem;
  grid-area: social;
  text-align: center;
}
.partner {
  padding: 2rem;
  grid-area: partner;
}
.partners-list {
  list-style-type: none;
  padding: 0;
}
.partners-list a {
  color: white;
}
/*MOBILE----------------------------------------------------------------------*/
@media screen and (orientation: portrait) {
    /* Nascondi sidebar */
    .headbar img {
      width: 90vw;
    }
    .sidebar {
        display: none;
    }
    .container {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    .content {
      width: 100%;
      text-align: center;
    }
    .slideshow {
      height: 50vh;
    }
    .slideshow h1 {
      font-size: 5vh;
    }
    .slideshow h2 {
      text-align: right;
      margin-right: 50px;
      margin-left: 0;
    }
    #menuCheckbox {
      display: block;
    }
    #menuToggle {
      display: block;
      position: fixed;
      top: 50px;
      left: 50px;
      z-index: 1;
      -webkit-user-select: none;
      user-select: none;
    }
    #menuToggle input {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -7px;
      left: -5px;
      cursor: pointer;
      opacity: 0;
      z-index: 2;
      -webkit-touch-callout: none;
    }
    #menuToggle span {
      display: block;
      width: 3rem;
      height: 0.5rem;
      margin-bottom: 0.5rem;
      position: relative;
      background: #cdcdcd;
      border-radius: 3px;
      z-index: 1;
      transform-origin: 4px 0px;
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }
    #menuToggle span:first-child {
      transform-origin: 0% 0%;
    }
    #menuToggle span:nth-last-child(2) {
      transform-origin: 0% 100%;
    }
    #menuToggle input:checked ~ span {
      opacity: 1;
      transform: rotate(45deg) translate(2px);
      background: #232323;
    }
    #menuToggle input:checked ~ span:nth-last-child(3) {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    #menuToggle input:checked ~ span:nth-last-child(2) {
      transform: rotate(-45deg) translate(2px);
    }
    .menu {
      position: absolute;
      display: flex;
      flex-direction: column;
      width: 100vw;
      height: 100vh;
      margin: -100px 0 0 -50px;
      padding-top: 125px;
      box-sizing: border-box;
      overflow-y: auto;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      transform-origin: 0% 0%;
      transform: translate(-100%, 0);
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    .menu li {
      padding: 10px 0;
      font-size: 4rem;
    }
    #menu li label {
      cursor: pointer;
    }
    #menuToggle input:checked ~ ul {
      transform: none;
    }
  .info {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .bio {
    width: 100%;
  }
  .info h1 {
    font-size: 2rem;
  }
  .shop {
    flex-direction: column;
    padding: 0;
  }
  .product {
    padding: 0 0 1rem 0;
    width: 100%;
  }
  .filosofia {
    width: 100%;
  }
  .filosofia .button {
    margin-bottom: 1rem;
  }
  #doublespot {
    width: 60vw;
  }
  #japanspot {
    width: 90vw;
  }
  #usdspot {
    height: 80vh;
    width: auto;
  }
  .footer {
    text-align: center;
    grid-template-rows: 1fr 0.3fr 1fr 0.3fr;
    grid-template-areas:
      "disclaimer disclaimer disclaimer"
      "social social social"
      "partner partner partner"
      "copy copy copy"
      ". . .";
  }
}
