/* Universal Styles */

html {
    font-family: "Exo 2", sans-serif;
    font-size: 16px;
    font-weight: 200;
    width: 100%;
}

h1 {
    color: #FFF;
    font-size: 4rem;
    padding: 14rem;
    padding-bottom: 2rem;
    width: 20%;
    font-family: "Exo 2", sans-serif;
    text-align: center;
}

h2 {
    border-top: 1px solid #947a57;
    border-bottom: 1px solid #947a57;
    color: #FFF;
    font-weight: 555;
    font-size: 31px;
    line-height: 24px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    font-family: "Exo 2", sans-serif;
}

h3{
    color: #FFF;
    font-size: 1.5rem;
    padding-left: 14rem;
    padding-bottom: 14rem;
    width: 40%;
    font-family: "Exo 2", sans-serif;
    text-align: left;
    font-style: oblique;
}
p {
    color: rgba(240, 248, 255, 0.745);
    line-height: 1.3em;
    text-align: left;
    width: 100%;
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    font-weight: 100;
}

body {
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.3)), url('../images/sky.jpeg');  
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding-top: 3rem;
    padding-bottom: 2rem;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

img {
    width: auto;
    border-radius: 10px;
}

li {
    list-style: none;
    display: inline-block;
}

a {
    text-decoration: none !important;
    color: #FFF;
    text-transform: rgb(186, 83, 20);
}

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

/* Footer */
.footer-nav_container {
    position: relative;
    width: 100%;
    height: 2.5rem;
    background-color: #623817;
    padding: 10px 20px;
}

.footer-nav {
    width: 100%;
    z-index: 1;
    background-color: #623817;
}

/* Navigation Bar */
.navbar_container {
    position: fixed;
    width: 100%;
    background-color: #623817;
    padding: 20px 10px;
    top: 0;
    left: 0;
    right: 0;
}

.navbar {
    width: 100%;
    z-index: 10;
    background-color: #623817;
}

.subheadings {
    text-align: center;
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    font-weight: 100;
    text-decoration: none !important;
    border: none;
    padding-right: 15px;
}

.aboutme_navbar {
    margin-right: 2rem;
    padding-right: 1.5rem;
    border-right: 1px solid #FFF;
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    font-weight: 100;
}

.navbar li a {
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    font-weight: 100;
}

.subheadings {
    margin-right: 2rem;
    padding-right: 1.5rem;
    border-right: 1px solid #FFF;
}

/* Header */

#index_header {
    background-image: url('../images/newtown_icecream.jpeg');
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    background-repeat: no-repeat; 
    background-position: right top;
    border-radius: 0;
}

#monster_header{
    /* background-color: #8d9aec; */
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    background-repeat: no-repeat; 
    background-position: right top;
    border-radius: 0;
}

/* About Me */
#aboutme_background {
    background-color: #7a5030;
    margin: 10px;
    min-height: 320px;
    border-radius: 10px;
}

#aboutme {
    display: flex;
    flex-direction: column;
}

.about_me_content {
    display: flex;
    flex-direction: row-reverse; 
    align-items: center; 
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.self_intro {
    display: flex;
    margin: 20px 30px 20px 20px;
    font-weight: 400; 
    font-size: 24px;
    padding: 10px;
}

#portrait {
    margin: 20px; 
    max-height: 300px;
    min-height: 250px;
}

/* Artworks */
.paintings {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 20px;
}

.image_painting {
    flex: 0 1 calc(25% - 20px);
    margin: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.image_painting img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image_painting:hover {
    z-index: 1;
}

.image_painting:hover img {
    transform: scale(1.2);
}

/* Substack */

.substack_container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 100px;
    padding: 10px;
}

.substack_post_links {
    flex: 1;
    background-color: #eee5d6;
    border-radius: 10px;
    padding: 8px 10px;
    color: #623817;
    text-align: center;
}

.substack_link {
    text-align: center;
    font-family: "Exo 2", sans-serif;
    font-size: 24px;
    padding: 1rem 1rem;
    line-height: 1.2; 
    font-weight: 300;
}

.substack_link a {
    color: #623817;
    text-decoration: none;
}

.substack_link a:hover {
    color: #0066cc;
}

/* Projects */
/* Monster Words Demo Specific */
#monster_words_web_index {
    display: flex; /* or flex depending on your layout */
    margin-left: 40px; /* space between heading and image */
    width: 400rem; /* or specific width */
    height: auto; /* or specific height to match heading size */
}

.project_container {
    width: 80%;
    margin: 0 auto;
    display: center;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
}
.project_link {
    text-align: center;
    font-family: "Exo 2", sans-serif;
    font-size: 24px;
    line-height: 1.2; 
    font-weight: 300;
    flex: 1;
    background-color: #eee5d6;
    border-radius: 5px;
    padding: 2.5rem 0rem;
}

.project_link a {
    color: #623817;
    text-decoration: none;
}

.project_link a:hover {
    color: #0066cc;
}

/* Popup */

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.popup-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 70%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
}

/* Connect Links */
.connect-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.connect-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.connect-button:hover {
    background-color: #e0e0e0;
}

.icon {
    font-size: 24px;
}

.monster_header {
    display: flex;
    align-items: center; 
    gap: 1rem; 
}

/* Monster Words Demo Specific */
#monster_words_web_index {
    /* margin-left: 40rem; space between heading and image */
    display: flex; /* or inline-block */
    vertical-align: middle; /* aligns with text baseline */
    margin-bottom: 20rem;
}


