@charset "UTF-8";

:root {
    /* Color pallete: */
    --color-pink: #ff8c94;
    --color-purple: #8593cc;
    --color-blue: #a1e0ff;
    --color-green: #a8e6cf;
    --color-lime: #ddedc0;
    --color-brown: #421405;

    --shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Roboto Slab", serif;
    font-size: 16px;
    line-height: 1.5em;
    margin: 0;
    background-color: var(--color-pink);
    color: var(--color-brown);
}

h1 {
    font-size: 4.236rem;
    font-weight: 700;
}

h2 {
    font-size: 2.618rem;
    font-weight: 700;
}

h3 {
    font-size: 1.618rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    line-height: 1em;
    margin: 1rem 0;
}

/* Header */
#page-header {
    box-shadow: var(--shadow);
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: rgba(168, 230, 207, 0.85);
    backdrop-filter: blur(8px);
}

.menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.menu-logo {
    cursor: pointer;
    display: inline-flex;
}

.menu-logo img {
    display: inline-block;
    height: 1.5rem;
}

/* Menu */
#menu-btn {
    display: inline-flex;
    cursor: pointer;
}

#menu-itens {
    padding: 0;
    transition: ease-in-out;
    display: none;
    margin-top: 1rem;
    margin-bottom: 0;
    min-width: 100%;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
}

#menu-itens li {
    cursor: pointer;
    padding: 0.5rem;
}

#menu-itens li.active {
    color: white;
    font-weight: 900;
}

#menu-itens li:hover,
#menu-btn:hover {
    color: var(--color-pink);
}

@media screen and (min-width: 992px) {
    #menu-btn {
        display: none;
    }

    #menu-itens {
        display: flex;
        margin-top: 0;
        min-width: 100px;
        flex-direction: row;
        align-items: center;
    }

    #menu-itens li {
        cursor: pointer;
        padding: 0 0.5rem;
    }
}

/* Main Content */
main {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--color-green);
}

main section.main-sections {
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    background-color: var(--color-purple);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
}

main section.main-sections.active {
    background-color: var(--color-pink);
}

.section-txt {
    padding: 2rem;
    text-align: left;
    align-self: center;
    flex-grow: 1;
}

.section-txt > span {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    opacity: 0.7;
}

.section-txt h1,
.section-txt h2 {
    color: white;
}

.section-img {
    width: 100%;
    object-fit: cover;
    flex-grow: 1;
}

#back-top {
    position: fixed;
    display: none;
    margin: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    padding: 1rem;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-lime);
    box-shadow: var(--shadow);
    color: var(--color-brown);
}

@media screen and (min-width: 992px) {
    main section.main-sections {
        flex-direction: row;
    }

    main section.main-sections:nth-child(even) {
        flex-direction: row-reverse;
    }

    main section.main-sections:nth-child(odd) .section-txt {
        text-align: right;
    }

    .section-img {
        width: 65%;
    }
}

/* Footer */
footer {
    background-color: var(--color-green);
    padding: 1rem;
    display: flex;
    align-items: center;
}

footer img {
    height: 0.8rem;
    margin: 0 auto;
}
