body {
    background-color: #fcacca;
    background-image: url('images/cat.jpg');
    max-width: 1200px;
    margin: auto;
}

html body.resume-page {
    background-image: url('images/creme.jpg') !important;
}

html body.resume-page nav {
    background-color: rgba(97, 73, 52, 0.322) !important;
}

html body.resume-page nav a {
    color: rgb(97, 73, 52) !important;
}

html body.transcript-page {
    background-image: url('images/circle.jpg') !important;
}

html body.portfolio-page {
    background-image: url('images/dots.jpg') !important;
}

html body.newsletter-page {
    background-image: url('images/monkey.jpg') !important;
}

html body.transcript-page nav {
    background-color: rgba(97, 73, 52, 0.322) !important;
}

html body.transcript-page nav a {
    color: rgb(97, 73, 52) !important;
}

html body.contact-page {
    background-image: url('images/bluepinkstripes.jpg') !important;
}

header {
    padding-top: 10%;
    background-image: url('images/banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

nav {
    text-align: center;
    padding: 15px;
    background-color: rgba(209, 155, 185, 0.5);
    font-size: 1.2em;
}

nav a {
    text-decoration: none;
    color: rgba(254, 255, 255, 0.884);
    font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: rgb(214, 85, 133);
    transform: scale(1.1);
}

h1 {
    color: rgb(204, 137, 154);
    text-align: center;
    font-family: "Brush Script MT", cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

h2, h3 {
    color: rgb(89, 119, 165);
    text-align: center;
    font-family: Garamond, serif;
}

p {
    color: rgb(65, 64, 64);
    font-size: 16px;
    font-family: Garamond, serif;
    font-weight: normal;
}

hr {
    width: 85%;
    border: 2px solid rgb(65, 64, 64);
    border-radius: 2px;
}

footer p {
    color: rgb(170, 53, 96);
    text-align: left;
    font-family: Garamond, serif;
}

#wrapper {
    background-color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

body.portfolio-page #wrapper {
    max-width: 1100px;
}

#social p {
    color: rgb(170, 53, 96);
    font-size: 15px;
    background-color: rgba(252, 172, 202, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.highlight {
    color: black;
    font-weight: bold;
}

.center-div {
    font-size: 15px;
    text-align: center;
    margin: 20px 0;
}

.gallery-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-me-title {
    font-size: 30px;
    color: rgb(165, 33, 81);
    font-family: "Brush Script MT", cursive;
}

.back-to-top-img {
    width: 100px;
    height: auto;
    border: 0px;
}

main h1, main h2, main h3 {
    color: rgb(204, 137, 154);
}

address {
    font-style: normal;
    line-height: 1.6;
}

main ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

main li {
    font-size: 16px;
    margin-bottom: 6px;
}

section {
    margin: 20px 0;
}

.gallery-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

figure {
    width: 320px;
    max-width: 100%;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    flex-shrink: 0;
}

figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

figcaption {
    font-family: Garamond, serif;
    font-size: 18px;
    color: rgb(89, 119, 165);
    margin-top: 8px;
    font-weight: bold;
}

.box {
    border: 2px solid rgb(89, 119, 165);
    padding: 20px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 30px 0;
}

blockquote {
    margin: 30px auto;
    padding: 20px 25px;
    max-width: 650px;
    background-color: rgba(255, 255, 255, 0.75);
    border-left: 5px solid rgb(170, 53, 96);
    border-right: 2px solid rgba(89, 119, 165, 0.3);
    border-radius: 0 12px 12px 0;
    font-family: Garamond, serif;
    font-style: italic;
    color: rgb(65, 64, 64);
    box-shadow: 0px 3px 8px rgba(0,0,0,0.08);
}

blockquote p {
    margin: 0;
    font-size: 18px;
    text-align: center;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-family: Garamond, serif;
}

.newsletter-text {
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 18px;
    font-family: Garamond, serif;
    text-align: center;
}

/* Table Styles for Assignment 10 */
table {
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgb(89, 119, 165);
}

th {
    background-color: rgb(89, 119, 165);
    color: white;
    font-family: Garamond, serif;
    font-size: 20px;
    padding: 12px;
    text-align: center;
}

td {
    font-family: Garamond, serif;
    font-size: 16px;
    color: rgb(65, 64, 64);
    border: 1px solid rgba(89, 119, 165, 0.3);
}

.required {
    color: red;
    font-weight: bold;
}