@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    border: none;
}

body {
    font-family: 'Staatliches', cursive;
    overflow-x: hidden;
    max-width: 100%;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}






/* LOAD  */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #171717;
  animation: loading .5 ease-in;
  animation-fill-mode: forwards;
  z-index: 999999999999999;
  overflow-y: hidden;
}

.hidden {
  animation: loading 2s linear;
  animation-fill-mode: forwards;
}

@keyframes loading {
  0% {opacity: 1; transform: translateX(0)}
  50% {opacity: 1; transform: translateX(0)}
  99% {opacity: .5; transform: translateX(-100vw);}
  100% {opacity: 0; transform: translateX(-2000vw); visibility: hidden;}
}


/* NAVBAR */

.container-navbar {
    background-color: rgb(17, 17, 17);
    position: fixed;
    width: 100%;
    z-index: 9999;
    box-shadow: 1px 1px 4px #000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-logo, .burger-inline, .search-box {
    justify-self: end;
}


.link-logo img {
  height: auto;
  vertical-align: middle;
}

.burger-menu {
    position: relative;
    display: flex;
    height: 35px;
    width: 35px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999999;
    transition: 0.3s ease;
}

.burger-menu:hover {
  opacity: 0.7;
}

.burger-lines {
    width: 21px;
    height: 3px;
    background-color: white;
    transition: 0.5s ease-in-out;
}

.burger-lines::before, .burger-lines::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 3px;
    background-color: white;
    transition: 0.5s ease-in-out;
}

.burger-lines::before {
  transform: translateY(-8px);
}

.burger-lines::after {
  transform: translateY(8px);
}







/* SEARCH BOX */ 

.search-box {
  background : #2F3640;
  height : 35px;
  border-radius : 35px;
  margin: 7px 0;
  display: flex;
}

.search-btn {
    color : #4097FF;
    float : right;
    width : 35px;
    height : 35px;
    border-radius: 50%;
    background : #2F3640;
    display:flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition:0.4s;
}

.search-txt {
    border:none;
    background:none;
    outline:none;
    float:left;
    padding:0;
    color: #fff;
    font-size:16px;
    transition : 0.4s;
    line-height: 40px;
    width : 0px;
}

.search-box:hover > .search-txt {
  padding: 0 10px;
}

.search-box:hover > .search-txt {
    width: 220px;
    padding: 0 12px;
}

.search-box:hover > .search-btn {
    background: #171717;
}







/* OVERLAY MENU */

.overlay-background {
  background-color: #171717;
  height: 100%;
  width: 0;
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  z-index: 99999;
  opacity: 0.95;
  overflow-y: hidden;
}

.overlay-menu {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: grid;
  padding: 25vh 0;
  align-content: center;
  justify-content: center;
}

.overlay-menu li {
  padding: 20px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgb(30, 226, 24);
}

.overlay-menu li:last-child {
  border-bottom: none;
}

.overlay-menu li a {
  color: rgb(30, 226, 24);
  font-size: x-large;
  letter-spacing: 13px;
  transition: all 0.3s;
}

.overlay-menu li a:hover {
  opacity: 0.7;
}

.closebtn {
  position: absolute;
  top: 20px;
  right: 60px;
  color: rgb(30, 226, 24);
  font-size: 65px;
  transition: all 0.3s;
}

.closebtn:hover {
  opacity: 0.7;
}

.language {
  position: absolute;
  top: 50px;
  right: 120px;
  font-size: medium;
  letter-spacing: 3px;
}

.language a, .language span {
  color: rgb(30, 226, 24);
}

.language a {
  transition: all 0.3s;
}

.language a:hover {
  opacity: 0.7;
}


/* animation burger

.burger-menu.open .burger-lines {
  transform: translateX(-50px);
  background-color: transparent;
}

.burger-menu.open .burger-lines::before {
  transform: rotate(45deg) translate(35px, -35px);
}

.burger-menu.open .burger-lines::after {
  transform: rotate(-45deg) translate(35px, 35px);
} */


.background-header {
    height: 100vh;
    background-image: url('../img/background2.jpg');
    background-position: center;
    background-size: cover;  
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    text-align: center;
    max-width: 100%;
}








/* SLIDER MOBILE */

.swiper-mobile-centered {
  background-color: rgb(31 31 31);
  padding: 40px 20px;
  box-shadow: 1px 1px 9px #000;
}

.swiper-container {
  height: auto;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 5px;
  filter: drop-shadow(2px 4px 6px black);
}

.swiper-slide img {
  height: auto;
  width: 100%;
  border-radius: 5px;
}

.swiper-slide {
  box-shadow: 1px 1px 4px rgb(17, 17, 17);
  border-radius: 5px;
}

.btn-catalog-mobile-wrapper {
  padding: 0 20px;
  padding-top: 51px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-catalog-mobile {
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 1;
  color:  rgb(251, 255, 0);
  background-color: rgb(17, 17, 17);
  font-family: 'Staatliches', cursive;
  letter-spacing: 3px;
  padding: 12px 0;
  border-radius: 2px;
  border: 2px solid rgb(238, 255, 0);
  transition: 0.3s;
  box-shadow: 1px 1px 5px rgb(17, 17, 17);
}

.btn-catalog-mobile:hover {
  cursor: pointer;
  opacity: .9;
}

a.link-catalog-mobile {
  color: rgb(251, 255, 0);
}

.swiper-mobile-centered::after {
  content: '';
  position: absolute;
  background-color: rgb(180 191 28);
  height: 158px;
  left: 0;
  right: 0;
  transform: skewY(5deg) translateY(-100px);
}

.swiper-pagination {
  --swiper-theme-color: rgb(17, 17, 17);
}




/* MODAL MOBILE */


.modal {
  display: none;
  position: fixed;
  z-index: 99999999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh; 
  overflow: hidden;
  background-color: rgb(17, 17, 17, 90%);
}

#modal1, #modal2, #modal3 {
   writing-mode: sideways-rl;
  -webkit-writing-mode: vertical-rl;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
}

/* Caption of Modal Image */
.caption-modal {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 10px;
}

/* Add Animation */
.modal-content, .caption-modal {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}




/* The Close Button */
.close-modal {
  position: absolute;
  color: rgb(30, 226, 24);
  font-size: 65px;
  transition: 0.3s;
  animation: close .3s linear;
}

.close-modal:hover {
  cursor: pointer;
}

@keyframes close {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}


/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 450px){
  .modal-content {
    width: 100%;
  }
}




/* MODAL DESKTOP */


.modal-content-desktop {
  margin: auto;
  display: block;
  width: auto;
  z-index: 99;
  text-align: center;
}

.modal-content-desktop, .caption-modal-desktop {  
  -webkit-animation-name: zoom1;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom1;
  animation-duration: 0.6s;

}

.close-modal-desktop {
  position: absolute;
  color: rgb(30, 226, 24);
  font-size: 65px;
  transition: 0.3s;
  right: 50px;
}

.close-modal-desktop:hover {
  cursor: pointer;
  opacity: 0.8;
}

@-webkit-keyframes zoom1 {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom1 {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}























/* INTRO */

.intro-wrapper {
  background-color: rgb(31, 31, 31);
  padding-top: 30px;
  padding-bottom: 40px;
  padding-left: 60px;
  padding-right: 60px;
}

.intro-container {
  width: 100%;
  margin: 0 auto;
}

h1 {
  letter-spacing: 5px;
  font-size: xx-large;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 30px;
}

.intro-container span {
  color: #fff;
  letter-spacing: 3px;
  font-size: larger;
}













/* GALLERY DESKTOP */

.background-gallery {
  background-color: rgb(31 31 31);
  height: 450px;
  box-shadow: 1px 1px 9px #000;
}

.background-gallery::after {
  content: '';
  position: absolute;
  background-color: rgb(180 191 28);
  height: 200px;
  left: 0;
  right: 0;
  z-index: 0;
  transform: skewY(5deg);
}

.container-gallery {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 35px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2rem;
}

.card-gallery {
  max-width: 300px;
  height: auto;
}

.section-gallery {
  height: 100%;
  width: 100%;
  transition: .4s .2s ease-in ;
  transform-style: preserve-3d;
  position: relative;
  z-index: 1;
}

.section-gallery:hover {
  transform: rotateY(180deg);
}

.front-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 1px 1px 8px rgb(17, 17, 17);
  z-index: 9;
  filter: grayscale(1);
}

.back-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  background: rgb(41, 41, 41);
  box-shadow: 1px 1px 4px rgb(17, 17, 17);
  padding: 30px;
  animation: rotate-back-text 1ms forwards;
  display: grid;
  grid-template-rows: 0fr 2fr .5fr;
  border: 2px solid #ccc;
}

.back-gallery h2:hover,
.back-gallery span:hover {
  cursor:default;
}

.back-gallery h2 {
  margin-top: 25px;
  margin-bottom: 20px;
}

.back-gallery::after {
  content: '';
  position: absolute;
  background: #F0F2F0; 
  background: -webkit-linear-gradient(to right, #000C40, #F0F2F0); 
  background: linear-gradient(to right, #000C40, #F0F2F0);
  height: 230px;
  left: 0;
  right: 0;
  z-index: 0;
  transform: translateY(16%);
}

.back-gallery span, .back-gallery h2 {
  text-align: center;
  letter-spacing: 1px;
  color: #000000;
  z-index: 2;
}

.btn-gallery {
  padding: 6px 18px;
  justify-self: center;
  margin-bottom: -10px;
  font-family: 'Staatliches', cursive;
  letter-spacing: 2px;
  color: rgb(17, 17, 17);
  border: 2px solid #ccc;
  box-shadow: 1px 1px 4px rgb(17, 17, 17);
  transition: .2s linear;
  margin-bottom: 20px;
  border-radius: 3px;
  background: #F0F2F0;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #000C40, #F0F2F0);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #000C40, #F0F2F0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.btn-gallery:hover {
  opacity: .9;
  cursor: pointer;
  background-color: blue;
  color: rgb(17, 17, 17);
  border: 2px solid rgb(17, 17, 17);
  box-shadow: 1px 1px 4px #ccc;
}

.btn-catalog-desktop {
  color:  rgb(251, 255, 0);
  background-color: rgb(17, 17, 17);
  font-family: 'Staatliches', cursive;
  letter-spacing: 3px;
  padding: 10px 100px;
  border-radius: 2px;
  border: 2px solid rgb(238, 255, 0);
  transition: 0.2s;
  box-shadow: 3px 3px 7px #171717;
  z-index: 1;
  position: relative;
  left: 50%;
  bottom: -22%;
  transform: translate(-50%, -50%);
}

.btn-catalog-desktop a {
  color: rgb(251, 255, 0);
}

.btn-catalog-desktop:hover {
  cursor: pointer;
  opacity: .9;
}




@keyframes rotate-back-text {  /*serve per girare il testo della carta che era da dx verso sx, è una finta animazione lmao*/
  0% {transform: rotateY(0);}
  100% {transform: rotateY(180deg);}
}























/* BRAND */

.container-brand {
  
background-color: rgb(31 31 31);
}

.container::after {
  content: '';
  position: absolute;
  background-color: rgb(180 191 28);
  height: 200px;
  left: 0;
  right: 0;
  z-index: 0;
  transform: skewY(5deg);
}

.container-flexbrand {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 220px;
  padding-left: 60px;
  padding-right: 60px;
  align-items: center;
}

.container-flexbrand div {
  max-width: 550px;
  z-index: 99;
  padding-bottom: 100px;
  padding-right: 20px;
  padding-left: 20px;
  flex-grow: 1;
  flex-shrink: 1;
  text-align: center;
}

.container-flexbrand div img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
  border: 2px solid rgb(41, 41, 41);
  box-shadow: 5px 5px 0px #9c27b0;
}

.brand-text1, .brand-text2 {
  font-size: x-large;
  letter-spacing: 2px;
  color: white;
}





/* BACKGROUND */

.background-middle {
  background-image: url('../img/background2.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: grayscale(100%);
  height: 50vh;
  max-width: 100%;
}









/* DETAILS */

.container-details {
  background-color: #f9f9f9;
}

.details-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  flex-shrink: 1;
  justify-content: space-between;
  
}

.details-grid div {
  max-width: 45%;
  height: 100%;
  padding: 80px 0;
}

.details-grid div img {
  height: auto;
  max-width: 100%;
  border-radius: 3px;
  box-shadow: 1px 1px 4px #000;
}

.details-grid div h3 {
  padding-top: 25px;
  padding-bottom: 10px;
  letter-spacing: 2px;
  color: rgb(45, 29, 187);
  font-size: larger;
}

.details-grid div p {
  letter-spacing: 1px;
}








/*COOKIE BANNER */

.cookie-container {
  background-color: rgb(17, 17, 17);
  position: fixed;
  bottom: -20vh;
  left: 0;
  width: 100%;
  height: auto;
  transition: 400ms;
  z-index: 9999999999;
  box-shadow: 1px 1px 4px #000;
  padding: 2rem 0;
}

.cookie-container.active {
  bottom: 0;
}

.cookie-container p {
  padding: 15px 20px;
  padding-top: 0 !important;
  letter-spacing: 1px;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.cookie-container p span {
  text-decoration: underline white;
}

.cookie-container p a {
  color: white;
}

.cookie-btn {
  padding: 5px 20px;
  margin: 0 20px;
  font-family: 'Staatliches', cursive;
  letter-spacing: 1px;
  color: black;
  background-color: rgb(30, 226, 24);
  border-radius: 2px;
  border: none;
  box-shadow: 1px 1px 2px black;
  transition: .3s;
}

.cookie-btn:hover {
  cursor: pointer;
  opacity: 0.8;
}

.cookie-center-btn {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-btn-close {
  padding: 5px 20px;
  font-family: 'Staatliches', cursive;
  letter-spacing: 1px;
  color: black;
  background-color: rgb(30, 226, 24);
  border-radius: 2px;
  border: none;
  box-shadow: 1px 1px 2px black;
  transition: .3s;
}

.cookie-btn-close:hover {
  cursor: pointer;
  opacity: 0.8;
}








/* FOOTER */

.container-footer {
  background-color: rgb(17, 17, 17);
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  overflow: hidden;
}

.footer a {
  transition: all .3s ease;
}

.footer a:hover {
  opacity: .7;
}

.footer-text1, .footer-text2 {
  color: white;
  letter-spacing: 2px;
  font-weight: lighter;
  font-size: small;
  vertical-align: middle;
  flex-shrink: 1;
}

.footer-text1 a {
  color: white;
}


.instagram-text {
  padding: 0 30px;
}

.space-span {
  padding: 0 10px;
}

source {
  height: auto;
  max-width: 100%;
}







/* STORE.HTML */

.header-store {
  height: 100vh;
  width: 100%;
  background-color: rgb(31, 31, 31);
}

.header-store-centered {
  height: inherit;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wip {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 75%;
  height: auto;
  background: rgb(22,22,25);
  background: radial-gradient(circle, #be25ce 0%, #140117 100%);
  border-radius: 5px;
  box-shadow: 1px 1px 10px white;
  animation: drop .5s ease-in, shake .2s .5s ease-in;
}

.wip p {
  font-size: 50px;
  text-align: center;
  padding: 30px 60px;
  letter-spacing: 15px;
  color: rgb(62, 62, 62);
  text-shadow: 3px 1px 2px #171717;
}





@keyframes drop {
  0% {transform: translateY(-150%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;} 
}

@keyframes shake {
  0% {transform: translateY(0) translateX(-2%);}
  20% {transform: translateY(0) translateX(2%);}
  40% {transform: translateY(0) translateX(-1%);}
  60% {transform: translateY(0) translateX(1%);}
  80% {transform: translateY(0) translateX(-1%);}
  100% {transform: translateY(0) translateX(0);}
}









/*MEDIA QUERY*/

@media screen and (max-width: 1119px) {
  .background-gallery {
    display: none;
  }

  .desktop-brand {
    display: none;
  }

  .container-flexbrand {
    padding-top: 70px;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .container::after {
    height: 190px;
  }

  .brand-img2 {
    order: 1;
  }

  .brand-text1 p, .brand-text2 p {
    padding: 0;
  }
}

@media screen and (min-width: 1120px) {
   .background-carousel {
    display: none;
  }

  .tablet-brand {
    display: none;
  }
  .swiper-mobile-centered {
    display: none;
  }
}






@media screen and (max-width: 800px) {
  .details-grid div {
    max-width: 100%;
    text-align: center;
  }

  /*.details-grid div:not(.slot6) {
    border-bottom: 1px solid rgb(17, 17, 17);
  }*/

  .footer {
    display: block;
    text-align: center;
  }

  .instagram-text {
    display: block;
    border-bottom: 1px solid white;
  }

  .instagram-text, .footer-text2 {
    padding: 5px 0;
  }

  .wip p {
    font-size: 30px;
  }
}







@media screen and (max-width: 640px) {
  .link-logo, .burger-link {
    transform: scale(0.8);
}

  .container {
    padding-bottom: 115px;
    padding-top: 40px;
  }

  .btn-catalog {
    bottom: -39%;
  }

  .card-carousel {
    transform: scale(0.9);
  }

  .container::after {
    height: 150px;
  }

  .brand-text1, .brand-text2 {
    font-size: larger;
  }

  .container-flexbrand {
    text-align: unset;
    padding: 70px 20px;
  }

  .container-flexbrand div {
    padding-bottom: 30px;
  }

  .container-flexbrand div img {
    width: 100%;
  }

  .brand-text1 p,
  .brand-text2 p {
    text-align: start;
  }

  .details-grid div {
    padding: 30px 0;
  }

  .details-grid:first-child {
    padding-top: 0 !important;
  }

  .details-grid:last-child {
    padding-bottom: 0 !important;
  }

  .details-grid div p {
    font-size: medium;
  }

  .details-grid div h3 {
    font-size: large;
  }

  .cookie-container p {
    font-size: small;
  }
}


@media screen and (min-width: 500px) {
  .modal-content {
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .modal-content, .caption-modal {  
    -webkit-animation-name: zoom2;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-fill-mode: forwards;
    animation-name: zoom2;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
  }
  
  @-webkit-keyframes zoom2 {
    from {-webkit-transform:translate(-50%, -50%); height: 0;} 
    to {-webkit-transform:translate(-50%, -50%); height: 50%;}
  }
  
  @keyframes zoom2 {
    from {transform:translate(-50%, -50%); height: 0;} 
    to {transform: translate(-50%, -50%); height: 50%;}
  }


}


@media screen and (min-width: 451px) {


  .mobile-shop {
    display: none;
  }

  .mobile-brand {
    display: none;
  }
}





@media screen and (max-width: 450px) {
  .background-carousel {
    display: none;
  }

  .tablet-brand {
    display: none;
  }

  .language {
    top: 54px;
    left: 60px;
    font-size: medium;
    letter-spacing: 3px;
  }

  .search-box {
    margin: 4px 0;
  }

  .search-box:hover > .search-txt {
    width: 120px;
  }

  .search-btn img {
    transform: scale(0.8);
  }

  .background-header {
    height: 100vh;
    width: 100%;
  }

  .dekstop-shop {
    display: none;
  }

  h1 {
    padding-top: 0;
  }

  .intro-wrapper {
    padding: 30px 20px;
  }

  
  .btn-catalog-mobile-wrapper {
    padding-top: 85px;
  }

  .swiper-mobile-centered::after {
    transform: skewY(5deg) translateY(-104px);
  }
  
  .container-flexbrand {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 70px;
    text-align: left;
  }

  .background-middle {
    height: 50vh;
    width: 100%;
  }

  .details-grid div {
    text-align: left;
  }

  .wip p {
    font-size: 20px;
  }
}

@media screen and (max-width: 330px) {
  .btn-catalog-mobile-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}