.fontdiner-swanky-regular {
  font-family: "Fontdiner Swanky", serif;
  font-weight: 400;
  font-style: normal;
}


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


/* Background of the whole webpage */
body {
    font-family: "Averia Sans Libre", sans-serif;
    
    background-image: url("img/gingham.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
}

.sidebar {
    width: 230px;
    height: 100vh;

    background-image: url("img/basket.png");
    background-size: cover;
    background-position: center;

    padding: 40px 20px;

    position: fixed;
    left: 0;
    top: 0;

    /* NEW: shadow along the right edge */
    box-shadow: 8px 0 18px rgba(0, 0, 0, 0.4);
    z-index: 10;
}
.logo {
    width: 230px;
    display: block;

    margin-left: auto;
    margin-right: auto;

    margin-top: 20px;
    margin-bottom: 50px;
}
/* Fruit Frenzy title */
.sidebar h1 {
    font-family: "Fontdiner Swanky", serif;

    font-size: 40px;

    color: white;

    text-align: center;

    margin-bottom: 60px;
}


/* Navigation */
n/* Navigation box */

.nav-box {
    width: 100%;
    box-sizing: border-box;

    background-color: rgba(0, 0, 0, 0.25);

    padding: 15px 5px;

    border-radius: 15px;
}


/* Navigation */

nav {
    text-align: center;
    margin-top: 0;
}


nav a {
    display: block;

    font-family: "Averia Sans Libre", sans-serif;

    color: white;
    text-decoration: none;

    font-size: 32px;

    margin-bottom: 20px;
}
/* Navigation hover */
nav a:hover {
    color: #FFD54F;
}


/* Area where the fruit picture goes */
.main-content {
    margin-left: 270px;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

/* Fruit picture */
.main-content img {
    width: 80%;
    max-width: 1100px;

    border-radius: 10px;
}

.main-content h2 {
    font-family: "Fontdiner Swanky", serif;

    font-size: 50px;

    color: #ffffff;

    text-align: center;

    margin-bottom: 25px;
}

/* Gallery page */

.gallery-content {
    margin-left: 270px;
    padding: 20px 0;
    text-align: center;
    position: relative;
    left: -110px;
}
.gallery-content h2 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 50px;
    color: white;
    margin-bottom: 50px;
}

/* Fruit pictures */

.gallery-content img {
    width: 400px;
    margin: 50px;
    border-radius: 10px;
}


.fruit-card {
    position: relative;
    display: block;
    width: 400px;
    margin: 80px auto;
}


/* Alternate pictures left and right */

.fruit-card:nth-child(odd) {
    left: -180px;
    transform: rotate(-5deg);
}

.fruit-card:nth-child(even) {
    left: 180px;
    transform: rotate(5deg);
}
.fruit-card img {
    width: 400px;
    border-radius: 10px;
    display: block;
}

.fruit-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    opacity: 0;
    z-index: 2;
    box-sizing: border-box;
}

.fruit-card:hover .fruit-info {
    opacity: 1;
}

/* Page title box */

.title-box {
    background-color: #ba2a33;
    padding: 20px 40px;
    border-radius: 15px;
    text-align: center;
}

.title-box h2 {
    margin-bottom: 10px;
}
/* Navigation box */

.nav-box {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 15px 10px;
    border-radius: 15px;
}

/* ABOUT PAGE */

.about-content {
    margin-left: 300px;
    margin-right: 50px;
    padding: 40px;
    max-width: 950px;
}

.artist {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 25px;
    margin: 30px 0;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.artist h3 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 30px;
    color: #884d29;
    margin-top: 0;
    margin-bottom: 10px;
}

.artist p {
    font-family: "Averia Sans Libre", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    margin: 8px 0;
}

.sources {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 25px;
    margin: 40px 0;
    border-radius: 20px;
}

.sources h2 {
    font-family: "Fontdiner Swanky", serif;
    color: #884d29;
    font-size: 35px;
}

.sources li {
    font-family: "Averia Sans Libre", sans-serif;
    font-size: 17px;
    margin-bottom: 10px;
}
/* Alternate the artist boxes */

.artist:nth-child(odd) {
    margin-left: 0;
    margin-right: 150px;
}

.artist:nth-child(even) {
    margin-left: 150px;
    margin-right: 0;
}

.sources {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 25px;
    margin: 60px 80px 50px 80px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.sources h2 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 35px;
    color: #884d29;
    text-align: center;
    margin-top: 0;
}

.sources li {
    font-family: "Averia Sans Libre", sans-serif;
    font-size: 17px;
    margin-bottom: 12px;
}
.sources a {
    color: #884d29;
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}
/* Exhibit footer */

footer {
    margin-left: 270px;
    width: calc(100% - 270px);
    padding: 30px 20px;
    background-color: rgba(136, 77, 41, 0.9);
    color: white;
    text-align: center;
    box-sizing: border-box;
}

footer h3 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 28px;
    margin-bottom: 15px;
}

footer p {
    font-family: "Averia Sans Libre", sans-serif;
    font-size: 16px;
    margin: 8px;
}
.picture-box {
    position: absolute;
    width: 430px;
    height: 430px;
    background-color: #fff4d6;
    top: 20px;
    left: 20px;
    border-radius: 10px;
    z-index: 0;
}

.fruit-card img {
    position: relative;
    z-index: 1;
    width: 400px;
    border-radius: 10px;
    display: block;
}

.exhibit-description {
    max-width: 700px;
    margin: 40px auto 80px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    text-align: center;
    color: #884d29;
}

.exhibit-description h3 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: #884d29;
}

.exhibit-description p {
    font-family: "Averia Sans Libre", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #884d29;
}
.sidebar-title {
    background-color: rgba(136, 77, 41, 0.75);
    padding: 15px 10px;
    margin: 15px 10px 30px;
    border-radius: 15px;
    text-align: center;
}

.sidebar-title h1 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 42px;
    color: white;
    margin: 0;
    line-height: 1.2;
}
/* Box behind the Fruit Frenzy title */
.sidebar-title {
    background-color: rgba(136, 77, 41, 0.75);
    width: 100%;
    box-sizing: border-box;
    padding: 20px 10px;
    margin: 0 auto 50px;
    border-radius: 15px;
    text-align: center;
}

.sidebar-title h1 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 40px;
    line-height: 1.2;
    color: white;
    margin: 0;
}
/* Box behind the logo */
.logo-box {
    background-color: rgba(255, 244, 214, 0.9);
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin: 0 auto 25px;
    border-radius: 15px;
    text-align: center;
}

/* Make the logo bigger */
.logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Homepage cover image and extra bottom spacing */
.home-picture {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto 140px;
}

.home-picture img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    border-radius: 10px;
}
.artist {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
    padding: 30px;
}

.artist-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.artist-info {
    flex: 1;
    min-width: 0;
}

.artist-info h3 {
    font-family: "Fontdiner Swanky", serif;
    font-size: 30px;
    color: #884d29;
    margin-top: 0;
}

.artist-info p {
    font-family: "Averia Sans Libre", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #884d29;
}