* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: "Noto Sans", sans-serif;
}

.bold {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

section {
    text-align: center;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.4);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

a:active {
    font-size: 1rem;
    animation: 0.1s font-size ease-in-out;
}

/* Header Styles */

header {
    background-color: hsl(63, 70%, 63%);
    color: hsl(101, 57%, 20%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:.25rem solid hsl(101, 57%, 20%);
}

h1 {
    font-family: "Chango", cursive;
    font-size: 2.5rem;
}

a.title:hover {
    text-decoration: none;
}

a.title:active {
    font-size: 2.5rem;
    animation: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li {
    font-size: 1.2rem;
}

@media only screen and (max-width: 1024px) {

    h1 {
        width: 40%;
    }

    nav ul{
        gap: 1rem;
    }

    a:hover {
    text-decoration: none;
    }

    a:active {
    font-size: 1.2rem;
    animation: none;
    text-decoration: underline;
    }
}

@media only screen and (max-width: 707px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    h1 {
        font-size: 2.75rem;
        width: 100%;
    }

    nav {
        width: 90%;
        margin-top: 1.5rem;
    }

    nav ul {
        justify-content: space-between;
    }
}

/* Main Content Styles */

/* About Section */

#about {
    background-image: url(images/background-img.jpg);
    background-size: cover;
    background-position: center;
    padding: 2rem 0;
    width: 100%;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ribbon {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1.65rem;
    color: white;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: "Chango", cursive;
}

p {
    font-size: 1.15rem;
    width: 70%;
    margin: 0 auto;
}

br {
    display: none;
}

@media only screen and (max-width: 1024px) {

    #about {
        height: 30vh;
    }

    h2 {
        font-size: 1.75rem;
        margin: 0 auto 1.5rem auto;
    }

    p {
        font-size: 1rem;
        width: 80%;
    }

    br {
        display: block;
    }
}

@media only screen and (max-width: 707px) {
    #about {
        height: 40vh;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
        width: 90%;
    }

    br {
        display: none;
    }
}

/* Testimonial Section */

#testimonials {
    padding: 2rem 0;
}

.testimonials-container {
    width: 95%;
    display: flex;
    justify-content: space-around;
    align-items: start;
    gap: 2rem;
    margin: 0 auto;
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    flex-grow: 1;
}

.headshot {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
}

#testimonials h2 {
    margin-bottom: 2rem;
}

h3 {
    margin-bottom: 1rem;
}

.testimonial p {
    font-size: 1.15rem;
    text-align: center;
    font-style: italic;
    line-height: 1.3rem;
}

@media only screen and (max-width: 707px) {

    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 80%;
    }
}

/* Events Section */

    #events {
        padding: 2rem 0;
    }

    .events-container {
        width: 95%;
        margin: 0 auto;
    }

    .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    }

    /* Create four equal columns that sits next to each other */
    .column {
    flex: 33%;
    max-width: 33%;
    padding: 0 4px;
    }

    .column img {
    margin-top: 8px;
    vertical-align: middle;
    box-shadow: none;
    height: 250px;
    }

    .column img:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: 500px;
    transition: height 1.2s ease-in-out, scale 1.2s ease-in-out;
    transform: scale(1.1)
    }

@media screen and (max-width: 1024px) {

  .column img:hover {
    box-shadow: none;
    height: 250px;
    transition: none;
    transform: none;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 707px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

/* Footer Styles */

footer {
    text-align: center;
    padding: 2rem;
    background-color: hsl(63, 70%, 63%);
    color: hsl(101, 57%, 20%);
}

footer h2 {
    font-size: 2.75rem;
}

footer h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer p {
    font-size: 1.15rem;
    width: 100%;
}

.copyright {
    width: 90%;
    text-align: left
}

@media only screen and (max-width: 550px) {
    .copyright {
        text-align: center;
        width: 100%;
    }
}