/* 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);
}

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;
}

#s1>div>span {
  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 {
  display: block;
  text-align: center;
}

/* SECTION 2 */
/* ----------------------------------------------------- */

#s2>div{
  display: inline-block;
}

#s2>div>span {
  background-color: #CDEAC0;
  mix-blend-mode: difference;
  display: inline-block;
}

#s2 div:nth-of-type(2){
  width: 600px;
}

#s2 div:nth-of-type(3){
  width: 600px;
}

#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(7){
  width: 47%;
}

#s2 div:nth-of-type(8){
  width: 47%;
  overflow: hidden;
}

#s2 div:nth-of-type(9){
  width: 47%;
  overflow: auto;
}

/* 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: 0;
}

#s4>div:nth-of-type(1)>h3{
  position: sticky;
  top: 1rem;
  background-color: rgb(238, 139, 155);
}

#s4>div:nth-of-type(2)>h3{
  position: sticky;
  top: 0;
  background-color: rgb(238, 139, 155);
}

/* SECTION 5 */
/* ----------------------------------------------------- */

#s5>div{
  position: static;
  width: 20%;
}

#s5 div:nth-of-type(2){
  position: relative;
  right: 20px;
  bottom: 10px;
}

#s5 div:nth-of-type(3){
  position: absolute;
  right: 20px;
  top: 15px;
}

/* SECTION 6 */
/* ----------------------------------------------------- */

#s6{
  position: relative;
}

#s6>div{
  width: 50%;
}

#s6>div:nth-of-type(2) {
  position: absolute;
  bottom: 10px;
  right: 0;
}

#s6>div:nth-of-type(3) {
  Position: absolute;
  left: -40px;
  mix-blend-mode: difference;
}

/* SECTION 7 */
/* ----------------------------------------------------- */

#s7>div:nth-of-type(2) {
  Position: fixed;
  top: 0;
  left: 0;
  margin: 0;
}