/* Joyce's Part starts */
/* Joyce's Part: Reset margins and make box sizing easier to manage */
* {
    margin: 0;
    box-sizing: border-box;
}

/* Joyce's Part: Header styling - background, center text, font settings */
header {
    margin: auto;
    padding: 3%;
    background-color: #123458;
    text-align: center;
    font-size: calc(2px + 1.5vw);
    font-family: 'Inconsolata', monospace;
    font-weight: 300;
}


/* Joyce's Part: Font styles for general page elements */
header p, body, li, footer {
    font-size: calc(2px + 1.5vw);
    font-family: 'Inconsolata', monospace;
    font-weight: 300;
}
footer{
    font-weight: bold;
}

/* Joyce's Part: Main page wrapper for layout */
#page-wrapper {
    width: 80vw;
    margin: 0 auto;
    background-color: #123458;
}

/* Joyce's Part: Navigation bar design with sticky positioning */
nav {
    margin: auto;
    padding: 3%;
    background-color: #123458;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    color: #123458;
}


/* Joyce's Part: Navigation items styled like rounded buttons */
nav li {
    display: inline;
    border: 10px solid white;
    padding: 0.3vw;
    background-color: white;
    border-radius: 150px;
    color: #123458;
}

/* Joyce's Part: Remove underline from nav links and set color */
nav a {
    text-decoration: none;
    color: #123458 !important;
}

/* Joyce's Part: Main section background and center alignment */
main {
    padding: 2%;
    background-color: #427D9D;
    text-align: center;
}

/* Joyce's Part: Extra spacing for main headings */
main h2, h1, h3 {
    margin: auto;
    padding: 3vw;
}

/* Joyce's Part: Underline only the link inside #sec3 */
#sec3 a {
    text-decoration: underline;
}

/* Joyce's Part: General paragraph styling in main */
main p {
    margin: auto;
    padding: 2%;
    text-align: center;
}

/* Joyce's Part: Footer section layout */
footer {
    margin: auto;
    padding: 2%;
    background-color: #123458;
    text-align: center;
    color: white;
}


footer a{
    color: white;
}

/* Joyce's Part: Title section with background image and centered text */
#title {
    background-image: url("src/met.jpg");
    background-size: cover;
    background-position: center;
    height: 25vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 10%;
    text-align: center;
    font-weight: bold;
}

#title2 {
    background-color: white;
    opacity: 70%;
    padding: 2vw 2vw;
    display: inline-block;
    color: #123458;
}

/* Joyce's Part: Feature boxes with watercolor background and rounded shape */
#sec1, #sec2, #sec3, #sec4, #sec5{
    text-align: center;
    padding: 1.5vw;
    color: white;
    margin: 4.7vw auto;
    border: 0.2vw solid #9cc4ff;
    width: 30vw;
    border-radius: 40vw;
    background-size: cover;
}


/* Joyce's Part: Hover effect - light background and smooth zoom */
#sec1:hover, #sec2:hover, #sec3:hover, #sec4:hover, #sec5:hover{
    background-color: #9cc4ff;
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
    color: #123458;
}


/* Joyce's Part: Make links look like normal text */
main a {
    text-decoration: none;
    color: inherit;
    display: block;
}


#sec3 a{
    color: navy;
}

/* Joyce's Part: Set consistent image width in right column */
#right-col img {
    width: 25vw;
    margin: auto;
}

#right-col h4{
    color: White;
}

/* Joyce's Part: Expandable section container with clean border */
.section {
    text-align: center;
    padding: 1vw;
    color: black;
    margin: 2vw auto;
    border: 0.5vw solid white;
    width: 50vw;
    transition: all 0.3s ease-in-out;
    position: relative;
    background-color: transparent;
}

/* Joyce's Part: Initially hide the extra info inside section */
.hidden-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

/* Joyce's Part: Show the hidden content on hover */
.section:hover .hidden-content {
    opacity: 1;
    max-height: 300px;
    padding: 1vw;
}

/* Joyce's Part: Flexbox layout for left and right side */
#main-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3vw;
    padding: 2vw;
}

/* Joyce's Part: Left column layout */
#left-col {
    flex: 1 1 40vw;
}

/* Joyce's Part: Right column layout */
#right-col {
    flex: 1 1 50vw;
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

/* Joyce's Part: Title in right column with watercolor background */
#right-col h4 {
    margin: auto;
    background-size: cover;
    background-position: center;
    width: 30vw;
    height: 10vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Joyce's Part: Section header with background image */
#bottom-col h4 {
    margin: auto;
    background-size: cover;
    background-position: center;
    width: 20vw;
    padding: 2vw;
    color: white;
}

/* Joyce's Part: Style for famous artwork images */
#bottom-col img {
    margin: auto;
    width: 20vw;
    border: 0.7vw double white;
}

/* Joyce's Part: Border for artwork captions */
#bottom-col .t {
    width: 38vw;
    color: white;
}
#bottom-col .d{
    font-weight:100;
    width: 60vw;
    padding: 2vw;
    margin-bottom: 3.5vw;
    background-color: white;
    color: #123458;
    line-height: 120%;
    border-radius: 2vw;
}

/* Joyce's Part: Search button styling */
button {
    width: 10vw;
    color: white;
    background-color: #9AA6B2;
    margin: 2vw;
    border-radius: 1vw;
    font-size: calc(2px + 1vw);
    font-family: 'Inconsolata', monospace;
    border: none;
    font-weight: 300;
}

/* Joyce's Part: Nearby Places section with background image */
#places {
    padding: 2vw;
    text-align: center;
    border: white dotted 0.9vw;
    border-radius: 3vw;
    height: 16vw;
    width: 30vw;
    margin: 8vw 22vw;
    color: white;
}
a:visited {
    color: white;
}
/* Joyce's Part: Underline the "Nearby Funs!" title */
#places h4 {
    text-decoration: underline;
    color: white;
}
@media screen and (max-width: 720px) {
    #page-wrapper {
        width: 100%;
    }
    #place{
        width:35%;
        height: auto;
        margin: 5vw auto;
        padding: 5vw;
    }
}
/* Joyce's Part ends */



