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

html {
    scroll-behavior: smooth;
    background-color: #eee3db;
}

/* TYPOGRAPHY */
.barrio-regular {
  font-family: "Barrio", system-ui;
  font-weight: 400;
  font-style: normal;
}

.rock-3d-regular {
  font-family: "Rock 3D", system-ui;
  font-weight: 400;
  font-style: normal;
}

.limelight-regular {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.major-mono-display-regular {
  font-family: "Major Mono Display", monospace;
  font-weight: 400;
  font-style: normal;
}

.petit-formal-script-regular {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.lexend-exa-light {
  font-family: "Lexend Exa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

body {
    color: #252525;
    overflow-x: hidden;
}

/* HEADER */
body {
    position: relative;
}

header {
    position: fixed;
    top: 50%;
    left: 3.5%;
    transform: translateY(-50%);
    z-index: 99;
}

#navbar .nav-link {
    text-decoration: none;
    color: #252525aa;

    transition: all 0.3s ease-in-out;
}

#navbar .nav-link:hover {
    color: #252525;
}

#navbar .nav-link span {
    display: inline-block;
    background-color: #dd4e1e;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#navbar .nav-link.active {
    font-weight: 600;
    color: #252525;
}

#navbar .nav-link.active span {
    opacity: 1;
}

#navbar.scrolled .nav-link, #navbar.scrolled .nav-link.active {
    color: transparent;
}

#navbar.scrolled:hover .nav-link {
    color: #252525aa;
}

#navbar.scrolled:hover .nav-link.active {
    color: #252525;
}

#navbar.scrolled .nav-link:hover {
    color: #252525;
}



/* MAIN */
main {
    background-color: #c19c81;
}

.slide {
    width: 100%;
    height: 100vh;
    background-color: #c19c81;

    padding-top: 0.1px; /* to fix an issue */
}


/* SLIDE ONE */
#slide1 {
    position: relative;
    z-index: 9;
}

#h1span1 {
    position: absolute;
    top: 25vh;
    left: 5vw;

    font-size: 5rem;
}

#h1span1 .span-a {
    font-size: 6.5rem;
}

#h1span2 {
    position: absolute;
    top: 18vh;
    left: 25vw;

    font-size: 8rem;
    letter-spacing: -0.5rem;
}

#h1span2 .span-a {
    font-size: 10rem;
}

#h1span2 .span-b {
    font-size: 3rem;
    letter-spacing: 0;
}

#h1span3 {
    position: absolute;
    top: 40vh;
    left: 20vw;

    font-size: 10rem;
    letter-spacing: -1rem;
}

#h1span3 .span-a {
    font-size: 18rem;
}

#h1span3 .span-b {
    font-size: 12rem;
}

#h1span3 .span-c {
    font-size: 12rem;
    letter-spacing: 0rem;
}

#slide1 #img1 {
    position: absolute;
    top: 0;
    right: 20%;

    width: 22%;
}

#slide1 #img2 {
    position: absolute;
    bottom: -80%;
    right: 0;

    width: 35%;
}

#slide1 .txt-box {
    position: absolute;
    top: 20%;
    right: 3%;
}

.caption {
    width: 18%;
    font-size: 0.6rem;
}

.caption ul {
    list-style-type: none;
}

#slide1 #credit {
    position: absolute;
    bottom: 10%;
    left: 15%;
}

#slide1 .box {
    display: block;
    width: 96%;
    height: 90%;
    background-color: #eee3db91;

    position: absolute;
    bottom: 0;
    left: 3%;
}

/* SLIDE TWO */
#slide2 {
    position: relative;
    background-color: #eee3db35;
}

.underlined-yellow {
    border-bottom: 2px solid #ecd495;
}

.underlined-green {
    border-bottom: 2px solid #5f5c42;
}

.underlined-orange {
    border-bottom: 2px solid #dd4e1e;
}

#slide2 h2 {
    font-size: 5rem;
    letter-spacing: 0.3rem;
    color: #5f5c42;

    margin: 8%;
    margin-bottom: 0;
}

#slide2 p {
    width: 30%;
    margin-left: 26%;
    margin-top: 3%;

    color: #252525;
}

small {
    font-style: italic;
}

#caption2 {
    position: absolute;
    bottom: 8%;
    right: 1%;
    text-align: right;
    z-index: 3;
}

#img3 {
    position: absolute;
    bottom: -10%;
    left: 10%;
    z-index: 2;
}

#caption3 {
    width: 20%;

    position: absolute;
    bottom: -2%;
    left: 51%;
    z-index: 4;
}

#slide2 .box {
    display: block;
    width: 60%;
    height: 130%;
    background-color: #eee3db;

    position: absolute;
    bottom: -100%;
    right: 0;
    z-index: 1;
}

/* SLIDE THREE */
#slide3 {
    background-color: #5f5c42;
    position: relative;
}

#img4 {
    width: 30%;

    position: absolute;
    top: 12%;
    left: 20%;

    z-index: 5;
}

#slide3 h2 {
    position: absolute;
    left: 60%;
    top: 5%;

    z-index: 6;

    width: 30%;
    font-size: 3rem;

    color: #5f5c42;
}

#slide3 h3 {
    position: absolute;
    left: 60%;
    top: 20%;

    z-index: 7;

    font-size: 1rem;
}

#slide3 p {
    width: 30%;

    position: absolute;
    left: 60%;
    top: 25%;

    z-index: 8;
}

#img5 {
    position: absolute;
    bottom: -10%;
    right: 0;

    z-index: 10;
}

#caption4 {
    position: absolute;
    bottom: 11%;
    left: 1%;

    text-align: right;
    color: #eee3db;
}

#caption5 {
    position: absolute;
    bottom: -2%;
    right: 42%;

    text-align: right;
    z-index: 11;
}

/* SECTION 4 */
#slide4 {
    background-color: #eee3db;
    position: relative;
}

#slide4 .box {
    display: block;
    width: 80%;
    height: 85%;
    background-color: #ecd39596;

    position: absolute;
    bottom: 0;
    right: 5%;
    z-index: 1;
}

#slide4 .box2 {
    display: block;
    width: 40%;
    height: 25%;
    background-color: #e0c7b5;

    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 1;
}

#slide4 blockquote {
    margin: 5% 5%;
    font-size: 1.5rem;
    color: #dd4e1e;
}

#slide4 h2 {
    position: absolute;
    left: 50%;
    top: 20%;

    z-index: 1;

    width: 30%;
    font-size: 3rem;
}

#slide4 p {
    width: 30%;

    position: absolute;
    left: 50%;
    top: 40%;

    z-index: 8;
}

#img6 {
    position: absolute;
    top: 35%;
    left: 20%;

    z-index: 1;

    width: 25%;

    box-shadow: -20px -20px 0 0 #dd4e1e;
}

#caption6 {
    position: absolute;
    top: 75%;
    left: 18%;

    z-index: 1;
}

#img7 {
    position: absolute;
    bottom: 0;
    right: 0;

    z-index: 1;

    width: 22%;

    box-shadow: 0 -20px 0 0 #dd4e1e;
}

#caption7 {
    position: absolute;
    bottom: 5%;
    right: 23%;

    z-index: 1;

    text-align: right;
}

/* SECTION 5 */
#slide5 {
    background-color: #ecd495;
    position: relative;
}

#slide5 .box {
    display: block;
    width: 85%;
    height: 50%;
    background-color: #e0c7b5ae;

    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

#slide5 h2 {
    position: absolute;
    left: 22%;
    top: 15%;

    z-index: 1;

    font-size: 3rem;

    color: #dd4e1e;
    text-shadow: 2px 2px 0 #252525;
}

#slide5 p {
    width: 30%;

    position: absolute;
    left: 22%;
    top: 25%;

    z-index: 1;
}

#img8 {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 35%;

    box-shadow: 100px 100px 0 0 #dd4e1e;


    z-index: 1;
}

#caption8 {
    position: absolute;
    bottom: 0;
    right: 5%;

    text-align: right;

    z-index: 1;

    color: white;
}

/* SECTION 6 */
#slide6 {
    background-color: #ecd495;
    position: relative;

    height: 80vh;
}

#img9 {
    position: absolute;
    top: -30%;
    left: 0;
    width: 45%;

    box-shadow: 100px 100px 0 0 #dd4e1e;

    z-index: 1;
}

#caption9 {
    position: absolute;
    top: 75%;
    right: 55%;

    z-index: 1;

    color: white;

    text-align: right;
}

#slide6 h2 {
    font-size: 3rem;

    position: absolute;
    left: 55%;
    top: 10%;

    z-index: 1;

    color: #dd4e1e;
    text-shadow: 2px 2px 0 #252525;
}

#slide6 h3 {
    position: absolute;
    left: 55%;
    top: 18%;

    z-index: 1;

    font-size: 1rem;
}

#slide6 p {
    width: 30%;

    position: absolute;
    left: 55%;
    top: 25%;

    z-index: 1;
}

/* SECTION 7 */
#slide7 {
    background-color: #eee3db;
    position: relative;
}

#slide7 h2 {
    font-size: 5rem;

    position: absolute;
    left: 5%;
    top: 5%;

    z-index: 1;

    color: #dd4e1e;
    text-shadow: 5px 5px 0 #ecd495;
}

#slide7-p {
    width: 30%;

    position: absolute;
    left: 70%;
    top: 8%;

    z-index: 1;

    list-style-type: square;
}

#slide7-p2 {
    width: 40%;

    position: absolute;
    left: 22%;
    top: 30%;

    z-index: 1;
}

#slide7 .img-box {
    position: absolute;
    bottom: 15%;
    left: 15%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 65%;
}

#slide7 .img-box img {
    width: 20vw;
}


/* SECTION 8 */
#slide8 {
    background-color: #e9d3c3;
    position: relative;
}

#slide8 h2 {
    text-align: center;
    margin: 3%;

    text-shadow: 2px 2px 0 #dd4e1e;
}

/* TABLE */
#slide8 table {
  width: 90%;
  max-width: 800px;
  margin: 1.5rem auto;
  border-collapse: collapse;
  font-family: var(--mono, "Major Mono Display", monospace);
  font-size: 1rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: #2d2a26;
}

#slide8 th {
  text-align: left;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-bottom: 2px solid #2d2a26;
  color: #2d2a26;
  font-size: 1.05rem;
}

#slide8 td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

#slide8 tr:hover td {
  background-color: rgba(218, 115, 77, 0.08);
}

#slide8 table {
  border-radius: 6px;
  overflow: hidden;
}

/* CHART */
#slide8 .chart-wrapper {
  width: 90%;
  max-width: 900px;
  margin: 1.5rem auto 0;
  height: 28vh;
}

#slide8 canvas#pinterestCollageChart {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


/* SLIDE ( */
#slide9 {
    background-color: #f1693b;
    position: relative;
    color: white;
}

#slide9 h2 {
    text-align: center;
    margin: 3%;

    font-size: 5rem;
    color: #e9d3c3;
    text-shadow: 5px 5px 0 #dd4e1e;
}

#slide9 a {
    display: block;
    margin: 5%;
    color: white;
    text-align: center;
}

#slide9 img {
    display: block;
    width: 30%;
    height: 30%;
    margin: auto;
    margin-top: 1%;
}

#return-top {
    position: absolute;
    right: 1%;
    bottom: 0.5%;

    color: white;
    text-decoration: none;
}

#return-top:hover {
    color: #ecd495;
}











