@import url("https://fonts.googleapis.com/css2?family=Autour+One&family=Lexend:wght@100..900&display=swap");
body {
  overflow-x: hidden;
  background-color: #222222;
  color: #FFFFFF;
  font-family: "Lexend", sans-serif;
  font-size: clamp(0.5rem, 2vw, 1.2rem);
  font-weight: 400;
  margin: 0;
}
body a {
  text-decoration: none;
  color: #7072B5;
}

body::before,
body::after {
  content: "";
  content: "";
  position: absolute;
  width: 9rem;
  height: 18rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  opacity: 0.9;
}

body::before {
  background-image: url("../images/three1.svg");
  top: 4rem;
  right: 0;
}

body::after {
  background-image: url(../images/three2.svg);
  top: 30rem;
  width: 6rem;
  left: 0;
}

.extra3,
.extra4, .extra5 {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.8;
}

.extra3 {
  background-image: url(../images/leafs1.svg);
  top: 50rem;
  left: 0;
  width: 6rem;
  height: 25rem;
}

.extra4 {
  background-image: url(../images/leafs2.svg);
  top: 68rem;
  right: 0;
  width: 8rem;
  height: 15rem;
  opacity: 0.5;
}

.extra5 {
  background-image: url(../images/leafs3.svg);
  top: 80rem;
  right: 0;
  width: 8rem;
  height: 25rem;
}

#css-zen-garden {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  padding: 0 2rem;
  padding-bottom: 10rem;
}

h1 {
  font-family: "Autour One", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(45px, 7vw, 200px);
  font-weight: 400;
  color: #7072B5;
  line-height: 1;
  /* text-align: center; */
  margin: 3rem 0 1rem 0;
  width: 100%;
}

h2, h3 {
  font-family: "Autour One", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 3vw, 3rem);
  color: #60C5C3;
  line-height: 1.364;
  text-align: left;
  margin: 2rem 0 0 0;
}

.main {
  z-index: 2;
}

#zen-summary {
  margin-top: 2rem;
}
#zen-summary p {
  font-family: "Lexend", sans-serif;
  font-size: clamp(0.6rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #FFFFFF;
  width: 90%;
}
#zen-summary a {
  display: inline-block;
  font-family: "Autour One", system-ui;
  font-size: clamp(0.6rem, 1vw, 1rem);
  color: #FFFFFF;
  background-color: #60C5C3;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem 1.5rem;
  text-decoration: none;
  margin: 1rem 0.1rem;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
#zen-summary a:hover {
  background-color: #41b1af;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
#zen-summary a:nth-child(2) {
  background-color: #7072B5;
  border-radius: 1.5rem 0.5rem;
}
#zen-summary a:nth-child(2):hover {
  background-color: #53559f;
}

#zen-explanation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 80%;
  float: right;
}

#zen-participation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 80%;
  float: right;
}

#zen-benefits {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 80%;
  float: right;
}

#zen-requirements {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 80%;
  float: left;
  z-index: 2;
  position: relative;
  margin: 0 0 3rem;
}

.sidebar {
  background-color: #222222;
  color: #FFFFFF;
}
.sidebar .wrapper {
  max-width: 80%;
  margin: 0 auto;
}
.sidebar #design-selection h3 {
  text-align: center;
}
.sidebar #design-selection nav ul {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.sidebar #design-selection nav ul li {
  background-color: #2f2f2f;
  border-radius: 1rem;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 25rem;
}
.sidebar #design-selection nav ul li:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
.sidebar #design-selection nav ul li::before {
  content: "";
  width: 100%;
  height: 70%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem 1rem 0 0;
}
.sidebar #design-selection nav ul li:nth-child(1)::before {
  background-image: url("../images/mid.jpg");
}
.sidebar #design-selection nav ul li:nth-child(2)::before {
  background-image: url("../images/garment.jpg");
}
.sidebar #design-selection nav ul li:nth-child(3)::before {
  background-image: url("../images/steel.jpg");
}
.sidebar #design-selection nav ul li:nth-child(4)::before {
  background-image: url("../images/apotek.jpg");
}
.sidebar #design-selection nav ul li:nth-child(5)::before {
  background-image: url("../images/screenfiller.jpg");
}
.sidebar #design-selection nav ul li:nth-child(6)::before {
  background-image: url("../images/fountain.jpg");
}
.sidebar #design-selection nav ul li:nth-child(7)::before {
  background-image: url("../images/arobot.jpg");
}
.sidebar #design-selection nav ul li:nth-child(8)::before {
  background-image: url("../images/verde.jpg");
}
.sidebar #design-selection nav ul li a {
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 1rem;
}
.sidebar #design-selection nav ul li a .design-name {
  font-family: "Autour One", system-ui;
  font-size: 1.25rem;
  color: #60C5C3;
  margin-bottom: 0.5rem;
}
.sidebar #design-selection nav ul li a .designer-name {
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  color: #7072B5;
}
.sidebar #design-archives {
  margin-top: 3rem;
}
.sidebar #design-archives h3 {
  display: none;
}
.sidebar #design-archives .archives {
  font-family: "Autour One", system-ui;
  text-align: center;
}
.sidebar #design-archives nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  gap: 5vw;
  list-style: none;
  padding: 0;
}
.sidebar #design-archives nav ul li a {
  display: inline-block;
  font-family: "Autour One", system-ui;
  font-size: clamp(0.6rem, 1vw, 1rem);
  color: #FFFFFF;
  padding: 0.7rem 1rem;
  border-radius: 1.5rem 0.5rem;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
.sidebar #design-archives nav ul li a:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.sidebar #design-archives nav ul li a:first-child {
  background-color: #7072B5;
}
.sidebar #design-archives nav ul li a:first-child:hover {
  background-color: #53559f;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2f2f2f;
  padding: 2rem 0;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}
footer a {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  margin: 1rem 2rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
footer a:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
footer .zen-validate-html {
  background-image: url("../images/html.svg");
}
footer .zen-validate-css {
  background-image: url("../images/css.svg");
}
footer .zen-license {
  background-image: url("../images/cc.svg");
}
footer .zen-accessibility {
  background-image: url("../images/accessibilty.svg");
}
footer .zen-github {
  background-image: url("../images/github.svg");
}

#zen-resources {
  padding: 0 0 7rem;
  text-align: center;
}
#zen-resources h3 {
  text-align: center;
  margin-bottom: 1rem;
}
#zen-resources ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
#zen-resources ul li {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  max-width: 200px;
}
#zen-resources ul li a {
  font-family: "Lexend", sans-serif;
  font-size: clamp(0.6rem, 2vw, 1rem);
  color: #7072B5;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
#zen-resources ul li a:hover {
  color: #a2a4cf;
}

@media (min-width: 768px) {
  #css-zen-garden {
    padding: 0 4rem;
  }
  #zen-summary p {
    width: 70%;
  }
  body::before {
    background-image: url(../images/three1.svg);
    top: 4rem;
    right: 0;
    width: 15rem;
    height: 28rem;
    z-index: -1;
  }
  body::after {
    background-image: url(../images/three2.svg);
    top: 38rem;
    width: 14rem;
    left: 0;
    height: 25rem;
  }
  .extra3 {
    background-image: url(../images/leafs1.svg);
    top: 62rem;
    left: 0;
    width: 10rem;
    height: 40rem;
  }
  .extra4 {
    background-image: url(../images/leafs2.svg);
    top: 95rem;
    right: 0;
    width: 18rem;
    height: 30rem;
  }
  .extra5 {
    background-image: url(../images/leafs3.svg);
    top: 120rem;
    right: 0;
    width: 15rem;
    height: 30rem;
  }
  #zen-resources {
    padding: 2rem 0 13rem;
    text-align: center;
  }
}
@media (min-width: 1024px) {
  h3 {
    margin: 5rem 0 0 0;
  }
  #css-zen-garden {
    padding: 0 18rem;
  }
  #css-zen-garden [role=banner] h2 {
    text-align: center;
    margin: 0;
  }
  #css-zen-garden #zen-summary {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0;
  }
  body::before {
    top: 6rem;
    right: 0;
    width: 30rem;
    height: 58rem;
    z-index: -1;
  }
  body::after {
    background-image: url(../images/three2.svg);
    top: 45rem;
    width: 34rem;
    left: 0;
    height: 55rem;
  }
  .extra3 {
    background-image: url(../images/leafs1.svg);
    top: 99rem;
    left: 0;
    width: 15rem;
    height: 45rem;
  }
  .extra4 {
    background-image: url(../images/leafs2.svg);
    top: 105rem;
    right: 0;
    width: 35rem;
    height: 40rem;
  }
  .extra5 {
    background-image: url(../images/leafs3.svg);
    top: 150rem;
    right: 0;
    width: 25rem;
    height: 40rem;
  }
}