/*
Breakpoints
< 576px: phone, portrait mode
576 - 767px: phone, landscape
768 - 991px: tablets
992 - 1199: PC/laptop monitor
> 1200: extra large monitor


Color Palette
background color: #201e1a
main text color: #888783
highlight color: #877046
bright highlight color: #fdd06b

Fonts from Google
Josephine Sans
Bebas Nueue
*/



/* General Styles-----------------------------------------------------------*/

body {
    background-image: url(../images/keyboard.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

* {
    color: #b3b2ae;
    font-family: 'Times New Roman', Times, serif;
}

.page {
    font-size: 16px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
    background-color: rgb(32, 30, 26, 0.96);
    border: 1px solid #b3b2ae;
    border-radius: 5px;
    padding: 15px;
    max-width: 960px;
    box-shadow: 0px 0px 5px;
}

noscript div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

noscript div h2 {
    font-size: 3rem;
}

h2,
h3 {
    font-family: 'Bebas Neue', sans-serif;
}

h1 {
    color: #fdd06b;
    text-align: right;
    font-size: 5em;
    font-family: 'Josefin Sans', sans-serif;
}

h2 {
    font-size: 2.5em;

}

h3 {
    letter-spacing: 0.2em;
}

blockquote {
    font-size: 2em;
    background-color: rgb(32, 30, 26, 0.96);
}

/* Main Navbar and links----------------------------------------------------- */
a:link {
    text-decoration: none;
    transition: .2s;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    text-shadow: 0px 0px 3px;
    transition: .2s;
}

a:active {
    text-decoration: none;
}


.header-navbar ul {
    padding-left: 0px;
    margin-top: 2px;
    font-size: .90em;
    display: flex;
    max-width: 50%;
    justify-content: space-around;
}

.header-navbar li {
    display: inline;
    list-style: none;
    color: #877046;
}

.header-navbar a {
    color: #877046;
    transition-duration: .75s;
}

.header-navbar a:hover,
a:active {
    opacity: .50;
    letter-spacing: .2em;
    transition-duration: .2s;
    text-shadow: none;
    text-decoration: none;
}

.page>footer {
    margin-top: 25px;
}

input[type="button"],
#contact-form input[type=submit] {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    padding: 10px 25px;
    background-color: #fdd06b;
    color: #201e1a;
    border: none;
    transition: .2s;
}

input[type="button"]:hover,
input[type="button"]:active,
#contact-form input[type=submit]:hover,
#contact-form input[type=submit]:active {
    padding: 10px 25px;
    background-color: #c5a24f;
    transition: .2s;
}

/* Hamburger navbar-----------------------------------------------------------*/

.fa-bars {
    opacity: 0;
    font-size: 1.3rem;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(5px, 5px);
    margin-bottom: 10px;
}

.fa-x {
    font-size: 1.3rem;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(5px, 5px);
    margin-bottom: 10px;
}


/* Landing Page---------------------------------------------------------------*/

#subheading-1,
#subheading-2 {
    text-align: center;
    opacity: 0;
    transition: 2s ease;
}

#down-arrow {
    margin-top: 50px;
    text-align: center;
    font-size: 4rem;
    opacity: 0;
    transition: 2s ease;
}

@keyframes glowing {
    0% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    }

    50% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    100% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    }
}

#down-arrow.glow {
    animation: glowing 2s ease-in-out;
    transition: 2s ease-in-out;
}

.hidden {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 2s ease;
}

.hidden.active {
    opacity: 1;
    transform: translateY(0px);
}

.hidden h2 a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3em;
    letter-spacing: .2em;
}

.text-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40%;
    max-width: 90%;
    color: #fdd06b;
    text-align: left;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;

}


#landing-projects {
    text-align: right;
}

#landing-blog {
    text-align: center;
}

#landing-gallery {
    text-align: left;
}

#landing-about {
    text-align: right;
}

#landing-contact {
    justify-content: center;
}

/* Resume page-------------------------------------------------------------- */

dt,
#resume-skills-container div h3,
#resume-projects-container div h3,
#resume-experience h3 {
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    padding-top: 5px;
    color: #fdd06b;
    margin-bottom: 0px;
}

#resume-experience h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4em;
    margin-top: 0px;
    margin-bottom: 0px;
    letter-spacing: 2px;
}


.resume-experience-div {
    width: 40%;
    max-width: 90%;
}

.resume-headings {
    margin-bottom: 0px;
}

.resume-hr {
    margin-top: 0px;
}

#resume-skills-container,
#resume-projects-container,
.resume-experience-container {
    display: flex;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-evenly;
}


#resume-skills-container div {
    max-width: 90%;
    width: 30%;
}

#resume-projects-container div {
    max-width: 90%;
    width: 20%;
}

.resume-projects-python-logo,
.resume-project-java-logo,
.resume-projects-postgresql-logo {
    position: absolute;
    opacity: 25%;
    width: 50px;
}

/* Projects page------------------------------------------------------------- */

th {
    text-align: center;
    background-color: rgb(32, 32, 32);
    border-bottom: 1px solid #b3b2ae;
}

tr {
    text-align: center;
}

tr.odd {
    background-color: rgb(83, 83, 83);

}

.project-github-link a {
    font-family: 'Josefin Sans', sans-serif;
    color: #877046;
}

#group-project-screenshot {
    width: 200px;
    position: relative;
}

#projects-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-grid-item {
    padding: 15px;
}

.projects-logos {
    width: 150px;
    position: absolute;
    opacity: 15%;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
}

#projects-img-div {
    position: relative;
}

/* Blog page----------------------------------------------------------------- */


img.code-screenshots {
    border-radius: 5px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.blog-example-11-08-23 {
    width: 100px;
    background-color: #fdd06b;
    color: black;
    margin: auto;
    text-align: center;
    padding: 20px;
}

#rotated-div {
    transform: rotate(180deg);
}

#spinning-div {
    transition: 1s;
}

#spinning-div:hover {
    transform: rotate(720deg);
}

#ccw-rotated-div {
    transform: rotate(-25deg);
    margin-bottom: 40px;
}

#blog-post-div-11-18-23 {
    width: 150px;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    text-align: center;
    background-color: #b3b2ae;
    color: #201e1a;
    cursor: pointer;
    max-width: 90%;
}

#accordion-container {

    display: none;
    align-items: center;
    justify-content: center;
    width: 95%;
    margin-left: auto;
    margin-right: auto;

}

.accordion {
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0);
    margin: 0 15px;
    padding: 15px;
    border-radius: 5px;
}

.accordion .accordion-content {
    margin: 10px 0;
    border-radius: 2px;
    overflow: hidden;
}

.accordion-content header {
    display: flex;
    height: 50px;
    padding: 0 15px;
    padding-top: 22px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
}

.accordion-content .description {
    margin: 0px;
    height: 0px;
    padding: 0 15px;
    transition: all 0.2s;
}

.accordion-content.open {
    padding-bottom: 15px;
}

.accordion-content.open header {
    min-height: 35px;
}

/* Gallery page-------------------------------------------------------------- */

#gallery-container {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 95%;
    gap: 10px;
}

.gallery-images {
    height: 300px;
    border-radius: 5px;
    transition: .3s;
    max-width: 100%;
}

.gallery-images:hover {
    transform: scale(2);
    transition: .3s;
}

/* About page-----------------------------------------------------------------*/

#about-main article p {
    line-height: 1.4rem;
}

#about-picture-aside {
    float: right;
    max-width: 90%;
    text-align: center;
}

#about-picture {
    border-radius: 50%;
    max-width: 100%;
}

#schweitzer-quote blockquote>b {
    color: #fdd06b;
}

#joke-section {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

#joke-display {
    padding: 15px;
    color: #fdd06b;
}

/* Contact page-------------------------------------------------------------- */

#contact-aside {
    max-width: 30%;
}

#contact-form {
    display: none;
    max-width: 66%;
}

#contact-form input,
select,
option,
textarea {
    color: rgb(32, 32, 32) !important;
    max-width: 90%;
}


#contact-container {
    flex-direction: row;
    display: flex;
    justify-content: space-around;
}


#contact-container form p {
    margin-bottom: 0px;
}


#contact-aside ul {
    list-style: none;
}

#contact-aside ul li a {
    line-height: 2em;
    margin-bottom: 10px;
    font-size: 2rem;
    font-family: 'Josefin Sans', sans-serif;
}

.fa-brands {
    font-size: 3rem;
    margin-right: 10px;
}

/* Vue Styles----------------------------------------------------------------*/

[v-cloak] {
    display: none;
}


/* media queries ------------------------------------------------------------*/
@media(max-width:992px) {
    h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 2em;
    }
}

@media(max-width:768px) {
    h1 {
        font-size: 3em;
    }

    h2,
    .resume-experience-container div h2 {
        font-size: 1.5em;
    }

    h3,
    dt,
    #resume-skills-container div h3,
    #resume-projects-container div h3,
    #resume-experience h3,
    #resume-experience h4 {
        font-size: 1rem;
    }

    table {
        max-width: 90%;
    }

    #down-arrow {
        font-size: 3rem;

    }

}

@media (max-width:700px) {

    .fa-bars {
        opacity: 1;
    }

    .fa-bars.open {
        opacity: 0;
    }

    .fa-x.open {
        opacity: 1;
    }

    .header-navbar {
        width: 10px;
        padding: 15px;
        position: relative;
        top: 0;
        height: 0;
        border-radius: 3px;
        transition: .2s linear;
    }

    .header-navbar.open {
        height: 125px;
        width: 60px;
        border-radius: 3px;
    }

    .header-navbar ul {
        margin-top: 15px;
        margin-bottom: 15px;
        flex-direction: column;
        justify-content: center;
    }

    li.menu-item {
        display: none;
    }

    li.menu-item.open {
        display: block;
    }

    li.spacer {
        display: none;
    }
}

@media(max-width:576px) {
    h1 {
        font-size: 2em;
    }

    .text-card {
        font-size: .75rem;
    }


    #down-arrow {
        font-size: 2rem;
    }

    th {
        font-size: .75em;
    }

    td {
        font-size: .75em;
    }

    #about-bottom-text {
        clear: both;
    }

    #contact-container {
        flex-direction: column;
    }

    #contact-aside {
        margin-top: 15px;
    }

    #resume-skills-container,
    #resume-projects-container,
    .resume-experience-container {
        flex-direction: column;

    }
}

@media (max-width:500px) {
    #projects-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Media query for print version--------------------------------------------- */

@media print {
    * {
        background: white;
        color: black;
    }

    .main {
        border: 1px solid white;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: black;
    }

    nav,
    footer,
    #about-picture-aside,
    #blog-kermit-gif,
    audio,
    video,
    .resume-projects-python-logo,
    .resume-projects-java-logo,
    .resume-projects-postgresql-logo,
    .projects-logos {
        display: none;
    }

}