/* Formatting */
* {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight:400;
}
h1 {
    font-weight:800;
}
h2 {
    font-weight:600;
}
nav {
    background-color:#FFD9D9;
    padding-bottom:1%;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 77vh;
    gap: 2rem;
}



/* General Styling */
a {
    text-decoration:none;
    color:black;
    padding:1%;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color:#FFD9D9
}

header .web-title {
    padding-left: 3%;
    padding-top: 1%;
}

header .nav-bar {
    padding-left: 3%;
}

/* Home Page Main Content */
.home-container {
    display: flex;
    flex-direction: row;
    align-items:stretch;
    justify-content: center;
    gap: 2rem;  
    padding:5%;
}

.home-container .image {
    flex: 0 0 400px;
    max-width: 400px;
}

.home-container .image img {
    width: 100%;
    height: auto;
    display: block;
}

.home-container .text-section {
    flex: 1 1 0;
}

#more {
    display: block;
    margin: 1.5rem auto 1rem auto;
    padding: 0.75em 2em;
    font-size: 1.1em;
    border-radius: 8px;
    background-color: #FFD9D9;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Footer */
footer {
    background-color:#FFD9D9;
}

.footer-content {
    display:flex;
    flex-grow:4;
    flex-wrap:nowrap;
    justify-content: space-evenly;
    align-items: center;
}
.footer-content .links nav {
    white-space: nowrap;
}

/* Contact Page */
.email-form, .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}

.contact-info .links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.email-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-bottom: 1rem;
}

.form-group label {
    text-align: center;
    font-size: 1.1em;
    font-weight:500;
    width: 100%;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
}

.submit-btn {
    display: block;
    margin: .5rem auto 1rem auto;
    padding: 0.75em 2em;
    font-size: 1.1em;
    border-radius: 8px;
    background-color: #FFD9D9;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Resume Page */
.resume {
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resume .pdf {
    width: 100%;
    height: 100%;
    border: none;
}