/* global settings */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: inherit;
}

html {
    font-size: 100%;
}

@media only screen and (max-width:470px) {
    html {
        font-size: 87.5%;
    }
}

a {
    text-decoration: none;
}

.container {
    display: flex;
}

img {
    /* max-width: auto;
    height: auto; */
    display: block;
}

main {
    margin-top: 3.625rem;
}

/* header */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: saddlebrown;
    z-index: 100;
    border-bottom: 1px solid antiquewhite;
}

header nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 5%;
}

nav ul li {
    margin: 1rem 0;
}

nav ul li a {
    font-size: 1rem;
    padding: 0.25rem 0.75rem;
    display: block;
    font-weight: bold;
    color: antiquewhite;
    border-radius: 1rem;
}

nav ul li a:hover {
    box-shadow: 0 0 10px #faebd7aa;
}

/* hero section */

#hero {
    background-image: url("hero-background.jpg");
    height: 15rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: saddlebrown;
}

.hero {
    align-items: center;
    justify-content: center;
    height: 15rem;
}

.hero-text {
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    background-color: #faebd7bb;
    padding: 1rem;
    border-radius: 3rem;
    margin: 0 1rem;
}

h1 {
    font-size: 3rem;
}

.hero-text span {
    font-size: 1.5rem;
    padding: 1rem 0;
}

/* quotes section */

.quotes {
    background-color: antiquewhite;
    color: saddlebrown;
}

.quote-box {
    padding: 2rem 5%;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.quote-card {
    /* background-color: aquamarine; */
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    margin: 0 2rem 2rem;
    max-width: 15rem;
    min-width: 12rem;
}

.emoji {
    font-size: 2rem;
}

.quote-card h3 {
    padding: 0.25rem;
}

/* events */

#events {
    background-color: saddlebrown;
    color: antiquewhite;
    padding: 1rem 0 2rem;
}

#events h2 {
    font-size: 2rem;
    padding: 3.5rem 1rem 2.5rem;
}

.event-box {
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.event-card {
    flex-direction: column;
    padding: 1rem;
    background-color: antiquewhite;
    color: saddlebrown;
    margin: 1rem 1rem 2rem;
    width: 20rem;
}

#events .img-container {
    width: 100%;
    height: 20rem;
    overflow: hidden;
}
#events h3 {
    font-size: 1.5rem;
    padding: 1rem 0;
}

/* team */

#team {
    background-color: antiquewhite;
    color: saddlebrown;
    padding: 1rem 0 2rem;
}

#team h2 {
    font-size: 2rem;
    padding: 3.5rem 1rem 2.5rem;
}

.team-box {
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.team-card {
    flex-direction: column;
    background-color: saddlebrown;
    color: antiquewhite;
    padding: 1rem;
    margin: 1rem 1rem 2rem;
    width: 20rem;
}

#team img {
    height: auto;
    width: 100%;
}

#team .img-container {
    height: 25rem;
    width: 100%;
    overflow: hidden;
}

#team h3 {
    font-size: 1.5rem;
    padding-top: 1rem;
}

.position {
    font-style: italic;
}

#team p {
    padding-top: 0.5rem;
}

@media only screen and (max-width:720px) {
    .team-card, .event-card {
        flex-basis: 27rem;
    }
}

/* join us section */

.join {
    background-color: saddlebrown;
    color: antiquewhite;
}

.join .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.join span {
    font-size: 2rem;
    padding: 2rem 0;
}

button {
    font-size: 1.5rem;
    color: saddlebrown;
    margin: 0 0 2rem;
    padding: 1rem;
    border-radius: 2rem;
    border: 2px solid saddlebrown;
    font-weight: bold;
    text-transform: uppercase;
}

button:hover {
    color: antiquewhite;
    background-color: saddlebrown;
    border: 2px solid antiquewhite;
}

button:active {
    transform: scale(0.9);
}

/* footer */

footer {
    justify-content: space-between;
    background-color: antiquewhite;
    color: saddlebrown;
    align-items: center;
    padding: 0 1rem;
}

footer ul {
    display: flex;
}

footer ul li {
    margin: 1rem;
}

@media only screen and (max-width:1040px) {
    footer ul {
        flex-direction: column;
    }
}

@media only screen and (max-width:450px) {
    footer {
        font-size: 0.75rem;
    }

.big {
    display: none;
}

footer ul li {
    margin: 0.5rem;
}

.join span {
    font-size: 1.5rem;
}

button {
    font-size: 1.25rem;
}
}