@import url('https://fonts.googleapis.com/css?family=Monoton|Montserrat|Righteous|Bowlby+One+SC&display=swap');
@import url('https://fonts.googleapis.com/css?family=Major+Mono+Display|Nova+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap');

/* general */
* {
    font-family: 'Montserrat', sans-serif;
    text-transform: lowercase;
    box-sizing: border-box;
}

body, html {
    min-height: 100%;
    margin: 0;
}

body {
    transition: all 0.3s ease 0s;
}

section {
    padding: 3rem 5rem;
}

section#projects-content, section#experience-content {
    padding: 3rem 1.5rem;
}

h1 {
    font-size: 2.5rem;
}

h3 {
    font-weight: bold;
}

h4 {
    font-weight: normal;
}

h1,h2,h3,h3 em,h4,h5,h6 {
    font-family: 'Josefin Sans', sans-serif;
}

iframe {
    width: 45%;
}

.hidden {
    display: none;
}

.link {
    font-weight: bold;
}

.loading-icon {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/loading.gif) center no-repeat, mediumslateblue;
}

/* header */
header {
    padding: 1rem 5rem;
    margin: 1.5rem;
    margin-bottom: 0;
    border-radius: 1.5rem;
    transition: all 0.3s ease 0s;
}

nav {
    text-transform: uppercase;
    text-align: right;
    font-size: 1.5em;
    padding: 1rem;
    z-index: 1010;
}

nav a strong {
    text-transform: uppercase;
}

/* .color-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.dropdown-item {
    width: auto;
}

.dropdown-menu {
    max-width: 15rem;
} */

.page-nav ul {
    margin-left: auto;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
}

.page-nav ul li {
    display: inline;
    font-size: 1.5rem;
    padding-left: 1rem;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
}

.page-nav ul li.active {
    text-decoration: underline;
}

.page-nav ul li:hover {
    cursor: pointer;
}

.name {
    font-size:5rem;
    font-family: 'Major Mono Display', monospace;
    font-display: block;
    text-transform: none;
    cursor: pointer;
    margin-bottom: 0;
}

.pronouns {
    padding-left: 0.3rem;
    font-size: 1.25rem;
    font-weight: bold;
    
}

.pronouns a {
    font-family: 'Josefin Sans', sans-serif;
    text-decoration: underline;
}

.bio {
    padding: 1rem 0.3rem;
    width: 60%;
}

p#headline {
    font-size: 1.25em;
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    font-family: 'Josefin Sans', sans-serif;
}

/* footer */
footer {
    /* margin-top: auto; */
    padding: 1rem 5rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
}

footer p {
    margin-bottom: 0;
    font-weight: bold;
}

/* welcome */
#description {
    font-weight: bold;
    margin-top: 1rem;
    width: 90%;
}

/* blog */

.blog-snippet {
    margin-bottom: 1rem;
}

.blog-snippet p {
    margin-bottom: 0;
}

.blog-link {
    cursor: pointer;
    text-decoration: underline !important;
    font-weight: bold;
}

/* lists */
.projects-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.project, .job {
    display: flex;
    margin-bottom: 2rem;
}

.card {
    border-radius: 0;
    border: none;
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease 0s;
    margin-bottom: 2rem;
}

.card:hover {
    transform: scale(1.05);
    transition: all 0.3s ease 0s;
    cursor: pointer;
}

.card-img-top {
    /* height: 10rem; */
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    object-fit: cover;
    border-radius: 0;
    border: none;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: .5rem;
}

.card-title {
    vertical-align: baseline;
}

.project-card, .job-card {
    margin-right: .1rem;
    margin-left: .1rem;
    box-sizing: content-box;
    flex-basis: 27.5%;
}

.project-title, .job-title {
    font-weight: bold;
    text-align: left;
    width: 100%;
    font-size: 2rem;
    /* padding-top: 5%; */
    text-transform: lowercase;
    font-family: 'Josefin Sans', sans-serif;   
    margin-bottom: 0;
    margin-top: 0;
}

.job-subtitle {
    text-align: left;
    width: 100%;
    font-size: 1rem;
    /* text-align: center;
    font-weight: bold;
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background-color: ghostwhite; */
}

.card-dates {
    text-align: right;
    margin-left: auto;
    float: right;
    background-color: ghostwhite;
    padding: .5rem 1rem;
    border-radius: 1rem;
    /* width: 100%;              */
    font-size: 1rem;
    /* font-style: italic; */
    /* font-weight: bold; */
    color: #3f23e6;
}

.project-description, .job-description {
    text-align: left;
    font-size: 1em;
    line-height: 2em;
    text-transform: lowercase;
    flex-basis: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-link, .job-link {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
}

.right-align {
    text-align: right;
}

.job-dates {
    font-weight: bold;
    font-style: italic;
}

/* modals */

#projects-content .modal-body {
    max-height: 80%;
}

#experience-content .modal-body {
    max-height: 72%;
}

.modal-dialog-scrollable {
    overflow-y: initial !important
}

.modal-dialog-scrollable .modal-body{
    /* height: 80vh; */
    overflow-y: auto;
}

.modal-content {
    flex-direction: row;
    border-radius: 1.5rem;
    border: none;
}

.modal-card {
    flex-basis: 30%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

/* .modal-card-img {
    margin-top: auto;
    margin-bottom: auto;
    object-fit: cover;
    border-radius: 0;
    border: none;
} */

.modal-wrapper {
    flex-basis: 70%;
    padding-right: 1rem;
}

.modal-header {
    /* border-bottom: none; */
    /* padding-bottom: 0; */
}

.modal-body p:last-of-type {
    margin-bottom: 0;
}

.btn {
    font-family: 'Josefin Sans', sans-serif;
}

.btn-project {
    font-weight: bold;
    text-decoration: none;
}

/* .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
} */

/* contact form styles */
#contact-form {
    font-size: 1.25rem;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    max-width: 90%;
}

#contact-content label {
    font-weight: 400;
    cursor: pointer;
}

#contact-content textarea,
#contact-content input {
    border: none;
    outline: none;
    border-radius: 0;
    background: none;
    font-weight: 700;
    max-width: 90%;
    padding: 1rem;
    box-sizing: border-box;
    cursor: text;
}

#contact-content .inputLight,
#contact-content .textareaLight {
    border: 2px dashed rgba(0, 0, 0, 0);
}

#contact-content .inputDark,
#contact-content .textareaDark {
    border: 2px dashed rgba(255, 255, 255, 0);
}

#contact-content textarea {
    text-align: left;
    resize: none;
    width: 100%;
}

#contact-content .textareaLight {
    border-color: rgba(0, 0, 0, 0);
}

#contact-content .textareaDark {
    border-color: rgba(255, 255, 255, 0);
}

#contact-content .textareaLight:focus {
    background-color: rgba(255, 255, 255, .1);
    border: 2px dashed black;
}

#contact-content .textareaDark:focus {
    background-color: rgba(255, 255, 255, .5);
    border: 2px dashed ghostwhite;
}

#contact-content .textareaDark:focus:required:valid {
    border: 2px solid rgba(255, 255, 255, 0);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#contact-content .textareaLight:focus:required:valid {
    border: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#contact-content .textareaDark:required:valid {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#contact-content .textareaLight:required:valid {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#contact-content .inputLight {
    border-bottom: 2px dashed rgba(0, 0, 0, 0.5);
}

#contact-content .inputDark {
    border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
}

#contact-content .inputLight:required,
#contact-content .textareaLight:required {
    border-bottom: 2px dashed rgba(0, 0, 0, 0.5);
}

#contact-content .inputDark:required,
#contact-content .textareaDark:required {
    border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
}

#contact-content .inputLight:focus,
#contact-content .inputLight:active {
    border: 2px dashed black;
    background-color: rgba(255, 255, 255, 0.2);
}

#contact-content .inputDark:focus,
#contact-content .inputDark:active {
    border: 2px dashed ghostwhite;
    background-color: rgba(0, 0, 0, 0.2);
}

#contact-content .inputLight:required:valid {
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

#contact-content .inputDark:required:valid {
    border-bottom: 2px solid rgba(255, 255, 255, 1);
}

#contact-content .inputLight:required:invalid {
    color: rgba(0, 0, 0, 0.5);
}

#contact-content .inputDark:required:invalid {
    color: rgba(255, 255, 255, 0.5);
}

#contact-content .inputLight:required:valid {
    color: rgba(0, 0, 0, 1);
}

#contact-content .inputDark:required:valid {
    color: rgba(255, 255, 255, 1);
}

::-webkit-input-placeholder {
    text-align: center;
    font-style: italic;
    font-weight: 400;
}

.inputLight ::-webkit-input-placeholder,
.textareaLight ::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.inputDark ::-webkit-input-placeholder,
.textareaDark ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

:-moz-placeholder {
    /* Firefox 18- */
    text-align: center;
    font-style: italic;
    font-weight: 400;
}

.inputLight :-moz-placeholder,
.textareaLight :-moz-placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.inputDark :-moz-placeholder,
.textareaDark :-moz-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

::-moz-placeholder {
    /* Firefox 19+ */
    text-align: center;
    font-style: italic;
    font-weight: 400;
}

.inputLight ::-moz-placeholder,
.textareaLight ::-moz-placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.inputDark ::-moz-placeholder,
.textareaDark ::-moz-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

:-ms-input-placeholder {
    text-align: center;
    font-style: italic;
    font-weight: 400;
}

.inputLight :-ms-input-placeholder,
.textareaLight :-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.inputDark :-ms-input-placeholder,
.textareaDark :-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#contact-content .expanding {
    vertical-align: top;
    border-radius: 0;
}

#contact-content button {
    background: none;
    border: none;
    outline: none;
    margin: 2vmax;
}

#contact-content button:hover * {
    cursor: pointer;
}

#contact-content small {
    display: block;
    font-size: 20px;
}

/* Small screen styling */
@media only screen and (max-width: 768px) {
    header {
        padding: 1rem 0rem;
        text-align: center;
        margin: 0;
        border-radius: 0;
    }

    .bio {
        width: 100%;
    }

    .name {
        font-size: 4rem;
    }

    nav {
        text-align: center;
    }

    .page-nav ul {
        display: inherit;
    }

    .page-nav ul li {
        font-size: 1rem;
        text-decoration: underline;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    section {
        padding: 3rem 2rem;
    }

    section#welcome-content, section#projects-content, section#experience-content {
        padding-bottom: 0;
    }

    .project, .job {
        flex-direction: column;
    }

    .project.flipped, .job.flipped {
        flex-direction: column-reverse;
    }

    .right-align {
        text-align: left;
    }

    .project-card, .job-card {
        width: 100%;
        /* margin: 0; */
        flex-basis: auto;
    }

    .card-img-top {
        /* display: none; */
    }

    iframe {
        width: 100%;
    }

    #contact-content, #contact-form {
        text-align: center;
    }
}

@media only screen and (max-width:576px) {
    .modal-dialog {

    }

    .modal-dialog-scrollable .modal-content {
        height: 100%;
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-card-img {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }

    #projects-content .modal-body {
        max-height: 100%;
    }
    
    #experience-content .modal-body {
        max-height: 100%;
    }
    
    .modal-dialog-scrollable .modal-body{
        /* height: 80vh; */
        overflow-y: initial;
    }
}

/* colors */
.mediumslateblue {
    color: mediumslateblue !important;
}

.ghostwhite {
    color: ghostwhite !important;
}

.strawberry {
    color: #ec8094 !important;
}

.dark {
    color: #121212 !important;
}

.maroon {
    color: #8b0023 !important;
}

.sophieblue {
    color: #00e1c6 !important;
}

.mediumslateblue:hover {
    color: mediumslateblue !important;
}

.ghostwhite:hover {
    color: ghostwhite !important;
}

.strawberry:hover {
    color: #ec8094 !important;
}

.dark:hover {
    color: #121212 !important;
}

.maroon:hover {
    color: #8b0023 !important;
}

.sophieblue:hover {
    color: #00e1c6 !important;
}

.mediumslateblueBackground {
    background-color: mediumslateblue !important;
}

.textPurple, .textPurple:hover {
    color: #3f23e6 !important;
    fill:  #3f23e6;
}

.blackBackground, .blackButton, .blackButton:hover {
    background-color: black;
}

.textBlack, .textBlack:hover  {
    color: black !important;
    fill: black;
}

.textBlack nav a, header.textBlack a, a.dropdown-item.textBlack, footer.textBlack a {
    color: black !important;
}

.darkBackground {
    background: #121212;
}

.textDark {
    color: #121212 !important;
}

.ghostwhiteBackground, .ghostwhiteButton, .ghostwhiteButton:hover {
    background-color: white;
}

.textWhite, .textWhite:hover {
    color: ghostwhite !important;
    fill: ghostwhite;
}

.textWhite nav a, header.textWhite a, footer.textWhite a {
    color: ghostwhite !important;
}

.strawberryBackground {
    background-color: #ec8094;
}

.textDarkStrawberry, .textDarkStrawberry:hover {
    color: #b75166 !important;
    fill: #b75166;
}

.maroonBackground {
    background-color: #8b0023;
}

.textMaroonAccent, .textMaroonAccent:hover {
    color: #570000 !important;
    fill: #570000;
}

.sophieblueBackground {
    background-color: #00e1c6;
}

.textSophieblueAccent, .textSophieblueAccent:hover {
    color: #009583 !important;
    fill:  #009583;
}

.btnPurple {
    color: ghostwhite !important;
    background-color: #3f23e6;
}

.btnBlack {
    color: ghostwhite !important;
    background-color: black;
}

.btnStrawberry {
    color: ghostwhite !important;
    background-color: #b75166;
}

.btnGhostwhite {
    color: #121212 !important;
    background-color: ghostwhite;
}

.btnMaroon {
    color: ghostwhite !important;
    background-color: #570000;
}

.btnSophieblue {
    color: ghostwhite !important;
    background-color: #009583;
}