﻿* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    list-style: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
    box-sizing: border-box;
    text-size-adjust: none;
}

:root {
    color-scheme: light only;
}

body {
    font: 16px/1.5 "Poppins", sans-serif;
    color: #000;
    background: #fff;
}

button {
    background: none;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}
button:not([disabled]):not(.disabled) {
    cursor: pointer;
}
button::-moz-focus-inner {
    border: 0;
}

img {
    display: block;
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}

.center {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
    box-sizing: content-box;
}
.full > .center {
    max-width: 1440px;
    padding: 0;
    position: relative;
}

.img,
.pic {
    position: relative;
    overflow: hidden;
    background: linear-gradient(270deg, #230b2f, #390e3c);
}
.img img,
.pic img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    font-family: "object-fit: cover;";
}

.swiper-pagination {
    display: flex;
}
.swiper-pagination-bullet {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 !important;
}
.swiper-pagination span + span {
    margin-left: 5px !important;
}
.swiper-pagination-bullet-active {
    background: #1355ff;
}

.swiper-nav {
    position: absolute;
    z-index: 1;
    top: 50%;
    width: 40px;
    height: 40px;
}
.swiper-nav:before {
    content: "";
    display: block;
    width: 14px;
    height: 35px;
    margin: auto;
    background: url(/assets/images/arrow.svg) no-repeat center;
    opacity: 0.2;
    background-size: contain;
}
.swiper-nav.prev:before {
    transform: scaleX(-1);
}
.swiper-nav.prev {
    left: 7%;
}
.swiper-nav.next {
    right: 7%;
}

button.rnd:disabled {
    background-color: #bdbdbd;
    color: rgba(255, 255, 255, 0.8);
}

button.rnd {
    background: #ffce42;
    color: #161439;
    font-size: 16px;
    line-height: 50px;
    font-weight: 700;
    padding: 0 35px;
    border-radius: 25px;
}

button.btn-video {
    display: flex;
    align-items: center;
    margin: auto;
    overflow: visible;
}
button.btn-video:before {
    content: "";
    width: 34px;
    height: 34px;
    background: url(/Assets/Images/play.svg);
    background-size: cover;
    margin: -1px 9px -1px -1px;
}

.fl {
    display: flex;
}

.itp-logo {
    display: block;
    width: 192px;
}

#topnav {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    color: #fff;
}

#topnav .fl {
    justify-content: space-between;
    align-items: center;
    margin: 25px 20px;
}
#topnav .fl > div:first-child {
    align-self: flex-start;
}
#topnav .fl > div:nth-child(2) {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

#topnav .fl > div:last-child {
    display: flex;
    align-items: center;
    gap: 20px;
}

#topnav button[data-rel] {
    color: #161439;
    font-weight: 600;
}

[lang="de"] #topnav button[data-rel] {
    font-size: 15px;
}

#topnav button[data-rel] + button {
    margin-left: 35px;
}

.lang-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-nav a {
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #7f7e97;
    border-radius: 22px;
    line-height: 38px;
    color: #7f7e97;
    text-decoration: none;
    font-weight: 600;
}

.lang-nav a:hover {
    color: #000;
    border-color: #000;
}

[lang="en"] .lang-nav a[data-lang="en"],
[lang="de"] .lang-nav a[data-lang="de"] {
    background-color: #1355ff;
    color: #fff;
    border-color: #1355ff;
}

#btn-top-menu,
#menu-overlay {
    display: none;
}

.ovl {
    position: fixed;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
}
.ovl > span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: all 0.3s;
}

.ovl .full {
    position: relative;
    background: #fff;
    width: 100%;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s, transform 0s 0.3s;
}
.ovl .center {
    padding: 40px 7% 40px 50px;
    box-sizing: border-box;
}

.ovl .close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: url(/Assets/Images/close.svg) no-repeat center;
}

.ovl .itp-logo {
    transform: translateY(-4px);
}

.ovl p.title {
    color: #282b27;
    font-size: 21px;
    font-weight: 600;
}
.ovl p.title br {
    display: none;
}

.ovl .fl a + a {
    margin-left: 25px;
}

#btn-overlay .center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#btn-overlay .close + div {
    flex-shrink: 0;
    margin-right: 50px;
}
#btn-overlay p {
    text-align: center;
    margin: 0 50px 0 auto;
}

#invite-overlay .close + div {
    width: 100%;
    margin-bottom: 40px;
}

#invite-overlay .close ~ .fl {
    justify-content: space-between;
}

#invite-overlay .txt {
    max-width: 720px;
    margin-right: 50px;
}
#invite-overlay .txt + div {
    flex-shrink: 0;
}

#invite-overlay p.title {
    margin-bottom: 12px;
}
#invite-overlay p.title span {
    color: #f22592;
}

#form-overlay > .full {
    max-width: 520px;
    margin-top: 30px;
    max-height: 100%;
    overflow: auto;
}

.btn-overlay #btn-overlay,
.invite-overlay #invite-overlay,
.form-overlay #form-overlay {
    pointer-events: all;
}
.btn-overlay #btn-overlay > span,
.invite-overlay #invite-overlay > span,
.form-overlay #form-overlay > span {
    opacity: 0.5;
}
.btn-overlay #btn-overlay .full,
.invite-overlay #invite-overlay .full,
.form-overlay #form-overlay .full {
    opacity: 1;
    transform: none;
    transition: all 0.3s;
}

#form-overlay input,
#form-overlay textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 15px;
    font-family: Poppins;
    font-size: 16px;
}

#form-overlay textarea {
    height: 150px;
    resize: none;
}

#form-overlay label {
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

#form-overlay .form-item {
    margin-bottom: 10px;
    position: relative;
}

#form-overlay .form-item:last-child {
    margin-bottom: 0;
}

#form-overlay .error label {
    color: #b3261e;
}

#form-overlay .error input,
#form-overlay .error textarea {
    border-color: #b3261e;
}

#form-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#carousel {
    position: relative;
}

#carousel .swiper-container {
    height: 100%;
}

#carousel .carousel-img {
    width: calc(573 / 1024 * 100vh);
    margin: auto;
}
#carousel .h1 {
    font-size: calc(64 / 1024 * 100vh);
    line-height: 1.2;
    color: #161439;
}
#carousel p + p {
    margin-top: calc(20 / 1024 * 100vh);
    font-size: max(calc(18 / 1024 * 100vh), 12px);
}
#carousel .txt {
    width: 100vw;
    max-width: 1000px;
    margin: auto;
    padding: 120px 30px 0;
    color: #fff;
    text-align: center;
    color: #6d6c80;
}
#carousel .fl {
    justify-content: center;
    gap: 20px;
    margin: calc(20 / 1024 * 100vh) 0;
}
#carousel .fl img {
    width: calc(180 / 1024 * 100vh);
}

#carousel .swiper-pagination {
    justify-content: center;
    bottom: 10px;
}
#carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    transition: background 0.3s;
}

#carousel .swiper-nav.prev {
    left: 2.5%;
}
#carousel .swiper-nav.next {
    right: 2.5%;
}

#carousel .sm {
    position: absolute;
    bottom: 25px;
    right: 40px;
    z-index: 1;
}
#carousel .sm a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}
#carousel .sm a + a {
    margin-top: 5px;
}
#carousel .sm a img {
    width: 100%;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-header {
    text-align: center;
}
.chip {
    background: #1355ff;
    font-size: 16px;
    padding: 4px 16px;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
}

#main h2 {
    font-size: calc(64 / 1024 * 100vh);
    line-height: 1.2;
    color: #161439;
    margin: 10px 0 40px;
    padding: 0 20px;
}
h2.logo:before {
    content: "";
    display: block;
    width: 250px;
    height: 32px;
    background: url(/Assets/Images/logo-black.png) no-repeat center;
    background-size: contain;
    margin: 0 auto 5px;
    image-rendering: -webkit-optimize-contrast;
}

#about {
    background: url(/assets/images/about-bg.png) no-repeat center;
    background-size: auto 100%;
    padding-top: 170px;
    padding-bottom: 170px;
    margin-top: 200px;
    margin-bottom: 100px;
}
#about > p {
    font-size: max(calc(30 / 1024 * 100vh), 16px);
    color: #6d6c80;
    text-align: center;
}

#services .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

[lang="de"] #services .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#services .grid > div {
    background: #f3f6ff;
    border: 1px solid #e5ebff;
    border-radius: 20px;
    padding: 30px 20px 30px 105px;
    position: relative;
}
#services .grid > div h3 {
    font-size: 22px;
    color: #161439;
    line-height: 1.2;
    margin-bottom: 10px;
}

#services .grid > div p {
    font-size: 14px;
    color: #1c1a4a;
}
#services .grid > div img {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 70px;
    height: auto;
}

#how .swiper {
    position: relative;
}
#how .swiper > .center {
    display: flex;
    align-items: center;
}
#how .swiper-button-disabled {
    opacity: 0.3;
}

#how .swiper > .full {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#how .swiper > .full .center {
    height: 100%;
}
#how .swiper-nav {
    transition: opacity 0.3s;
}
#how .swiper-nav:before {
    background-image: url(/Assets/Images/arrow.svg);
}

#phone {
    width: calc(456 / 1000 * 100%);
    margin-left: 0;
    margin-bottom: -60px;
}
#phone img {
    width: 100%;
}

#phone + div {
    width: calc(500 / 1000 * 100%);
    margin-right: 0;
    counter-reset: counter;
}

#phone + div .swiper-pagination {
    position: relative;
    bottom: 0;
}

#phone + div .swiper-slide span {
    display: block;
    font-size: 14px;
    counter-increment: counter;
}
#phone + div .swiper-slide span:before {
    content: "0" counter(counter) "/05";
}
#how p {
    color: #6d6c80;
    font-size: calc(21 / 1000 * 100vh);
}
#how p.h2 {
    display: inline-block;
    font-size: calc(46 / 1000 * 100vh);
    font-weight: 700;
    line-height: 1.2;
    color: #1355ff;
    margin: 15px 0 10px;
}

#how .fl {
    margin: 35px 0;
    gap: 20px;
}

#join .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}
#join .grid > div {
    text-align: center;
    padding: 30px;
}
#join .grid > div img {
    max-width: 110px;
    margin: 0 auto 20px;
}
#join .grid > div h3 {
    font-size: 20px;
    color: #161439;
    line-height: 1.2;
    margin-bottom: 10px;
}
#join .grid > div p {
    font-size: 14px;
    color: #6d6c80;
}

#join .grid-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
#join .grid-card > div {
    background: #fff;
    position: relative;
    text-align: right;
    padding: 24px 30px 35% 50px;
    border: 1px solid #b2bbcc;
    border-radius: 10px;
    overflow: hidden;
}
#join .grid-card > div > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
    position: relative;
    z-index: 2;
}
#join .grid-card > div img {
    width: 100%;
    max-width: 280px;
    height: auto;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}
#join .grid-card > div h3 {
    font-size: 24px;
    color: #161439;
    line-height: 1.2;
    margin-bottom: 10px;
}
#join .grid-card > div p {
    font-size: 14px;
    color: #6d6c80;
    margin-bottom: 20px;
}
#join .grid-card > div > button {
    background: #1355ff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    line-height: 1.25;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}
#join .grid-card > div button span {
    margin-right: 10px;
}
#join .grid-card > div button i {
    background: url(/assets/images/arrow-right.svg) no-repeat center;
    background-size: cover;
    width: 15px;
    height: 14px;
}

#news .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

#news .grid > div {
    background: #fff;
    border: 1px solid #b5b5c3;
    padding: 20px;
    border-radius: 10px;
}
#news .grid > div a {
    text-decoration: none;
    display: block;
    position: relative;
}
#news .grid > div img {
    display: block;
    border-radius: 10px;
    margin-bottom: 10px;
}
#news .grid > div h3 {
    font-size: 18px;
    line-height: 1.25;
    color: #161439;
}
#news .grid > div .date {
    display: flex;
    font-size: 12px;
    color: #6d6c80;
    margin-bottom: 10px;
    align-items: center;
}
#news .grid > div .date i {
    background: url(/assets/images/date.svg) no-repeat center;
    background-size: cover;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}
#news .grid > div .chip {
    font-size: 12px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.form-result {
    display: none;
    font-size: 14px;
    margin-top: 15px;
}

.form-result.error {
    color: #b3261e;
}

#newsletter .form-result {
    position: absolute;
    left: 0;
    top: 100%;
    font-size: 14px;
}

#newsletter {
    background-color: #1355ff;
    color: #fff;
}
#newsletter .center {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 30px;
}
#newsletter .center > img {
    width: calc(456 / 1140 * 100%);
}
#newsletter .center > div {
    padding: 90px 0;
    flex: 1;
}
#newsletter .h1 {
    font-size: 32px;
    margin-bottom: 30px;
}
.newsletter-form {
    position: relative;
}
.newsletter-form input {
    width: 100%;
    background: transparent;
    padding: 0 220px 0 20px;
    font-family: Poppins;
    font-size: 16px;
    color: #fff;
    border: 1px solid #000;
    border-radius: 999px;
    height: 53px;
}
.newsletter-form input::placeholder {
    color: #fff;
    opacity: 0.7;
}

.newsletter-form input.error {
    border-color: #b3261e;
}

.newsletter-form button {
    position: absolute;
    top: 1px;
    right: 1px;
}

.newsletter-form .form-result {
    color: #fff;
}

.newsletter-form .form-result.error {
    color: #ed3f35;
}

footer h2 {
    margin-bottom: 10px;
}

footer .fl {
    padding: 40px 0;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}
footer button {
    color: #656b61;
    display: block;
    text-align: left;
    white-space: nowrap;
}
.itp-ahk-logo {
    width: 100%;
    max-width: 504px;
    height: auto;
}

footer .copy {
    color: #838b7f;
    font-size: 14px;
    padding: 30px 0;
    border-top: 1px solid #c1c5bf;
}

[data-anim] {
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-property: transform, opacity;
}
[data-anim].anim {
    transform: none;
    opacity: 1;
}

[data-anim*="slideUp"] {
    transform: translateY(40px);
    opacity: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}

@media screen and (max-width: 1280px) {
    button.rnd {
        padding: 0 25px;
        line-height: 45px;
    }

    .swiper-nav.prev {
        left: 10px;
    }
    .swiper-nav.next {
        right: 10px;
    }

    #topnav .itp-logo {
        width: 160px;
    }

    #topnav .fl > div:nth-child(2) {
        justify-content: space-around;
        margin: 0 10px;
    }

    [lang="de"] #topnav button[data-rel] {
        font-size: 13px;
    }

    #topnav button[data-rel] + button {
        margin-left: 0;
    }

    #topnav .fl > div:last-child {
        gap: 15px;
    }

    .lang-nav a {
        width: 36px;
        height: 36px;
        line-height: 34px;
        font-size: 14px;
    }

    .ovl .center {
        padding: calc(40 / 1280 * 100vw);
        padding-right: 70px;
    }

    .ovl .itp-logo {
        transform: translateY(-8px);
    }

    .ovl p.title {
        font-size: 18px;
    }

    .ovl .fl a img {
        height: 45px;
    }

    #carousel .sm {
        bottom: calc(25 / 1280 * 100vw);
        right: calc(40 / 1280 * 100vw);
    }

    #how .swiper > .center {
        padding: 0 50px;
    }

    #phone {
        margin-bottom: calc(-60 / 960 * 100%);
    }

    .newsletter-form input {
        height: 47px;
    }
}

@media screen and (max-width: 1024px) {
    #topnav .fl {
        margin: 20px 30px;
    }

    #you > p {
        font-size: calc(30 / 1024 * 100vw);
    }

    #who .swiper-slide {
        width: 298px !important;
    }

    #main h2 {
        font-size: 46px;
        margin-bottom: 30px;
    }

    #how .swiper {
        margin-top: 40px;
    }

    #how p.h2 {
        font-size: 38px;
    }
}

@media screen and (max-width: 1023px) {
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #topnav {
        background-color: rgba(255, 255, 255, 0.85);
        position: fixed;
    }

    .menu-overlay #topnav {
        background-color: transparent;
    }

    #topnav .fl > div:nth-child(2),
    #topnav .btn-start,
    .lang-nav {
        display: none;
    }

    .menu-lang-nav {
        text-align: center;
        margin: 15px 0;
    }

    .menu-lang-nav a {
        color: #fff;
        font-weight: 600;
        font-size: 18px;
        text-decoration: none;
        margin: 0 10px;
    }

    [lang="en"] .menu-lang-nav a[data-lang="en"],
    [lang="de"] .menu-lang-nav a[data-lang="de"] {
        text-decoration: underline;
    }

    #btn-top-menu {
        display: block;
        width: 50px;
        height: 50px;
        margin-right: -8px;
        margin-top: -2px;
        position: relative;
    }
    #btn-top-menu:before,
    #btn-top-menu:after {
        content: "";
        width: 34px;
        height: 2px;
        background: #000;
        position: absolute;
        top: 50%;
        left: 8px;
        transition: transform 0.1s, margin 0.3s 0.1s;
    }
    #btn-top-menu:before {
        margin-top: -5px;
    }
    #btn-top-menu:after {
        margin-top: 5px;
    }

    .menu-overlay #btn-top-menu:before,
    .menu-overlay #btn-top-menu:after {
        margin: 0;
        width: 40px;
        left: 5px;
        background: #fff;
        transition: margin 0.1s, transform 0.3s 0.1s;
    }
    .menu-overlay #btn-top-menu:before {
        transform: rotate(45deg);
        margin: 0;
    }
    .menu-overlay #btn-top-menu:after {
        transform: rotate(-45deg);
        margin: 0;
    }

    .menu-overlay #topnav .itp-logo {
        display: none;
    }

    #menu-overlay {
        display: block;
        position: fixed;
        z-index: 3;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateX(100%);
        transition: transform 0.3s;
    }
    #menu-overlay > .fl {
        height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 100px 25px;
        background: #063389;
    }

    #menu-overlay button[data-rel] {
        color: #fff;
        width: 100%;
        display: block;
        font-size: 32px;
        font-weight: 600;
        text-align: center;
        padding: 5px 0;
        margin: 5px 0;
    }

    #menu-overlay .itp-logo {
        width: 260px;
        margin-bottom: 30px;
    }

    .menu-overlay #menu-overlay {
        transform: none;
    }

    .ovl .center {
        padding: 30px;
    }

    #btn-overlay .center {
        flex-wrap: wrap;
    }
    #btn-overlay .close + div {
        width: 100%;
        margin-bottom: 20px;
    }
    #btn-overlay p {
        margin-left: 0;
    }

    #carousel .h1 {
        font-size: 46px;
        line-height: 1.1;
    }
    #carousel p + p {
        font-size: 16px;
    }
    #carousel .swiper-pagination {
        bottom: 20px;
    }
    #carousel .swiper-nav,
    #carousel .sm {
        display: none;
    }

    #about {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    #about > p {
        font-size: 18px;
    }

    #services .grid {
        gap: 20px;
    }
    #services .grid > div {
        padding-left: 95px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #services .grid > div h3 {
        font-size: 20px;
    }
    #services .grid > div img {
        top: 20px;
        width: 60px;
    }

    #join .grid {
        gap: 20px;
        margin-bottom: 20px;
    }
    #join .grid > div {
        padding: 20px 10px;
    }
    #join .grid > div h3 {
        font-size: 18px;
    }
    #join .grid > div img {
        width: 90px;
        margin-bottom: 15px;
    }

    #join .grid-card {
        gap: 20px;
    }
    #join .grid-card > div {
        padding: 20px 20px 35% 40px;
    }
    #join .grid-card > div h3 {
        font-size: 20px;
    }

    #news .grid {
        gap: 20px;
    }
    #news .grid > div {
        padding: 15px;
    }
    #news .grid > div .chip {
        font-size: 11px;
    }
    #news .grid > div h3 {
        font-size: 16px;
    }

    #newsletter .h1 {
        font-size: 28px;
    }
}

@media screen and (max-width: 920px) {
    #services .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #newsletter .h1 {
        text-align: center;
    }
    #newsletter .h1 br {
        display: none;
    }
    #newsletter .center {
        flex-direction: column-reverse;
        align-items: center;
    }
    #newsletter .center > div {
        padding: 30px 0 10px;
    }
    #newsletter .center > img {
        max-width: 250px;
        width: auto;
    }
    #newsletter button.rnd {
        white-space: nowrap;
    }
}

@media screen and (max-width: 768px) {
    #main h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    h2.logo:before {
        width: 204px;
    }

    #how p.h2 {
        font-size: 32px;
    }

    #how .fl a {
        width: 168px;
    }

    #join .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #join .grid-card {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    #join .grid-card > div {
        padding-bottom: 100px;
    }
    #join .grid-card > div p {
        margin-bottom: 50px;
    }

    #news .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #newsletter .h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 767px) {
    #topnav .fl {
        margin: 15px 20px;
    }
    .ovl {
        align-items: flex-end;
    }
    .ovl .full {
        opacity: 0;
        transform: translateY(100%);
        transition: all 0.3s;
    }

    .ovl p.title br {
        display: block;
    }

    .ovl .fl a img {
        height: auto;
    }

    #btn-overlay .close + div {
        display: none;
    }

    #btn-overlay p {
        margin: 0 auto 25px;
    }

    #btn-overlay .fl {
        width: 100%;
        justify-content: center;
    }

    #invite-overlay .close + div {
        display: none;
    }
    #invite-overlay .close ~ .fl {
        display: block;
    }
    #invite-overlay .txt {
        margin: 0 0 25px;
    }
    #invite-overlay .txt + div p.title {
        margin-bottom: 25px;
    }

    #carousel .h1 {
        font-size: 40px;
    }

    #carousel .txt {
        padding: 80px 20px 0;
    }

    #how .swiper > .center {
        display: block;
        text-align: center;
        padding: 0;
    }

    #how .swiper-nav {
        top: 230px;
    }

    #phone {
        width: 100%;
        margin-bottom: -20px;
    }
    #phone .swiper-slide {
        padding: 0 10%;
    }
    #phone img {
        max-width: 320px;
        margin: auto;
    }

    #phone + div {
        width: 100%;
    }
    #phone + div .swiper-slide {
        padding: 0 25px;
    }
    #phone + div .swiper-slide span {
        display: none;
    }
    #how p.h2 {
        font-size: 30px;
    }
    #how .fl {
        justify-content: center;
        padding: 0 25px;
    }

    #phone + div .swiper-pagination {
        justify-content: center;
    }

    footer .fl {
        padding: 30px 0;
    }

    footer .legal {
        flex-wrap: wrap;
    }
    footer .legal div {
        margin: 5px 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    footer .legal div + a,
    footer .legal div a:first-child {
        margin-left: 0 !important;
    }
    footer .legal div + a:before,
    footer .legal div a:first-child:before {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    #menu-overlay .itp-logo {
        width: 200px;
    }

    #carousel .h1 br,
    #carousel p + p br {
        display: none;
    }
    #carousel p + p {
        font-size: 14px;
    }
    #carousel .carousel-img {
        width: 100%;
        max-width: 300px;
    }

    #services .grid > div h3 {
        font-size: 18px;
    }
    #services .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    #services .grid > div {
        padding-left: 70px;
    }

    #services .grid > div img {
        width: 45px;
        left: 15px;
    }

    footer .fl {
        flex-direction: column;
        gap: 20px;
    }
    footer .fl > div:nth-child(2) {
        order: 3;
    }
}

@media screen and (max-width: 480px) {
    .chip {
        font-size: 14px;
    }
    .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .center {
        padding-left: 20px;
        padding-right: 20px;
    }

    .swiper-nav.prev {
        left: 0;
    }
    .swiper-nav.next {
        right: 0;
    }

    .itp-logo {
        width: 100px;
    }

    #main h2 {
        font-size: 34px;
    }
    h2.logo:before {
        width: 150px;
    }

    #carousel .h1 {
        font-size: 36px;
    }
    #carousel p + p {
        font-size: 12px;
    }

    #btn-top-menu {
        margin-top: -12px;
    }

    #menu-overlay p {
        font-size: calc(32 / 480 * 100vw);
    }

    .ovl .center {
        padding: 25px;
    }

    #btn-overlay p {
        text-align: left;
        margin-left: 0;
    }
    #btn-overlay .fl {
        justify-content: flex-start;
    }

    #about > p {
        font-size: 16px;
    }

    #you > p {
        font-size: calc(26 / 480 * 100vw);
    }

    #who .swiper-container {
        margin: 0 -30px;
    }
    #who .swiper-container:not(.swiper-container-initialized) .swiper-slide {
        margin-left: 30px;
    }

    #who .swiper-slide {
        width: 285px !important;
    }

    #news .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .newsletter-form input {
        padding-right: 20px;
        margin-bottom: 15px;
    }
    .newsletter-form button {
        width: 100%;
        position: relative;
        top: auto;
        right: auto;
    }
}

@media screen and (max-width: 375px) {
    #carousel .h1 br.f {
        display: block;
    }

    #join .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 0;
    }
    .ovl p.title {
        font-size: 16px;
    }

    #how .swiper-nav {
        top: calc(215 / 375 * 100vw);
    }

    footer .copy {
        font-size: 13px;
    }
}
