@import url('https://fonts.googleapis.com/css2?family=Lora&family=Montserrat&display=swap');

/* globals */

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: 'Lora', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #3a3a3a;
    background-color: #E2DCD8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* sections */

section {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    margin: 2rem 0;
}

section > p {
    padding: 0 .5rem;
}

.reverse-section {
    background-color: #344E55;
    color: #E2DCD8;
    margin: 0;
    padding-top: 2rem;
}

.reverse-section h1, h2, h3 {
    color:#ECC422;
}

/* headings */

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #344E55;
}

/* header */

header {
    background-color: #344E55;
    font-family: 'Montserrat';
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#menu {
    letter-spacing: 4px;
    line-height: normal;
    display: flex;
    flex-direction: column;
    margin: 0 0 2rem;
    gap: 1rem;
    text-align: center;  
}

#menu li {
    list-style-type: none;
}

#menu a {
    text-decoration: none;
    color: #ECC422;
    text-transform: uppercase;
    font-size: 1.2rem;
}

#menu a:hover {
    border-bottom: 3px solid #894E37;
    font-size: 1.5rem;
}

.active {
    border-bottom: 3px solid #894E37;
}

/* footer */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    padding-bottom: 1rem;
    text-align: center;
}

footer p {
    font-size: 1rem;
    padding: 0 .5rem;
}

footer a {
    text-decoration: none;
    letter-spacing: 10px;
}

footer i {
    color:#E2DCD8;
}


/* Home Page style */

/* Section Landing-Page */

#landing-page {
    margin-top: 0;
}

#landing-background {
    height: 600px;
    width: 100%;
    background: url('../images/landing-background.jpg') no-repeat center bottom;
    background-size: cover;
    opacity: 0.5;
}

#container-landing-text {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

#landing-text {
    width: 50%;
    padding: 1rem;
    background-color: #344e55;
    position: absolute;
}

#landing-text h2, h3 {
    color: #ECC422;
}

#landing-text p {
    color: #E2DCD8;
    padding-top: 1rem;
}

/* Section About */

#about-us {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

#container-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 90%;
    margin-top: 2rem;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 200px;
    width: 200px;
    border-radius: 10%;
    text-align: center;
    background-color: #344E55;
}

.steps > p {
    color: #E2DCD8;
    padding: 0 0.2rem;
}

.steps > i {
    color:#ECC422;
}

.steps a {
    color:#ECC422;
    text-decoration: none;
}

.steps a:hover {
    border-bottom: 5px solid #894E37;
}

/* meetings section */

#meetings {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

#meetings-pictures {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.meeting-img-frame {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    border: 5px solid #ECC422;
}

.meeting-img {
    border-radius: 5px;
    height: 100%;
}

#meeting-img-left {
    background: url('../images/meetings-left.jpg') no-repeat center center;
    background-size: cover;
}

#meeting-img-center {
    background: url('../images/meetings-center.jpg') no-repeat left center;
    background-size: cover;
}

#meeting-img-right {
    background: url('../images/meetings-right.jpg') no-repeat center center;
    background-size: cover;
}

/* contact section */

#contact {
    flex-direction: column;
    justify-content: space-evenly;
    gap: 1rem;
}

#contact-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#follow-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#follow-us-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#follow-us a {
    text-decoration: none;
}

#follow-us i {
    color:#344E55;
}

/* 2023 picks Page Style */

/* picks section */

#picks {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

#container-books {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    width: 80%;
    max-width: 1200px;
}

.books {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: relative;
    gap: .5rem;
    height: 350px;
    width: 200px;
    background-color: #344E55;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    color: #E2DCD8;
    text-align: center;
}

.books img {
    height: 180px;
}

.books-button {
    padding: .5rem;
    background-color:#ECC422;
    border: 2px solid #894E37;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #344E55;
}

.books-button:hover {
    background-color: #E2DCD8;
}

/* join us page */

#join-us {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    flex-grow: 1;
}

.join-us-form {
    background-color: #344E55;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
}

#form-input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    color: #E2DCD8;
}

.form-input {
    color: #3a3a3a;
    width: 100%;
    height: 25px;
    margin: 5px 0 10px;
    padding: .3rem;
    border-radius: 2px;
}

.form-button {
    padding: 1rem;
    border-radius: 3px;
    margin-top: 10px;
    background-color:#ECC422;
    border: 2px solid #894E37;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
    font-size: 1rem;
}

.form-button:hover {
    background-color: #E2DCD8;
    cursor: pointer;
}

/* thank you and 404 pages */
.response-only-page {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    flex-grow: 1;
}

.images-solo {
    width: 90%;
    border: 5px solid #894E37;
    border-radius: 10px;
}   

.back-home-page {
    color: #894E37;
    text-decoration: none;
}

.back-home-page:hover {
    color:#ECC422;
}

/* media queries */

@media screen and (min-width:768px) {
    body {
        font-size: 1.2rem;
    }

    header, #menu, #contact {
        flex-direction: row;
    }

    #menu {
        line-height: 75px;
        margin-right: 2.5rem;
        gap: 2.5rem;
    }

    .join-us-form {
        width: 90%;
    }
}
