@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes fadeIn-mobile {
    from {
        opacity: 0;
        transform: translate(-12%, -64%) scale(0.7);
    }

    to {
        opacity: 1;
        transform: translate(-12%, -64%) scale(0.9);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

@keyframes fadeOut-mobile {
    from {
        opacity: 1;
        transform: translate(-12%, -64%) scale(0.9);
    }

    to {
        opacity: 0;
        transform: translate(-12%, -64%) scale(0.7);
    }
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    background-color: #002E69;
    color: white;
    font-size: 18pt;
    text-align: center;
    padding: 10px 10px;
}

td {
    background-color: #E6EAF0;
    text-align: center;
    font-size: 16pt;
}

table,
th,
td {
    border: 2px solid white;
}

.info {
    height: 30px;
    width: 0px;
    color: white;
    border: 0;
    -webkit-appearance: none;
    margin-top: 5%;
    /* border-radius: 50% !important; */
    margin-left: 5px !important;
    cursor: pointer;
}

.input-group {
    margin-top: -20px !important;
}

.title-car {
    font-size: 40pt;
    font-weight: bold;
    line-height: 1.1
}

.content-car {
    font-weight: thin;
    font-size: 14pt;
    margin-top: 50%;
    text-align: center;
}

.col-lg-32 {
    width: 32%;
}

input,
select {
    border-radius: 15px !important;
    height: 50px;
    margin: 20px 0 !important;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.banner-active,
.dot:hover {
    background-color: #717171;
}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    position: fixed;
    margin: auto;
    height: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #002E69BF;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.banner-background label {
    font-size: 40pt;
    font-weight: 700;
    color: #002E69BF;
    font-size: 70pt;
    width: 70%;
    text-align: center;
}

.summary-background-header {
    font-size: 40pt;
    font-weight: 700;
    text-align: center;
    color: #707070;
    font-size: 40pt;
    padding-top: 8%;
}

.summary-background-title {
    font-size: 18pt;
    text-align: center;
    padding: 3% 17% 5% 17%;
}

.content-background {
    /* background: linear-gradient(10deg, #F7F7F7 40%, #E1E1E1 100%); */
    background: linear-gradient(180deg, #F7F7F7 26.13%, #E1E1E1 100%);
    margin-top: 750px;
    position: absolute;
}

.footer-background p:nth-of-type(1) {
    color: #002E69;
    font-weight: 700;
    font-size: 35pt;
    text-align: center;
}

.footer-background p:nth-of-type(2) {
    text-align: center;
    font-weight: 700;
    font-size: 18pt;
    color: #002E69;
    line-height: 30px;
}

.line {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.line hr {
    border: 1.2px solid #4E4D4B;
    width: 39%;
}

.headline {
    position: inline-block;
    text-align: center;
    font-size: 21pt;
    color: #707070;
    margin: 0 10px;
    /* adds some space between the headline and the hr elements */
}

.offer {
    margin-top: 80px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 40pt;
    font-weight: 700;
    color: #002E69;
}

.financing {
    text-align: center;
    position: inline-block;
    width: 32%;
    height: auto;
    background: #D9D9D94A;
    padding-bottom: 2%;
    margin-left: 1.3%;
    border-radius: 3%;
}

.financing img {
    margin-left: 0;
    margin-top: 30px;
    height: "auto";
    width: "auto";
}

.financing p:nth-of-type(1) {
    color: #4E4D4B;
    font-style: italic;
    font-size: 20pt;
    font-weight: 400;
}

.financing p:nth-of-type(2) {
    font-weight: 700;
    font-size: 30pt;
    color: #4E4D4B;
    text-decoration: underline;
    text-underline-offset: 10px;
}

.financing p:nth-of-type(3) {
    font-size: 20pt;
}

.investing {
    text-align: center;
    position: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: 32%;
    height: fit-content;
    background: #FFBD635E;
    padding-bottom: 2%;
    border-radius: 3%;
}

.investing img {
    margin-left: 0;
    margin-top: 30px;
    height: auto;
    width: auto;
}

.investing p:nth-of-type(1) {
    color: #002E69;
    font-style: italic;
    font-size: 20pt;
    font-weight: 400;
}

.investing p:nth-of-type(2) {
    font-weight: 700;
    font-size: 30pt;
    color: #002E69;
    text-decoration: underline;
    text-underline-offset: 10px;
}

.investing p:nth-of-type(3) {
    font-size: 20pt;
}

.button-more {
    margin-top: 40px;
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
}

.button-more a {
    height: 50px;
    width: 200px;
    font-size: 17pt;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    overflow-y: auto;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    z-index: 10;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
    visibility: hidden;
    /* animation: fadeIn 1s ease; */
}

.box-show {
    visibility: visible;
    animation: fadeIn 1s ease;
    /* animation-fill-mode: forwards; */
}

.close {
    visibility: hidden;
    animation: fadeOut 0.3s ease;
    animation-fill-mode: forwards;
}

.box h2 {
    margin: 10px 0 0;
}

.box p {
    color: #312940;
    margin: 10px;
}

.box img {
    max-width: 100%;
    width: 400px;
}

.form-control {
    position: relative;
    margin: 30px 0 20px;
    border: 1px solid white;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    opacity: 0.65;
    visibility: hidden;
    pointer-events: none;
}

.input-sub {
    border: 0;
    border-radius: 50px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    display: block;
    font-family: 'Muli', sans-serif;
    font-size: 14px;
    height: 42px;
    padding: 12px 25px;
    width: 100%;
}

.box-btn {
    margin-top: 20px;
}

.btn-sub {
    background-color: #FFBD63;
    border: 0;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    height: 42px;
    padding: 0 25px;
    top: 0;
    right: 0;
}

.btn-cancel {
    background-color: #002E69;
    border: 0;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    height: 42px;
    padding: 0 25px;
    top: 0;
    right: 0;
}

.input-sub:focus,
.btn:focus {
    outline: 0;
}

.toast-success {
    background-color: #002E69 !important;
    /* Custom background color (green) */
    color: white !important;
    /* Custom text color (white) */
}

.news {
    height: 450px;
    margin-bottom: 30px;
    margin-top: -25px;
    border-radius: 35px;
    display: flex;
    justify-content: space-between;
    background: rgb(255, 255, 255);
    background: linear-gradient(183deg, rgba(255, 255, 255, 1) 0%, rgba(165, 163, 163, 1) 100%);

}

.news-card {
    width: 20%;
}

.card-latest-from {
    margin-left: 20%;
    padding-top: 10% !important;
}

.card-latest-from hr {
    border: 2.5px solid #FFBD63;
    margin-top: 0;
}

.card-latest-from label {
    font-weight: 200;
    font-size: 35pt;
    color: #999;
}

.card-goto-blog {
    margin-right: 30%;
    padding-top: 65% !important;
}

.line {
    flex-grow: 1;
    height: 2px;
    position: relative;
    display: flex;
}

.line.arrow-right:after {
    position: absolute;
    content: '';
    right: -3px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 13px solid #FFBD63;
}

.card-goto-blog label {
    font-weight: 200;
    font-size: 35pt;
    color: #999;
    cursor: pointer;
    margin-left: 3%;
}

.card-goto-blog label:hover {
    color: blue;
    cursor: pointer;
}

.card-latest-from {
    margin-left: 20%;
    padding-top: 5%;
}

.card-content {
    height: 100%;
    border-radius: 50px;
    background-color: #E1E1E1;
    border: 1px solid black;
}

.card-content img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 40px;
}

.card-content a {
    text-align: center;
    margin: auto 0;
}

.card-content-title {
    margin-left: 3%;
    margin-top: 2%;
}

.card-content-a {
    margin-left: 38%;
    margin-top: 2%;
}

.card-content h4 {
    font-weight: 340;
    color: #4E4D4B;
}

.card-content span {
    font-weight: bold;
    color: #4E4D4B;
}

.card-content p {
    font-weight: 340;
    color: #4E4D4B;
    margin-top: 10px;
}

.news-mobile {
    display: none;
}

.money-profile {
    display: flex;
    width: 100%;
}

.describe-money {
    text-align: center;
    width: 50%;
    margin-top: 10%;
}

.describe-money h1 {
    font-size: 55pt;
    font-weight: bold;
    color: #002E69;
}

.describe-money p {
    margin: 0 auto;
    width: 70%;
    font-size: 20pt;
}

.background-personality h1 {
    font-size: 55pt;
    font-weight: bold;
}

.background-personality p {
    font-size: 20pt;
    font-weight: thin;
}

.icon-container {
    display: flex;
    width: fit-content;
    gap: 30px;
    margin: 0 auto;
}

.icon-container img:nth-child(1),
.icon-container img:nth-child(4),
.icon-container img:nth-child(5) {
    width: 94px;
    height: 94px;
    margin-top: 15px;
}


.icon-container img:nth-child(2),
.icon-container img:nth-child(3) {
    width: 90px;
}

.dot-container {
    text-align: center
}

.content-money-plan {
    width: 60%;
    text-align: center;
}

.content-money-plan h1 {
    font-size: 55pt;
    font-weight: bold;
}

.content-money-plan p {
    font-size: 20pt;
    width: 70%;
    margin: 0 auto;
}

.mt-car {
    margin-top: 13% !important;
    margin-right: 10% !important;
    margin-left: 5% !important;
}

/* Position text in the middle of the page/image */
.bg-text {
    /* background-color: rgb(0,0,0); /1* Fallback color *1/ */
    background-color: white;
    /* rgba(0,0,0, 0.4); /1* Black w/opacity/see-through *1/ */
    color: #4E4D4B;
    /* font-weight: bold; */
    border: 3px solid #f1f1f1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    padding: 20px;
    /* text-align: center; */
    border-radius: 20px;
}

.bg-text img {
    max-width: 430px;
    /* height: 10%; */
}

.label-news {
    color: #FFBD63;
    position: absolute;
    top: 4%;
    left: 2%;
    z-index: 2;
    font-size: 18pt;
    font-weight: bold;
}

.read-more {
    text-align: right;
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.read-more-desktop {
    display: none;
}

.heading-quote {
    font-weight: bold;
    padding-top: 10%;
    margin-left: 5%;
    font-size: 4.5vw;
}

.link-quote {
    margin-top: 5%;
    display: flex;
}

.link-quote a {
    margin: 0 auto;
    font-size: 15pt;
    font-weight: bold;
}

.jargon {
    margin-top: 50px;
    display: flex;
}

.jargon div:nth-child(1) {
    width: 30%;
}

.jargon div:nth-child(2) {
    width: 22%;
    margin-right: 2%;
}

.jargon div:nth-child(2) img {
    width: 10vw;
    margin-top: 0;
}

.jargon div:nth-child(3) {
    width: 22%;
    margin-right: 2%;
}

.jargon div:nth-child(3) img {
    width: 10vw;
    margin-top: 0;
}

.jargon div:nth-child(4) {
    width: 22%;
}

.jargon div:nth-child(4) img {
    width: 10vw;
    margin-top: 0;
}

.parallelogram {
    height: 15vw;
    max-height: 250px;
    transform: skew(-20deg);
    background: white;
}

.parallelogram img,
.parallelogram label {
    display: block;
    transform: skew(20deg);
    color: #4E4D4B;
}

.parallelogram img {
    margin: 29px auto;
}

.parallelogram label {
    margin: 0.5vw 1vw;
}

.jargon-describe {
    font-weight: bold;
    font-size: 2vw;
    color: var(--primary-color);
    margin: auto auto;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
}

.jargon-describe span {
    font-size: 3vw;
    color: var(--primary-color);
}


@media (max-width: 450px) {

    .footer {
        margin-top: 0px !important;
    }

    .parallelogram label {
        font-size: 9px;
    }

    .parallelogram img {
        margin: 10px auto;
    }


    .read-more {
        display: none;
    }

    .read-more-desktop {
        font-size: 8pt;
        display: block;
    }

    .background-news {
        min-height: 200px;
    }

    .label-news {
        font-size: 12pt;
    }

    #img_news {
        display: none;
    }

    .bg-text {
        background-color: #ffffffa8;
        padding: 1px;
        border-radius: 9px;
        overflow-y: scroll;
        height: 120px;
        border: none;
    }

    .content-news {
        margin: 0 5px !important;
    }

    .content-news label {
        font-size: 6pt !important;
    }

    .content-news h2 {
        font-size: 12pt !important;
    }

    .content-news p {
        font-size: 8pt !important;
    }

    .car-footer-describe {
        font-size: 11pt;
    }

    .col-lg-32 {
        width: 97%;
    }

    .mt-car {
        margin-top: 8% !important;
        margin-right: 15% !important;
    }

    .car-background {
        min-height: 200px !important;
        background-position-y: 30%;
        /* padding-top: 2px; */
    }

    .title-car {
        font-size: 14pt;
    }

    .content-car {
        font-size: 8pt;
        margin-top: 0;
    }

    .button-car {
        font-size: 7pt;
    }

    .dot-container {
        margin-top: -25px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .icon-container {
        gap: 15px;
        margin-top: 0 !important;
    }

    .icon-container img:nth-child(1),
    .icon-container img:nth-child(4),
    .icon-container img:nth-child(5) {
        width: 40px;
        height: 40px;
        margin-top: 5px;
    }

    .icon-container img:nth-child(2),
    .icon-container img:nth-child(3) {
        width: 40px;
    }


    .background-personality {
        height: 200px;
        padding-top: 2%;
    }

    .background-personality h1 {
        font-size: 16pt;
    }

    .background-personality p {
        font-size: 8pt;
    }

    .background-personality a {
        font-size: 8pt;
    }

    .describe-money {
        margin-top: 5%;
    }

    .describe-money h1 {
        font-size: 16pt;
    }

    .describe-money p {
        font-size: 8pt;
        width: 80%;
    }

    .describe-money a {
        font-size: 7pt;
    }

    .content-money-plan {
        width: 80%;
    }

    .content-money-plan h1 {
        font-size: 16pt;
    }

    .content-money-plan p {
        font-size: 8pt;
        width: 80%;
        margin: 0 auto;
    }

    .content-money-plan a {
        font-size: 7pt;
    }

    .background-money-plan {
        padding-top: 3%;
        height: 200px;
    }

    .background-money-profile {
        height: 200px;
    }

    .news-mobile-card {
        width: 90%;
        height: auto;
        padding-bottom: 30px;
        margin: 0 auto;
    }

    .news-mobile-content {
        padding: 0 11%;
        margin-top: 10px;
    }

    .news-mobile-card img {
        width: 80%;
        height: 125px;
        object-fit: cover;
        border-radius: 16px;
        margin-left: 10%;
    }

    .news-mobile-content h4 {
        font-size: 16pt;
        font-weight: 250;
    }

    .news-mobile-content span {
        font-weight: 600;
    }

    .news-mobile-a {
        width: 100%;
        text-align: center;
    }

    .news-mobile-a .line {
        margin-top: 30px;
    }

    .news {
        display: none;
    }

    .content-background {
        margin-top: 0;
        position: relative;
    }

    .slideshow-container {
        position: relative;
    }

    .footer-background {
        height: max-content;
        text-align: center;
        margin-bottom: -10%;
        padding-bottom: 20px;
    }

    .footer-background p:nth-of-type(1) {
        font-size: 22pt;
        padding: 4% 2% 0%;
    }

    .footer-background p:nth-of-type(2) {
        font-size: 11pt;
        line-height: 1;
        width: 70%;
        margin: 0px auto;
    }

    .button-more {
        margin-top: 20px;
        margin-bottom: 25px;
        width: 100%;
        text-align: center;
    }

    .button-more a {
        height: 33px;
        width: 120px;
        font-size: 10pt;
    }

    .investing {
        text-align: center;
        position: inline-block;
        margin-left: auto;
        margin-right: auto;
        width: 65%;
        height: fit-content;
        background: #FFBD635E;
        padding-bottom: 2%;
    }

    .investing img {
        width: 50%;
        height: auto;
    }

    .investing p:nth-of-type(1) {
        font-size: 11pt;
    }

    .investing p:nth-of-type(2) {
        font-size: 15pt;
    }

    .investing p:nth-of-type(3) {
        font-size: 11pt;
    }

    .financing {
        text-align: center;
        position: inline-block;
        width: 65%;
        height: auto;
        background: #D9D9D94A;
        padding-bottom: 0%;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .financing img {
        margin-top: 10px;
        height: auto;
        width: 50%;
    }

    .financing p:nth-of-type(1) {
        font-size: 11pt;
    }

    .financing p:nth-of-type(2) {
        font-size: 15pt;
    }

    .financing p:nth-of-type(3) {
        font-size: 11pt;
    }

    .line {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .line hr {
        width: 25%;
    }


    .headline {
        font-size: 12pt;
    }

    .offer {
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
        font-size: 18pt;
        font-weight: 700;
        color: #002E69;
        margin-bottom: 0;
    }

    .banner-background {
        height: 200px;
    }

    .banner-background label {
        color: #011b3d;
        font-size: 23pt;
        width: 90%;

    }

    .summary-background {
        background-image: url("summary.png");
        background-repeat: no-repeat;
        height: max-content;
    }

    .summary-background-header {
        font-size: 17pt;
        padding-top: 4%;
    }

    .summary-background-title {
        font-size: 12pt;
        text-align: center;
        padding: 2% 4% 1% 4%;
    }

    .box {
        transform: translate(-12%, -64%) scale(1);
        left: 20%;
        animation: fadeIn-mobile 1s ease;
    }

    .close {
        visibility: hidden;
        animation: fadeOut-mobile 0.3s ease;
        animation-fill-mode: forwards;
    }

}
