/* ----------- */
/* BASE */
/* ----------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Slab&display=swap');

:root {
    --primary: #16423aff;
    --secondary: #eb4e29ff;
}

.bg-left {
    background-image: linear-gradient(to right, #085078, #85d8ce);
}

body {
    overflow: hidden;
    font-family: 'Roboto Slab', serif !important;
    height: 100vh;
}

.heading {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.btn-xl {
    padding: .75rem 2rem !important;
    font-size: 1.5rem !important;
}

/* --------- */
/* Preloader */
/* --------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: #fff;
    z-index: 999999;
    transition: opacity 1s;
}

.spinning-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    -webkit-animation: circle infinite .95s linear;
    -moz-animation: circle infinite .95s linear;
    -o-animation: circle infinite .95s linear;
    animation: circle infinite .95s linear;
    border: 2px solid #333;
    border-top-color: rgb(51, 51, 51);
    border-right-color: rgb(51, 51, 51);
    border-bottom-color: rgb(51, 51, 51);
    border-top-color: rgba(0, 0, 0, .2);
    border-right-color: rgba(0, 0, 0, .2);
    border-bottom-color: rgba(0, 0, 0, .2);
    border-radius: 100%;
}

/* ----------- */
/* NAVBAR */
/* ----------- */
header {
    transform: translateY(-100%);
    transition: transform 1s ease;
}

header.active {
    transform: translateY(0);
}

.img-logo {
    width: auto;
    max-height: 35px;
    display: table-cell;
}

.progressbar-container {
    height: 5px;
    width: 100%;
    background: var(--bs-gray-500);
}

.progressbar {
    height: 100%;
    background: var(--bs-success);
}

header+div {
    margin-top: 70px;
}

/* ---------- */
/* CONTENT */
/* --------- */
.wrapper-left {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 100%;
    padding: 60px 90px 35px 90px;
    color: #fff;
    text-align: center;
    position: relative;
}

.section {
    opacity: 1;
    transition: all 0.25s ease;
    height: calc(100vh - 70px);
    display: flex;
}

.vertical-center {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}



/* LANDING */

#app {
    z-index: 100;
}

#app {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    width: 100%;
    background: white;
    color: #3a3535;
}

.title {
    padding-left: 1em;
    grid-column: 1/-1;
    grid-row: 1;
    width: 100%;
    z-index: 2;
    height: calc(100vh - 70px);
    padding: 4rem;
}

.title h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem !important;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary) !important;
}

.title>.title-inner {
    display: inline-block;
}


.cafe,
.mozart {
    -webkit-animation: outer-left 1s 1s cubic-bezier(0.5, 0, 0.1, 1) both;
    animation: outer-left 1s 1s cubic-bezier(0.5, 0, 0.1, 1) both;
}

.cafe,
.mozart {
    -webkit-animation: outer-top 1s 1s cubic-bezier(0.5, 0, 0.1, 1) both;
    animation: outer-top 1s 1s cubic-bezier(0.5, 0, 0.1, 1) both;
}

.title-inner {
    display: inline-block;
    -webkit-animation: inner-left 1s 1s ease both;
    animation: inner-left 1s 1s ease both;
}

.cafe-inner {
    display: inline-block;
    -webkit-animation: inner-left 1s 1s ease both, text-clip 1s 0s cubic-bezier(0.5, 0, 0.1, 1) both;
    animation: inner-left 1s 1s ease both, text-clip 1s 0s cubic-bezier(0.5, 0, 0.1, 1) both;
}

.menu-title {
    font-family: 'Bebas Neue', cursive;
    color: var(--primary) !important;
    text-decoration: none !important;
    display: table-cell;
    vertical-align: middle;
    padding-left: 1rem;
}

.cafe-inner::before {
    content: url('../images/operators.png');
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.mozart-inner {
    -webkit-animation: text-clip 1s 0s cubic-bezier(0.5, 0, 0.1, 1) both;
    animation: text-clip 1s 0s cubic-bezier(0.5, 0, 0.1, 1) both;
}

.title {
    -webkit-animation: outer-left 1s 1s ease both;
    animation: outer-left 1s 1s ease both;
}

.cafe>.cafe-inner {
    display: inline-block;
}

.mozart {
    display: inline-block;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: -5vh;
    opacity: 0.7;
    -webkit-animation: image-in 1s cubic-bezier(0.5, 0, 0.1, 1) 1s backwards;
    animation: image-in 1s cubic-bezier(0.5, 0, 0.1, 1) 1s backwards;
    width: 70vw;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.description {
    width: 30vw;
    color: var(--secondary) !important;
}

form {
    width: 100%;
    opacity: 1;
}

#form{
    display: none;
}

/* FIRST FORM */
/* Code from https://codepen.io/adamstuartclark/pen/pbYVYR/ */


input[type=radio] {
    display: none;
}

input[type=radio]:not(:disabled)~label {
    cursor: pointer;
}

input[type=radio]:disabled~label {
    color: #bcc2bf;
    border-color: #bcc2bf;
    box-shadow: none;
    cursor: not-allowed;
}

label {
    height: 100%;
    display: block;
    background: white;
    border: 2px solid #20df80;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0px 3px 10px -2px rgba(161, 170, 166, 0.5);
    position: relative;
}

input[type=radio]:checked+label {
    background: #5562eb;
    color: white;
    box-shadow: 0px 0px 20px rgba(0, 255, 128, 0.75);
}

/* input[type=radio]:checked+label::after {
    background-image: url('../images/money-bag.png');
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    width: 50px;
    text-align: center;
    content: '';
    background-size: contain;
    z-index: 1;
} */

input[type=radio]#control_05:checked+label {
    background: red;
    border-color: red;
}

.select-investment {
    width: 150px;
}

fieldset {
    opacity: 1;
    transition: all 0.25s ease;
    display: none;
}

.f1 #f1,
.f2 #f2,
.f3 #f3,
.f4 #f4 {
    display: flex !important;
}

.button1 #button1,
.button2 #button2,
.button3 #button3 {
    opacity: 1 !important;
}

#button1,
#button2,
#button3 {
    opacity: 0;
}

#button1{
    margin-top: 1.5rem;
}

/* Second Form */
.ApInicial .aplicacaoInicialUnica,
.ApMensal .aplicaMensal,
.Aposentadoria .aposentadoria {
    display: block !important;
}

.aplicacaoInicialUnica,
.aplicaMensal,
.aposentadoria {
    display: none;
}

/* https://codepen.io/BuddyLReno/pen/boGRPO */
.inputGroup {
    margin: 10px 0;
    position: relative;
}

.inputGroup label {
    padding: 12px 30px;
    width: 100%;
    display: block;
    text-align: left;
    color: #3C454C;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;
}

.inputGroup label:before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: "";
    background-color: #5562eb;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: -1;
}

.inputGroup label:after {
    width: 32px;
    height: 32px;
    content: "";
    border: 2px solid #D1D7DC;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: 2px 3px;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 200ms ease-in;
}

.inputGroup input:checked~label {
    color: #fff;
    background-color: transparent;
}

.inputGroup input:checked~label:before {
    transform: translate(-50%, -50%) scale3d(100, 100, 1);
    opacity: 1;
    width: 200%;
    height: 1000%;
}

.inputGroup input:checked~label:after {
    background-color: #54E0C7;
    border-color: #54E0C7;
}

.inputGroup input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}

/* Third Form */
.input-name {
    position: relative;
    display: inline-block;
    overflow: hidden;
    bottom: -0.9rem;
    line-height: 1rem;
}

.input-name>input {
    border: none;
    border-bottom: 2px solid red;
    outline: none;
    width: 100%;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    color: white;
    text-align: center;
}

.underline-animation {
    transition: all 0.5s;
    display: inline-block;
    bottom: 0;
    left: -100%;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #64e4fe;
}

.input-name>input:focus+.underline-animation {
    left: 0;
}

.input-name.input-lg {
    width: 300px;
}

.input-name.input-sm {
    width: 100px;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bs-gray-700);
    color: white;
    z-index: 999999;
    padding: 0.5rem;
}

/* ---------- */
/* Animations */
/* ---------- */
.fade-out {
    opacity: 0;
}

@-webkit-keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-moz-keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-o-keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

/* Animation by https://codepen.io/team/keyframers/pen/RwKoMmb */
@-webkit-keyframes text-clip {
    from {
        -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    }

    to {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes text-clip {
    from {
        -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    }

    to {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@-webkit-keyframes outer-left {
    from {
        transform: translateX(50%);
    }

    to {
        transform: none;
    }
}

@keyframes outer-left {
    from {
        transform: translateX(50%);
    }

    to {
        transform: none;
    }
}

@-webkit-keyframes inner-left {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: none;
    }
}

@keyframes inner-left {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: none;
    }
}

@-webkit-keyframes image-in {
    from {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    to {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes image-in {
    from {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    to {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* endAnimation */

@-webkit-keyframes outer-top {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(0vh);
    }
}

@keyframes outer-top {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(0vh);
    }
}

@media (max-width: 800px){
    .heading{
        font-size: 1.5rem !important;
        padding-top: 2rem;
    }

    .title h1{
        font-size: 2rem !important;
    }

    .description h3{
        font-size: 1.5rem !important;
    }

    .description{
        width: 100% !important;
    }

    .hero-image{
        width: 150vw;
    }

    header + div {
        margin-top: 104px !important;
        padding-bottom: 100px;
    }

    body{
        overflow-y: scroll !important;
    }

    .section{
        height: 100%;
        min-height: 100vh;
    }

    #button1{
        margin-top: 0 !important;
    }
}