/* =========================
   GLOBAL STYLES (ENTIRE PAGE)
   ========================= */

/* Removes default browser spacing */
body {
    margin: 0;
    padding: 0;
}

/* Wrapper controls full page layout */
#wrapper {
    width: 100%;
}

/* =========================
   HEADER STYLING
   ========================= */

header {
    background-color: #A57CC1; /* purple top bar */
    display: flex; /* puts name + nav in a row */
    justify-content: space-between; /* pushes them apart */
    align-items: center; /* vertically centers */
    padding: 20px 40px;
}

/* Your name (top left) */
header h1 {
    color: #000000;
    font-family: 'Battambang', sans-serif;
    font-size: 45px;
    font-weight: bold;
}

/* Navigation container */
nav {
    display: flex;
    gap: 30px; /* space between links */
}

/* Navigation links */
nav a {
    color: #000000;
    font-family: 'Battambang', sans-serif;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none; /* removes underline */
}

/* Hover effect (when mouse is over link) */
nav a:hover {
    text-decoration: underline;
    color: white;
}

/* =========================
   MAIN SECTION BACKGROUND
   ========================= */

main {
    background-color: #D19AB3; /* pink background */
    padding: 60px;
    min-height: 887px;
}

/* =========================
   PAGE TITLE H2 — "Home"
   ========================= */

.page-title h2 {
    color: #FFFFFF;
    font-size: 45px;      /* 45px font size */
    font-family: 'Battambang', sans-serif;
    font-weight: bold;
}

/* =========================
   HERO SECTION
   ========================= */

/* Hero h3 — "Hi, I'm Katie!" and "Welcome to my website!" */
main section.hero h3 {
    color: #FFFFFF;
    font-size: 50px;            /* 50px font size */
    text-align: center;         /* centered */
    text-decoration: underline; /* underlined */
    font-family: 'Battambang', sans-serif;
}

/* =========================
   ABOUT SECTION LAYOUT
   ========================= */

/* This creates the side-by-side layout */
.about-container {
    display: flex; /* puts text + image side by side */
    justify-content: space-between;
    align-items: center;
}

/* LEFT SIDE TEXT */
.about-text {
    width: 50%; /* takes half the space */
}

/* "About Me" title */
.about-text h2 {
    color: #FFFFFF;
    font-family: 'Battambang', sans-serif;
    font-size: 44px;
    font-weight: bold;
}

/* Paragraph styling */
.about-text p {
    color: #FFFFFF;
    font-family: 'Barlow', sans-serif;
    font-size: 64px;
    font-weight: normal;
    line-height: 1.2;
}

/* =========================
   IMAGE STYLING
   ========================= */

.about-image {
    width: 40%;
    text-align: center;
}

.about-image img {
    width: 100%; /* makes image responsive */
    max-width: 400px;
    height: auto;
}

/* =========================
   FOOTER
   ========================= */

footer {
    background-color: #A57CC1;
    padding: 20px;
    text-align: center;
}

footer h4 {
    color: #000000;
    font-family: 'Battambang', sans-serif;
}

#aboutText {
    width: 725px;
    color: #FFFFFF;
    font-family: 'Barlow', sans-serif;
    font-size: 40px;
    font-weight: normal;
    line-height: 1.2;
}

#aboutmephoto {
    position: absolute;
    left: 1040px;
    top: 184px;
}

/* INDEX PHOTO */
.index-photo {
    display: block;
    margin: 0 auto;       /* centers the image */
    margin-top: 150px;
}