html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #F2EEE6;
}

h1, p {
    margin-top: 0;
}

/* Navigation bar with dropdown menu */

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%;
    background-color: #F2EEE6;
}

.dropbtn {
    background-color: #F2EEE6;
    color: #08543d;
    padding: 16px;
    font-size: 16px;
    border: none;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F2EEE6;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    font-family: 'Times New Roman', Times, serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: #08543d;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #DDD7CC;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #DDD7CC;
}

/* Home Intro Section */

#maincontent {
    margin: 0;
    height: calc(100vh - 50px);
    background-image: url(Images/landscape_photography_workshops-2.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

#maincontent::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#maincontent h1 {
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 125px;
    color: #F2EEE6;
    margin: 8px 0 4px 0;
}

#maincontent p {
    margin: 20px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #F2EEE6;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Learn More Button */

.hero-button {
    margin-top: 24px;
    padding: 12px 40px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    background-color: #F2EEE6;
    color: #08543d;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    border-width: thin;
    border-style: solid;
    border-color: #08543d;
}

.hero-button:hover {
    background-color: #DDD7CC;
}

/* Cards */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: #F2EEE6;
    border: 1px solid #08543d;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

/* Card image */

.image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card text */

.text {
    padding: 10px 12px 14px 12px;
    font-family: 'Times New Roman', Times, serif;
}

.text h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.description {
    margin: 0 0 6px 0;
    font-size: 13px;
    line-height: 1.4;
}

.tags {
    margin: 0;
    font-size: 12px;
    font-style: italic;
}

.note {
    margin: 4px 0 0 0;
    font-size: 11px;
    font-style: italic;
}

/* Intro/Header Strips */

#intro {
    margin: 0;
    height: 200px;
    padding-top: 30px;
    background-color: #08543d;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Pinyon Script", cursive;
    font-weight: 300;
    font-style: normal;
    font-size: 30px;
    color: #F2EEE6;
}

#foodintro {
    margin: 0;
    height: 200px;
    background-color: #08543d;
    color: #F2EEE6;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#foodintro h1 {
    margin: 0;
    font-family: "Pinyon Script", cursive;
    font-weight: 300;
    font-size: 40px;
}

#riointro {
    margin: 0;
    height: 200px;
    padding-top: 30px;
    background-color: #08543d;
    color: #F2EEE6;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#riointro h1 {
    margin: 0;
    font-family: "Pinyon Script", cursive;
    font-weight: 300;
    font-size: 40px;
}

#portuguesecontent {
    color: #08543d;
    margin: 15px;
}

/* Song Cards */

.music-content {
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    background-color: #F2EEE6;
    color: #08543d;
}

.genre-section {
    margin-bottom: 40px;
}

.genre-section h2 {
    margin-bottom: 12px;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.song-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.song-square {
    width: 140px;
    aspect-ratio: 1 / 1;
    border: 1px solid #08543d;
    background-color: #F2EEE6;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.song-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.song-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(8, 84, 61, 0.9);
    color: #F2EEE6;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    text-align: center;
    padding: 8px;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.song-card:hover .song-hover {
    opacity: 1;
}

.song-title,
.song-artist {
    margin: 6px 0 0 0;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.song-title {
    font-size: 14px;
    font-weight: bold;
}

.song-artist {
    font-size: 12px;
    font-style: italic;
}

/* Lists */

.quick-facts ul {
    background-color: #F2EEE6;
    padding: 20px;
    list-style-type: disc;
}

.quick-facts li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Slideshow Gallery (I was able to do it without JavaScript yay!) */

.gallery h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.gallery input[type="radio"] {
    display: none;
}

.slider-wrapper {
    max-width: 900px;
    margin: 40px auto 60px auto;
}

.slider {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    border: 1px solid #08543d;
}

.slides {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease;
}

.slides img {
    width: 33.3333%;
    height: 400px;
    object-fit: cover;
}

#g1:checked ~ .slider .slides {
    transform: translateX(0);
}
#g2:checked ~ .slider .slides {
    transform: translateX(-33.3333%);
}
#g3:checked ~ .slider .slides {
    transform: translateX(-66.6666%);
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    gap: 10px;
}

.dots label {
    width: 12px;
    height: 12px;
    background: #DDD7CC;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

#g1:checked ~ .dots label:nth-child(1),
#g2:checked ~ .dots label:nth-child(2),
#g3:checked ~ .dots label:nth-child(3) {
    background: #08543d;
    transform: scale(1.2);
}

/* Properties */

#contents {
    background-color: #F2EEE6;
    color: #08543d;
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
}

.content {
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    background-color: #F2EEE6;
    color: #08543d;
}

.pagecontent {
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    color: #08543d;
    font-family: 'Times New Roman', Times, serif;
}

.content h1 {
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: normal;
}

.pagecontent h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.title {
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: normal;
}

.title h3 {
    font-weight: normal;
}

.section {
    margin-bottom: 40px;
}

.section h1 {
    margin-bottom: 40px;
}

.section h2 {
    margin-bottom: 16px;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}