/* DESKTOP */

@media screen and (min-width: 992px) {

nav {
    display: flex;
    background-color: #F0F098;
    /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.097); */
    border-bottom: 1px solid gray;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 15;
    position: fixed;
    width: 96vw;
}

.logo {
    order: 1;
    align-self: flex-start;
    width: 200px;
    height: auto;
    transition: transform .3s ease-in-out;
}

.logo:hover {
    transform: translateY(-15px);
}

.menu {
    order: 2;
    align-self: flex-end;
    width: 30px;
    height: 38px;
    position: relative;
}

.menu:before {
    content: "menu";
    font-family: williams-caslon-text, serif;
    font-size: 1.5em;
    line-height: 1em;
    position: absolute !important;
    width: 30px;
    height: auto;
    top: -0.1em;
    left: -3em;
}

#black {
    background-color: black;
    /* align-items: flex-end; */
    top: 101px;
    padding: 50px;
    width: 400px;
    height: 100vh;
    position: fixed;
    z-index: 1;
    right: 0;
    display: none;
    
}

#black.active {
    display: block !important;
}

#modal {
    position: fixed;
    top: 101px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-Color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    display: none;
}

#modal.active {
    display: block !important;
}


.hero {
    background-color: #F0F098;
    display: flex;
    /* background-color: white; */
    /* box-shadow: 0px 2px 15px black; */
    flex-direction: column;
    /* align-items: center; */
    justify-content: flex-start;
    height: 50vh;
    padding: 12em 10em 6em 10em;
    z-index: 0;
    gap: 0em;
}

.hero h1 {
    font-family: dharma-gothic-m, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13.5em;
    position: relative;
    letter-spacing: 2px;
    line-height: 72px;
    margin: 0.35em auto;
}

.hero h1 span {
    color: #E5E566;
}

.intro {
    position: relative;
    /* margin: 0 auto; */
    display: flex;
    gap: 6.85em;
    justify-content: flex-start;
    margin-left: -1em;

}    

.intro h4{
    color: black;
    font-family: williams-caslon-text, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 36px;
    margin: 0 auto;
    /* padding-bottom: 10px; */
    letter-spacing: 1px;
    /* text-align: center; */
    position: relative;
}

.intro h4:after {
    content: "";
    position: absolute;
    width: 50px;
    height: auto;
    border-bottom: 3px solid black;
    top: 0.55em;
    right: -2.6em;
}

.intro p {
    color: black;
    font-family: montserrat, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: .5px;
    max-width: 780px;
    min-width: 380px;
    margin: 0.45em auto 0 auto;
    /* position: relative; */
    
}

em {
    font-family: williams-caslon-text, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    position: relative;
}

.separator {
    display: flex;
    flex-wrap: wrap;
    background-color: #F7F7F7;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2em 2em 1em 2em;
    /* border-top: 1px solid gray; */
    position: relative;
    
}

.separator:before {
    content: "";
    position: absolute;
    width: 100%;
    height: auto;
    border-top: 1px solid gray;
    top: 2.55em;
}

.separator h6 {
    background-color: #F7F8F3;
    font-family: williams-caslon-text, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    line-height: 1em;
    /* color: white; */
    width: max-content;
    margin: 0 auto;
    position: relative;
    /* margin-top: -0.75em */
    text-align: center;
    padding: 0em 1em;
}

/* .arrow {
    position: relative;
}

.downarrow {
    width: 12px;
    top: 15px;
    margin: auto;
    position:absolute;
    left:50%;
    margin-left: -6px;
} */

.projects {
    background-color: #F7F8F3;
    padding: 10em;
    display: flex;
    flex-direction: column;
    gap: 10em;
    position: relative;
    margin: 0 auto;
}

.project {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* padding: 5%; */
    border-radius: 10px;
}

.content {
    order: 2;
    align-self: center;
    width: 50%;
    height: auto;
    /* margin-top: -1em;    */
}

.image {
    order: 1;
    align-self: center;
    width: 45%;
    height: auto; 
}

.image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

h1 {
    font-family: dharma-gothic-m, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5.5em;
    position: relative;
    letter-spacing: 2px;
    line-height: 72px;
    /* margin: 0.35em auto; */
}

h2 {
    font-family: dharma-gothic-m, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
    position: relative;
    letter-spacing: 2px;
    line-height: 68px;
    margin: 0px;
    text-transform: uppercase;
}

h3 {
    font-family: williams-caslon-text, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 24px;
    position: relative;
    margin: 0px;   
}

h4 {
    font-family: montserrat, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 28px;
    line-height: 33px;
    letter-spacing: .5px;
    /* padding-top: 10px; */
    position: relative;  
    margin-top: 0em;
    margin-bottom: 0.25em;
}

h5 {
    font-family: montserrat, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 16px;
    line-height: 16pxpx;
    letter-spacing: .5px;
    text-transform: uppercase;
    /* padding-top: 10px; */
    position: relative;  
    margin-top: 0em;
    margin-bottom: 0.75em;
}

p { 
    font-family: montserrat, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: .5px;
    /* padding-top: 10px; */
    position: relative;  
}

button {
    border: none;
    background: none;
    /* padding: 10px; */
    /* width: 150px; */
    /* border-radius: 5px; */
    font-family: montserrat, sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 900;
    position: relative;
    margin-top: 40px;
    margin-bottom: -15px;
    padding-left: 4.75em;
    transition: transform .3s ease-in-out;
}

button:before {
    content: "";
    position: absolute;
    width: 50px;
    height: auto;
    border-bottom: 3px solid black;
    top: 0.9em;
    left: 0em;
}

button em {
    font-family: williams-caslon-text, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    position: relative;
    padding-left: 2px;
}
    
button:hover {
    transform: translateY(-10px);
}

.project-hero {
    padding: 10em 6em 0em 6em;
    display: flex;
    flex-direction: column;
    background-color: #EEEFE9;
}

.project-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.project-thumbnail img {
    width: 100%;
    margin-bottom: -4em;
    border-radius: 10px;
}

.project-content {
    padding: 16em 6em 12em 6em;
}

.content-intro {
    width: 82%;
}

.project-visuals {
    padding: 0em 6em 8em 6em;
}

.outline img {
    border: 0.5px solid lightgray;
}

.quiz {
    display: flex;
    flex-direction: column;
    gap: 4em;
}

.quiz h4 {
    width: 89%;
}

.quiz p {
    width: 80%;
}

.quiz img {
    border-radius: 10px;
}

.quizimages {
    display: flex;
    flex-direction: row;
    flex-basis: 50%;
    gap: 2em;
    padding-bottom: 4em;
}

.quizquestions img {    
    width: 48.5%;
}

.characters {
    display: flex;
    flex-direction: row;
    flex-basis: 25%;
    gap: 2em;
    padding-bottom: 3.5em;
}

.characters img {
    width: 100%;
}

.results {
    padding-top: 12em;
}

.results img {
    width: 100%;
    height: 620px;
    border-radius: 10px;
    object-fit: cover;
    overflow: hidden;
    object-position: top center;
    border: 0.5px solid gray;
}

.pages {
    display: flex;
    flex-direction: row;
    gap: 4em;
}

.pages div {
    flex-basis: 50%;
}

.pages img {
    width: 100%;
    border-radius: 10px;
}

.pages p {
    padding-top: 4.5em;
}

.asymenu {
    margin-bottom: 4em;
}

.asyparagraph {
    margin-top: -1em;
}

img.values {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 4em;
}

.moodboards {
    display: flex;
    flex-direction: row;
    gap: 4em;
    padding-bottom: 14em;
}

.moodboards img {
    width: 47.25%;
    border-radius: 10px;
}

.posttypes {
    padding-top: 14em;
}

.launchgift {
    padding-top: 14em;
}

.stickers {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

.stickers img {
    width: 100%;
    border-radius: 10px;
}

.trailhead-pages img {
    border: 0.5px solid gray;
}

.podcast {
    margin-bottom: 4em;
}

.notebooks {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

.notebooks img {
    border-radius: 10px;
    width: 31.5%;
    background-color: #EEEFE9;
}

.salesmaterials {
    padding-top: 14em;
}

.videos {
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding-bottom: 4em;
}

.salesmaterials video {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.event {
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding-top: 4em;
}

.event img {
    width: 50%;
    border-radius: 10px;
}

.pagecontent h4 {
    padding-top: 4em;
    margin-bottom: -1.75em;
}

.image-carousel {
    padding-top: 14em;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    gap: 2em;
    width: 100%;
  }
  
  .slide {  
    flex: 1 0 100%;
    max-width: 31.5%;
    transition: transform 0.5s ease;
  }
  
  .slide img {
    width: 100%;
    /* display: none; */
    border-radius: 10px;
    border: 0.5px solid lightgray;
  }

  .carousel-nav {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    align-items: center;
    padding-top: 1.5em;
  }

  .carousel-nav p {
    font-size: 20px;
    line-height: 0em;;
  }

  button.prev {
    padding-left: 2.75em;
    font-size: 20px;
    line-height: 0em;
    margin-top: 3px;
    margin-bottom: 0px;
  }

  button.prev:before {
    content: url("images/downarrow.svg") !important;
    transform: rotate(90deg);
    position: absolute;
    width: 20px;
    height: auto;
    border-bottom: none;
    top: -0.9em;
    left: 0.5em;
  }

  button.next {
    padding-left: 0.05em;
    font-size: 20px;
    line-height: 0em;
    margin-top: 3px;
    margin-bottom: 0px;
  }

  button.next:before {
    content: "" !important;
    /* transform: rotate(90deg); */
    position: absolute;
    width: 20px;
    height: auto;
    border-bottom: none;
    top: 0em;
    left: 0.25em;
  }

  button.next:after {
    content: url("images/downarrow.svg") !important;
    transform: rotate(270deg);
    position: absolute;
    width: 20px;
    height: auto;
    border-bottom: none;
    top: -0.9em;
    left: 3.55em;
  }

/* .carousel-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2em;
} */


footer {
    width: 100%;
    background-color: black;
    padding-top: 15px;
    position: relative;
    text-align: center;
    font-family: williams-caslon-text, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    color: white;
    margin: 0 auto;
    padding-bottom: 15px;
        
}
}


/* TABLET */


@media screen and (max-width: 992px) {

    nav {
        display: flex;
        position: fixed;
        width: 93%;
        background-color: #F0F098;
        /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.097); */
        border-bottom: 1px solid gray;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        z-index: 15;
    }
    
    .logo {
        order: 1;
        align-self: flex-start;
        width: 200px;
        height: auto;
        transition: transform .3s ease-in-out;
    }
    
    .logo:hover {
        transform: translateY(-15px);
    }
    
    .menu {
        order: 2;
        align-self: flex-end;
        width: 30px;
        height: 38px;
        position: relative;
    }
    
    .menu:before {
        content: "menu";
        font-family: williams-caslon-text, serif;
        font-size: 1.5em;
        line-height: 1em;
        position: absolute !important;
        width: 30px;
        height: auto;
        top: -0.1em;
        left: -3em;
    }
    
    #black {
        background-color: black;
        /* align-items: flex-end; */
        top: 101px;
        padding: 50px;
        width: 26%;
        height: 100vh;
        position: fixed;
        z-index: 1;
        right: 0;
        display: none;
        
    }
    
    #black.active {
        display: block !important;
    }
    
    #modal {
        position: fixed;
        top: 101px;
        left: 0px;
        height: 100%;
        width: 100%;
        background-Color: rgba(255, 255, 255, 0.8);
        z-index: 1;
        display: none;
    }
    
    #modal.active {
        display: block !important;
    }
    
    .hero {
        background-color: #F0F098;
        display: flex;
        /* background-color: white; */
        /* box-shadow: 0px 2px 15px black; */
        flex-direction: column;
        /* align-items: center; */
        justify-content: flex-start;
        height: 37vh;
        padding: 10em 3em 6em 3em;
        z-index: 0;
        gap: 0em;
    }
    
    .hero h1 {
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 8.5em;
        position: relative;
        letter-spacing: 2px;
        line-height: 72px;
        margin: 0.35em auto;
    }
    
    .hero h1 span {
        color: #E5E566;
    }
    
    .intro {
        position: relative;
        /* margin: 0 auto; */
        display: flex;
        flex-direction: column;
        gap: 2.5em;
        padding-top: 3.5em;
        justify-content: flex-start;
        margin-left: 0em;
    
    }    
    
    .intro h4{
        color: black;
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 36px;
        margin: 0;
        /* padding-bottom: 10px; */
        letter-spacing: 1px;
        /* text-align: center; */
        position: relative;
    }
    
    .intro h4:after {
        content: "";
        position: absolute;
        width: 50px;
        height: auto;
        border-bottom: 3px solid black;
        top: 1.85em;
        left: 0em;
    }
    
    .intro p {
        color: black;
        font-family: montserrat, sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: .5px;
        max-width: 750px;
        min-width: 300px;
        margin: 0.45em auto 0 auto;
        /* position: relative; */
        
    }
    
    em {
        font-family: williams-caslon-text, serif;
        font-weight: 700;
        font-style: italic;
        font-size: 24px;
        position: relative;
    }
    
    .separator {
        display: flex;
        flex-wrap: wrap;
        background-color: #F7F7F7;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 2em 2em 1em 2em;
        /* border-top: 1px solid gray; */
        position: relative;
        
    }
    
    .separator:before {
        content: "";
        position: absolute;
        width: 100%;
        height: auto;
        border-top: 1px solid gray;
        top: 2.55em;
    }
    
    .separator h6 {
        background-color: #F7F8F3;
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 20px;
        line-height: 1em;
        /* color: white; */
        width: max-content;
        margin: 0 auto;
        position: relative;
        /* margin-top: -0.75em */
        text-align: center;
        padding: 0em 1em;
    }
    
    .projects {
        background-color: #F7F8F3;
        padding: 6em 3em;
        display: flex;
        flex-direction: column;
        gap: 6em;
        position: relative;
        margin: 0 auto;
    }
    
    .project {
        display: flex;
        flex-wrap: wrap;
        background-color: white;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        /* padding: 5%; */
        border-radius: 10px;
    }
    
    .content {
        order: 2;
        align-self: center;
        width: 50%;
        height: auto;
        /* margin-top: -1em;    */
    }
    
    .image {
        order: 1;
        align-self: center;
        width: 47%;
        height: auto; 
    }
    
    .image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    h1 {
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 4.5em;
        position: relative;
        letter-spacing: 2px;
        line-height: 72px;
        /* margin: 0.35em auto; */
    }
    
    h2 {
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2.5em;
        position: relative;
        letter-spacing: 1px;
        line-height: 1em;
        margin: 0px;
        text-transform: uppercase;
    }
    
    h3 {
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 1.1empx;
        position: relative;
        margin: 0px;   
    }
    
    h4 {
        font-family: montserrat, sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 1.5em;
        line-height: 1.2em;
        letter-spacing: .5px;
        /* padding-top: 10px; */
        position: relative;  
        margin-top: 0em;
        margin-bottom: 0.25em;
    }
    
    h5 {
        font-family: montserrat, sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 16px;
        line-height: 16pxpx;
        letter-spacing: .5px;
        text-transform: uppercase;
        /* padding-top: 10px; */
        position: relative;  
        margin-top: 0em;
        margin-bottom: 0.75em;
    }
    
    p { 
        font-family: montserrat, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 23px;
        letter-spacing: .5px;
        /* padding-top: 10px; */
        position: relative;  
    }
    
    button {
        border: none;
        background: none;
        /* padding: 10px; */
        /* width: 150px; */
        /* border-radius: 5px; */
        font-family: montserrat, sans-serif;
        font-style: normal;
        font-size: 14px;
        font-weight: 900;
        position: relative;
        margin-top: 20px;
        margin-bottom: -5px;
        padding-left: 4.75em;
        transition: transform .3s ease-in-out;
    }
    
    button:before {
        content: "";
        position: absolute;
        width: 50px;
        height: auto;
        border-bottom: 3px solid black;
        top: 0.9em;
        left: 0em;
    }
    
    button em {
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 20px;
        position: relative;
        padding-left: 2px;
    }
        
    button:hover {
        transform: translateY(-10px);
    }
    
    .project-hero {
        padding: 6em 3em 0em 3em;
        display: flex;
        flex-direction: column;
        background-color: #EEEFE9;
    }
    
    .project-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .project-thumbnail img {
        width: 100%;
        margin-bottom: -4em;
        border-radius: 10px;
    }
    
    .project-content {
        padding: 10em 3em 6em 3em;
    }
    
    .content-intro {
        width: 100%;
    }
    
    .project-visuals {
        padding: 0em 3em 3em 3em;
    }
    
    .outline img {
        border: 0.5px solid lightgray;
    }
    
    .quiz {
        display: flex;
        flex-direction: column;
        gap: 3em;
    }
    
    .quiz h4 {
        width: 100%;
    }
    
    .quiz p {
        width: 100%;
    }
    
    .quiz img {
        border-radius: 10px;
    }
    
    .quizimages {
        display: flex;
        flex-direction: row;
        flex-basis: 50%;
        gap: 1em;
        padding-bottom: 4em;
    }
    
    .quizquestions img {    
        width: 48.5%;
    }
    
    .characters {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex-basis: 25%;
        gap: 1em;
        padding-bottom: 3em;
    }
    
    .characters img {
        width: 31.75%;
    }
    
    .results {
        padding-top: 6em;
    }
    
    .results img {
        width: 100%;
        height: 380px;
        border-radius: 10px;
        object-fit: cover;
        overflow: hidden;
        object-position: top center;
        border: 0.5px solid gray;
    }
    
    .pages {
        display: flex;
        flex-direction: row;
        gap: 2em;
    }
    
    .pages div {
        flex-basis: 50%;
    }
    
    .pages img {
        width: 100%;
        border-radius: 10px;
    }
    
    .pages p {
        padding-top: 1.75em;
    }
    
    .asymenu {
        margin-bottom: 2em;
    }
    
    .asyparagraph {
        margin-top: 0em;
    }
    
    img.values {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 2em;
    }
    
    .moodboards {
        display: flex;
        flex-direction: row;
        gap: 1em;
        padding-bottom: 8em;
    }
    
    .moodboards img {
        width: 48.75%;
        border-radius: 10px;
    }
    
    .posttypes {
        padding-top: 8em;
    }
    
    .launchgift {
        padding-top: 8em;
    }
    
    .stickers {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1em;
    }
    
    .stickers img {
        width: 31.75%;
        border-radius: 10px;
    }
    
    .trailhead-pages img {
        border: 0.5px solid gray;
    }
    
    .podcast {
        margin-bottom: 4em;
    }
    
    .notebooks {
        display: flex;
        flex-direction: row;
        gap: 1.5em;
    }
    
    .notebooks img {
        border-radius: 10px;
        width: 31.25%;
        background-color: #EEEFE9;
    }
    
    .salesmaterials {
        padding-top: 8em;
    }
    
    .videos {
        display: flex;
        flex-direction: row;
        gap: 1.5em;
        padding-bottom: 3em;
    }
    
    .salesmaterials video {
        width: 48.5%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .event {
        display: flex;
        flex-direction: row;
        gap: 1.5em;
        padding-top: 3em;
    }
    
    .event img {
        width: 48.5%;
        border-radius: 10px;
    }

    .pagecontent h4 {
        padding-top: 1.5em;
        margin-bottom: -0.75em;
    }

    .image-carousel {
        padding-top: 8em;
    }
    
    .carousel-container {
        display: flex;
        overflow: hidden;
        gap: 2em;
        width: 100%;
      }
      
      .slide {  
        flex: 1 0 100%;
        max-width: 47.5%;
        transition: transform 0.5s ease;
      }
      
      .slide img {
        width: 100%;
        /* display: none; */
        border-radius: 10px;
        border: 0.5px solid lightgray;
      }

      .carousel-nav {
        display: flex;
        flex-direction: row;
        gap: 1.5em;
        align-items: center;
        padding-top: 1.5em;
      }
    
      .carousel-nav p {
        font-size: 18px;
        line-height: 0em;;
      }
    
      button.prev {
        padding-left: 2.75em;
        font-size: 18px;
        line-height: 0em;
        margin-top: 3px;
        margin-bottom: 0px;
      }
    
      button.prev:before {
        content: url("images/downarrow.svg") !important;
        transform: rotate(90deg);
        position: absolute;
        width: 16px;
        height: auto;
        border-bottom: none;
        top: -0.8em;
        left: 0.5em;
      }
    
      button.next {
        padding-left: 0.05em;
        font-size: 18px;
        line-height: 0em;
        margin-top: 3px;
        margin-bottom: 0px;
      }
    
      button.next:before {
        content: "" !important;
        /* transform: rotate(90deg); */
        position: absolute;
        width: 20px;
        height: auto;
        border-bottom: none;
        top: 0em;
        left: 0.25em;
      }
    
      button.next:after {
        content: url("images/downarrow.svg") !important;
        transform: rotate(270deg);
        position: absolute;
        width: 16px;
        height: auto;
        border-bottom: none;
        top: -0.8em;
        left: 3.55em;
      }

    
    footer {
        width: 100%;
        background-color: black;
        padding-top: 15px;
        position: relative;
        text-align: center;
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 20px;
        color: white;
        margin: 0 auto;
        padding-bottom: 15px;
            
    }
    }




/* MOBILE */


@media screen and (max-width: 680px) {

    nav {
        display: flex;
        position: fixed;
        width: 86%;
        background-color: #F0F098;
        /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.097); */
        border-bottom: 1px solid gray;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        z-index: 15;
    }
    
    .logo {
        order: 1;
        align-self: flex-start;
        width: 200px;
        height: auto;
        transition: transform .3s ease-in-out;
    }
    
    .logo:hover {
        transform: translateY(-15px);
    }
    
    .menu {
        order: 2;
        align-self: flex-end;
        width: 30px;
        height: 38px;
        position: relative;
    }
    
    .menu:before {
        content: "menu";
        font-family: williams-caslon-text, serif;
        font-size: 1.5em;
        line-height: 1em;
        position: absolute !important;
        width: 30px;
        height: auto;
        top: -0.1em;
        left: -2.6em;
    }
    
    #black {
        background-color: black;
        /* align-items: flex-end; */
        top: 101px;
        padding: 50px;
        width: 89%;
        height: 100vh;
        position: fixed;
        z-index: 1;
        right: 0;
        display: none;
        
    }
    
    #black.active {
        display: block !important;
    }
    
    #modal {
        position: fixed;
        top: 101px;
        left: 0px;
        height: 100%;
        width: 100%;
        background-Color: rgba(255, 255, 255, 0.8);
        z-index: 1;
        display: none;
    }
    
    #modal.active {
        display: block !important;
    }
    
    .hero {
        background-color: #F0F098;
        display: flex;
        /* background-color: white; */
        /* box-shadow: 0px 2px 15px black; */
        flex-direction: column;
        /* align-items: center; */
        justify-content: flex-start;
        height: 65vh;
        padding: 8em 1.5em 4em 1.5em;
        z-index: 0;
        gap: 0em;
    }
    
    .hero h1 {
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 6.25em;
        position: relative;
        letter-spacing: 2px;
        line-height: 0.9em;
        margin: 0.15em auto 0em auto;
    }
    
    .hero h1 span {
        color: #E5E566;
        position: absolute;
        top: 0.9em;
        left: -0.2em;
        width: 100%;
    }
    
    .intro {
        position: relative;
        /* margin: 0 auto; */
        display: flex;
        flex-direction: column;
        gap: 0.85em;
        justify-content: flex-start;
        margin-left: 0em;
        padding-top: 9.5em;
    
    }    
    
    .intro h4{
        color: black;
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 36px;
        margin: 0;
        /* padding-bottom: 10px; */
        letter-spacing: 1px;
        /* text-align: center; */
        position: relative;
    }
    
    .intro h4:after {
        content: "";
        position: absolute;
        width: 50px;
        height: auto;
        border-bottom: 3px solid black;
        top: 1.8em;
        left: 0em;
    }
    
    .intro p {
        color: black;
        font-family: montserrat, sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: .5px;
        max-width: 780px;
        min-width: 340px;
        margin: 1.5em auto 0 auto;
        /* position: relative; */

        
    }
    
    em {
        font-family: williams-caslon-text, serif;
        font-weight: 700;
        font-style: italic;
        font-size: 24px;
        position: relative;
    }
    
    .separator {
        display: flex;
        flex-wrap: wrap;
        background-color: #F7F7F7;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 2em 2em 1em 2em;
        /* border-top: 1px solid gray; */
        position: relative;
        
    }
    
    .separator:before {
        content: "";
        position: absolute;
        width: 100%;
        height: auto;
        border-top: 1px solid gray;
        top: 2.55em;
    }
    
    .separator h6 {
        background-color: #F7F8F3;
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 20px;
        line-height: 1em;
        /* color: white; */
        width: max-content;
        margin: 0 auto;
        position: relative;
        /* margin-top: -0.75em */
        text-align: center;
        padding: 0em 1em;
    }
    
    .projects {
        background-color: #F7F8F3;
        padding: 3em 1.5em;
        display: flex;
        flex-direction: column;
        gap: 4em;
        position: relative;
        margin: 0 auto;
    }
    
    .project {
        display: flex;
        flex-wrap: wrap;
        background-color: white;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        /* padding: 5%; */
        border-radius: 10px;
    }
    
    .content {
        order: 2;
        align-self: center;
        flex-wrap: wrap;
        width: 95%;
        height: auto;
        /* margin-top: -1em;    */
        padding: 1.5em;
    }
    
    .image {
        order: 1;
        align-self: center;
        width: 100%;
        height: auto; 
        margin-left: -2em !important;
    }
    
    .image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    h1 {
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 3.75em;
        position: relative;
        letter-spacing: 2px;
        line-height: 0.9em;
        margin: 0.35em 0em 0.15em 0em;
    }
    
    h2 {
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 3.2em;
        position: relative;
        letter-spacing: 1px;
        line-height: 0.9em;
        margin: 0px 0px 5px 0px;
        text-transform: uppercase;
    }
    
    h3 {
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 24px;
        line-height: 1em;
        position: relative;
        margin: 0px;   
    }
    
    h4 {
        font-family: montserrat, sans-serif;
        font-weight: 900;
        font-style: bold;
        font-size: 1.1em;
        line-height: 1.4em;
        letter-spacing: .5px;
        /* padding-top: 10px; */
        position: relative;  
        margin-top: 0em;
        margin-bottom: 0.25em;
        -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: black;
    }
    
    h5 {
        font-family: montserrat, sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 16px;
        line-height: 16pxpx;
        letter-spacing: .5px;
        text-transform: uppercase;
        /* padding-top: 10px; */
        position: relative;  
        margin-top: 0em;
        margin-bottom: 0.75em;
    }
    
    p { 
        font-family: montserrat, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 23px;
        letter-spacing: .5px;
        /* padding-top: 10px; */
        position: relative;  
    }
    
    button {
        border: none;
        background: none;
        /* padding: 10px; */
        /* width: 150px; */
        /* border-radius: 5px; */
        font-family: montserrat, sans-serif;
        font-style: normal;
        font-size: 14px;
        font-weight: 900;
        position: relative;
        margin-top: 40px;
        margin-bottom: -15px;
        padding-left: 4.75em;
        transition: transform .3s ease-in-out;
    }
    
    button:before {
        content: "";
        position: absolute;
        width: 50px;
        height: auto;
        border-bottom: 3px solid black;
        top: 0.9em;
        left: 0em;
    }
    
    button em {
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 20px;
        position: relative;
        padding-left: 2px;
    }
        
    button:hover {
        transform: translateY(-10px);
    }
    
    .project-hero {
        padding: 8em 1.5em 0em 1.5em;
        display: flex;
        flex-direction: column;
        background-color: #EEEFE9;
    }
    
    .project-info {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-bottom: 3em;
    }
    
    .project-thumbnail img {
        width: 100%;
        margin-bottom: -4em;
        border-radius: 10px;
    }
    
    .project-content {
        padding: 8em 1.5em 3em 1.5em;
    }
    
    .content-intro {
        width: 100%;
    }
    
    .project-visuals {
        padding: 0em 1.5em 3em 1.5em;
    }
    
    .outline img {
        border: 0.5px solid lightgray;
    }
    
    .quiz {
        display: flex;
        flex-direction: column;
        gap: 3em;
    }
    
    .quiz h4 {
        width: 100%;
    }
    
    .quiz p {
        width: 100%;
    }
    
    .quiz img {
        border-radius: 10px;
    }
    
    .quizimages {
        display: flex;
        flex-direction: column;
        flex-basis: 50%;
        gap: 1em;
        padding-bottom: 4em;
    }
    
    .quizquestions img {    
        width: 100%;
    }
    
    .characters {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex-basis: 48%;
        gap: 1em;
        padding-bottom: 3em;
    }
    
    .characters img {
        width: 47.25%;
    }
    
    .results {
        padding-top: 6em;
    }
    
    .results img {
        width: 100%;
        height: 180px;
        border-radius: 10px;
        object-fit: cover;
        overflow: hidden;
        object-position: top center;
        border: 0.5px solid gray;
    }
    
    .pages {
        display: flex;
        flex-direction: column;
        gap: 1.5em;
    }
    
    .pages div {
        flex-basis: 50%;
    }
    
    .pages img {
        width: 100%;
        border-radius: 10px;
    }
    
    .pages p {
        padding-top: 1.75em;
    }
    
    .asymenu {
        margin-bottom: 1.5em;
    }
    
    .asyparagraph {
        margin-top: 0em;
    }
    
    img.values {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 2em;
    }
    
    .moodboards {
        display: flex;
        flex-direction: column;
        gap: 1em;
        padding-bottom: 8em;
    }
    
    .moodboards img {
        width: 100%;
        border-radius: 10px;
    }
    
    .posttypes {
        padding-top: 8em;
    }
    
    .launchgift {
        padding-top: 8em;
    }
    
    .stickers {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1em;
    }
    
    .stickers img {
        width: 47.25%;
        border-radius: 10px;
    }
    
    .trailhead-pages img {
        border: 0.5px solid gray;
    }
    
    .podcast {
        margin-bottom: 1.5em;
    }
    
    .notebooks {
        display: flex;
        flex-direction: column;
        gap: 1.5em;
    }
    
    .notebooks img {
        border-radius: 10px;
        width: 100%;
        background-color: #EEEFE9;
    }
    
    .salesmaterials {
        padding-top: 8em;
    }
    
    .videos {
        display: flex;
        flex-direction: column;
        gap: 1.5em;
    }
    
    .salesmaterials video {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .event {
        display: flex;
        flex-direction: column;
        gap: 1.5em;
        padding-top: 3em;
    }
    
    .event img {
        width: 100%;
        border-radius: 10px;
    }

    .pagecontent h4 {
        padding-top: 2em;
        margin-bottom: -0.75em;
    }

    .image-carousel {
        padding-top: 6em;
    }
    
    .carousel-container {
        display: flex;
        overflow: hidden;
        gap: 1.5em;
        width: 100%;
      }
      
      .slide {  
        flex: 1 0 100%;
        max-width: 100%;
        transition: transform 0.5s ease;
      }
      
      .slide img {
        width: 100%;
        /* display: none; */
        border-radius: 10px;
        border: 0.5px solid lightgray;
      }
    
      .carousel-nav {
        display: flex;
        flex-direction: row;
        gap: 1.5em;
        align-items: center;
        padding-top: 0.75em;
      }
    
      .carousel-nav p {
        font-size: 16px;
        line-height: 0em;;
      }
    
      button.prev {
        padding-left: 2.3em;
        font-size: 16px;
        line-height: 0em;
        margin-top: 3px;
        margin-bottom: 0px;
      }
    
      button.prev:before {
        content: url("images/downarrow.svg") !important;
        transform: rotate(90deg);
        position: absolute;
        width: 12px;
        height: auto;
        border-bottom: none;
        top: -0.7em;
        left: 0.5em;
      }
    
      button.next {
        padding-left: 0.05em;
        font-size: 16px;
        line-height: 0em;
        margin-top: 3px;
        margin-bottom: 0px;
      }
    
      button.next:before {
        content: "" !important;
        /* transform: rotate(90deg); */
        position: absolute;
        width: 20px;
        height: auto;
        border-bottom: none;
        top: 0em;
        left: 0.25em;
      }
    
      button.next:after {
        content: url("images/downarrow.svg") !important;
        transform: rotate(270deg);
        position: absolute;
        width: 12px;
        height: auto;
        border-bottom: none;
        top: -0.7em;
        left: 3.35em;
      }


    footer {
        width: 100%;
        background-color: black;
        padding-top: 15px;
        position: relative;
        text-align: center;
        font-family: williams-caslon-text, serif;
        font-weight: 400;
        font-style: italic;
        font-size: 20px;
        color: white;
        margin: 0 auto;
        padding-bottom: 15px;
            
    }
    }








/* old css */
    
    
    #black a {
        color: white;
        font-family: dharma-gothic-m, sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 40px;
        letter-spacing: 2px;
    }
    
    
    span {
        position: relative;
        padding-left: 20px;
    }
    
    .links {
        position: relative;
        /* display: none; */
    }
    
    #work {
        position: absolute;
    }
    
    #about {
        position: absolute;
        top: 80px;
    }
    
    .rightarrow {
        height: 15px;
    }
    

    
    
    .compressed {
        margin-top: 0px;
        height: 40px;
        position: absolute;
        top: 25px;
        left: 25px;
        transition: transform .3s ease-in-out;
        display: none;
    }
    
    .compressed:hover {
        transform: translateY(-15px);
    } 
        
        

        

         
        


        

        

    
    


