/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F9F8F8;
}

body,
html {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    color: #302F2F;
    max-width: 1332px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    z-index: 100;
}

.brand-title {
    font-size: 1.5rem;
    margin: .5rem;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
    display: flex;
    align-items: center;
}

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: #302F2F;
    font-weight: 600;
    font-size: 16px;
    line-height: 21.28px;
    margin-right: 32px;
}

.navbar-links li:nth-child(6) a {
    background-color: #2196F3;
    border-radius: 8px;
    font-size: 16px;
    line-height: 21.28px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    max-width: 123px;
    padding-left: 20px;
    padding-right: 20px;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    margin-top: 40px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: #302F2F;
    border-radius: 10px;
}


/* HERO */

.hero>p {
    text-align: center;
}

.hero>p:nth-child(1) {
    font-weight: 700;
    font-size: 48px;
    line-height: 63.84px;
    color: #4B4B4B;
    margin-bottom: 15px;
    margin-top: 90px;
}

.hero>p:nth-child(2) {
    font-weight: 700;
    font-size: 32px;
    line-height: 42.56px;
    color: #ACACAC;
    margin-bottom: 5px;
}

.hero>p:nth-child(3) {
    font-weight: 700;
    font-size: 18px;
    line-height: 23.94px;
    color: #ACACAC;
}

.hero-graphics {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* About */

.about {
    margin-bottom: 100px;
}

.about>p:first-child {
    font-weight: 700;
    font-size: 28px;
    line-height: 37.24px;
    text-align: center;
    margin-top: 90px;
    margin-bottom: 20px;
}

.about>.underline {
    max-width: 404px;
    height: 4px;
    background-color: #2196F3;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.paragraph-1 {
    max-width: 798px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.94px;
    color: #595959;
}

.paragraph-1>p>span:first-child {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #595959;
}

.paragraph-1>p>span:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #2196F3;
}

.paragraph-1>p>span:nth-child(3) {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #595959;
}

.paragraph-1>ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

.paragraph-11 {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.94px;
    color: #595959;
}

.paragraph-11>p>span:first-child {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #595959;
}

.paragraph-11>p>span:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #2196F3;
}

.paragraph-11>p>span:nth-child(3) {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #595959;
}

.paragraph-11>ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

.paragraph-2 {
    max-width: 798px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.94px;
    color: #595959;
}

.paragraph-2>p>span {
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    color: #595959;
}

/* Agreement */

.agreement>p:first-child {
    font-weight: 700;
    font-size: 28px;
    line-height: 37.24px;
    text-align: center;
    margin-top: 90px;
    margin-bottom: 20px;
}

.agreement>.underline {
    max-width: 404px;
    height: 4px;
    background-color: #2196F3;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* Footer */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #EBF6FE;
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    z-index: 999;
}

.rotating-text {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
}

.left {
    /* width: 50%; */
    display: flex;
    gap: 7px;
    flex-direction: column;
}

.right {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.left>a {
    color: #302F2F;
    font-size: 12px;
    line-height: 15.96px;
    max-width: 115px;
    text-decoration: none;
}

.left>img {
    width: 137px;
    height: 31px;
}

.company {
    display: flex;
    flex-direction: column;
    color: #075696;
    font-weight: 600;
    font-size: 16px;
    line-height: 21.28px;
}

.company>a {
    text-decoration: none;
    color: #302F2F;
    font-size: 12px;
    font-weight: 400;
}

.services {
    display: flex;
    flex-direction: column;
    color: #075696;
    font-weight: 600;
    font-size: 16px;
    line-height: 21.28px;
}

.services>a {
    text-decoration: none;
    color: #302F2F;
    font-size: 12px;
    font-weight: 400;
}

.resources {
    display: flex;
    flex-direction: column;
    color: #075696;
    font-weight: 600;
    font-size: 16px;
    line-height: 21.28px;
}

.resources>a {
    text-decoration: none;
    color: #302F2F;
    font-size: 12px;
    font-weight: 400;
}

.for-users {
    display: flex;
    flex-direction: column;
    color: #075696;
    font-weight: 600;
    font-size: 16px;
    line-height: 21.28px;
}

.for-users>a {
    text-decoration: none;
    color: #302F2F;
    font-size: 12px;
    font-weight: 400;
}

.read {
    background-color: #2196F3;
    border-radius: 8px;
    font-size: 16px;
    line-height: 21.28px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    max-width: 123px;
    margin-top: 44px;
    margin-bottom: 133px;
}

.container {
    flex: 1;
    overflow-y: auto;
    margin-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.mobile {
    display: none !important;
}

.desktop {
    display: flex !important;
}

.jarek-img {
    height: 167px;
    margin-right: 50px;
}

.simon-img {
    height: 178px;
    margin-right: 50px;
}

.jarek-div {
    display: flex;
}

/* Media query for mobile screens */
@media (max-width: 1502px) {
    .back-vectors {
        /* width: 50%; */
        height: 50%;
    }
}

@media (max-width: 1440px) {
    .footer {
        padding: 5px 10%;
    }

    .left {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .left>a {
        max-width: none;
    }

    .rotating-text {
        font-size: 1.5rem;
    }
}


@media (max-width: 983px) {
    .footer {
        padding: 5px 3%;
    }
}

@media (max-width: 768px) {
    .jarek-div {
        flex-direction: column;
    }

    .jarek-img {
        height: auto;
        width: 180px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }

    .simon-img {
        height: auto;
        width: 180px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        /* padding-top: 20px; */
    }

    .toggle-button-mobile .bar:first-child {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .toggle-button-mobile .bar:nth-child(2) {
        opacity: 0;
    }

    .toggle-button-mobile .bar:last-child {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .toggle-button-mobile .bar {
        transition: 0.4s;
    }

    .about>.underline {
        max-width: 274px;
    }

    .agreement>.underline {
        max-width: 274px;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
        margin-right: 0px;
        border-bottom: #302f2f56 0.5px solid;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .navbar-links ul li:last-child a {
        padding: .5rem 1rem;
        margin-right: 0px;
        border-bottom: #302f2f56 0.5px solid;
        display: flex;
        justify-content: center;
    }

    .nav-line {
        display: none;
    }

    .navbar-links.active {
        display: flex;
    }

    /* HERO */

    .hero-graphics>img {
        width: 50%;
        height: 50%;
    }

    .footer {
        flex-direction: column;
        padding: 20px 5%;
    }

    .left {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .left>p {
        text-align: justify;
    }

    .right {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

.image-1 {
    display: flex;
    justify-content: space-between;
    max-width: 1144px;
    margin-right: auto;
    margin-left: auto;
    gap: 30px
}

.image-1>img {
    max-width: 680px;
    margin-bottom: 60px;
    width: 100%;
}

.image-2 {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    max-width: 1144px;
    margin-right: auto;
    margin-left: auto;
    gap: 30px
}

.image-2>img {
    max-width: 680px;
    width: 100%;
}

.button-how {
    max-width: 1144px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.image-3>div>p {
    width: 1000px;
}

@media (max-width: 983px) {
    .image-1 {
        flex-direction: column;
        align-items: center;
        text-align: justify;
    }

    .image-2 {
        flex-direction: column;
        align-items: center;
        text-align: justify;
    }

    .image-3>div>p {
        width: auto;
    }

    .image-3>div {
        flex-direction: column;
        gap: 20px;
    }
}

.image-3>img {
    max-width: 1000px;
    width: 100%;
}

.image-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.main-paragraph-1 {
    background-color: #d1d1d1;
    border-radius: 5px 5px 0px 0px;
    border: 2px solid #a8a8a8;
    padding: 5px 10px 5px 10px;
    width: max-content;
    font-weight: bold;
}

.secondary-paragraph-1 {
    background-color: #d1d1d1;
    border: 2px solid #a8a8a8;
    padding: 5px 10px 5px 10px;
    width: max-content;
    margin-top: 10px;
}

.sup {
    text-align: left;
    display: flex;
    justify-content: end;
    max-width: 1142px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

@media (max-width: 983px) {
    .index-main {
        flex-direction: column;
        gap: 20px;
    }

    .sup {
        justify-content: center;
    }

    .container-testing {
        flex-direction: column;
        gap: 20px;
    }

    .how-sea-works {
        flex-direction: column !important;
        display: flex;
    }

    .flexing {
        flex-direction: column !important;
        display: flex;
    }

    .paragraph-44 {
        flex-direction: column !important;
        display: flex;
    }


    .major-problem-flex-problem {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column-reverse;
    }

    .left {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .left>a {
        max-width: none;
    }

    .left>a img {
        display: none;
    }

    .rotating-text {
        font-size: 1.1rem;
        margin: 0 auto;
    }


}


@media (max-width: 558px) {
    .main-page-smaller-text {
        font-size: 11px;
    }

    .custom-width {
        width: 88%;
    }
}

@media (max-width: 336px) {
    .main-page-smaller-text {
        font-size: 8px;
    }

    .custom-width {
        width: 88%;
    }
}

.requestDemoButton:hover {
    cursor: pointer;
}

.how-read-works-submit-button:hover {
    cursor: pointer;
}