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

html,
body {
    height: 100%;
    margin: 0;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    color: darkslategray;
    scroll-behavior: smooth;
}

body {
    padding-top: 6vh;
}

p {
    text-align: justify;
}

ul {
    list-style: none;
}

.seaside-counselling-name a,
ul a {
    text-decoration: none;
    padding: 5px;
    outline-color: #7F988A;
}

h2 {
    margin-bottom: 2em;
}

.main-description {
    text-align: end;
    padding: 20px 20px 20px 1em;
}

.seaside-counselling-name,
.logo {
    letter-spacing: -1px;
}

.nav-item.seaside-counselling {
    display: block;
}

.header {
    top: 0;
    background-color: white;
    position: fixed;
    z-index: 9999999999;
    width: 100vw;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 6vh;
}

.nav {
    transition: all 0.3s ease-in-out;
    width: 100vw;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0;
}

.nav-link {
    color: darkslategray;
    transition: all 0.4s;
    font-size: 20px;
    font-weight: 900;
}

.nav-link:hover,
.nav-link:focus {
    color: #7F988A;
}

.seaside-counselling-name,
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    height: 2px;
    width: 27px;
    background-color: darkslategray;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.nav-open {
    transform: translate(0) !important;
}

.hamburger-open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-title,
.main-description {
    padding-right: 5.5vw;
}

.main-title {
    font-size: 6em;
    margin-bottom: 1.6em;
    margin-top: 0.7em;
}

.name {
    font-size: 3.5em;
    margin-bottom: 0.6em;
}

.subtitle {
    font-size: 1.9em;
    line-height: 1em;
    text-align: end;
}

.main-title,
.name,
.subtitle {
    font-weight: 700;
}

.main-page {
    background-image: url("images/plant-intro2.jpg");
    min-height: 100vh;
    align-items: end !important;
    display: flex;
    flex-flow: column;
}

.page-quote-1 {
    background-image: url("images/plant-right-3.jpg");
    min-height: 400px;
}

.page-quote-2 {
    background-image: url("images/plant-left2.jpg");
    min-height: 400px;
    justify-content: end;
}

.page-quote-3 {
    background-image: url("images/plant-right2.jpg");
    min-height: 400px;
}

.final-page {
    background-image: url("images/plant-outro.jpg");
    align-items: start;
    min-height: 94vh;
}

.main-page,
.page-quote-1,
.page-quote-2,
.page-quote-3,
.final-page {
    position: relative;
    opacity: 0.90;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    align-items: center;

    padding: 50px 80px;
}

.main-page {
    padding-right: 0 !important;
}

.section {
    padding: 10vh 6vw;
    text-align: center;
    background-color: #f4f4f4;
    color: #666;
}

.quote,
.quote-outro {
    font-style: italic;
    line-height: 1.2em;
}

.quote-outro {
    display: flex;
    align-items: center;
    flex-flow: column;
    font-size: 2.5em;
    color: antiquewhite;;
    width: 100%;
    margin-top: 10vh;
}

.quote-outro p {
    text-align: center;
}

.quote {
    font-size: 2em;
    background-color: #F4F4F4;
    opacity: 0.7;
    padding: 10px;
}

.page-quote-1,
.page-quote-3 {
    padding-left: 0;
}

.page-quote-1 .quote,
.page-quote-3 .quote {
    padding-left: 6vw;
    padding-right: 1em;
    max-width: 80%;
}

.page-quote-2 {
    padding-right: 0;
}

.page-quote-2 .quote {
    text-align: right;
    padding-right: 6vw;
    padding-left: 1em;
}

.final-page {
    align-items: start;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
    flex-wrap: wrap;
}

.social {
    display: flex;
    gap: 20px;
}

.social-logo-whatsapp {
    height: 32px;
}

.social-logo-fb {
    height: 34px;
}

.flex-container {
    display: flex;
    column-gap: 2em;
}

.description {
    flex: 3;
}

.image-container {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-photo,
.seaside-photo {
    width: 100%;
}

.portrait-photo,
.seaside-photo,
.map {
    box-shadow: rgba(0, 0, 0, 0.19) 0 10px 20px, rgba(0, 0, 0, 0.23) 0 6px 6px;
}

iframe {
    height: 280px;
    width: 350px;
    border: 0;
}

.section p,
.description p,
.address p {
    font-size: 18px !important;
}

@media (max-width: 1477px) {
    .main-description {
        background-image: linear-gradient(to top right, rgba(211, 225, 237, 0.9), rgba(211, 225, 237, 0.1));
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 6vh;
        background-color: white;
        width: 100vw;
        left: 0;
        transform: translateX(100%);
        padding: 10px 0 25px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

    .nav-link {
        font-size: 16px;
    }

    .header-content {
        justify-content: space-between;
        padding: 0 30px;
    }

    .seaside-counselling-name,
    .hamburger {
        display: block;
    }

    .nav-item.seaside-counselling {
        display: none;
    }

    .main-title {
        font-size: 3em;
        margin-bottom: 1.6em;
    }

    .name {
        font-size: 2.2em;
    }

    .subtitle {
        font-size: 1.5em;
        text-align: end;
    }

    .main-page {
        align-items: start;
    }

    .main-page,
    .page-quote-1,
    .page-quote-2,
    .page-quote-3,
    .final-page {
        background-attachment: unset;
    }

    .main-page,
    .page-quote-1,
    .page-quote-2,
    .page-quote-3,
    .final-page,
    .section {
        padding: 50px 30px 20px 30px !important;
    }

    .portrait-photo,
    .seaside-photo {
        max-width: 400px;
    }

    .main-page {
        padding-right: 0 !important;
    }

    .flex-container {
        display: block;
    }

    .page-quote-2 {
        justify-content: end;
        padding: 50px 0 20px 30px !important;
        text-align: end;
        min-height: 200px;
    }

    .page-quote-3 {
        padding: 50px 60px 20px 0 !important;
        min-height: 200px;
    }

    .page-quote-1 {
        min-height: 200px;
        padding: 50px 30px 20px 0 !important;
    }

    .quote {
        font-size: 1em;
        background-color: #F4F4F4;
        opacity: 0.7;
        padding: 10px;
    }

    .final-page {
        align-items: start;
    }

    .quote-outro {
        font-size: 2em;
        margin-top: 2vh;
    }

    .contact-wrapper {
        gap: 2em;
        padding-bottom: 1.2em;
    }

    .image-container {
        margin-bottom: 2em;
    }

    iframe {
        height: 215px;
        width: 300px;
        border: 0;
    }
}

@media (max-width: 280px) {
    iframe {
        height: 215px;
        width: 250px;
        border: 0;
    }
}
