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

:root {
  --primary-color: #e30512;
  --secondary-color: #1d3fbb;
  --third-color: #ffbe00;
  --fourth-color: #ff651a;
  --fifth-color: #00c1b5;
  --six-color: #ffffff;
  --seven-color: #ff608c;
  --eight-color: #f6e0a4;
}

html {
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

picture img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
picture {
  display: block;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  max-width: 1330px;
  /* border: 2px solid red; */
  margin: 0 auto;
  transition: background-color 0.3s ease-in 0.18s;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  height: 100vh;
}

header img {
  position: static;
  margin-top: 0.7rem;
  /* border: 2px solid red; */
  width: 260px;
}

/* main { */
/* border: 2px solid blueviolet; */
/* margin-top: -22px; */
/* } */
/* 
/* header aside {
  border: 2px solid red;
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(665px); /* Half of the max-width (1330px/2) */
/* } */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: -40px 0 auto;
  min-height: 100vh;
  overflow: none;
  /* scroll-snap-type: y mandatory; */
}

.issue-info {
  /* position: relative;
  z-index: 2; */
  display: flex;
  /* border: 2px solid green; */
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.issue-info p:first-child {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 0 0 18px 0;
  line-height: 1.5625rem;
}

#issue-7 .issue-info > p:nth-of-type(2) {
  padding-bottom: 0;
  margin-bottom: 0;
}
/* :is(.buy-link, a, .store-link, a) { */
/* border: 2px solid saddlebrown; */
/* color: var(--primary-color); */
/* padding: 3px;
  font-weight: bold;
  margin: 0 0 18px 0;
  font-size: 0.9375rem;
  line-height: 1.5625rem;
} */

/* a:not(.buy-link, .store-link) {
  color: #ffffff;
  text-decoration: none;
}
a:not(.buy-link, .store-link):hover {
  text-decoration: underline;
} */
/* For buy/store links */
.buy-link,
.store-link {
  /* color: var(--primary-color); */
  padding: 3px;
  font-weight: bold;
  margin: 0 0 18px 0;
  font-size: 0.9375rem;
  line-height: 1.5625rem;
}

/* For all other links */
/* .buy-link,
a,
.store-link a {
  color: #ffffff;
  text-decoration: none;
} */

.buy-link a,
.store-link a:not(p) {
  color: #ffffff;
  text-decoration: none;
}

a:not(.buy-link):not(.store-link):hover {
  text-decoration: underline;
}
section {
  padding: 27px 0;
  margin: 0;
  width: 100%;
  scroll-snap-align: start;
  min-height: 100vh;
  transition: background-color 0.3s ease;
  /* transform: translateY(1px); */
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section img {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 420px;
  border: none;
  height: auto;
}
footer {
  position: relative;
  /* border: 2px solid blue; */
  margin: 0 auto;
  padding-bottom: 20px;
}

.list {
  display: none;
}
footer aside#contact a {
  /* border: 2px solid black; */
  position: absolute;
  bottom: 0; /* Matches the header img margin-top */
  /* right: 50%; */
  /* transform: translateX(
    665px
  );  */
  /* Half of the max-width (1330px/2) to align with the container edge */
  right: 0;
  transform: none;
  padding-bottom: 20px;
  color: #251d20;
  font-size: 18px;
  font-weight: bold;
}
footer .foot-backstage {
  position: relative;
  width: 297.7px;
  height: auto;
  line-height: 25px;
  font-weight: bold;
  margin-bottom: 1rem;
  padding-right: 1rem;
}

.foot-backstage span {
  font-size: 18px;
  color: #251d20;
}

.foot-backstage p {
  font-size: 12px;
  font-weight: normal;
  color: #251d20;
}

.foot-backstage a {
  font-size: 12px;
  font-weight: normal;
  color: #251d20;
}

footer .privacy {
  font-size: 18px;
  /* font-weight: bold; */
  color: #251d20;
}

@media screen and (min-width: 992px) and (min-height: 650px) {
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100%;
  }
  body {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;

    /* max-width: 1330px; */
    width: 100%;
    /* height: 100vh; */
    transition: background-color 0.3s ease-in 0.18s;
  }

  main {
    /* height: 100vh; */
    /* overflow-y: scroll; */
    scroll-snap-type: y mandatory;

    /* -webkit-overflow-scrolling: touch; */
    /* padding-top: 70px;
    padding-bottom: 80px; */
    /* box-sizing: border-box; */
  }
  ::-webkit-scrollbar {
    display: none;
  }

  section {
    min-height: 100vh;
    /* height: 100vh; */
    min-width: 100vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    position: relative;
    width: 100%;
    /* height: 100vh; */
  }

  header img {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding-left: 1rem;
  }

  footer aside#contact a {
    padding-right: 1rem;
    position: fixed;
    top: 0;
    right: 0;
    padding-top: 1rem;
    color: #251d20;
    /* padding-bottom: 0; */
    z-index: 100;
    transform: none;
    /* Half of the max-width (1330px/2) */
  }

  footer .foot-backstage {
    padding-left: 1rem;
    position: fixed;
    /* top: 0; */
    bottom: 0;
    margin-bottom: 3rem;
  }

  footer h2 {
    padding-left: 1rem;
    position: fixed;
    bottom: 0;
    padding-bottom: 0.9rem;
  }
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  ul li {
    padding: 0.3rem 0;
  }
  ul li a {
    text-decoration: none;
    color: #251d20;
    font-size: 18px;
  }
  .list {
    position: fixed;
    z-index: 1000;
    display: block;
    bottom: 0;
    right: 0;
    padding-right: 1rem;
    padding-bottom: 0.9rem;
  }
  .li a {
    pointer-events: auto;
  }
}

@media screen and (max-width: 1023px) {
  body {
    max-width: 100%;
    margin: 0;

    padding: 0 20px;
  }
  .list {
    display: none;
  }
  footer aside#contact a {
    transform: none;
    right: 20px;
    bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  body {
    /* max-width: 80%; */
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }
  header img {
    width: 160px;
    margin-bottom: 12px;
  }

  footer {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* place-items: center; */
  }

  footer .foot-backstage {
    position: relative;
    width: 100%;
    padding: 0 10px;
    text-align: center;
    margin-bottom: 20px;
  }

  footer aside#contact a {
    position: relative;
    text-align: center;
    right: auto;
    width: 100%;
    display: block;
    margin: 40px auto;
  }

  footer .privacy {
    margin-bottom: 80px;
    text-align: center;
    width: 100%;
  }
}

/* @media screen and (max-width: 1023px) {
  .list {
   display:none;
  }
} */
/* .container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }

  .snap-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    scroll-snap-align: start;
  } */

/* @media screen and (min-width: 1023px) {
  body {
    overflow: none;
    -ms-overflow-style: none;  */
/* IE and Edge */
/* -webkit-overflow-scrolling: touch;  */
/* iOS momentum scrolling */
/* }

  body::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;  */
/* Chrome, Safari, Opera */
/* }
} */

/* <!DOCTYPE
  html
  > <html
  lang="en"
  > <head
  > <meta
  charset="UTF-8"
  > <title
  > Scroll
  Snap
  Example</title
  > <link
  rel="stylesheet"
  href="styles.css"
  > </head
  > <body
  > <div
  class="container"
  > <section
  class="snap-section"
  style="background-color: #ffadad;"
  > Section
  1</section
  > <section
  class="snap-section"
  style="background-color: #ffd6a5;"
  > Section
  2</section
  > <section
  class="snap-section"
  style="background-color: #fdffb6;"
  > Section
  3</section
  > <section
  class="snap-section"
  style="background-color: #caffbf;"
  > Section
  4</section
  > </div
  > </body
  > </html
  > body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.snap-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  scroll-snap-align: start;
} */
