/*---Roboto Fonts--------
- Thin 100 + italic;
- Light 300 + italic;
- Regular 400 + italic;
- Bold 700 + italic. 
-------------------------*/
/*---Colors--------*/
:root {
    /* colors */
    --mainBlue: #5faef1;
    --verylightBlue: #eff7fe;
    --lightBlue: #b9dcf9;
    --darkBlue: #137fdb;
    --verydarkBlue: #0a406f;
    --fontColor: #383838;
    --offWhite: #f2f2f2;
    /* font sizes */
    --mainMenu: 1.2rem;
    --subMenu: 1.1rem;
}

/* ---- Global ------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 300;
    font-size: 16px;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase-landingpage {
    position: absolute;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px 100px 100px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: white;
    z-index: 2;
    transition: 0.5s;
}
.showcase-landingpage.active {
    right: 240px;
}

.showcase-landingpage header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px 40px 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 11em;
    cursor: pointer;
    padding-top: 1rem;
}
/* --- inserted to align with trips page */
.logocircle {
    max-width: 50%;
    margin-right: 0.5em;
}
/* --- end of inserted to align with trips page */
/* --------MENU CSS---------------*/
.toggle {
    position: relative;
    width: 4rem;
    height: 4rem;
    /* margin-right: -20px; --- edited to align with trips page*/
    margin-right: -15px;
    background: url("../images/menu.png");
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: center;
    cursor: pointer;
}

.toggle.active {
    background: url("../images/close.png");
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: center;
    cursor: pointer;
    -ms-transform: rotate(180deg); /* IE 9 */
    transform: rotate(180deg);
    transition: 1s ease-in-out;
}

.showcase-landingpage video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.text-landingpage {
    position: absolute;
    margin-top: 45vh;
    z-index: 10;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    align-content: flex-end;
}

.text-landingpage h1 {
    font-family: "Raleway", sans-serif;
    font-size: 5em;
    font-weight: 700;
    line-height: 1em;
    font-style: italic;
    text-transform: uppercase;
    opacity: 0.4;
}

.text-landingpage h2 {
    font-size: 5em;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
}
.text-landingpage h3 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
}
.text-landingpage p {
    font-size: 1.1em;
    margin: 10px 40px 20px 0;
    font-weight: 100;
    font-style: normal;
    /* max-width: 357px; */
}
/* =========START NEW EXPLORE BUTTON WITH DROPLETS================= */
.button {
    position: relative;
    font-size: 1.2em;
    letter-spacing: 4px;
    padding: 10px 22px;
    margin-top: 8px;
    border-radius: 6px;
    border: none;
    color: var(--fontColor);
    cursor: pointer;
    background-color: #93d2e0;
    transition: all 0.2s ease;
}
.button:active {
    transform: scale(0.85);
}
.button:before,
.button:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}
.button.animate::before {
    top: -70%;
    background-image: radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, transparent 20%, #f2f2f2 20%, transparent 30%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, transparent 10%, #f2f2f2 15%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
    animation: greentopBubbles ease-in-out 0.6s forwards infinite;
}
@keyframes greentopBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }
    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }
    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}
.button.animate::after {
    bottom: -70%;
    background-image: radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, transparent 10%, #f2f2f2 15%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%), radial-gradient(circle, #f2f2f2 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    animation: greenbottomBubbles ease-in-out 0.6s forwards infinite;
}
@keyframes greenbottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }
    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }
    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

/* =========START AUDIO BUTTON================= */
.audio-button {
    position: absolute;
    margin-top: calc(45vh + 7.3em + 60px);
    right: 55px;
    z-index: 10;
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    align-content: flex-start;
}

#switch-audio {
    position: relative;
    right: 10px;
    z-index: 3;
    border: none;
    outline: none;
    cursor: pointer;
}

.em-container {
    position: absolute;
    top: 3px;
    left: -35px;
    z-index: 4;
}

#switch-audio em {
    font-style: normal;
    font-size: 1.8rem;
    display: inline-block;
    width: 35px;
}

#switch-audio em:nth-child(1) {
    display: inline-block;
}

#switch-audio em:nth-child(2) {
    display: none;
}

#switch-audio.active em:nth-child(1) {
    display: none;
}

#switch-audio.active em:nth-child(2) {
    display: inline-block;
}

/*-- the swirly lines--*/
#switch-audio:after,
#switch-audio:before {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    background: #5faef1;
    border-radius: 35px;
    right: -6px;
    top: -4px;
}

#switch-audio:before {
    right: -6px;
    z-index: 1;
}

#switch-audio:after {
    right: -6px;
}
/*-- the swirly lines--*/
#canvas-audio {
    position: absolute;
    z-index: 7;
    right: 4px;
    top: 2px;
    width: 24px;
    height: 30px;
    margin-left: 24px;
    transform: translateY(2px);
}

#audio {
    width: 0;
    height: 0;
    opacity: 0.01;
}

.music-icon {
    width: 28px;
}

/* =========END AUDIO BUTTON================= */

.menu-landingpage {
    /* position: absolute; */
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    height: 100%;
    padding-top: 2.5rem;
    background-color: var(--verydarkBlue);
}
.menu-landingpage ul {
    position: relative;
    margin-top: 1em;
    margin-left: 0;
    padding-left: 3em;
    list-style: none;
}
.menu-landingpage ul li a {
    text-decoration: none;
    font-size: var(--mainMenu);
    color: var(--offWhite);
    padding: 0.5em;
}
.menu-landingpage ul li a:hover {
    color: var(--mainBlue);
}
/* dropdpwn */
/* Style the sidenav links and the dropdown button */
.menu-landingpage a,
.dropdown-btn-landingpage {
    padding: 0px 8px 6px 10px;
    text-decoration: none;
    font-size: var(--mainMenu);
    color: var(--offWhite);
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.menulogo-landingpage img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

.dropdown-btn-landingpage {
    padding: 0.5em;
    padding: 0.5em;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 300;
    /* font-size: 16px; */
}
/* On mouse-over */
.menu-landingpage a:hover,
.dropdown-btn-landingpage:hover {
    color: var(--mainBlue);
}
/* Add an active class to the active dropdown button */
.activeDrop {
    font-size: var(--mainMenu);
    background-color: var(--mainBlue);
    color: var(--verylightBlue);
}
.activeDrop:hover {
    font-size: var(--mainMenu);
    background-color: var(--mainBlue);
    color: var(--verylightBlue);
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container-landingpage {
    display: none;
}
.dropdown-container-landingpage a {
    font-size: var(--subMenu);
    padding-left: 2rem;
    font-style: italic;
    color: var(--offWhite);
    padding-top: 0.3em;
    padding-bottom: 0.5em;
}
.dropdown-container-landingpage a:hover {
    background-color: var(--lightBlue);
    color: var(--verydarkBlue);
}
/* Style the caret down icon ---*/
.down-icon {
    font-size: 0.9rem;
}

/* --------END MENU CSS---------------*/

/* Media queries */

/*---Media Query para Telefones ---*/
/* @media (max-width: 415px) { */
@media (max-width: 640px) {
    .showcase-landingpage,
    .showcase-landingpage header {
        padding: 40px;
    }
    .showcase-landingpage.active {
        right: 200px;
    }
    .menu-landingpage {
        width: 200px;
        padding-top: 2rem;
        margin-top: 0;
    }
    .menu-landingpage ul li a {
        font-size: 1.2rem;
        padding: 11px 8px 11px 16px;
    }
    .menu-landingpage a,
    .dropdown-btn-landingpage,
    .activeDrop,
    .activeDrop:hover {
        font-size: 1.2rem;
    }
    .dropdown-btn-landingpage {
        padding: 11px 8px 11px 16px;
    }
    .dropdown-container-landingpage a {
        font-size: 1.1rem;
        padding-left: 2rem;
        padding-top: 0.4rem;
        font-style: italic;
        color: var(--offWhite);
    }
    .fa-caret-down {
        padding-right: 2rem;
    }

    .toggle {
        width: 3rem;
        height: 3rem;
        margin-right: -10px;
    }
    .text-landingpage {
        margin-top: 52vh;
    }
    .text-landingpage h1 {
        font-size: 4em;
        opacity: 0.5;
    }
    .text-landingpage h2 {
        font-size: 3em;
    }
    .text-landingpage h3 {
        font-size: 2em;
    }
    .text-landingpage p {
        font-size: 1em;
        margin: 10px 25px 10px 0;
        line-height: 1.5;
        font-style: normal;
        /* max-width: 227px; */
    }
    .button {
        font-size: 1.1em;
        padding: 10px 25px;
        margin-top: 10px;
    }
    .logo {
        max-width: 10em;
    }
    .audio-button {
        margin-top: calc(52vh + 6.5em + 30px);
        right: 32px;
    }
}
/*--Media Query para Tablets --*/
/*@media (min-width: 416px) and (max-width: 900px) { */
@media (min-width: 641px) and (max-width: 1007px) {
    .showcase-landingpage,
    .showcase-landingpage header {
        padding: 50px 60px;
    }
    .logo {
        max-width: 13em;
    }
    .toggle {
        width: 5rem;
        height: 5rem;
        margin-right: -20px;
        background-size: 2.5rem;
    }

    .text-landingpage {
        margin-top: 70%;
    }
    .text-landingpage h1 {
        font-size: 6em;
        opacity: 0.5;
    }
    .text-landingpage h2 {
        font-size: 4em;
    }
    .text-landingpage h3 {
        font-size: 3em;
    }
    .text-landingpage p {
        font-size: 1.35em;
        margin: 20px 0px 30px 0;
        line-height: 1.5;
        font-style: normal;
        /* max-width: 400px; */
    }
    .menu-landingpage ul li a {
        font-size: 1.4em;
        padding: 11px 8px 11px 16px;
    }
    .dropdown-btn-landingpage {
        font-size: 1.4em;
        padding: 9px 8px 9px 16px;
    }
    .dropdown-container-landingpage a {
        font-size: 1.2rem;
        padding-left: 2rem;
        padding-top: 1.1rem;
        font-style: italic;
        color: var(--offWhite);
    }
    .audio-button {
        margin-top: calc(70% + 10em + 60px);
    }
}
