:root {
    --eastbay-100-color: #E5E7EE;
    --eastbay-200-color: #B0B6CC;
    --eastbay-200-60-color: #B0B6CC32;
    --eastbay-300-color: #8187BF;
    --eastbay-400-color: #515893;
    --eastbay-500-color: #4D547F;
    --eastbay-600-color: #424874;
    --eastbay-700-color: #373B60;
    --eastbay-900-color: #1C1F31;
    
    --ribbon-100-color: #FBFAFF;
    --ribbon-200-color: #E0D9FE;
    --ribbon-300-color: #C4B9FC;
    --ribbon-400-color: #A89AF9;
    --ribbon-500-color: #8D7DF5;
    --ribbon-600-color: #7161EF;
    --ribbon-700-color: #4C3AE8;
    --ribbon-800-color: #2F1CD8;
    --ribbon-900-color: #1F1584;
    
    --white: #ffffff;
    --white-25perc: #ffffff40;
    --white-50perc: #ffffff7f;
    --white-75perc: #ffffffbf;
    --white-85perc: #ffffffd9;

    --gradient: linear-gradient(90deg, var(--white-25perc),var(--white)); 
    --gradient2: linear-gradient(90deg, var(--ribbon-500-color) 2%, var(--ribbon-600-color) 15%); 
    --gradient3: linear-gradient(90deg, var(--ribbon-500-color) 55%, var(--ribbon-600-color) 90%); 

}

html {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-display: optional;
    color: var(--eastbay-600-color);
    background-color: var(--white);
    font-size: 20px;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
}


input,
button,
select,
textarea {
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
}

a {
    color: var(--ribbon-600-color);
    text-decoration: none;
    font-weight: 400;
    outline: 0;
}

a:hover, a:focus, a:active {
    color: var(--eastbay-600-color);
    text-decoration: none;
    font-weight: 400;
    transition: transform 0.5s ease-in-out;
    transition-duration: 300ms;
    cursor: pointer;
}

a.external, a.external:visited {
    display: inline-flex;
    font-weight: 300;
    color: var(--eastbay-600-color);
    text-decoration: underline dotted var(--eastbay-600-color);
    transition: transform 0.3s ease-in-out;
}

a.external:hover {
    color: var(--ribbon-600-color);
    text-decoration: underline dotted var(--ribbon-600-color);
    font-weight: 300;
}

.text-section {
    display: inline;
}

p {
    padding: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
}

img {
    vertical-align: middle;
}

div {
    min-height: 20;
}

hgroup {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    vertical-align: middle;
}

h1, .h1 {
    font-size: 1.125rem;
    line-height: 1.1;
    font-weight: 300;
}

h2, .h2 {
    font-size: 1.5rem;
    font-weight: 400;
    text-align:center;
}

h3, .h3 {
    font-size: 1.4rem;
    font-weight: 400;
    text-align:center;
    color: var(--eastbay-500-color);
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-wrap: wrap;
}

h4, .h4 {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: wrap;
    text-align: center;
    color: var(--eastbay-500-color);
    margin: 20px;
    padding: 20px;
}

hr {
    width: 40px;
    color: var(--eastbay-600-color);
}

.main {
    display: flex;
    /*min-height: calc(100vh - 150px);*/
    min-height: 100vh;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main2 {
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.scroll {
    overflow-x: hidden;
    overflow-y: auto;
    margin: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.subcol {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: stretch;
    padding: O;
    border: 0;
    gap: 5px;
}

.col0 {   
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.col1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: auto;
    min-width: 550px;
    padding: 10px;
    }

.col2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin: auto;
    width: 550px;
}


.center-column {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: stretch;
    gap: 10px;
    text-align: center;
    flex-direction: column;
    padding: 0;
}

.center-row {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: stretch;
    gap: 10px;
    text-align: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 0;
}

.navigation {
    width: 100px;
    display: flex;
    align-items: stretch;
    gap: 30px;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    padding: 15px 0;

}

.item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
} 
.item:first-child {
    margin-top: auto;
}
.item:last-child {
    margin-bottom: auto;
}

.item2 {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 5%;
}

.item2:first-child {
    margin-left: 10px;
}
.item2:last-child {
    margin-right: 10px;
}

.content {
    width: unset;
}

.text {
    text-align: left;
}

.rad {
    border-radius: 10px;
}

.alt1 {
    border-radius: 0px;
    background-color: var(--eastbay-100-color);
}

.alt2 {
    border-radius: 0px;
    background-color: var(--eastbay-700-color);
}

.alt3 {
    border-radius: 0px;
    background-color: var(--eastbay-100-color);
}

.alt4 {
    width: calc(100% - 200px);
    border-radius: 10px;
    padding: 20px 50px;
    margin: 0 50px;
    background-color: var(--white);
    align-items: center;
}

.alt5 {
    border-radius: 0px;
    background: var(--gradient);
    width: 100%;
}


.footer {
    background-color: var(--white-50perc);
    max-width: 1200px;
    height: 25px;
    padding-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 200;
    text-align: center;
    align-self: stretch;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
}

.mail {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    margin: 0 auto;
}

.hashtag {
    font-size: 1rem;
    font-weight: 300;
    color: var(--eastbay-500-color);
    padding: 10px;
}

.hashtag-title {
    align-self: stretch;
    user-select: none;
}

.strat {
    min-width: 35vw;
    min-height: 40vh;
    background-image: url("../img/strategic_plan.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50px 0px;

}
.call-to-action, a.call-to-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    font-size: 1.4rem;
    font-weight: 400;
    text-align:center;
    color: var(--ribbon-600-color);
    line-height: 1.2;
    padding: 0;
    text-wrap: wrap;
    transition: color 0.3s ease-in-out;
}

a.call-to-action:hover {
    color: var(--eastbay-500-color);
}

.home-cta {
    margin-top: 30px;
    padding: 10px 40px 7px 40px;
    max-width: 450px;
    min-height: 40px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 20px;
    
    background: var(--gradient2);
    color: var(--ribbon-100-color);
}

.home-cta:hover{
    background: var(--gradient3);
}

.hashtag2 {
    margin: 0px;
    padding: 10px;
    font-size: 1rem;
    font-weight: 300;
    color: var(--eastbay-500-color);
}

.details, .biography {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 10px;
    font-weight: 400;
    padding: 10px;
}
.biography {
    text-align: justify;
    color: var(--eastbay-500-color);
}

.hidden {
    display: none;
    transition-duration: 500ms;
}

.portrait {
    height: 120px;
    width: 120px;
    border-radius: 50%;
}

.inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    border-left: auto;
    border-right: auto;
    gap: 15px;
}

.middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    border-left: auto;
    border-right: auto;
    gap: 15px;
    width: 550px;
}

.pictures {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
}

.picture {
    height: 300px;
    padding: 0;
    border-radius: 10px;
}

.thumb {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 0 ;
}

.thumbnail {
    height: 48px;
    width: 48px;
}

.thumbnail2 {
    height: 32px;
    width: 32px;
}

.highlight2 {
    background-color: var(--eastbay-200-color);
    border-radius: 10px;
    padding: 10px 40px;
}

.highlight3 {
    background-color: var(--eastbay-100-color);
    border-radius: 10px;
    padding: 10px 40px;
}

.testimonial {
    align-self: stretch;
    align-content: space-between;
    min-height: 200px;
    font-size: 1rem;
    text-align: left;
    font-weight: 300;
    font-style: italic;
    color: var(--eastbay-100-color);
    padding: 20px;
}

.testimonials {
    align-self: stretch;
    align-content: space-between;
    font-size: 1rem;
    text-align: left;
    font-weight: 300;
    font-style: italic;
    color: var(--eastbay-100-color);
    padding: 20px;
}
.testimonials-title {
    font-weight: 400;
    font-style: normal;
    color: var(--ribbon-100-color);
}

.large {
    display: none;
}
.medium {
    display: none;
}
.mobile {
    display: none;
}

.banner {
    width: 1200px;
    height: 100px;
}

/* Carousel */

.carousel-container, .carousel-container2{
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel-items {
    padding: 0;
    border: 0;
}
.carousel, .carousel2 {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    height: 150px;
}

.carousel-bullets {
    text-align: center;
    margin-top: 10px;
}


.bullet, .bullet2 {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: var(--white);
    border-radius: 50%;
    cursor: pointer;
}

.bullet.active, .bullet2.active {
    background-color: var(--eastbay-700-color);
}

/* Bouncing arrow */
.arrow-up, .arrow-down {
    width: 30px;
    height: 30px;
    margin: 20px auto;
    padding: 5px;
    border-radius: 8px;
}
.arrow-up {
    animation: bounceArrowUp 3s infinite;
}

.arrow-down {
    animation: bounceArrowDown 3s infinite;
}

@keyframes bounceArrowUp {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px) 
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes bounceArrowDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px) 
    }
    60% {
        transform: translateY(5px);
    }
}

/* Back to Top Button */

#back-to-top {
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 5px 15px 5px 15px;
    border: 5px;
    border-radius: 8px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

#back-to-top:hover, .arrow-down:hover, .arrow-up:hover  {    
    background-color: var(--eastbay-200-60-color);
}

/*  SVG Files */

.svg-fill {
    fill: var(--eastbay-600-color);
}
.svg-fill0 {
    fill: var(--ribbon-600-color);
}
.svg-fill2 {
    fill: var(--ribbon-600-color);
}
path.svg-fill2:hover {
    fill: var(--eastbay-200-color);
 }
 .svg-fill3 {
    fill: var(--eastbay-100-color);
}
path.svg-fill3:hover {
    fill:  var(--ribbon-600-color);
}
/* Title bar & nav  */

#section-index {
    position: fixed;
    left: 0px;
    top: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    height: 50px;
    width: 100%;
    padding: 10px 20px;
    background: var(--white-85perc);
    font-size: 0.9rem;
    line-height: 1.5;
}

#section-index div.menu-items {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: calc(100% - 40px);
    gap: 20px;
    padding: 10px 0;
}

#section-index a {
    color: var(--eastbay-300-color);
    height: 28px;
    position: relative;
    text-decoration: none;
}

#section-index a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--eastbay-500-color);
    transition: width 0.3s ease, left 0.3s ease;
}

#section-index a:hover {
    color: var(--eastbay-500-color);
}

#section-index a:hover::after {
    width: 100%;
    left: 0;
}

#section-index a.cta::after {
    background: var(--ribbon-600-color);
}

#section-index a.cta {
    background: var(--ribbon-600-color);
    color: var(--ribbon-100-color);
    border-radius: 8px;
    padding: 5px 10px;
}

#section-index a.cta:hover {
    background: var(--ribbon-100-color);
    color: var(--ribbon-600-color);
}

#section-index a.cta.active {
    background: unset;
    color: var(--eastbay-600-color);
}

#section-index a.active {
    color: var(--eastbay-600-color);
    cursor: disabled;
}

#section-index a.logo {
    margin-right: auto;
}

#section-index a.logo:hover::after {
    width: 0;
}

#section-index a.active:hover::after {
    width: 0;
}

/* Horizontal scrollbar */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: var(--eastbay-700-color);
    z-index: 9999;
    transition: width 0.25s ease-out;
}


/* DARK MODE */
@media (prefers-color-scheme: dark) {
    :root {
        --eastbay-100-color: #4D547F; /* 500 -> 100 */
        --eastbay-200-color: #515893; /* 400 -> 200 */
        --eastbay-200-60-color: #51589332;  
        --eastbay-500-color: #B0B6CC; /* 200 -> 500 */
        --eastbay-600-color: #E5E7EE; /* 600 -> 100 */
        --eastbay-700-color: #B0B6CC; /* 200 -> 700 */

        --eastbay-900-color: #1C1F31; /* 900 -> 900 */ 
        
        --ribbon-100-color: #1F1584; /* 100 -> 600 */
        --ribbon-600-color: #A89AF9; /* 600 -> 100 */
        --ribbon-900-color: #FBFAFF; /* 600 -> 100 */
    
        --white: #1C1F31;
        --white-25perc: #1C1F3140;
        --white-50perc: #1C1F317f;
        --white-75perc: #1C1F31BF;
        --white-85perc: #1C1F31D9;

        --gradient: linear-gradient(90deg, var(--eastbay-700-color), var(--eastbay-100-color)); 

    }
    
    /* specific color change */
    .hashtag {
        color: #E5E7EE ;
    }
    .svg-fill0 {
        fill: var(--ribbon-100-color);
    }
    h4, .h4 {
        color: var(--eastbay-600-color);
    }
}



/* **************** */
/* create S / M / L */
/* **************** */

/* LARGE */
@media only screen and not (max-width: 1200px){
    .large {
        display: flex;
    }
    .subcol {
        gap: 40px;
    }
    .col1 {
        padding: 0px;
        margin-left: auto;
    }
    .col2 {
        padding: 5px;
    }
    .details, .biography {
        font-size: 1.1rem;
        font-weight: 300;
        line-height: 1.3;
    }
    .middle {
        width: 530px;
    }
    .carousel-container, .carousel-container2 {
        width: 100%;
        max-width: 495px;
    }
    .carousel-items {
        min-width: 485px;
    }
    .carousel-items:last-child {
        min-width: 495px;
    }
    
}

/* MEDIUM */
@media only screen and (max-width: 1200px) and (min-width: 901px) {
    .medium {
        display: flex;
    }
    html {
        font-size: 18px;
    }
    .subcol {
        gap: 20px;
    }
    .col1 {
        min-width: 355px;
        padding: 0px;
    }
    .col2 {
        min-width: 350px;
        max-width: 495px;
        padding: 5px;
        align-content:center;
        display: flex;
        align-items: center;
    }
    .scroll {
        gap: 20px;
    }
    .hashtag-title {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    .inline {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .middle {
        width: unset;
    }
    .details, .biography {
        font-size: 1.1rem;
        font-weight: 300;
        line-height: 1.3;
    }
    
    .carousel-container, .carousel-container2 {
        width: 100%;
        max-width: 350px;
    }
    .carousel-items {
        min-width: 340px;
    }
    .carousel-items:last-child {
        min-width: 350px;
    }

    .picture {
        max-width: 400px;
        max-height: 250px;
        padding: 0;
    }
    .banner {
        max-width: 100vw;
        height: auto;
    }

}

/* SMALL : Mobile & tablet */
@media only screen and (max-width: 900px) {
    html {
        font-size: 18px;
    }

    .mobile {
        display: flex;
    }

    .alt3 {
        background-color: var(--eastbay-100-color);
    }
    
    .alt4 {
        background-color: unset;
        padding: 20px 0px;
        margin: 0px;
        width: calc(100% - 60px);

    }
    
    .alt5 {
        background: var(--eastbay-200-60-color);
    }

    hgroup {
        padding: 0;
        margin: 0;
    }
    h2 {
        font-size: 1.3rem;
        text-align: left;
        padding-left: 20px;
    }

    h3 {
        font-size: 1.3rem;
    }
    
    h4, .h4 {
        color: var(--ribbon-100-color);
    }
    
    .home {
        min-height: 100vh;
    }

    .main {
        min-height: unset;
    }

    .navigation {
        padding: 0;
    }

    .hashtag-title {
        font-size: 1rem;
        cursor: unset;
    }
    .testimonials {
        padding: 5px;  
    }
    
    .testimonial {
        min-height: unset;  
    }
    .banner {
        max-width: calc(100vw - 20px);
        height: auto;
    }

    .footer {
        padding-bottom: 20px;
    }    
    .details {
        color: var(--eastbay-600-color);
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 300;
        padding: 5px 10px;
    }
    .highlight2 {
        background-color: var(--eastbay-200-color);
        border-radius: 10px;
        padding: 10px 20px;
    }
    
    .highlight3 {
        background-color: var(--eastbay-100-color);
        border-radius: 10px;
        padding: 10px 20px;
    }
    
    .biography {
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 300;
        text-align: left;
        padding: 5px 10px;
    }
    
    .unique-center {
        width: unset;
        max-width: unset;
        overflow-y: unset;
        flex-direction: column;
    }
    .item {
        gap: 10px;
    }
    .scroll {
        gap: 20px;
        padding-top: 40px;
        margin: 10px 20px;
    }
    .col1 {
        min-width: unset;
        padding: 5px 0px;
    }
    .col2 {
        width: unset;
    }
    .center-row {
        padding: 0;
        flex-wrap: wrap;
        gap: 20px;
    }

    .reverse {
        flex-direction: column-reverse;
    }
    
    .centered {
        padding: 20px;
    }
    .rad {
        border-radius: 10px !important;
    }
    .subcol {
        gap: 10px;
    }
    .middle {
        width: unset;
    }
    a.mail {
        color: var(--eastbay-600-color);
    }
    .call-to-action a.call-to-action {
        font-size: 1.2rem;
    }    
    .picture {
        max-width: 350px;
        max-height: 150px;
        padding: 0;
    }

    .carousel-container, .carousel-container2 {
        width: 100%;
        max-width: 350px;
    }
    .carousel-items {
        min-width: 340px;
    }
    .carousel-items:last-child {
        min-width: 350px;
    }

}
