:root {
    --dashboard-main: #142346;
    --dashboard-secondary: #ECF2FF;
    --dashboard-grey: #7989A8;
    --white: #FFF;
    --dashboard-danger: #FF3232;
    --dashboard-link: #1F5CD6;
}

html {
    scroll-behavior: smooth;
}

body {
    overscroll-behavior: none;
}

#logo {
    filter: invert(0%) !important;
}
.text-center {
    text-align: center;
}
.fade-in {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.fade-in.visible {
    opacity: 1;
}
.fade-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .2s ease-out, transform 0.2s ease-out;
}

.fade-text:nth-child(1) {
    transition-delay: 0.2s;
}

.fade-text:nth-child(2) {
    transition-delay: 0.4s;
}

.fade-text:nth-child(3) {
    transition-delay: 0.6s;
}

.fade-text:nth-child(4) {
    transition-delay: 0.8s;
}

.fade-text:nth-child(5) {
    transition-delay: 1s;
}

.fade-in.visible .fade-text {
    opacity: 1;
    transform: translateY(0);
}

#dashboards-integration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100vw;
    height: 79px;
    padding: 0 32px;

    position: fixed;
    z-index: 9999;
}
#dashboards-integration-header #logo-link {
    display: block;
    min-width: 183px;
}
#dashboards-integration-header img {
    max-width: 183px;
}

#dashboards-integration-header .link {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    color: var(--dashboard-main);
}

#dashboards-integration-header.background-change {
    animation: .3s forwards ease-in-out toWhite;
}

@keyframes toWhite {
    from { background-color: transparent }
    to { background-color: var(--white) }
}
@keyframes toTransparent {
    from { background-color: var(--white) }
    to { background-color: transparent }
}

#mobile-links {
    display: none;
}

#desktop-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

#desktop-links .page-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

#message-link {
    padding: 15px 30px 15px 30px;
    border-radius: 30px;
    background: var(--dashboard-main);
    color: var(--white);

    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

#form-slide-button-desk {
    padding: 15px 30px 15px 30px;
    border-radius: 30px;
    background: var(--dashboard-link);
    color: var(--white);

    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

.main-screen {
    width: 100vw;
}

.main-screen .wrapper {
    background-image: -webkit-image-set(
            url("../images/dashboards/bg.svg") 1x
    );
    background-size: cover;
    background-repeat: no-repeat;
    width: inherit;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-screen__text {
    max-width: 80%;
    margin-top: 152px;
}

.main-screen__text h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 84px;
    text-align: center;
    text-transform: uppercase;
    color: var(--dashboard-main);
}
.t2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 34px;
    color: var(--dashboard-grey);

    width: 50%;
    margin: 0 auto;
}

#dashboard-contact-form {
    width: 100vw;
    padding: 150px 0;

    background-image: -webkit-image-set(url('../images/dashboards/footer-bg.svg') 1x);
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#dashboard-contact-form h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 54px;
    text-align: center;
    text-transform: uppercase;
    color: var(--dashboard-main);

    margin-bottom: 56px;
}
#dashboard-contact-form h5 {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-align: center;

    color: var(--dashboard-grey);

    margin-bottom: 56px;
}

#contact-us-form {
    width: 602px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

#contact-us-form .input-group {
    display: flex;
    flex-direction: column;
}

#contact-us-form input:not([type=checkbox]) {
    padding: 15px 26px 15px 26px;
    border-radius: 40px;
    border: 1px solid #C1CFEE;
}

#contact-us-form textarea {
    padding: 15px 26px 15px 26px;
    border-radius: 28px;
    border: 1px solid #C1CFEE;
    resize: none;
}

#contact-us-form input::placeholder, #contact-us-form textarea::placeholder {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    color: var(--dashboard-grey);
}

#contact-us-form [type="checkbox"]:not(:checked) + label:before, #contact-us-form [type="checkbox"]:checked + label:before {
    border: 2px solid var(--dashboard-link);
    background: var(--white);
    border-radius: 6px;
    box-shadow: none;
}

#contact-us-form [type="checkbox"]:not(:checked):hover + label:before, #contact-us-form [type="checkbox"]:checked:hover + label:before {
    border: 2px solid var(--dashboard-link);
}

.error-message {
    padding: 0 26px;
    color: var(--dashboard-danger);
}

#contact-us-form .contact-us-submit {
    margin-top: 40px;

    padding: 12px 24px 12px 24px;
    border-radius: 40px;
    outline: none;
    border: none;
    cursor: pointer;
    background: var(--dashboard-link);

    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    color: var(--white);
}

.dashboard-footer {
    width: 100vw;
    background-image: url("../images/dashboards/footer-bg-1.svg");
    background-size: cover;
    background-position: center;

    padding: 50px 32px;
}

#delimiter-footer {
    margin: 40px auto;
    border: 1px solid #2E4270;
}

#top-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
#top-footer img {
    filter: invert(1);
    max-width: 165px;
}

#addresses {
    display: flex;
    gap: 24px
}

#addresses address {
    max-width: 288px;
    font-style: normal;
}

#addresses .cntry {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    color: var(--white);

    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

#addresses .street {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

#addresses .street .h7 {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    text-align: left;
    color: var(--dashboard-grey);
}

#bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--white);
}

#bottom-footer img {
    filter: contrast(0) brightness(100);
}

#bottom-footer .right {
    display: flex;
    gap: 24px;
}

.marquee {
    margin-top: 40px;
    margin-bottom: 150px;
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 500px;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    padding-right: 24px;
}
.marquee-item img {
    width: 500px;
    aspect-ratio: 1 / 1;
}

#our-success {
    padding-top: 70px;
    margin-top: -70px;
    margin-bottom: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
}
.h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 54px;
    text-transform: uppercase;
    color: var(--dashboard-main);
}
#our-success .h2 {
    padding-bottom: 32px;
}

#our-success .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    grid-row-gap: 0;

    margin: 0 32px;
}

#our-success .cards .card {
    background-image: -webkit-image-set(url('../images/dashboards/card-bg.svg') 1x);
    background-size: contain;
    background-repeat: no-repeat;

    width: 100%;
    max-width: 367px;
    aspect-ratio: 1 / 1;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
}

.card .card-img {
    width: 50px;
    aspect-ratio: 1 / 1;
}
.card h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    color: var(--dashboard-main);
}

#examples {
    display: flex;
    flex-direction: column;
    gap: 150px;

    margin-top: -70px;
    padding-top: 70px;
}

#examples .example__text {
    display: flex;
    margin: 0 32px;
    gap: 32px;
}
#examples .example__text .h2 {
    flex: 0 0 50%;
}
#examples .example__images {
    width: auto;
    background-image: url("../images/dashboards/article-bg.svg");
    background-position: center;
    border-radius: 24px;
    overflow: hidden;

    margin-top: 56px;
    margin-left: 32px;
    margin-right: 32px;
    /*padding: 40px;*/
}

#examples .example__images .desktop {
    display: block;
}
#examples .example__images .mobile {
    display: none;
}

.slide {
    position: relative;
    width: 100%;
}

.slide img {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide img.active {
    opacity: 1;
}

.grid-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
}

.grid-block div:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
}

.grid-block div:nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
}

.grid-block div:nth-child(3) {
    grid-area: 2 / 3 / 3 / 4;
}

@media screen and (max-width: 1440px) and (min-width: 450px) {
    #our-success .cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-row-gap: 24px;
    }
}

@media screen and (max-width: 450px) {
    #our-success .cards {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        margin: 0 auto;
    }
    #examples .example__images .desktop {
        display: none;
    }
    #examples .example__images .mobile {
        display: block;
    }
    .example__text {
        flex-direction: column;
    }
    #examples .example__images .mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    #examples .example__images {
        padding: 16px;
        margin: 0;
    }
    #examples {
        gap: 55px;
    }
}

@media screen and (max-width: 1024px) {
    #our-success {
        margin-top: -50px;
        margin-bottom: 50px;
    }
    .marquee {
        margin-bottom: 50px;
    }
    .h2 {
        font-size: 32px;
        font-weight: 700;
        line-height: 40px;
    }
    .card {
        width: 343px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
    .card h3 {
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
        text-align: left;
    }

    .marquee {
        min-height: 343px;
        margin-top: 32px;
    }
    .marquee-item img {
        width: 343px;
        aspect-ratio: 1 / 1;
    }

    .main-screen__text {
        max-width: 100%;
        margin: 0 16px;
    }

    .main-screen__text h1 {
        font-size: 38px;
        font-weight: 700;
        line-height: 46px;
        text-align: center;
    }
    .main-screen__text .h2 {
        font-size: 18px;
        font-weight: 400;
        line-height: 26px;

        width: 100%;
    }

    .main-screen {
        aspect-ratio: auto;
    }
    .main-screen .wrapper {
        background-size: cover;
        background-position: center;
    }

    .main-screen__text {
        margin-top: 92px;
        max-width: 100%;
    }
    #dashboards-integration-header {
        height: 60px;
        padding: 0 16px;
    }
    #dashboards-integration-header img {
        max-width: 129px;
    }
    #desktop-links {
        display: none;
    }
    #mobile-links {
        display: flex;
        gap: 16px;
    }
    .burger-menu-list {
        position: absolute;
        top: 60px;
        left: 100%;
        background: var(--white);
        width: 100vw;
        height: calc(100svh - 60px);

        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .burger-menu-list.active {
        animation: .3s forwards ease-in slideOnLeft;
    }
    .burger-menu-list.inactive {
        animation: .3s forwards ease-in slideOnRight;
    }
    #dashboards-integration-header:has(.burger-menu-list.active):not(.background-change) {
        animation: .2s forwards ease-in toWhite;
    }
    #dashboards-integration-header:has(.burger-menu-list.inactive):not(.background-change) {
        animation: .2s forwards ease-in toTransparent;
    }

    .burger-page-links {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    @keyframes slideOnLeft {
        from { left: 100% }
        to { left: 0 }
    }
    @keyframes slideOnRight {
        from { left: 0 }
        to { left: 100% }
    }

    #dashboard-contact-form {
        padding: 50px 16px 0 16px;
    }
    #dashboard-contact-form h1 {
        font-size: 32px;
        font-weight: 700;
        line-height: 40px;
        text-align: center;

        margin-bottom: 32px;
    }
    #dashboard-contact-form h5 {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        text-align: center;

        margin-bottom: 32px;
    }

    #contact-us-form {
        width: 100%;
    }
    #contact-us-form .contact-us-submit {
        margin-bottom: 50px;
    }
    #top-footer {
        flex-direction: column;
    }
    #addresses {
        flex-direction: column;

        margin-top: 50px;
    }
    .dashboard-footer {
        padding: 32px 16px;
    }
    .h2 {
        padding-bottom: 24px;
    }
    .t2 {
        width: 100%;
    }
    #examples .example__text {
        margin: 0 16px;
        gap: 0;
    }
    #examples .example__images {
        margin-top: 32px;
        margin-left: 16px;
        margin-right: 16px;
    }
}
