:root {
    --accent: #da9f8d;
}

* {
    box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
}

h1, h2, h3, h4, h5 {
    color: var(--accent);
    word-break: break-word;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
}

h1 {
    font-size: 45px;
    margin-bottom: 1.5em;
}
h2 {
    font-size: 40px;
    margin-bottom: 1.5em;
}
h3 {
    font-size: 25px;
}
h4 {
    font-size: 20px;
    font-weight: bold;
}
h5 {
    font-size: 20px;
}

p, a, i, span, li {
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

@media screen and (min-width: 720px) {
    h1 {
        font-size: 85px;
    }
    h2 {
        font-size: 70px;
    }
    h3 {
        font-size: 30px;
    }
    
    p, a, i, span, li {
        font-size: 25px;
    }
}

a {
    color: var(--accent);
    text-decoration: underline;
}

a:hover {
    color: var(--accent);
    transition: 100ms ease-in;
}

em {
    color: var(--accent);
}

code {
    width: 100%;
    display: block;
    overflow: auto;
    text-wrap: nowrap;
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent);
    font-size: 20px;
}

/******************************************************************************/

main {
    text-align: center;

    width: 95%;
    max-width: 1400px;
    margin: auto;
}
main#legal_notice,
main#privacy_policy {
    text-align: left;
}

footer {
    min-height: 100px;
    background-color: #140E0D;
    border-top: 5px solid var(--accent);
    padding: 70px 0 30px 0;
}

#footer_content {
    width: 95%;
    max-width: 1400px;
    margin: auto;
}

footer .name {
    margin-bottom: 10px;
}
footer .firstname {
    font-size: 35px;
}
footer .lastname {
    font-size: 35px;
    font-weight: bold;
    color: var(--accent);
}

footer .job_title {
    font-size: 25px;
}

footer .social {
    margin-top: 30px;
}
footer .social a {
    color: inherit;
    text-decoration: none;
    padding: 0 10px;
}
footer .social a:hover {
    color: var(--accent);
    transition: 100ms ease-in;
}
footer .social i {
    font-size: 40px;
}

footer .copyright {
    font-size: 20px;
}

footer .legal a {
    font-size: 20px;
}

footer #confetti-credits {
    font-size: 20px;
}

footer .footer-center-text {
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer .footer-center-text a {
    font-size: 20px;
}

@media (max-width: 719px) {
    footer {
        text-align: center;
    }
    footer .copyright {
        font-size: 18px;
    }
    footer .legal,
    footer .legal a {
        font-size: 18px;
    }
}

/******************************************************************************/

.highres_only {
    display: block;
}
.lowres_only {
    display: none;
}

@media screen and (max-width: 719px) {
    .highres_only {
        display: none;
    }
    .lowres_only {
        display: block;
    }
}

/******************************************************************************/

#about {
    min-height: 100vh;
    margin-top: min(100px, 10vw);
}

#about_banner {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
}

#about a {
    color: inherit;
    text-decoration: none;
}

#about a:hover {
    color: var(--accent);
    transition: 100ms ease-in;
}

#about_banner i {
    font-size: 100px;
}

#about_portait {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border-bottom: 3px solid var(--accent);

    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

#social_for_mobile {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}
#social_for_mobile i {
    font-size: 75px;
}

#about_text {
    margin-top: -30px;
    padding: 20px 20px;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

@media screen and (max-width: 719px) {
    #about_banner i {
        font-size: 75px;
    }
    #about_portait {
        width: 250px;
        height: 250px;
    }
}

#about_social i {
    font-size: 100px;
}

/******************************************************************************/

#skills {
    min-height: 100vh;
}
.skills_container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
    column-gap: 50px;
}
@media (max-width: 719px) {
    .skills_container {
        grid-template-columns: 1fr;
    }
}

.skills_left, .skills_right {
    display: grid;
    grid-template-columns: max-content auto;
}
.skills_right {
    
}

.skill_logo {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}
.skill_logo img {
    width: 100%;
    height: 100%;
}

.skill_name {
    padding-left: 10px;
}
.skill_name span {
    display: block;
    border-bottom: 2px solid white;
    font-size: 25px;
    text-align: left;
    margin-top: 10px;
}

.expand-skill-set {
    margin-top: 50px;
    font-size: 18px;
}

.additional-skills {
    margin-top: 50px;
    font-size: 18px;
    font-style: italic;
    line-height: 1.75;
}

/******************************************************************************/

#projects {
    min-height: 100vh;
}

.project {
    position: relative;
    display: flex;
    width: 100%;
    text-align: left;
    justify-content: center;
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    padding: 10px 15px;
    margin-bottom: 100px;
}
.project:nth-child(odd) {
    flex-direction: row-reverse;
}

.project_date {
    position: absolute;
    color: var(--accent);
    font-size: 35px;
    background-color: black;
    line-height: 1em;
    top: -0.5em;
    align-self: center;
    padding: 0 20px;
}

.project_image {
    position: relative;
    display: flex;
    align-items: center;
    width: 40%;
}
.project_image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project_image_expanded {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    display: none;
}
.project_image_expanded img {
    max-width: 90%;
    max-height: 90%;
}

.project_description {
    display: block;
    width: 60%;
    margin-left: 30px;
}
.project:nth-child(odd) .project_description {
    margin-left: 0;
    margin-right: 30px;
}

.tech_used {
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent);
    font-size: 20px;
    font-weight: bold;
}

.project_links {
    display: block;
    margin-top: 20px;
}

@media (max-width: 999px) {
    .project,
    .project:nth-child(odd) {
        flex-direction: column;
    }
    .project_image {
        width: 100%;
        height: 70vw;
        margin-top: 20px;
    }
    .project_description,
    .project:nth-child(odd) .project_description {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/******************************************************************************/

button {
    background: inherit;
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 2em;
    border: 2px solid var(--accent);
    margin: 5px;
    cursor: pointer;
}

button:hover {
    background-color: var(--accent);
    color: white;
    transition: 100ms ease-in;
}

/******************************************************************************/

#pick_and_place_github {
    width: 80px;
    height: 80px;
    position: fixed;
    top: 10px;
    left: 0;
    z-index: 10000;
    display: none;
}

#pick_and_place_github i {
    font-size: 80px;
}
