/* BODY AND SECTIONS */
/* ----------------------------------------------------- */
/* All body and section styling available here (except for the fonts, which are declared in the defaults+fonts.css). Some properties have already been declared */

body {
  padding: 40px 10%;
  background-color: rgb(235, 235, 235);
  font-family: "InstrumentSans";
}

section {
  padding: 20px;
  margin-bottom: 20px;
  background-color: white;
}

section > h2 {
  text-align: center;
  line-height: 1;
  border-bottom: 1px solid black;
  padding-bottom: 8px;
}

section > em {
  display: block;
  margin: 8px 0;
  text-align: center;
}

section > div {
  margin: 10px;
}

#s1 > div {
  background-color: yellow;
}
#s2 > div {
  background-color: #cdeac0;
}
#s3 > div {
  background-color: #fffae3;
}
#s4 > div {
  background-color: #ff5964;
}
#s5 > div {
  background-color: #b8f3ff;
}
#s6 > div {
  background-color: #b298dc;
}
#s7 > div {
  background-color: #bdc696;
}

/* SECTION 1 */
/* ----------------------------------------------------- */

#s1 span {
  background-color: yellow;
  mix-blend-mode: difference;
  margin-bottom: 2px;
  height: 30px;
}

#s1 div:nth-of-type(1) > span {
  display: inline;
}

#s1 div:nth-of-type(2) > span {
  display: inline-block;
}

#s1 div:nth-of-type(3) > span {
  display: block;
}

#s1 div:nth-of-type(4) > span {
  height: auto;
  text-align: center;
  display: block;
}

/* SECTION 2 */
/* ----------------------------------------------------- */

#s2 > div > span {
  background-color: #cdeac0;
  mix-blend-mode: difference;
  display: block;
}

#s2 > div {
  display: inline-block;
}

#s2 > div:nth-of-type(2) {
  width: 600px;
}

#s2 > div:nth-of-type(3) {
  width: 600px;
  display: block;
  margin: auto;
}

#s2 > div:nth-of-type(4) {
  width: 100%;
}

#s2 > div:nth-of-type(5) {
  width: 100vw;
}

#s2 > div:nth-of-type(6) {
  width: 47%;
}

#s2 > div:nth-of-type(6) > span {
  width: 50%;
}

#s2 > div:nth-of-type(7) {
  width: 47%;
}

#s2 > div:nth-of-type(8) {
  width: 47%;
  overflow: hidden;
}

#s2 > div:nth-of-type(9) {
  width: 47%;
  overflow: auto;
}

#s2 > div:nth-of-type(7) > span {
  width: 50vw;
}
#s2 > div:nth-of-type(8) > span {
  width: 50vw;
}
#s2 > div:nth-of-type(9) > span {
  width: 50vw;
}
/* SECTION 3 */
/* ----------------------------------------------------- */

#s3 {
  font-size: 24px;
}

#s3 > div:nth-of-type(2) {
  font-size: 15px;
}

#s3 > div:nth-of-type(3) {
  font-size: 1.5vw;
}
#s3 > div:nth-of-type(4) {
  font-size: 1em;
}

#s3 > div:nth-of-type(5) {
  font-size: 1rem;
}

/* SECTION 4 */
/* ----------------------------------------------------- */

#s4 > div {
  width: 50%;
  margin: auto;
}

#s4 > div:nth-of-type(2) {
  margin-right: 0px;
}

#s4 h3 {
  position: sticky;
  top: 1rem;
}

#s4 div:nth-of-type(2) h3 {
  top: 0px;
  background-color: pink;
}

/* SECTION 5 */
/* ----------------------------------------------------- */

#s5 > div {
  width: 20%;
  position: static;
}

#s5 > div:nth-of-type(2) {
  position: relative;
  right: 20px;
  bottom: 10px;
}

#s5 > div:nth-of-type(3) {
  position: absolute;
  right: 20px;
  top: 10px;
}

/* SECTION 6 */
/* ----------------------------------------------------- */

#s6 {
  position: relative;
}

#s6 > div {
  width: 50%;
}

#s6 > div:nth-of-type(2) {
  position: absolute;
  right: 0px;
  bottom: 10px;
  width: 20%;
}

#s6 > div:nth-of-type(3) {
  mix-blend-mode: difference;
  position: absolute;
  left: -40px;
}

/* SECTION 7 */
/* ----------------------------------------------------- */

#s7 > div:nth-of-type(2) {
  position: fixed;
  top: 0px;
  left: 0px;
  margin: 0px;
}

@font-face {
  font-family: "InstrumentSans";
  src: url("InstrumentSans-VariableFont_wdth,wght.ttf") format("ttf"),
    url("InstrumentSans-Italic-VariableFont_wdth,wght.ttf") format("ttf");
  font-style: var();
  font-weight: var();
}
