@font-face {
  font-family: 'Redaction 100';
  src: url('fonts/Redaction100.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Redaction';
  src: url('fonts/Redaction.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pixel Operator Mono 8';
  src: url('fonts/PixelOperatorMono8.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pixel Operator Mono HB 8';
  src: url('fonts/PixelOperatorMonoHB8.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nav-height: 80px;
}

@media (max-width: 1080px) {
  :root {
    --nav-height: 102px;
  }
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Pixel Operator Mono 8';
  background-color: #000;
  color: #fff;
}

.scroll-container {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: #1e1e1e;
  color: #fff;
  padding-top: var(--nav-height);
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width: 100%;
  height: 100vh;
}

.first-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #ffffff, #000000);
  color: white;
}

.slide1-text1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 20px;
}

.break-point {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
  text-align: center;
  padding: 0 20px;
}

.break-text {
  font-size: 100px;
  font-family: 'Redaction 100';
  color: #0e0e0e;
  cursor: default;
  line-height: 1.1;
  transition: all 0.4s ease;
}

.break-text:hover {
  color: white;
  font-family: 'Redaction';
}

.second-slide {
  background-color: white;
  min-height: 100vh;
  height: auto;
  padding-top: calc(var(--nav-height) + 20px);
}

nav.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: white;
  border-bottom: 4px solid black;
  z-index: 100;
}

.about-me {
  display: flex;
  align-items: center;
  font-size: 20px;
  letter-spacing: -2px;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  transition: 0.2s;
  color: black;
}

.about-me:hover {
  background-color: black;
  color: white;
}

.about-link {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: inherit;
}

.logo-about {
  width: 55px;
  height: 55px;
  border: 2px solid black;
}

.h1-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Pixel Operator Mono HB 8';
  font-size: 25px;
  letter-spacing: -3px;
  color: black;
}

.cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
  transition: 0.2s;
  color: black;
  border: none;
  background: transparent;
  font-family: inherit;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.cart:hover {
  background-color: black;
  color: white;
}

.cart-img {
  width: 45px;
  height: 45px;
  padding-right: 5px;
  transition: filter 0.2s;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.cart:hover .cart-img {
  filter: invert(1);
}

.count-cart {
  font-size: 23px;
  text-align: center;
  font-family: inherit;
}

.cart-panel {
  position: fixed;
  top: 0;
   right: -100%;
   width: min(100vw, 560px);
  height: 100%;
  background-color: white;
  border-left: 4px solid black;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  padding: 20px;
  z-index: 200;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  height: 59.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 4px solid black;
}

.name-cart {
  font-family: 'Pixel Operator Mono 8';
  font-size: 20px;
  color: black;
}

.close-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding-left: 2px;
  padding-top: 2px;
  margin-right: 3px;
  font-family: 'Pixel Operator Mono 8';
  font-size: 25px;    
  background: white;
  border: none;
  cursor: pointer;
  color: black;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.close-cart:hover {
  transform: scale(1.2);
  background-color: red;
  color: white;
}
.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 2.5px solid #ccc;
  font-size: 16px;
  font-family: 'Pixel Operator Mono 8';
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border: 2px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.cart-item-name {
  font-size: 18px;
  color: black;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cart-item-price {
  font-size: 20px;
  color: #555;
  min-width: 44px;
  text-align: right;
  font-family:'Pixel Operator Mono 8';
  font-weight: bold;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-item-controls button {
  width: 25px;
  height: 25px;
  cursor: pointer;
  border: 0;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: 'Pixel Operator Mono 8';
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cart-item-controls button:hover {
  transform: scale(1.2);
  filter: invert(1);
}

.cart-item-quantity {
  font-size: 20px;
  color: #000;
}

.remove-item {
  width: 25px;
  height: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
  background-color: white;
  margin-right: 3px;
}

.remove-item:hover {
  transform: scale(1.2);
  filter: invert(1);
}

.cart-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.cart-total {
  display: inline-block;
  color:black;
  font-size: 25px;
  padding: 10px;
  align-self: center;
}


.checkout-btn {
 display: inline-block;  
 align-self: center;
  font-family: 'Pixel Operator Mono 8';
  background-color: rgba(15, 15, 15, 1);
  color: white;
  border: none;
  padding: 20px ; 
  font-size: 25px;
  cursor: pointer;
   transition: transform 0.2s ease, filter 0.2s ease;
   margin-bottom: 20px;
}

.checkout-btn:hover {
  filter: invert(1);
  transform: scale(1.1);
  
}

.payment-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 300;
}

.payment-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.payment-dialog {
  width: min(92vw, 460px);
  background: white;
  border: 4px solid black;
  color: black;
  padding: 18px;
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid black;
  padding-bottom: 8px;
}

.payment-title {
  font-family: 'Pixel Operator Mono HB 8';
  font-size: 28px;
}

.payment-close {
  border: none;
  background: white;
  font-family: 'Pixel Operator Mono 8';
  font-size: 26px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.payment-form label {
  font-size: 19px;
}

.payment-form input {
  width: 100%;
  border: 3px solid black;
  background: white;
  padding: 8px;
  font-family: 'Pixel Operator Mono 8';
  font-size: 20px;
}

.payment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-note {
  margin-top: 6px;
  font-size: 15px;
}

.payment-submit {
  margin-top: 8px;
  border: none;
  background: black;
  color: white;
  padding: 12px;
  font-family: 'Pixel Operator Mono 8';
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.payment-submit:disabled {
  cursor: progress;
  opacity: 0.85;
}

.payment-submit:hover,
.payment-close:hover {
  filter: invert(1);
  transform: scale(1.05);
}


.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.5);
  border-radius: 3px;
}

.selection-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.choose {
  border: none;
  font-family: inherit;
  font-size: 18px;
  color: #000;
  margin-right: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  background-color: #fff;
  padding: 5px;
}

.choose.active {
  background-color: #1e1e1e;
  color: #fff;
}

.choose:hover {
  filter: invert(1);
  transform: scale(1.1);
}

#all {
  margin-left: 20px;
}

.look-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.item {
  font-size: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: black;
}

.item img {
  max-width: 350px;
  max-height: 350px;
  object-fit: contain;
  display: block;
}

.item-name,
.add-button {
  text-align: center;
  transition: transform 0.2s, filter 0.2s;
  background-color: white;
}

.item-name {
  margin-top: -15px;
  display: inline-block;
  padding: 4px 4px;
}

.add-button {
  border: none;
  font-family: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.item:hover .item-name,
.item:hover .add-button {
  filter: invert(1);
  transform: scale(1.2);
}

.size-select-box > div {
  margin-top: -15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

}

.size-buttons {
 
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.size-btn {
   margin-top: 25px;
  padding: 4px 10px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  background-color: white;
}

.size-btn:hover {
  transform: scale(1.2);
  filter: invert();
}

.close-size {
  font-family: 'Pixel Operator Mono 8';
  padding: 3px 3px;
  cursor: pointer;
  margin-left: 10px;
  color: black;
  transition: transform 0.2s ease, filter 0.2s ease;
  background-color: white;
}

.close-size:hover {
  transform: scale(1.2);
  filter: invert();
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(180deg,rgba(30, 30, 30, 1) 0%, rgba(0, 0, 0, 1) 100%);
  color: white;
  padding: 12px 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes typingCycle {
  0% { width: 0; }
  30% { width: 100%; }
  60% { width: 100%; } 
  100% { width: 0; }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: white; }
}

.animate-text1, .animate-text2 {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: .15em solid white;
}

.animate-text1 {
  animation: typingCycle 7s steps(20,end) infinite, blink-caret .75s step-end infinite;
}

.animate-text2 {
  animation: typingCycle 7s steps(30,end) infinite, blink-caret .75s step-end infinite;
}

@media (max-width: 1080px) {
  .cart-header { height: 82.5px; }
  .name-cart { font-size: 23px; }
  .item {font-size: 25px; width: 45%; margin-bottom: 20px; }
  .look-items { max-width: 1000px; }
  .logo-about { width: 65px; height: 65px; }
  .about-me { font-size: 23px; letter-spacing: -4px; }
  .h1-name { font-size: 27px; }
  .choose { font-size: 25px; }
  .toast {font-size: 20px;}
  .selection-nav { margin-top: 20px; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .cart-item-name{font-size: 19px;}
  .cart-item-right{font-size: 20px;}
  .cart-panel{ right: -100%; width: min(100vw, 560px); background-color: white; padding: 19px;}
  .cart-item-img{ width: 76px; height: 76px;}
  .cart-item-img img {width: 66px; height: 66px;}
  .close-cart {font-size: 30px;}
  .cart-item-price{font-size: 20px;}
 .cart-item-controls button{font-size: 20px;}
 .cart-item-quantity{font-size: 20px;}
  .remove-item{width: 24px; height: 24px;}
  .payment-title { font-size: 32px; }
  .payment-form label { font-size: 22px; }
  .payment-form input { font-size: 24px; }
  .payment-note { font-size: 18px; }
  .payment-submit { font-size: 28px; }
 



}

@media (max-width: 520px) {
  .cart-panel { padding: 12px; }
  .cart-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cart-item-left { width: 100%; }
  .cart-item-right { width: 100%; justify-content: space-between; }
  .cart-item-name { font-size: 16px; }
  .cart-item-price { font-size: 18px; }
  .cart-item-controls button { font-size: 18px; width: 22px; height: 22px; }
  .cart-item-quantity { font-size: 18px; }
  .remove-item { width: 22px; height: 22px; }
}

.about-text{
  margin-top: calc(var(--nav-height) + 20px);
  font-family:'Pixel Operator Mono 8' ;
  color: white;
  margin-left: 50px;
}
.about-h1{
  
  font-family:'Pixel Operator Mono HB 8' ;
  font-size: 40px;
  font-weight: bold;
}
.about-text-h2{
  margin-top: 60px;
  font-size: 20px;
}
