:root {
  --clr-accent-100: rgb(0, 115, 230, .15);
  --clr-accent-200: rgb(0, 115, 230, .35);
  --clr-accent-400: rgb(0, 115, 230, .85);

  --clr-primary-400: hsl(210, 100%, 45%);

  --clr-neutral-100: hsl(0, 0%, 100%);
  --clr-neutral-200: hsl(0, 0%, 99%);
  --clr-neutral-300: hsl(0, 0%, 96%);
  --clr-neutral-400: rgb(255, 255, 255, .75);
  --clr-neutral-700:  hsl(0, 0%, 5%);
  --clr-neutral-800:  rgb(0, 0, 0, .7);
  --clr-neutral-900:  hsl(0, 0%, 0%);

  --ff-primary: 'Be Vietnam Pro', sans-serif;
  --ff-title: 'Pacifico', cursive;

  --ff-body: var(--ff-primary);
  --ff-header: var(--ff-primary);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi-bold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  --fs-100: .875rem; /* 14px */
  --fs-200: 0.9375rem; /* 15px */
  --fs-300: 1rem; /* 16px */
  --fs-400: 1.125rem; /* 18px */
  --fs-500: 1.25rem; /* 20px */
  --fs-600: 2rem; /* 32px */
  --fs-700: 2.25rem; /* 36px */
  --fs-800: 2.5rem; /* 40px */
  --fs-900: 3rem; /* 48px */

  --fs-body: var(--fs-300);
  --fs-primary-heading: var(--fs-600);
  --fs-secondary-heading: var(--fs-600);
  --fs-nav: var(--fs-400);
  --fs-button: var(--fs-300);

  --size-100: .25rem; /* 4px */
  --size-200: .5rem; /* 8px */
  --size-300: .75rem; /* 12px */
  --size-400: 1rem; /* 16px */
  --size-500: 1.5rem; /* 24px */
  --size-600: 2rem; /* 32px */
  --size-700: 3rem; /* 48px */
  --size-800: 4rem; /* 64px */
  --size-900: 5rem; /* 80px */

  --img-width: 37.75rem;
}

@media (max-width: 60em) {
  :root {
    --img-width: 362px;
  }
}

@media (min-width: 60em) {
  :root {
      --fs-body: var(--fs-500);
      --fs-primary-heading: var(--fs-800);
  }
}

/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
list-style: none;
}

/* Set core root defaults */
html:focus-within {
scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
min-height: 100vh;
text-rendering: optimizeSpeed;
line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
max-width: 100%;
display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
html:focus-within {
 scroll-behavior: auto;
}

*,
*::before,
*::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
}

img {
  pointer-events: none;
}

*, html {

  scroll-behavior: smooth !important;
}

/* General Styling */
body {
  font-size: var(--fs-body);
  font-family: var(--ff-body);
  color: var(--clr-neutral-900);
  background-color: var(--clr-neutral-200);
}

main {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
}

main.menu-open {
  overflow: hidden;
}

/* Button */          
.button {
  display: inline-flex;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  border-radius: 100vmax;
  padding: var(--size-200) var(--size-400);
  font-weight: var(--fw-medium);
  font-size: var(--fs-button);
  line-height: 1;
  color: var(--clr-neutral-100);
  background-color: var(--clr-primary-400);
  box-shadow: 0 4px 5px 0em var(--clr-accent-200);
  align-items: center;
}

.button[data-shadow="none"] {
  box-shadow: none;
}

.button:is(:hover, :focus) {
  background-color: var(--clr-accent-400);
}

.button-basket {
  cursor: pointer;
  padding: calc(var(--size-300) / 2) calc(var(--size-600) / 2);
  font-size: var(--fs-500);
  line-height: 1;
  border-radius: 100vmax;
  border: 2px solid var(--clr-neutral-900);
  background-color: transparent;
}


/* Learn more */
.learnmore {
  font-weight: var(--fw-medium);
  font-size: var(--fs-100);
  text-decoration: none;
  color: var(--clr-primary-400);
  transition: 0.3s all ease-in-out;
}

/* Colors */
.colors {
  justify-content: center;
  gap: var(--size-300);
}

.color {
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 100vmax;
  border: 0;
}

/* Header */
.primary-header {
  max-width: 1800px;
  margin-inline: auto;
}

.nav-wrapper {
  padding-inline: var(--size-400) var(--size-400);
  justify-content: space-between;
  height: 6.25rem;
}

.logo {
  display: flex;
  font-family: var(--ff-title);
  text-decoration: none;
  gap: var(--size-100);
  color: var(--clr-neutral-900);
}

.logo h1 {
  margin-top: var(--size-100);
  letter-spacing: 0.3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: calc(var(--size-500)  + var(--size-300));
}

.nav-list {
  display: flex;
  align-items: center;
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  gap: var(--size-800);
}

.nav-list a {
  text-decoration: none;
  color: var(--clr-neutral-900);
}

.nav-list a:is(:hover, :focus) {
  color: var(--clr-neutral-800);
}

@media (max-width: 60em) {
  .nav-wrapper {
    padding-inline: var(--size-400) var(--size-600);
  }

  .primary-header[data-overlay] {
    position: relative;
    z-index: 999;
  }

  .primary-header[data-overlay]::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgb(0 0 0 / 0), rgb(0 0 0 / 0.8));
  }

  .primary-nav {
    display: none;

    position: absolute;
    padding: var(--size-700);
    inset: 7rem var(--size-400) auto;
    max-width: 35rem;
    margin-inline: auto;
    background: var(--clr-neutral-100);
    border-radius: var(--size-100);
    box-shadow: 0 0 .5em rgb(0, 0, 0, 0.05);
  }

  .nav-list {
    display: grid;
    gap: var(--size-600);
    text-align: center;
    font-weight: var(--fw-bold);
  }

  .button-basket-wrapper {
    padding-top: var(--size-600);
    display: flex;
    justify-content: center;
  }

  .primary-nav[data-visible] {
    display: block;
  }

  .nav-responsive-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 30px;
    cursor: pointer;
  }

  .nav-responsive-button-open::before {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: var(--clr-neutral-900);
    transition: 0.4s all ease;
    transform: translateY(-7px);
  }

  .nav-responsive-button-open::after {
    content: '';
    display: block;
    width: 29px;
    height: 2px;
    position: absolute;
    right: 0;
    background-color: var(--clr-neutral-900);
    transition: 0.4s all ease;
    transform: translateY(7px);
  }

  .nav-responsive-button[aria-expanded="true"] .nav-responsive-button-open::before {
    width: 32px;
    transform: rotate(45deg) translate(0px, 0px);
  }

  .nav-responsive-button[aria-expanded="true"] .nav-responsive-button-open::after {
    width: 32px;
    transform: rotate(-45deg) translate(1px, -2px);
    right: 0;
  }
}

/* Landing */
.landing {
  max-width: 1600px;
  margin-inline: auto;
}

.landing-wrapper {
  margin-block: 8.625rem;
  padding-inline: var(--size-500);
  /*margin-inline: auto;*/
}

.landing-text p {
  max-width: 35ch;
}

.landing-more .learnmore {
  padding-left: var(--size-400);
}

.landing-product {
  display: grid;
  justify-items: end;
}

.landing-product img {
  width: var(--img-width);
}

.landing-product > div > .colors {
  padding-top: var(--size-700);
  margin-left: var(--size-600);
}

.landing-product::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -520px;
  right: 0;
  width: 738px;
  height: 907px;
  background-image: url("images/Blob.svg");
  background-repeat: no-repeat;
}

.landing-text::before {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: -670px;
  left: -530px;
  width: 1118px;
  height: 907px;
  background-image: url("images/Blob.svg");
  background-repeat: no-repeat;
}

@media (max-width: 60em) {
  .landing-product::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -210px;
    right: 0;
    width: 308px;
    height: 907px;
    background-image: url("images/Blobsm.svg");
    background-repeat: no-repeat;
  }

  .landing-text::before {
    content: '';
    width: 0;
    height: 0;
    background-image: 0;
  }
}

@media (max-width: 47em) {
  .landing-product > div > .colors {
    margin-left: 0;
  }

  .landing-wrapper {
    margin-top: calc(var(--size-800) + var(--size-100));
  }

  .landing-text {
    text-align: center;
    margin-inline: auto;
  }

  .landing-text {
    margin-top: var(--size-400);
  }

  .landing-more {
    display: grid;
    justify-items: center;
  }

  .landing-more .learnmore {
    padding-left: 0;
  }

  .landing-product {
    margin-inline: auto;
    order: -1;
  }
}

/* Featured */
.featured {
  margin-top: -10rem;
}

.featured-wrapper {
  position: relative;
  padding-block: calc(var(--size-800) * 2);
}

.wave1 {
  margin-bottom: -1px;
}

.featured-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 630px;
  height: 660px;
  transform: translate(-50%, -50%);
}

.featured-img img {
  width: 630px;
  height: 660px;
  transition: 0.5s all ease-in-out;
}

.featured-container:is(:hover, :focus) .featured-img img {
  opacity: 0.15;
}

.featured-text p {
  padding-inline: 5.813rem;
  font-size: var(--fs-700);
}

@media (max-width: 60em) {
  .featured {
    padding-bottom: 5rem;
  }

  .featured-wrapper {
    padding-block: var(--size-700);
  }

  .featured-container {
    margin-inline: auto;
    display: grid;
  }

  .featured-text {
    order: -1;
  }

  .featured-text p {
    padding-inline: var(--size-700);
    text-align: center;
    font-size: calc(var(--fs-100) + var(--fs-100));
  }
  
  .featured-img {
    margin-top: var(--size-700);
    position: relative;
    width: 508px;
    height: 477px;
  }

  .featured-img img {
    position: relative;
    width: 508px;
    height: 477px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .featured-container:is(:hover, :focus) .featured-img img {
    opacity: 1;
  }
}

@media (max-width: 47em) {
  .featured-wrapper {
    padding-block: var(--size-700);
  }

  .featured-container p {
    padding-inline: var(--size-500);
    font-size: var(--fs-400);
  }

  .featured-img {
    width: 408px;
    height: 377px;
  }

  .featured-img img {
    width: 408px;
    height: 377px;
  }
}

@media (max-width: 28em) {
  .container {
    --container-padding: 0rem !important;
  }

  .featured-container {
    text-align: center;
    margin-inline: auto;
  }

  .featured-wrapper {
    padding-inline: 0;
  }

  .featured-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .featured-container p {
    padding-inline: 0;
    font-size: var(--fs-400);
    padding-inline: var(--size-400);
  }

  .featured-img img {
    width: 100vw;
    height: 100%;
  }
}

/* Products */
.products {
  margin-bottom: var(--size-700);
  margin-top: -7%;
  text-align: center;
}

.products-wrapper {
  margin-top: calc(var(--size-900) + var(--size-400));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--size-400);
}

.product-img {
  justify-content: center;
}

.product-img img {
  width: 290px;
  height: 308px;
}
.product > .colors {
  padding-top: var(--size-500);
}

.product h3 {
  margin-top: var(--size-500);
}

.product p {
  padding-block: var(--size-300);
}

.product-more {
  display: grid;
  justify-items: center;
}

.product-more > .learnmore {
  margin-top: var(--size-300);
}

@media (max-width: 70.313em) {
  .products-wrapper {
    justify-content: center;
  }
}

@media (max-width: 60em) {
  .products {
    margin-bottom: var(--size-900);
  }

  .sm-spacing {
    margin-top: var(--size-700);
  }
}

@media (max-width: 46.563em) {
  .products {
    margin-bottom: calc(var(--size-900) * 2);
  }

  .products-wrapper {
    gap: var(--size-600);
  }

  .product {
    width: 100%;
  }
  
  .product-line {
    width: 300px;
    height: 1px;
    background-color: #ECECEC;
  }
}

/* Create */
.create {
  margin-top: -10rem;
}

.create-wrapper {
  text-align: center;
}

.create-wrapper h2 {
  padding-block: var(--size-900) var(--size-400);
  margin-inline: auto;
  max-width: 15ch;
}

.watch-container {
  background-image: linear-gradient(#f4f4f4, #fff);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.watch-wrapper {
  padding-block: calc(var(--size-900) + var(--size-500));
}

.watch-band {
  animation: 15s ease-out 1s infinite band;
  width: 2560px;
}

.watch-band img {
  width: 2560px;
  height: 522px;
}

.watch-case {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 300px;
}

.watch-case img {
  position: relative;
  width: 300px;
  height: 522px;
}

@media (max-width: 60em) {
  .create-wrapper {
    margin-top: -2px;
  }

  .create-wrapper .container, .cta .container {
    width: 100%;
  }

  .watch-container {
    background-image: none;
  }

  .create-wrapper h2 {
    padding-bottom: var(--size-600);
  }
}

/* Cta */
.cta {
  padding-block: calc(var(--size-900) + var(--size-300)) calc(var(--size-900) + var(--size-600));
  overflow: hidden;
}

.cta-container {
  background-color: var(--clr-neutral-100);
}

.cta-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: var(--size-900) calc(var(--size-900) + var(--size-400));
}

.cta-text h3 {
  font-size: var(--fs-900);
  max-width: 13ch;
  line-height: 1.25;
}

.cta-text .button {
  margin-top: calc(var(--size-600) + var(--size-100));
}

.cta-img {
  width: 625px;
  overflow: hidden;
  position: relative;
  height: 442px;
}

.cta-img img {
  bottom: -25%;
  position: absolute;
  width: 625px;
  height: 576px;
}

@media (max-width: 80em) {
  .cta-wrapper {
    padding-inline: var(--size-900) var(--size-400);
  }
}

@media (max-width: 70em) {
  .cta-container {
    background: transparent;
    position: relative;
    overflow: hidden;
  }
  
  .cta-wrapper {
    display: block;
    padding-inline: 0;
  }

  .cta-text {
    text-align: center;
    padding-inline: calc(var(--size-600) + var(--size-100));
  }

  .cta-text > div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cta-text .button {
    margin-top: var(--size-600);
  }

  .cta-img-container {
    margin-top: calc(var(--size-800) + var(--size-100));
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cta-img {
    width: 608px;
    height: 564px;
  }

  .cta-img img {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 564px;
  }
}

@media (max-width: 47em) {
  .cta-img {
    width: 548px;
    height: 504px;
  }

  .cta-img img {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 504px;
  }
}

/* Footer */
.footer {
  padding-block: var(--size-700);
}

.footer-wrapper {
  display: grid;
  gap: var(--size-700);
  justify-content: center;
  align-items: start;
  grid-template-areas: 
    "form"
    "nav"
    "social"
    "logo"
    "copyright";
}

.footer-wrapper > .logo {
  grid-area: logo;

  color: var(--clr-neutral-100);
}

.footer-nav { 
  grid-area: nav; 

  margin-inline: auto;
}

.footer-nav-wrapper {
  columns: 2;
  gap: clamp(4rem, 10vw, 7rem);
}

.footer-nav a {
  color: var(--clr-neutral-100);
  text-decoration: none;
  font-size: var(--fs-nav);
}

.footer-nav a:is(:hover, :focus) {
  color: var(--clr-neutral-400);
}

.footer-form { 
  grid-area: form;

  display: flex;
  gap: var(--size-200);
}

input:is([type="text"], [type="email"]) { 
  border-radius: 100vw;
  border: 0;
  padding: var(--size-300) var(--size-500);
  width: max(100%, 14rem);
  font-size: var(--fs-300);
}

.footer-copyright {
  grid-area: copyright;
  justify-self: end;
  align-self: end;
  
  color: var(--clr-neutral-100);
  opacity: 0.5;
}

@media (min-width: 50em) {
  .footer-wrapper {
    grid-template-areas: 
    "logo nav form"
    "social nav copyright";
    grid-template-columns: max-content 1fr auto;
  }
}

@media (max-width: 50em) {
  .footer-wrapper > * {
    margin-inline: auto;
  }

  .footer-nav, .socials, .logo {
    margin-block: var(--size-300);
  }
}

.socials {
  display: flex;
  gap: var(--size-600);
  align-self: end;
}

.socials > li > a {
  color: var(--clr-neutral-100);
}

.socials > li > a:is(:hover, :focus) {
  color: var(--clr-primary-400);
}

.social-list a:is(:hover, :focus) .social-icon {
  fill: var(--clr-accent-400);
}

@media (min-width: 50em) {
  .socials {
    gap: var(--size-300);
  }
}

/* Utility classes */
.visually-hidden {
  position: absolute;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.text-primary-400 { color: var(--clr-primary-400); }
.text-accent-400 { color: var(--clr-accent-400); }
.text-accent-100 { color: var(--clr-accent-100); }
.text-neutral-100 { color: var(--clr-neutral-100); }
.text-neutral-200 { color: var(--clr-neutral-200); }
.text-neutral-300 { color: var(--clr-neutral-300); }
.text-neutral-700 { color: var(--clr-neutral-700); }
.text-neutral-900 { color: var(--clr-neutral-900); }

.bg-primary-400 { background-color: var(--clr-primary-400); }
.bg-accent-400 { background-color: var(--clr-accent-400); }
.bg-accent-100 { background-color: var(--clr-accent-100); }
.bg-neutral-100 { background-color: var(--clr-neutral-100); }
.bg-neutral-200 { background-color: var(--clr-neutral-200); }
.bg-neutral-300 { background-color: var(--clr-neutral-300); }
.bg-neutral-700 { background-color: var(--clr-neutral-700); }
.bg-neutral-900 { background-color: var(--clr-neutral-900); }


.fw-black { font-weight: var(--fw-black); }
.fw-bold { font-weight: var(--fw-bold); }
.fw-semi-bold { font-weight: var(--fw-semi-bold); }
.fw-medium { font-weight: var(--fw-medium); }
.fw-regular { font-weight: var(--fw-regular); } 

.fs-primary-heading { 
  font-size: var(--fs-primary-heading);
  line-height: 1.2; 
}
.fs-secondary-heading { 
  font-size: var(--fs-secondary-heading); 
  line-height: 1.2;
}

.fs-icon-size {
  font-size: var(--fs-700);
}
.fs-social-size {
  font-size: calc(var(--fs-700));
}
@media (min-width: 50em) {
  .fs-social-size {
    font-size: calc(var(--fs-900) / 1.7);
  }
}

.fs-300 { font-size: var(--fs-300); }
.fs-400 { font-size: var(--fs-400); }
.fs-500 { font-size: var(--fs-500); }
.fs-600 { font-size: var(--fs-600); }

.container {
    --max-width: 1440px;
    --container-padding: 1rem;

    width: min(var(--max-width), 100% - (var(--container-padding) * 2));
    margin-inline: auto;
}

.flex {
  display: flex;
  align-items: center;
}

.even-columns {
    display: grid;
    gap: 1rem;
}

@media (min-width: 47em) {
    .even-columns {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
    }
}

:is(.flow :not(:first-child)) {
  margin-top: var(--size-500);
}

:is(.flow-sm :not(:first-child)) {
  margin-top: var(--size-400);
}

/* Animations */
@keyframes band {
  0% {
    margin-left: 40.7rem;
  }
  12.5% {
    margin-left: 0;
  }
  25% {
    margin-left: 0;
  }
  37.5% {
    margin-left: -40.6rem;
  }
  50% {
    margin-left: -40.6rem;
  }
  62.5% {
    margin-left: 0;
  }
  75% {
    margin-left: 0;
  }
  87.5% {
    margin-left: 40.7rem;
  }
  100% {
    margin-left: 40.7rem;
  }
}