/* global styles */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

:root {
    --base-color: #FFFCF2;
    --text-color: #353535;
    --primary-color: #03178C;
    --variant-color: #e2fdff;
}

.darkmode {
    --base-color: #353535;
    --text-color: #FFFCF2;
    --primary-color: #e2fdff;
    --variant-color: #03178C;
}

body {
    background-color: var(--base-color);
    color: var(--text-color);
    margin: 45px 72px;
    max-width: 1920px;
}

section {
    margin: 0px 0px 45px 0px;
    border-bottom: solid var(--text-color) 2px;
}

#theme-switch {
    background-color: var(--variant-color);
    max-width: 50px;
    max-height: 50px;
    margin: 0;
    padding: 5px;
    border-radius: 50%;
    border: var(--text-color) solid 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* light dark toggle styles */

#theme-switch svg:last-child {
    display: none;
}

.darkmode #theme-switch svg:first-child {
    display: none;
}

.darkmode #theme-switch svg:last-child {
    display: block;
}

#logo img:last-child {
    display: none;
}

.darkmode #logo img:first-child {
    display: none;
}

.darkmode #logo img:last-child {
    display: block;
}

/* toggle styles end */

/* quote styles */
#quote {
    margin: 16px 0px;
    padding: 14px 16px;
    border: solid 2px var(--text-color);
    background-color: var(--base-color);
    color: var(--text-color);
    text-align: center;
    max-width: 400px;
    max-height: 25px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.quote-position {
    position: absolute;
    z-index: 2;
    width: 25%;
    left: 645px;
    top: 87px;
}

hr {
    margin: 25px 0px;
    border: solid 1px var(--text-color);
}

/* quote styles end */

/*last modified start*/
#lastMod {
    font-size: 1.333rem;
    color: var(--text-color);
}

/*last modified end*/

/* progress bar start */
.progress-indicator {
    position: fixed;
    padding: 15px 72px;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 15px;
    color: var(--base-color);
    background-color: var(--base-color);
    overflow: hidden;
}

.progress-bar {
    height: 15px;
    background-color: var(--primary-color);
    width: 0%;
}

/* progress bar end */
.nav-bar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

.nav-bar img {
    position: absolute;
    max-width: 35%;
    max-height: auto;
    left: 72px;
    margin-top: 45px;
    top: 0;
}

.nav-bar a img {
    max-width: 350px;
}

.nav-bar,
ul {
    display: flex;
    flex-flow: row nowrap;
    justify-items: flex-end;
    list-style: none;
    margin-right: 25px;
}

.nav-bar li a {
    color: var(--text-color);
    text-decoration: none;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    padding: 0px 15px;
}

.nav-bar li a:hover {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.h1 {
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 5.61rem;
    line-height: 1.5rem;
    margin: 0px 0px 20px 0px;
    text-decoration: none;
}

.h1:hover {
    cursor: pointer;
}

/*circle marker start*/
#marker {
    position: relative;
    margin: 0px;
    text-decoration: none;
    line-height: 1em;

    & svg {
        position: absolute;
        left: 0;
        top: -50%;
        right: 0;
    }

    & path {
        transition: stroke-dashoffset 500ms ease-in-out;
        stroke-width: 3.75px;
        stroke: var(--primary-color);
        fill: none;
        stroke-linecap: round;
    }

    &:hover path {
        stroke-dashoffset: 0;
    }

    &:active path {
        display: none;
    }
}

/* circle marker end */

.h1:visited {
    color: var(--primary-color);
}

h2 {
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 3.052rem;
    margin: 0px 0px 20px 0px;
}

h3 {
    font-family: "Source Serif 4", serif;
    font-size: 2.441rem;
    line-height: 2.441rem;
    font-weight: 500;
    margin: 0px 0px 20px 0px;
}

h4 {
    font-family: "Source Serif 4", serif;
    font-weight: 400;
    font-size: 1.953rem;
    margin: 20px;

}

p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.333rem;
    font-weight: 400;
    line-height: 1.75rem;
    margin: 0px 0px 20px 0px;
}

a {
    color: var(--primary-color);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

a:visited {
    color: var(--text-color);
}

button {
    background-color: var(--text-color);
    color: var(--base-color);
    padding: 10px 45px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.333rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
}

button:hover {
    background-color: var(--primary-color);
}

button:visited {
    background-color: var(--primary-color);
    opacity: 75%;
}

.primary-button {
    background-color: var(--text-color);
    color: var(--base-color);
    padding: 10px 45px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.333rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    text-decoration: none;
}

.primary-button:hover {
    background-color: var(--variant-color);
    color: var(--base-color);
    text-decoration: none;
}

.primary-button:visited {
    background-color: var(--primary-color);
    color: var(--base-color);
    opacity: 75%;
    text-decoration: none;
}

.callout {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.953rem;
    font-weight: 500;
    line-height: 35px;
}

.footer {
    margin-top: 25px;
    padding: 30px 0px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
}

.footer a:hover {
    font-weight: 600;
    text-decoration: underline;
}

.footer li a {
    text-decoration: none;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: 1.333rem;
    padding: 0px 25px;
}

.caption {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.333rem;
    font-weight: 400;
}

/* homepage css */
.hero {
    padding-top: 75px;
    min-height: 300px;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    gap: 35px;
}

.hero .callout {
    max-width: 600px;
}


.flexL img {
    max-width: 50%;
    max-height: auto;
}

.flexL {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 100px;
    padding-bottom: 45px;
}

.flexL .text-content {
    max-width: 632px;
}

.text-content p {
    max-width: 521px;
    gap: 25px;
}

.flexR {
    display: flex;
    flex-flow: row-reverse nowrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 150px;
    padding-bottom: 45px;
}

.flexR .text-content {
    max-width: 500px;
}

.flexR img {
    max-width: 50%;
    max-height: auto;
}

/* projects */

.project-intro {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 30px;
    padding-bottom: 25px;
    margin-top: 45px;
}

.project-intro .text-content {
    display: flex;
    flex-flow: column nowrap;
}

.tags {
    color: var(--primary-color);
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    list-style: none;
    padding: 0px;
    gap: 10px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.333rem;
    font-weight: 500;
    max-width: 850px;
}

.tags li {
    margin: 0px 5px 0px 0px;
}

.project-intro img {
    max-width: 50%;
    height: 50%;
}

.beginning {
    display: flex;
    flex-flow: row nowrap;
    gap: 45px;
    padding: 35px 0px;
}

.beginning img {
    max-width: 50%;
    height: auto;
}

.XLimages img {
    max-width: 100%;
    height: auto;
    margin: 25px 0px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
}

.XLimages ul {
    padding: 0px;
    list-style-type: none;
}

.XLimages li {
    max-width: 500px;
    margin: 0px 5px;
}

.middle {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 25px;
    justify-content: flex-start;
    gap: 32px;
    padding-bottom: 45px;
}

.middle img {
    max-width: 100%;
    max-height: auto;
}

.middle .text-content {
    min-width: 630px;
}

.wireframe-images {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 15px;
    max-width: 20%;
    height: auto;
}

.highlights {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 45px;
}

.highlights .text-content {
    max-width: 652px;
    padding-top: 0px;
    margin-top: 0px;
}

.tarot-images {
    max-width: 652px;
}

.highlights img {
    max-width: 100%;
    height: auto;
}

.tarot-images ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;

}

.tarot-images li {
    display: flex;
    flex-flow: row wrap;
    padding: 10px;
    max-width: 600px;

}

blockquote {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.953rem;
    line-height: 2.5rem;
    font-weight: 500;
    padding-left: 15px;
    margin: 0px 0px 15px 0px;
}

.attribute {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.333rem;
    font-weight: 400;
    line-height: 1.5rem;
}

.end img {
    max-width: 75%;
    max-height: auto;
    margin-top: 15px;
}

.end {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 45px;
}

.end p {
    max-width: 630px;
}

.mockup-images {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 15px;
    max-width: 25%;
    height: auto;
}

.next-project a {
    color: var(--base-color);
    font-family: "Source Serif 4", serif;
    font-weight: 400;
    font-size: 2.441rem;
    text-decoration: none;
    padding: 15px 45px;
}

.next-project {
    display: flex;
    align-items: center;
    min-height: 190px;
    min-width: 1296px;
    margin: 35px 0px;
    background-color: var(--text-color);
    background-image: url('images/beacon-multi-screen.jpg');
    background-size: 25%;
    background-repeat: no-repeat;
    transition-timing-function: ease-in;
    background-position-x: right;
}

.next-project:hover {
    background-color: var(--primary-color);
}

.prev-project {
    display: flex;
    align-items: center;
    min-height: 190px;
    min-width: 1296px;
    margin: 35px 0px;
    background-color: var(--text-color);
    background-image: url('images/CC_bonfire_headerimage_v2.png');
    background-size: 40%;
    background-repeat: no-repeat;
    transition-timing-function: ease-in;
    background-position-x: right;
}

.prev-project a {
    font-family: "Source Serif 4", serif;
    font-weight: 400;
    font-size: 2.441rem;
    text-decoration: none;
    color: var(--base-color);
    padding: 15px 45px;
}

.prev-project:hover {
    background-color: var(--primary-color);
}

/* bio + contact  */
.bio {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 72px;
    padding: 25px 0px;
}

.bio img {
    max-width: 42%;
    height: 42%;
}

.bio .text-contents {
    max-width: 650px;
}

.bio ul {
    display: flex;
    flex-flow: column wrap;
    align-items: flex-start;
    margin: 0px;
    padding: 0px 120px 0px 0px;
    list-style-type: none;
}

.bio li a {
    margin: 0px;
    color: var(--primary-color);
    padding: 0px;
    font-size: 1.333rem;
    line-height: 2.75rem;
}
/* form styles start */
form {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.953rem;
    font-weight: 400;
    line-height: 2rem;
    color: var(--text-color);
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    min-width: 450px;
    margin-top: 35px;
}

input,
textarea {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.593rem;
    font-weight: 400;
    border: none;
    background-color: var(--base-color);
    color: var(--text-color);
    max-width: 500px;
    margin: 20px 0px;
}

.form-input {
    border-bottom: 2px solid var(--text-color);
}

select {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.593rem;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--base-color);
    padding: 14px 0px;
    border: none;
    max-width: 500px;
    margin: 20px 0px;
    cursor: pointer;
}

#submit {
    background-color: var(--text-color);
    color: var(--base-color);
    padding: 10px 45px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    border: none;
    border-radius: 12px;
}

#submit:hover {
    background-color: var(--primary-color);
    font-weight: 600;
}

#submit:visited {
    background-color: var(--primary-color);
    opacity: 75%;
}

/* form styles end */