:root {
    --main-color: #4F899F;
    --secondary-color: #1E4F71;
    --accent-color: #96C11F;
    --highlight-color: #65CAE7;
    --gray: #D7DCDF;
    --heading-color: #508BA1;
    --text-color: #000;
    --background-color: #fff;
}

::selection {
    background-color: var(--accent-color);
    color: #fff;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: "Montserrat", sans-serif;
}

p.header-notice {
    background: var(--secondary-color);
    color: var(--background-color);
    font-weight: 300;
    text-align: center;
    padding-block: 16px;
    font-size: 24px;
    line-height: 36px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    right: 0;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

p.header-notice span.header-notice-here {
    text-transform: uppercase;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    padding: 3px 6px;
    border-radius: 12px;
}

main.hero-section {
    padding-top: 200px;
    min-height: 760px;
    max-width: 1920px;
    margin: 0 auto;
    background-color: var(--main-color);
    background-image: url('img/cloud4medical-hero-section-graphics-upscaled.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section-content-right{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.wrapper {
    padding-inline: 16px;
    margin: 0 auto;
    max-width: 1148px;
}

.top{
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
}

header{
    background: rgb(30,79,113);
    background: linear-gradient(rgb(30, 79, 113) 0.2%, rgba(30, 79, 113, 0) 100%);
    position: fixed;
    width: 100%;
    transition: .3s;
}

header .wrapper {
    padding-block: 32px;
    padding-inline: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav {
    display: flex;
    gap: 2em;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
}

.fixed-top{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.burger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

.sidebar {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #1e4e71be;
    backdrop-filter: blur(8px);
    overflow-x: hidden;
    transition: 0.3s ease-in-out;
    padding-top: 60px;
    transform: translateX(-100%);
}

.sidebar .links {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.sidebar .links a {
    text-decoration: none;
    font-size: 32px;
    font-weight: 600;
    color: #f6f7f9;
    display: block;
    transition: 0.3s;
    text-align: center;
}

.sidebar .links a img {
    max-width: 100%;
    max-height: 74px;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 72px;
    margin-left: 50px;
    text-decoration: none;
    color: #aaa;
}

.sidebar .main-logo {
    max-width: 80% !important;
}

main.hero-section .hero-section-content .wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

main.hero-section .hero-section-content .hero-section-content-left h1 {
    color: var(--accent-color);
    font-size: 40px;
    font-weight: 600;
}

main.hero-section .hero-section-content .hero-section-content-left h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    margin-block: 16px;
}

main.hero-section .hero-section-content .hero-section-content-left p {
    color: #fff;
    font-weight: 300;
}

section.review {
    background-color: var(--secondary-color);
    text-align: center;
    padding-block: 32px;
    padding-inline: 16px;
    line-height: 54px;
}

section.review .review-text {
    font-size: 36px;
    font-weight: 600;
    color: var(--highlight-color);
}

section.review .review-author {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}

section#o-nas h2 {
    color: var(--heading-color);
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-block: 32px;
}

section#o-nas .o-nas-text {
    max-width: 770px;
    margin: 0 auto;
    text-align: justify;
    padding-inline: 16px;
}

#tym {
    margin-inline: auto;
    margin-block: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    gap: 40px;
    max-width: 1148px;
    padding-inline: 16px;
}

#tym .tym-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#tym .tym-member img {
    border-radius: 100%;
    box-shadow: 14px 9px 20px rgba(83, 146, 167, 0.22);
}

#tym .tym-member h3 {
    color: var(--heading-color);
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    text-align: center;
}

#tym .tym-member h4 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 16px;
}

#tym .tym-member p {
    text-align: justify;
}

.hero-section-content-right .cloud4medical-systems {
    display: none;
}

.main-logo {
    max-width: 90%;
    object-fit: contain;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 64px;
    font-size: 18px;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1148px;
    margin: 0 auto;
}

.footer-links a,
.footer-systems a {
    color: var(--highlight-color);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover,
.footer-systems a:hover {
    text-decoration: underline;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info img {
    max-width: 100%;
    max-height: 74px;
}

footer .footer-content .footer-links,
footer .footer-content .footer-systems {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}

.footer-notice {
    background-color: var(--accent-color);
    text-align: center;
    padding: 8px;
}

@media screen and (max-width: 900px) {
    p.header-notice {
        font-size: 20px;
    }

    h1 {
        font-size: 36px !important;
    }

    header {
        padding-inline: 24px;
    }

    header nav {
        display: none;
    }

    .burger {
        display: block;
    }

    main.hero-section {
        background-image: none;
    }

    .hero-section-content .wrapper {
        display: flex !important;
        flex-direction: column;
        text-align: center;
    }

    .hero-section-content-left {
        max-width: 60%;
        min-width: 300px;
        margin: 0 auto;
    }

    .hero-section-content-right .cloud4medical-systems {
        padding-block: 64px;
        display: grid;
        gap: 12px;
        grid-template-columns: 1fr 1fr;
    }

    .hero-section-content-right .cloud4medical-systems .cloud4medical-single-system {
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(30, 78, 113, 0.4);
        padding: 16px;
        border-radius: 12px;
        transition: .1s ease-in-out;
    }

    .hero-section-content-right .cloud4medical-systems .cloud4medical-single-system:hover {
        background-color: rgba(30, 78, 113, 0.7);
        cursor: pointer;
    }

    .hero-section-content-right .cloud4medical-systems .cloud4medical-single-system img {
        max-height: 74px;
        max-width: 100%;
    }

    footer .footer-content {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    footer .footer-content .footer-links,
    footer .footer-content .footer-systems {
        align-items: center;
    }
}

@media screen and (max-width: 680px) {
    .hero-section-content-right .cloud4medical-systems {
        grid-template-columns: 1fr;
    }

    main.hero-section .hero-section-content .hero-section-content-left h2 {
        font-size: 32px;
    }

    .hero-section-content-left {
        min-width: unset !important;
        margin: unset !important;
        max-width: unset !important;
    }

    #tym {
        grid-template-columns: 1fr;
        max-width: 50%;
        max-width: 300px;
    }
}

@media screen and (min-width: 900px) {
    .sidebar {
        display: none;
    }
}