*{
  box-sizing: border-box;
}
body{
    font-family: 'Cooper Hewitt', "Geneva", Tahoma, sans-serif;
    margin: 0;
    
}
@font-face {
	font-family: 'Poppins';
	src: local('poppins'), url('fonts/Poppins-Bold.otf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Poppins';
  src: local('poppins'), url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
}
  @font-face {
    font-family: 'Cooper Hewitt';
    src: local('Cooper Hewitt Book'), url('fonts/CooperHewitt-Book.otf') format('truetype');
  }
  
  @font-face {
    font-family: 'Cooper Hewitt Semibold';
    src: local('Cooper Hewitt Semibold'), url('fonts/CooperHewitt-Semibold.otf') format('truetype');
  }
  @font-face {
    font-family: 'GT Walsheim ultra bold';
    src: local('GT Walsheim ultra bold'), url('fonts/GT-Walsheim-Ultra-Bold-Trial.otf') format('truetype');
  }
h1{
  font-family: 'GT Walsheim ultra bold';
}
h2, h3, h4, h5, nav, button, .btn{
  font-family: 'Poppins';
  font-weight: bold;
}
h1{
  font-size: 3.7em;
  margin-bottom: 0;
}
.hmain p{
  font-family: 'Cooper Hewitt Semibold';
  font-size: 1.2em;
  margin: 0.5em 0;
}
#ham, .ham{
  display: none;
}
.navbar {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0 1.5em;
}
.navbar2{
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255);
  padding: 0 1.5em;
}
  .home{
    background-image: url(immagini/nike.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 50em;
  }
  nav {
    flex: 1;
    text-align: right;
  }
  .hmain{
    text-align: left;
    margin: 8em 0 8em 0;
    padding: 2.5em 3em;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
    background-color: rgba(255, 255, 255, 0.5);
  }
  nav ul {
    display: inline-block;
    list-style-type: none;
  }
  nav ul li {
    display: inline-block;
    margin-right: 20px;
  }
 .link {
    color:black;
    text-decoration: none;
    padding: 0.5em;
    border: solid 1.34px transparent;
  }
  .link:hover ,.icon:hover:not(.ham){
    border: solid 1.34px black;
  }
  .btn{
    display: inline-block;
    background-color: transparent;
    border: solid black;
    color: black;
    padding: 8px 30px;
    margin-top: 0.5em;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 550;
  }
  .dropdown-item button{
    display: inline;
    background-color: transparent;
    border: solid black;
    color: black;
    padding: 5px;
  }
  .btn:hover, 
.dropdown-item button:hover {
    background-color: black;
    color: white;
    cursor: pointer;
  }
  .secbtn{
    display: inline-block;
    background-color: transparent;
    border: solid black 1px;
    color: black;
    padding: 5px 15px;
    margin-top: 0.2em;
    border-radius: 25px;
    text-decoration: none;
    font-weight: normal;
  }
  .heart{
    background-color: white;
    padding: 5px;
    border: solid white 1.34px;
    position: absolute;
    right: 5px;
    margin: 0;
    top: 5px;
  }
  .heart:hover{
    border: solid black 1.34px;
  }
  .btn:hover .hicon{
    color: white;
  }
  .logo{
    position: relative;
    left: 0.5em;
  }
  .icon{
    padding: 0.3em;
    margin: 0 0.2em;
    border: solid 1.34px transparent;
  }
  #favs,#cart{
    padding-bottom: 0.6rem;
    padding-top: 0.5rem;
  }
  .dropdown-item{
    display: flex;
    gap: 20px;
    max-height: 30px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
  }
  .message {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    opacity: 0;
    z-index: 10;
    transition: opacity 0.5s ease-in-out;
  }
  
  .message.show {
    opacity: 1;
  }
  
  #dropdownf, #dropdownc{
    display: block;
    width: 20%;
    min-height: 200px; 
    position: absolute;
    top: 4.88em;
    right: 2em;
    background-color: white;
    border: solid 1.34px black;
    padding: 1em;
    z-index: 2;
    min-height: 0;
    opacity: 0;
    height: 0;
    transform-origin: top;
    overflow: hidden;
    transition: height 0.5s ease-out, opacity 0.8s ease-out;
}
#dropdownf.openmenu, #dropdownc.openmenu {
  opacity: 1;
  height: 300px;
}
.wicon{
  background-color: white;
  border: solid 1.34px black;
}
footer{
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
}
  #ftcontainer{
    display: flex;
    justify-content: space-between;
    margin: 2em;
    gap: 1.5em;
  }
  footer p{
    font-style: italic;
    text-align: center;
  }
  #wlogo{
    text-align: center;
    flex-grow: 0.5;
  }
  .foot{
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .social{
    display: flex;
    height: 40px;
    margin-top: 1.67em;
    margin-right: 1em;
  }
  iconify-icon{
    padding: 0.3rem;
    color: black;
    vertical-align: middle;
    display: inline-block;
  }
  iconify-icon:hover{
    color: white;
    cursor: pointer;
  }
  .social a{
    max-height: 35px;
  }
  .icon-cont{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    margin: 0.5rem;
    height: 35px;
    flex-basis: 25%;
    max-width: 35px;
    width: 35px;
    background-color: #f5f5fa;
}
  .insta:hover{
    background: #f09433; 
  background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
  background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
    }
  .fb:hover{
    background: #1877F2;
  }
  .tik:hover{
    background-color: black;
  }
  .foot a, .inner a{
    color: white;
    text-decoration: none;
  }
  .foot a:hover, .inner a:hover{
    text-decoration: underline;
  }
  .inner img{
    position: relative;
    top: 7px;
  }
  form{
    width: 100%;
  }
  .formcont{
    max-width: 250px;
  }
  form input{
    display: inline-block;
    width: 100%;
    margin-top: 0.5em;
    background-color: black;
    border-bottom: 2px solid white;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    color:#ffffff;
  }
  textarea{
    margin-top: 0.5em;
    margin-right: 1em;
    background-color: black;
    border: 2px solid white;
    color:#ffffff;
    width: 100%;
  }
  form input:focus{
    border-bottom: 4px solid white;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    outline: none;
  }
  textarea:focus{
    border: 4px solid white;
    outline: none;
  }
  .negbtn{
    display: inline-block;
    border: solid white;
    color: white;
    background-color: black;
    padding: 2px 5px;
    margin-top: 0.5em;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 550;
    width: 5em;
  }
  .negbtn2{
    display: inline-block;
    border: solid black;
    color: white;
    background-color: black;
    padding: 5px 0;
    margin: 5px 10px 0 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 550;
    width: 90%;
  }
  .negbtn:hover, .negbtn2:hover{
    background-color: white;
    color: black;
    cursor: pointer;
  }
.black{
  background-color: black;
  color: white;
}
.inner{
  padding: 5em 2em 5em 2em;
}
.white{
  padding: 2em;
  background-color: white;
}
.sep{
  background-image: url(streetwear/backdef.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 500px;
}
.prodimg{
  position: relative;
  background-color: #e5e6e8;
  width:100%;
  height: 14em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.product p{
  text-align: left;
  padding: 10px;
  margin:0;
}
.product{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  height: 24.5em;
  min-width: 14em;
  margin-bottom: 5px;
  padding-bottom: 10px;
  border: solid 1.34px #e5e6e8;
}
.container1 .product{
  width: 14em;
}
.onsale{
  height: 26em !important;
}
.product:hover{
  border: solid 1.34px black;
}
.hidden{
  display: none;
}
#modal{
  position: absolute;
  bottom: 1000px;
  left: 0px;
}
.modal-item{
  position: fixed;
  box-sizing: border-box;
  display: flex;
  gap: 1em;
  padding: 1.5em;
  background-color: white;
  box-shadow: 0px 0px 19.2px 3px rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  width: max(50%, 600px);
  height: 450px;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}
.modal-item .prodimg{
  min-width: 350px;
  height: 100%;
}
.modal-item img{
  max-width: 75%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.prodiv{
  width: max(40%, 170px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.prodiv h3{
  margin-top: 20px;
  margin-bottom: 10px;
}
.close {
  position: absolute;
  top: 13px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.4);
  color: black;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
h4{
  margin: 5px 0 3px 0;
}
.color-container{
  display: flex;
}
.color-circle {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.size-box {
  display: inline-block;
  padding: 5px 10px;
  margin: 4px;
  border: 1px solid #333;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}
  .container1{
  display: flex;
  margin-left: 5px;
  margin-right: 5px;
  gap: 1em;
  flex-wrap: nowrap;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  }
  .container1::-webkit-scrollbar {
    width: 0; /* Nascondi la barra di scorrimento su browser WebKit (Chrome, Safari, ecc.) */
  }
  .container1 {
    scrollbar-width: none; /* Nascondi la barra di scorrimento su browser che supportano lo standard CSS Scrollbars Level 1 */
  }
  .scroll-arrow {
    position: absolute;
    top: 50%;
    right: 10px; /* o la posizione desiderata */
    transform: translateY(-50%);
    cursor: pointer;
  }
  .cont a{
    color: black;
    text-decoration: none;
  }
  .disc{
    font-size: 0.7em;
    text-decoration: line-through;
  }
  .offer{
    font-weight: bold;
    padding-top: 0 !important;
  }

  /*streetwear*/
  .filters{
    width: 20%;
    min-width: 150px;
    background-color: white;
    transition: transform 0.3s ease;
  }
  .filters input{
    margin-bottom: 0.5em;
  }
  .filters h3{
    margin-top: 0;
    margin-bottom: 25px;
  }
  .mobile-only{
    display: none;
  }
  details:last-child{
    margin-bottom: 1em;
  }
  summary{
    margin: 1em 0;
  }
  .fil{
    border-bottom: 0.5px solid #C9CBCF;
    padding-bottom: 15px;
  }
  .filters h5{
    margin: 15px 0 15px 0;
  }
  .snk{
    border-top: 0.5px solid #C9CBCF;
    padding: 1.5em;
    text-align: center;
  }
  .store{
    display: flex;
    gap: 2em;
    justify-content: space-between;
  }
  .container2{
    display: grid;
    width: 80%;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    grid-auto-flow: dense;
  }
  @media (min-width: 1400px) {
    .hero{
      margin-left: auto;
      margin-right: auto;
    }
    .modal-item{
      flex-direction: column;
      height: 730px;
      gap:0;
    }
    .prodiv{
      width: 100%;
    }
    .modal-item .prodimg{
      height: 70%;
    }
    .size-container{
      display: flex;
      flex-wrap: wrap;
    }
    .options{
      display: flex;
      width: 100%;
      gap: 8vw;
    }
    .modal-item p{
      font-size: 25px;
    }
    .pricebtn{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1em;
    }
  }
@media (max-width: 1200px) {
  .container2{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 950px) {
  .filters {
    position: fixed;
    width: 250px;
    top: 0;
    left: 0;
    height: 100%;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-105%);
    z-index: 10;
    padding: 20px;
  }
  .filters h3{
    margin-top: 30px;
  }
  .filters.visible {
    transform: translateX(0);
  }
  .overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
  }
  .overlay.active {
    display: block;
  }
  .mobile-only{
    display: block;
  }
}
@media (max-width: 860px) {
  .navbar{
    justify-content: space-between;
  }
  #dropdownf, #dropdownc{
    display: block;
    width: 30%;
    min-height: 150px; 
    position: absolute;
    top: 4.9em;
    right: 1.5em;
    background-color: white;
  }
  #favs, #cart{
    padding: 0;
  }
  /*hamburger menu*/
  #menucont ul{
    display: flex;
    flex-direction: column;  
    align-items: flex-start;
    justify-content: space-around;
    padding-left: 2em;
    height: 80vh;
    position: relative;
    top: 2em;
}
  .header-icons{
    display: flex;
    gap: 5px;
    align-items: center;
  }
  #menucont{
      display: block;
      width: 100vw; 
      position: absolute;
      top: 0;
      left: 0;
      background-color: rgba(245, 245, 250, 0.7);
      backdrop-filter: blur(10px);
      padding: 2em;
      z-index: -1;
      min-height: 0;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: height 2s ease-out, opacity 0.8s ease-out;
  }
  .ham{
      height: 33px;
      width: 37px;
      display: flex;
      z-index: 3;
      flex-direction: column;
      justify-content: space-between;
      background: transparent;
      align-items: center;
  }
  .ham input {
    display: none;
  }
  .line {
      flex-basis: 15%;
      width: 100%;
      border-radius: 5px;
      background: #1b1c1e;
      transform: rotate(0deg);
      transition: .25s ease-in-out;
  }
#menucont.openmenu{
    opacity: 1;
    max-height: 1000px; 
    z-index: 2;
}
  #menucont li{
    font-size: 2.5em;
  }
  .line1{
    transform-origin: left center;
  }
  .line2{
      transform-origin: left center;
  }
  .line3{
      transform-origin: left center;
  }
  .ham input:checked ~ .line1 {
      transform: rotate(45deg);
      top: 0px;
      left: 5px;
  }     
  .ham input:checked ~ .line2 {
      width: 0%;
      opacity: 0;
  }      
  .ham input:checked ~ .line3 {
      transform: rotate(-45deg);
      top: 28px;
      left: 5px;
  }
  #ftcontainer{
    flex-direction: column;
    padding: 2em 0;
  }
  .links{
    text-align: center;
  }
  .foot{
    width: 100%;
  }
  iconify-icon{
    flex-basis: 5%;
  }
  .social, .form{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.links{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 1em;
}
.linksbox{
  min-width: 150px;
}
@media (max-width: 1100px) and (min-width: 860px) {
  .links{
    flex-direction: column;
  }
}
@media (max-width: 910px) and (min-width: 860px) {
  .social{
    flex-direction: column;
  }
}
@media (max-width: 760px) {
  .container2{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .modal-item{
    flex-direction: column;
    max-width: 90%;
    height: 560px;
    gap:0;
  }
  .prodiv{
    width: 100%;
  }
  .modal-item .prodimg{
    height: 60%;
  }
  .size-container{
    display: flex;
    flex-wrap: wrap;
  }
  .options{
    display: flex;
    width: 100%;
    gap: 8vw;
  }
  .pricebtn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
  }
}
@media (max-width: 600px) {
  #dropdownf, #dropdownc{
    width: 40%;
  }
}
@media (max-width: 530px) {
  .links{
    flex-direction: column;
  }
  .sw{
    background-image: url(streetwear/backresp.jpg);
  }
  h1{
    font-size: 11vw;
  }
  .container2{
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 450px) {
  #dropdownf, #dropdownc{
    width: 50%;
  }
  .options{
    flex-direction: column;
    gap:0;
  }
  .modal-item{
    height: 610px;
  }
  .modal-item .prodimg{
    min-width: 0;
  }
}
@media (max-width: 450px) {
  .logo img{
    width: 150px;
  }
  .navbar{
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .navbar2{
    padding: 0;
  }
  .white, .inner{
    padding-left: 1em;
    padding-right: 1em;
  }
  .sep{
    height: 250px;
  } 
}
.readme img{
  object-fit: contain;
}
.readme .fonts p{
  font-size: 3.5em;
}
