.container {
    padding:  0px 100px 0px 100px; /* Adds padding to left and right */
}

/* FONTS */
/* source-sans-3-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/source-sans-3-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


/* BODY */
body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background-color: #333;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Flexbox alignment only applied to the .container */
.navbar .container {
    display: flex;
    align-items: center; /* Vertically center all items, including the logo */
}

.navbar a {
    color: white;
    text-align: center;
    padding: 25px 50px 25px 0px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.logo {
    height: 30px; /* Adjust the height to fit your design */
}


/* HERO SECTION */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 3.5em;
}

.hero p {
    font-size: 2rem;
    margin: 10px 0;
}

.hero button {
    background-color: #004080;
    color: #fff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s;
    border-radius: 10px;
}
.hero button:hover {
    background-color: #1c538a;
}

/*
.hero {
    height: 95vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    color: #fff;
}

.hero-content {
    border-radius: 10px;
}

.hero button {
    background-color: #004080;
    color: #fff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1.4em;
    transition: background 0.3s;
    border-radius: 10px;
}
.hero button:hover {
    background-color: #1c538a;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero p {
    font-size: 2rem;
} */

/* ABOUT Section */
.about {
    background-color: #fff;
    text-align: center;
}
.about h2 {
    font-size: 2.6em;
    margin-bottom: 0px;
}

.about p {
    font-size: 1.1em;
    padding-bottom: 40px;
}

/* EDITION Section */
.editions {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.edition-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 10px; /* Adds rounded corners */
    display: block; /* Make the entire block clickable */
}

.edition h2 {
    font-size: 2.6em;
}

.edition-item h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
}

.edition-item:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Add subtle shadow on hover */
    background-color: #004080; /* Change background color on hover */
    color: #fff; /* Change text color on hover */
    border-color: #004080;
}

.edition-item:hover h3 {
    color: #fff; /* Ensure text remains visible on hover */
}

.edition-item:hover {
    text-decoration: none; /* Remove underline on hover */
}

/* FOOTER Section */

footer {
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}



/* *************** altra pagina ************************* */ 
/* ARTICLE SECTIONS  */
article {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9; /* Light gray background */
    border-radius: 10px; /* Adds rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow for a card-like appearance */
    border-bottom: 1px solid #ddd; /* Light gray border at the bottom */

}

article:hover {
    background-color: #e6f7ff; /* Light blue on hover */
    transition: background-color 0.3s ease;
}


article h3 {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

article ul {
    margin-bottom: 20px; /* Adds space between the list and the Zoom link */
}

a {
    text-decoration: none;
    color: #007BFF;
}

a:hover {
    text-decoration: underline;
}


/* HERO SECTION */
.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/brownbag.jpg') no-repeat center center/cover;
    height: 35vh;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg-content {
    padding: 20px;
    border-radius: 10px;
}

.hero-bg button {
    background-color: #004080;
    color: #fff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s;
    border-radius: 10px;
}
.hero-bg button:hover {
    background-color: #1c538a;
}

.hero-bg h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-bg p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.hero-bg-btn {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero-bg-btn:hover {
    background-color: #0056b3;
}


/* ZOOM BUTTON  */
.zoom-btn {
    display: inline-block;
    background-color: #004080;
    color: #fff;
    padding: 5px 15px;
    border: none;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.zoom-btn:hover {
    background-color: #1c538a;
    text-decoration: none; /* Ensures no underline on hover */
}

/* INTRO AND PAST BROWN SECTIONS */
.intro, .past-brownbags {
    padding: 20px;
    margin: 20px auto;
    background-color: #fff;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}