:root {
  --main-color: #8c0000;
  --main-color-transparent: #8c0000dd;
  --link-color: #fefdfe;
  --text-color: #dddddd;
  --bg-purple: #150910d2;
  --bg-black: #0a0a0adc;
}

* {
  margin: 0;
  padding: 0;
  text-align: center;
}

body {
  color: var(--text-color);
  font-family: "Poiret One", sans-serif;
}

.skip-link {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nav-ul {
  position: fixed;
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  gap: 7%;
  background-color: var(--bg-purple);
  padding: 0.8rem 0;
}

li {
  color: var(--link-color);
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  font-size: 1.7rem;
  min-height: 44px;
  min-width: 44px;
  transition: transform 0.2s ease;
  transform-origin: center;
}

li:hover {
  transform: scale(1.1);
  text-shadow: 2px 2px 10px black;
  a {
    color: var(--main-color);
  }
}

nav,
h1 {
  font-family: "Spirax", sans-serif;
}

h1 {
  color: var(--main-color);
  font-size: 4rem;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
}

#hot {
  background-image: url("./assets/hot.jpg");
}

#juicy {
  background-image: url("./assets/juicy.jpg");
}

#cosy {
  background-image: url("./assets/cosy.jpg");
}

#hot,
#juicy,
#cosy {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  height: auto;
}

#hot,
#juicy {
  border-bottom: solid 1rem var(--main-color);
}

.hot,
.juicy,
.cosy {
  width: 100%;
  margin: 0 3rem;
}

.wrapper,
.first-p,
.second-p {
  position: relative;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  top: -3.5rem;
}

.section-p {
  background-color: var(--main-color-transparent);
  width: 100%;
  padding: 0.9rem 0;
  font-size: 1.2rem;
}

.section-ul {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-black);
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
}

.section-ul li {
  display: flex;
  justify-content: space-between;
}

.desktop-only {
  display: none;
}

@media screen and (min-width: 768px) {
  a {
    font-size: 2rem;
  }

  h1 {
    font-size: 5.1rem;
  }

  .section-ul {
    padding: 1rem 2.7rem;
  }

  .section-p,
  .section-ul {
    width: 33rem;
  }

  .first-p {
    right: 3.8rem;
  }

  .second-p {
    left: 4rem;
  }

  .desktop-only {
    display: block;
  }
}
