:root {
    --font-size-s: 12px;
    --font-size-m: 18px;
    --font-size-l: 20px;
    --font-size-xl: 25px;
    --font-size-xxl: 35px;
    --font-size-hero: 40px;

    --color-gold: #d5ab35;
    --color-blue-1: #06aac4;
    --color-blue-2: #02879c;
    --color-blue-3: #026878;
    --color-blue-4: #004d6e;
    --color-blue-5: #113c56;
}

html, body {
    height: fit-content;
    margin: 0;
    background-color: #081b27;
    font-family: "Roboto", sans-serif;
}

body * {
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

body {
    min-height: 100vh;
    position: relative;
}

.content-container strong {
    font-weight: bold;
    color: var(--color-gold);
}

p {
    min-height: 1em;
}

a, [data-type="mail"] {
    text-decoration: none;
    color: var(--color-blue-1);
    cursor: pointer;
}

body:has(#editToggle:checked) .editable-content a,
body:has(#editToggle:checked) .editable-content [data-type="mail"] {
    cursor: text;
}

.link {
    cursor: pointer;
}

body:has(#editToggle:checked) .link {
    cursor: default;
}


.background {
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-image {
    content: url("../img/hero-vDgZHyU.png");
    width: 100%;
}

.background-gradient {
    height: 110%;
    background: linear-gradient( to bottom, transparent 0px, var(--color-blue-4) 400px, black 100% );
    margin-top: -400px;
}

.greek-column-top {
    content: url("../img/graphic/greek_column_top-YiZAtSh.png");
    position: absolute;
    top: 0;
    left: 60px;
}

.greek-column-bottom {
    content: url("../img/graphic/greek_column_bottom-CcZZB8V.png");
    position: absolute;
    bottom: 0;
    left: 65px;
}

body, .content-container {
    display: flex;
    flex-direction: column;
}

.content-container {
    min-height: inherit;
    z-index: 1;
}

.content-container > .content {
    flex: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    margin-inline: 300px;
    position: relative;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
    z-index: 99;
}

header .home-link {
    height: fit-content;
}

.nav-home {
    display: none;
}

header .logo {
    content: url("../img/logo-sguhVTs.svg");
}

header ul {
    list-style: none;
    flex-direction: row;
    display: flex;
    gap: 40px;
}

header ul li {
    position: relative;
    cursor: pointer;
}

header ul li ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: -5px;
    min-width: 16rem;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 5px;
    background: var(--color-blue-4);
    box-shadow: 0 12px 36px rgb(22 25 23 / 0.04);
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

header ul li:hover ul,
header ul li:focus-within ul {
    visibility: visible;
    opacity: 1;
}

header ul li .nav-link {
    text-decoration: none;
    font-size: var(--font-size-xl);
    color: var(--color-blue-1);
}

header ul li .nav-link.active {
    color: var(--color-gold);
}


.menu-toggle {
    display: none;
    content: url("../img/icons/menu-P_PN6VE.png");
    cursor: pointer;
}

main {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 200px;
}

.body-content {
    width: 100%;
}

.home-content {
    display: flex;
    flex-direction: column;
    gap: 290px;
    margin-top: 160px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: 100px;
    gap: 30px;
}

.hero .title {
    font-size: var(--font-size-hero);
    color: white;
    text-align: center;
    width: fit-content;
    max-width: 80%;
}

.hero .subtitle {
    font-size: var(--font-size-l);
    color: white;
    text-align: center;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.demo-button, .functions-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-m-home);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.3);
}

.demo-button {
    background-color: var(--color-blue-3);
    color: white;
}

.functions-button {
    background-color: white;
    color: var(--color-blue-3);
    border: 2px solid var(--color-blue-3);
}

.cta-buttons .button:active {
    opacity: 0.8;
}

.home-content .justitia {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-block: -140px;
    gap: 20px;
}

.home-content .justitia .justitia-text {
    font-size: var(--font-size-xxl);
    color: white;
    text-transform: uppercase;
}

.home-content .justitia .justitia-image {
    content: url("../img/justitia_logo-a2oGdRn.png");
    padding: 10px;
    height: auto;
    width: 201px;
    background: white;
    border-radius: 5px;
    max-width: 80%;
}

.home-content .section-features-tertiary {
    display: flex;
    justify-content: center;
}

.home-content .section-features-tertiary .section-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    gap: 15%;
}

.home-content .section-features-tertiary .title {
    height: fit-content;
    font-size: var(--font-size-xl);
    color: white;
    font-weight: bold;
}

.home-content .section-features-tertiary .features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.home-content .section-features-tertiary .feature-icon {
    height: 60px;
}

.home-content .section-features-tertiary .feature-icon.icon-1 {
    content: url("../img/icons/swiss_shield-4ad8QCU.png");
}


.home-content .section-features-tertiary .feature-icon.icon-2 {
    content: url("../img/icons/eye-fNGT7HN.png");
    height: 40px;
}


.home-content .section-features-tertiary .feature-icon.icon-3 {
    content: url("../img/icons/person-3Pt5Jgo.png");
}

.home-content .section-features-tertiary .feature-title {
    font-size: var(--font-size-l);
    color: white;
    font-weight: bold;
}

.home-content .section-features-tertiary .feature-text {
    font-size: var(--font-size-m-home);
    color: rgba(255, 255, 255, 0.8);
}

.home-content .section-features-primary {
    display: flex;
    justify-content: center;
}

.home-content .section-features-primary .section-wrapper {
    display: flex;
    position: relative;
    gap: 50px;
}

.home-content .section-features-primary .section-wrapper:before {
    content: url("../img/graphic/corner_bottom_left-oY_moQ-.png");
    position: absolute;
    bottom: -50px;
    left: -50px;
}

.home-content .section-features-primary .section-wrapper:after {
    content: url("../img/graphic/corner_top_right-_Y-sKZ8.png");
    position: absolute;
    top: -50px;
    right: -50px;
}

.home-content .section-features-primary .feature {
    width: fit-content;
    background-color: var(--color-blue-5);
    border-radius: 10px;
}

.home-content .section-features-primary .feature .feature-wrapper {
    display: flex;
    flex-direction: column;
    margin: 20px;
    gap: 20px;
}

.home-content .section-features-primary .feature .feature-title {
    width: fit-content;
    font-size: var(--font-size-xxl);
    color: var(--color-gold);
    font-weight: bold;
}

.home-content .section-features-primary .feature .feature-wrapper .feature-content {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.home-content .section-features-primary .feature .feature-text {
    width: 300px;
    font-size: var(--font-size-m-home);
    color: white;
    font-weight: bold;
}

.home-content .section-features-secondary {
    display: flex;
    justify-content: center;
}

.home-content .section-features-secondary .section-wrapper {
    display: flex;
    margin-inline: 40px;
    width: fit-content;
    gap: 30px;
}

.home-content .section-features-secondary img {
    content: url("../img/demo-images/1-9cWoF51.png");
    max-height: 500px;
    max-width: 90%;
}

.home-content .section-features-secondary .section-wrapper .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.home-content .section-features-secondary .section-wrapper .content .title {
    width: fit-content;
    text-align: center;
    font-size: var(--font-size-xxl);
    color: var(--color-gold);
    font-weight: bold;
}

.home-content .section-features-secondary .section-wrapper .content .text {
    width: fit-content;
    max-width: 700px;
    font-size: var(--font-size-m-home);
    color: white;
}

.home-content .section-downloads {
    display: flex;
    justify-content: center;
    margin-block: -150px;
}

.home-content .section-downloads .section-wrapper {
    display: flex;
    margin-inline: 40px;
    width: fit-content;
    gap: 70px;
}

.home-content .section-downloads .section-wrapper .download {
    display: flex;
    width: fit-content;
    padding: 30px;
    background-color: var(--color-blue-4);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.3);
}

.home-content .section-downloads .section-wrapper .download:hover {
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.7);
}

.home-content .section-downloads .section-wrapper .download:active {
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
}

.home-content .section-downloads .section-wrapper .download .download-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.home-content .section-downloads .section-wrapper .download .download-wrapper .download-image.image-1 {
    content: url("../img/icons/flyer-Me7hmZg.png");
}

.home-content .section-downloads .section-wrapper .download .download-wrapper .download-image.image-2 {
    content: url("../img/icons/document-OCE7j-D.png");
}

.home-content .section-downloads .section-wrapper .download .download-wrapper .download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.home-content .section-downloads .section-wrapper .download .download-wrapper .download-content .download-title {
    color: var(--color-blue-1) !important;
    font-size: var(--font-size-xl);
    font-weight: bold;
}

.list-element ul {
    list-style: none;
    display: flex;
    color: white;
    font-size: var(--font-size-m);
    flex-direction: column;
    gap: 25px;
}

.list-element ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-element ul li:before {
    content: url("../img/icons/list_icon-Uit6wgl.png");
    height: 21px;
}

.list-element ul li .editable-content.editmode {
    margin-inline: 10px;
    margin-bottom: 0px;
}

.list-element .add-row-button.editmode {
    margin-top: 15px;
}

.body-content .page-content {
    display: flex;
    max-width: 1000px;
    flex-direction: column;
    margin-inline: auto;
    gap: 50px;
}

.page-title {
    font-size: var(--font-size-xxl);
    color: white;
}

.page-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-blue-2);
}

.page-text {
    font-size: var(--font-size-m);
    color: white;
}

.functions {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.functions .functions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.section-with-video .section-wrapper,
.functions .function .function-wrapper {
    display: flex;
    gap: 30px;
}

.section-with-video .section-wrapper {
    align-items: center;
}

.section-with-video .section-wrapper .section-video,
.functions .function .function-wrapper .function-video {
    width: 240px;
    min-width: 240px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.section-with-video .section-wrapper .section-video .image,
.functions .function .function-wrapper .function-video .image {
    content: url("../img/demo-images/1-9cWoF51.png");
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-with-video .section-wrapper .section-video .overlay,
.functions .function .function-wrapper .function-video .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue-2);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.section-with-video .section-wrapper .section-video .play-icon,
.functions .function .function-wrapper .function-video .play-icon {
    background-image: url("../img/icons/play_icon-Dn4Ezu1.svg");
    width: 66px;
    height: 66px;
    position: absolute;
    z-index: 3;
}

.section-with-video .section-wrapper .section-video:hover .overlay,
.functions .function .function-wrapper .function-video:hover .overlay {
    opacity: 0.3;
}

.section-with-video .section-wrapper .section-video:hover .play-icon,
.functions .function .function-wrapper .function-video:hover .play-icon {
    transform: scale(1.1);
}

.section-with-video .section-wrapper .section-content,
.functions .function .function-wrapper .function-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-with-video .section-wrapper .section-content .section-title,
.functions .function .function-wrapper .function-content .function-title {
    font-size: var(--font-size-xxl);
    color: var(--color-blue-1);
    font-weight: bold;
}

.section-with-video .section-wrapper .section-content .section-text,
.functions .function .function-wrapper .function-content .function-text {
    font-size: var(--font-size-m);
    color: white;
}

.section-with-video {
    margin-block: 30px;
}

.kontakt-page-content {
    display: flex;
    width: 100%;
    max-width: 900px;
    flex-direction: column;
    gap: 50px;
    align-self: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 36px;
    color: white;
    background: rgb(0 31 44 / 0.88);
    border: 1px solid rgb(6 170 196 / 0.35);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgb(0 0 0 / 0.3);
    backdrop-filter: blur(8px);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.contact-form-row > label {
    padding-top: 11px;
    color: white;
    font-size: var(--font-size-m);
    font-weight: 600;
}

.contact-form label.required::after {
    content: "*";
    margin-left: 2px;
    color: var(--color-gold);
}

.contact-form-control {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 13px;
    color: white;
    font: inherit;
    line-height: 1.4;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.3);
    border-radius: 7px;
    outline: none;
}

.contact-form input[type="text"]:hover,
.contact-form input[type="email"]:hover,
.contact-form input[type="tel"]:hover,
.contact-form textarea:hover {
    border-color: rgb(6 170 196 / 0.75);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    background: rgb(255 255 255 / 0.12);
    border-color: var(--color-blue-1);
    box-shadow: 0 0 0 3px rgb(6 170 196 / 0.18);
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-form-choice {
    display: grid;
    grid-template-columns: 190px auto auto 1fr;
    align-items: center;
    gap: 18px;
}

.contact-choice-label {
    color: white;
    font-size: var(--font-size-m);
    font-weight: 600;
}

.contact-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
}

.contact-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--color-blue-1);
    cursor: pointer;
}

.contact-checkbox label {
    color: white;
    cursor: pointer;
}

.contact-form ul {
    margin: 0;
    padding: 0;
    color: #ffb8b8;
    font-size: var(--font-size-s);
    list-style: none;
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
    border-color: #ff8f8f;
}

.contact-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.contact-form-actions button {
    min-width: 145px;
    padding: 11px 24px;
    color: white;
    font: inherit;
    font-weight: 600;
    background: var(--color-blue-3);
    border: 1px solid var(--color-blue-1);
    border-radius: 8px;
    cursor: pointer;
}

.contact-form-actions button:hover {
    color: #002d3c;
    background: var(--color-blue-1);
    box-shadow: 0 8px 24px rgb(6 170 196 / 0.25);
    transform: translateY(-1px);
}

.contact-form-actions button:active {
    transform: translateY(0);
}

.contact-alert {
    padding: 14px 18px;
    color: white;
    border: 1px solid;
    border-radius: 8px;
}

.contact-alert-success {
    background: rgb(31 111 92 / 0.85);
    border-color: #64c9a8;
}

.contact-alert-error {
    background: rgb(125 43 43 / 0.88);
    border-color: #ff9a9a;
}

/*
* Honeypot: available to basic bots but outside the visible page.
* Do not replace this with display: none or type="hidden".
*/
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.section-about {

}

.section-about .text {
    font-size: var(--font-size-m);
    color: white;
}

.section-about .section-wrapper{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-title {
    font-size: var(--font-size-xl);
    color: var(--color-gold);
    font-weight: bold;
}

.section-about .section-wrapper .content {
    display: flex;
    width: 600px;
    justify-content: space-between;
    gap: 40px;
    padding: 36px;
    color: white;
    background: rgb(0 31 44 / 0.88);
    border: 1px solid rgb(6 170 196 / 0.35);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgb(0 0 0 / 0.3);
    backdrop-filter: blur(8px);
}

.section-about .section-wrapper .logo {
    width: 300px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
}

.section-about .section-wrapper .logo img {
    content: url("../img/ima_logo-bfDuipI.png");
    width: 100%;
}

.login-shell {
    display: flex;
    justify-content: center;
    color: white;
}

.login-card {
    display: flex;
    flex-direction: column;
}

.login-card * {
    margin-top: 10px;
}

.login-input {
  border: 2px solid transparent;
  width: 15em;
  height: 2.5em;
  padding-left: 0.8em;
  outline: none;
  overflow: hidden;
  background-color: #F3F3F3;
  border-radius: 10px;
  transition: all 0.5s;
}

.login-input:hover,
.login-input:focus {
  border: 2px solid #4A9DEC;
  box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
  background-color: white;
}

.login-button {
    margin-top: 20px;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid gray;
    background: white;
    color: black;
    font-size: var(--font-size-l);
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px;
}

footer * {
    color: white;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    text-decoration: underline;
}

.footer-text {
    text-align: center;
}

.footer-text .footer-phone {
    text-wrap: nowrap;
}

.video-popup {
    background: transparent;
    height: -webkit-fill-available;
    margin-inline: auto;
    margin-block: 100px;
    height: 80%;
    align-self: center;
    overflow: visible;
    user-select: none;
}

.video-popup::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.video-popup .close-popup {
    content: url("../img/icons/close-pHUAB-Z.png");
    position: absolute;
    top: -50px;
    right: 0px;
    cursor: pointer;
}

.video-popup .close-popup:hover {
    transform: scale(1.1);
}

.video-popup .close-popup:active {
    transform: scale(0.9);
}

.video-popup video {
    width: 100%;
    height: 100%;
    user-select: none;
}


@media (max-width: 1600px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-bar {
        display: block;
        visibility: hidden;
        opacity: 0;
        width: 400px;
        margin: 0;
        overflow: hidden;
        background: var(--color-blue-4);
        position: absolute;
        top: 60px;
        right: 5px;
        border-radius: 18px;
        box-shadow: 0 8px 24px rgb(0 0 0 / 0.3);
    }

    .nav-bar.active {
        visibility: visible;
        opacity: 1;
    }

    .nav-bar .nav-home {
        display: unset;
    }

    .nav-bar nav.pages {
        padding: 0;
    }

    .nav-bar nav.pages > ul {
        flex-direction: column;
        align-items: flex-start;
        padding-block: 20px;
        gap: 16px;
    }

    .nav-bar nav.pages > ul > li {
        width: 100%;
    }
    
    .nav-bar nav.pages li > a {
        display: inline-block;
        width: 100%;
        padding-inline: 30px;
        color: white;
        border-radius: 0;
    }

    .nav-bar nav.pages li > a:not(.active):is(:hover, :focus) {
        background-color: white;
        color: var(--color-blue-4);
    }

    .nav-bar nav a.active, .nav-bar nav .nav-link.active {
        color: var(--color-gold);
    }

    .nav-bar nav.pages > ul > li.has-subpages {
        display: block;
    }

    .nav-bar nav.pages > ul > li.has-subpages > span {
        display: block;
        width: 100%;
        padding-inline: 30px;
        color: white;
        cursor: pointer;
    }

    .nav-bar nav.pages > ul > li.has-subpages::before {
        content: "❯";
        display: inline-block;
        margin-right: 10px;
        position: absolute;
        left: 10px;
        font-weight: bold;
        color: white;
        transition: transform 0.2s ease;
        transform: rotate(0deg);
        top: 4px;
    }

    .nav-bar nav.pages > ul > li.has-subpages.active::before {
        transform: rotate(90deg);
    }

    .nav-bar nav.pages > ul > li.has-subpages > ul {
        max-height: 0;
        padding: 0;
        position: initial;
        border-radius: 0;
        box-shadow: none;
        gap: 10px;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .nav-bar nav.pages > ul > li.has-subpages.active > ul {
        max-height: 150px;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
    }

    .nav-bar nav.pages > ul > li.has-subpages > ul > li > a {
        padding-left: 50px;
    }

    .nav-home {
        display: block;
    }

    /* Columns */
    .greek-column-top {
        left: 15px;
    }

    .greek-column-bottom {
        left: 15px;
    }

    /* Section 1 */
    .home-content .section-features-tertiary .section-wrapper {
        gap: 5%;
    }
    header {
        margin-left: 230px;
        margin-right: 120px;
    }
}

@media (max-width: 1250px) {
    header {
        margin-inline: 20%;
    }

    .body-content .page-content {
        margin-inline: 160px;
    }

    .home-content {
        gap: 200px;
    }

    .home-content .section-features-tertiary .section-wrapper {
        flex-direction: column;
        align-items: start;
    }

    .home-content .section-features-tertiary .section-wrapper .features {
        align-self: end;
        width: 740px;
        flex-direction: column;
        align-items: start;
    }

    .home-content .section-features-tertiary .section-wrapper .features > :nth-child(2) {
        align-self: center;
    }

    .home-content .section-features-tertiary .section-wrapper .features > :last-child {
        align-self: end;
    }

    .home-content .section-features-primary .section-wrapper {
        flex-direction: column;
    }

    .home-content .section-features-secondary .section-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .home-content .section-features-secondary .section-wrapper .content .title {
        align-self: center;
    }

    .home-content .justitia {
        margin-block: 0;
    }

    .home-content .section-downloads {
        margin-block: 0;
    }
}

@media (max-width: 950px) {
    .greek-column-top {
        opacity: 0.5;
    }
    
    .greek-column-bottom {
        opacity: 0.5;
    }

    .nav-bar {
        width: fit-content;
    }
    
    .home-content .justitia {
        flex-direction: column;
    }

    .home-content .section-features-tertiary .section-wrapper .features {
        width: 100%;
    }

    .section-with-video .section-wrapper {
        flex-direction: column;
    }
    
    .section-with-video .section-wrapper .section-content .section-title {
        text-align: center;
    }

    .section-about .section-wrapper .content {
        width: fit-content;
        flex-direction: column;
    }
}

@media (max-width: 880px) {
    .functions .function-wrapper {
        flex-direction: column;
    }

    .contact-form {
        gap: 16px;
        padding: 24px 18px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .contact-form-row > label {
        padding-top: 0;
    }

    .contact-form-choice {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-form-choice legend {
        grid-column: auto;
        margin-bottom: 2px;
    }

    .contact-form-actions button {
        width: 100%;
    }
}

@media (max-width: 750px) {
    .body-content .page-content {
        margin-inline: 70px;
    }

    .home-content {
        margin-top: 0;
        gap: 100px;
    }

    .home-content .section-features-tertiary .section-wrapper {
        align-items: center;
        gap: 50px;
    }

    .home-content .section-features-tertiary .section-wrapper .features {
        width: fit-content;
        align-self: center;
        gap: 50px;
    }

    .home-content .section-features-tertiary .section-wrapper .features > :nth-child(2) {
        align-self: start;
    }

    .home-content .section-features-tertiary .section-wrapper .features > :last-child {
        align-self: start;
    }

    .home-content .section-features-tertiary .section-wrapper .feature-wrapper {
        display: flex;
        align-items: center;
        width: 370px;
    }

    .home-content .section-features-tertiary .section-wrapper .features .feature-icon {
        margin-inline: auto;
    }

    .home-content .section-features-tertiary .section-wrapper .features .feature-content {
        width: 250px;
    }
    
    .functions .functions-wrapper {
        gap: 50px;
    }
}


@media (max-width: 500px) {
    :root {
        --font-size-s: 10px;
        --font-size-m-home: 16px;
        --font-size-m: 17px;
        --font-size-l: 18px;
        --font-size-xl: 20px;
        --font-size-xxl: 25px;
        --font-size-hero: 35px;
    }

    .greek-column-top {
        display: none;
    }

    .greek-column-bottom {
        display: none;
    }

    header {
        margin-inline: 25px;
        margin-top: 10px;
    }

    main {
        margin-top: 30px;
        margin-bottom: 100px;
    }

    .body-content .page-content {
        margin-inline: 25px;
        gap: 25px;
    }

    .hero {
        margin-inline: 25px;
        margin-top: 40px;
    }

    .home-content .section-features-primary .section-wrapper {
        margin-inline: 60px;
    }

    .home-content .section-features-primary .section-wrapper .feature-text {
        width: unset;
    }

    .home-content .section-downloads .section-wrapper {
        margin-inline: 15px;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }

    .home-content .section-downloads .section-wrapper .download {
        padding: 25px;
    }

    .home-content .section-features-tertiary .section-wrapper .features .feature-wrapper {
        width: 300px;
    }
    
    .home-content .section-features-tertiary .section-wrapper .features .feature-content {
        width: 200px;
    }

    .section-about .section-wrapper .logo {
        width: fit-content;
    }
}