body, html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --theme: black;
    --main-gray: #131416;
    --text-gray: #a9a9a9;
    --text: white;
    --phone-font-size: 18px;
}

body {
    font-family: "Inter Tight", sans-serif;
    background-color: var(--theme);
    max-width: 100%;
}

h2 {
    margin-bottom: 20px;
    font-size: 60px;
    color: white;
    font-weight: 400;
}

.contactButton {
    background-color: white;
    padding: 15px 40px;
    border-radius: 50px;
    color: black;
    text-decoration: none;
    font-size: 18px;
}

.container {
    text-align: center;
    max-width: 70%;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}

.container * {
    transition: all;
    transition-duration: 0.25s;
}

section {
    margin-bottom: 250px;
}

.section-text {
    color: var(--text-gray);
    font-size: 20px;
    margin: 20px auto 40px auto;
    max-width: 750px;
    text-align: center;
}

#goUpButton {
    height: 50px;
    width: 50px;
    background-color: #2f2f2f;
    border-radius: 100px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#goUpButton img {
    width: 30px;
    text-align: center;
    height: 30px;
}

#goUpButton:hover {
    scale: 105%;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}


/* ///////////////////////////////////////////////////
                      Header
//////////////////////////////////////////////////// */

header {
    justify-content: center;
    width: 100%;
    max-width: 70%;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 400;
    position: fixed;
    top: 0;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
}

header ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 1000;
    transition: .3s;
}

header .move {
    transform: translateX(0) !important;
    display: flex;
}

header a {
    text-decoration: none;
    cursor: pointer !important;
    color: white;
}

header nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .menu_btn {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    appearance: none;
    display: none;
    outline: none;
    cursor: pointer;
}

header .menu_btn span {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 5px;
}

header .logo {
    width: 140px;
    height: 78px;
}

header .contactButton {
    padding: 14px 20px;
}


/* ///////////////////////////////////////////////////
                      TOP SECTION
//////////////////////////////////////////////////// */

.top-section {
    background: linear-gradient(246deg, #0178BB 3%, #6FD5F7 78.53%);
    height: 100vh;
    position: relative;
    color: white;
    font-family: "Open Sans", sans-serif;
}

.top-section > div:first-of-type {
    text-align: center;
    transform: translateX(-15%) translateY(50%);
}

.top-section h1 {
    font-size: 130px;
    margin: -20px 0;
}

.top-section h2 {
    font-size: 25px;
    font-weight: bold;
}

.top-section .swiss-made a {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.top-section .swiss-made img {
    width: 30px;
    height: 30px;
    border-radius: 3px;
}

.top-section .outer {
    background-image: url('/src/icon/gray-star-icon.svg');
    height: 25px;
    width: 150px;
    background-size: 30px;
}

.top-section .inner {
    background-image: url('/src/icon/star-icon.svg');
    height: 25px;
    width: 0;
    background-size: 30px;
}

.top-section .stars-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    max-width: 200px;
}

.top-section .stars-container p {
    font-size: 20px;
    font-weight: 900;
}

.top-section #ratting {
    margin: 0 auto;
}

.top-section .castle-3d-image {
    width: 20%;
    position: absolute;
    bottom: 160px;
    right: 500px;
    float: right;
}

.top-section .clouds-image {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}


/* ///////////////////////////////////////////////////
                   HOW IT WORK
//////////////////////////////////////////////////// */

.how-it-work .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
}

.how-it-work .grid-item {
    background-color: var(--main-gray);
    border-radius: 20px;
    font-size: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px;
    cursor: pointer;
}

.how-it-work .grid-item:hover {
    scale: 103%;
    background-color: #1d8fca;
    transition-delay: 0s !important;
    transition: 0.2s;
}

.how-it-work .grid-item:hover .number {
    color: #8cdfff;
    transition-delay: 0s !important;
    transition: 0s;
}

.how-it-work .grid-item:hover p {
    color: white;
    transition-delay: 0s !important;
    transition: 0s;
}

.how-it-work h3 {
    color: white;
    font-size: 35px;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: left;
}

.how-it-work .grid-item p {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-gray);
    margin-bottom: 20px;
    flex-grow: 1;
    align-self: flex-start;
}

.how-it-work .number {
    font-family: Satoshi, sans-serif;
    font-size: 160px;
    text-align: right;
    line-height: .75;
    color: #323232;
    margin-bottom: 40px;
    user-select: none;
}

.how-it-work a {
    text-decoration: none;
    color: white;
}


/* ///////////////////////////////////////////////////
                      COMPETENCES
//////////////////////////////////////////////////// */

.competences .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
}

.competences .grid-item {
    background-color: var(--main-gray);
    border: 1px solid #101011;
    border-radius: 20px;
    font-size: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    align-items: stretch;
    padding: 20px;
}

.competences .grid-item > img {
    height: 70px;
    width: auto;
    margin: 0 auto 20px auto;
    cursor: pointer;
    text-align: center !important;
}

.competences .grid-item > img:hover {
    scale: 105%;
}

.competences .grid-item h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.competences .grid-item p {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
    align-self: flex-start;
}

.competences li {
    list-style: none;
    color: white;
    margin-bottom: 10px;
    font-size: 16px;
}

.competences li img {
    margin-right: 10px;
}


/* ///////////////////////////////////////////////////
                      NEWS
//////////////////////////////////////////////////// */

.news .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
}

.news .grid-item {
    border-radius: 15px;
    font-size: 1.2rem;
    text-align: left;
    text-decoration: none;
}

.news .grid-item h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
    margin-top: 10px;
    font-family: Satoshi-Medium, sans-serif;
    line-height: 1.5;
    font-weight: 700;
}

.news .grid-item .text {
    font-size: 16px;
    line-height: 1.5;
    color: white;
    margin-bottom: 15px;
}

.news .date {
    font-size: 18px;
    color: var(--text-gray);
}

.news .grid-item:nth-child(1) {
    grid-column: span 2;
}

.news .grid-item:nth-child(2) {
    grid-column: span 1;
    background-color: var(--main-gray);
    padding: 40px 20px 0 20px;
}

.news .type, .article .type {
    color: #b5b5b5;
    background-color: #2d2d2d;
    border-radius: .25rem;
    padding: 6px 9px;
    font-size: .875rem;
    letter-spacing: 1px;
}

.news :is(img, video) {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    margin-bottom: 15px;
}

.news .grid-item:nth-child(1) img {
    height: 380px;
    margin-bottom: 0;
}

.news .grid-item:nth-child(2) h3 {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}


/* ///////////////////////////////////////////////////
                     FOOTER
//////////////////////////////////////////////////// */

footer {
    text-align: left;
    max-width: 70%;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 18px;
    padding: 0 20px;
}

footer .footer-title {
    width: 100%;
}

footer .footer-link-container {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

footer .footer-link-container > div {
    display: block;
}

footer .footer-link-container p {
    color: white;
    font-size: 25px;
}

footer a {
    text-decoration: none;
    color: var(--text-gray);
}

footer a:hover {
    color: white;
}

footer ul {
    margin-top: 20px;
}

footer li {
    list-style: none;
    margin-bottom: 10px;
}

footer .footer-bottom {
    margin: 10px 0;
}

footer hr {
    border: 1px solid #333333;
    margin-top: 20px;
}

footer .footer-bottom {
    margin: 20px 0;
}

/* ///////////////////////////////////////////////////
                  CALL TO ACTION
//////////////////////////////////////////////////// */

.call-to-action {
    text-align: center;
    background: radial-gradient(farthest-corner at 100% 100%, #979695 0%, #746e6b 25%, #746e6b 50%, #949292 75%, #746E6BFF 100%), radial-gradient(farthest-side at 0% 0%, #433f35ff 0%, #949292ff 25%, #5a554eff 50%, #5a554eff 75%, #444035ff 100%);
    background-position: center;
    background-size: cover;
    margin: 0 0 150px;
    color: white;
    padding: 90px 0 140px 0;
    position: relative;
    border-radius: 5px;
}

.call-to-action .text {
    font-size: 60px;
    margin: 0 auto 60px auto;
    max-width: 750px;
}

.call-to-action .label {
    font-size: 20px;
}

.bottom-call-to-action {
    margin-top: 100px;
}

.mask {
    width: 100%;
    height: 100px;
    background-color: black;
    position: relative;
}

/* ///////////////////////////////////////////////////
                     CONTACT
//////////////////////////////////////////////////// */

.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: "Open Sans", sans-serif;
    position: relative;
    background-image: url("../src/image/contactBackground.jpeg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-section .containers {
    max-width: 600px;
    max-height: 1000px;
    border-radius: 20px;
    padding: 39px;
    background-color: white;
    margin-bottom: 100px;
    position: relative;
}

.contact-section .contact-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    text-align: left;
    margin-top: 80px;
}

.contact-container > div {
    flex: 2;
}

.contact-container > div:nth-child(1) {
    color: white;
    font-size: 18px;
    flex: 1;
}

.contact-section .contact-title {
    font-size: 50px;
    font-weight: 700;
    margin-top: 100px;
}

.contact-section .contact-container-title {
    text-align: center;
    font-size: 25px !important;
    margin-bottom: 40px;
    color: #595959;
    font-weight: bold;
}

.contact-section button {
    width: 100%;
    height: 58px;
    font-size: 15px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    position: relative;
    background-color: #0C70DF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-section button:hover {
    background-color: #0c90df;
}

.contact-section button span {
    color: white;
}

.contact-section button:after {
    border-top-color: white;
}

.contact-section .form-input-container {
    position: relative;
    display: inline-flex;
    width: 100%;
    height: 58px;
    -webkit-box-align: center;
    align-items: center;
    overflow: hidden;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0;
    background-color: #f0f0f0;
    border-radius: 100px;
    font-weight: 400;
    margin-bottom: 14px;
}

.contact-section .form-input {
    width: 100%;
    height: 100%;
}

.contact-section input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    min-width: 0;
    padding: 1.25rem 27px 15px;
    color: black;
    outline-offset: 2px;
    filter: none;
    outline: transparent solid 2px;
    border: none;
    font-size: 15px;
}

.contact-section textarea {
    width: 100%;
    height: 100%;
    background-color: transparent;
    min-width: 0;
    padding: 1.25rem 27px 15px;
    color: black;
    outline-offset: 2px;
    filter: none;
    outline: transparent solid 2px;
    border: none;
    font-size: 15px;
}

.contact-section .textarea {
    height: 200px;
    border-radius: 28px;
    margin-bottom: 50px;
}

.contact-section .contact-form-div {
    display: flex;
    gap: 14px;
}

.contact-section .label-idle {
    pointer-events: none;
    position: absolute;
    left: 27px;
    top: 1.25rem;
    transition-property: all;
    color: #4F4F4F;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.contact-section .label-input {
    pointer-events: none;
    position: absolute;
    left: 27px;
    top: 1rem;
    color: #4F4F4F;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    transform: translateY(-8px);
    font-size: 10px;
    line-height: 12px;
}

.contact-section .button-loading span {
    visibility: hidden;
    opacity: 0;
}

.contact-section .button-loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading 1s ease infinite;
}

@keyframes button-loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.contact-section #contact-status-div {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.contact-section #contact-status-div img {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.contact-section #contact-status-div .title {
    font-size: 25px;
    font-weight: bold;
}

.contact-section #contact-status-div .text {
    font-size: 18px;
    opacity: .7;
    margin-top: 10px;
}

.contact-section #success-send-contact-div, #error-send-contact-div {
    display: none;
}

.contact-section #error-send-contact-div a {
    text-decoration: none;
    color: #0C70DF;
}


/* ///////////////////////////////////////////////////
                     SERVICES
//////////////////////////////////////////////////// */

.domain-name {
    display: flex;
}

.domain-name .text {
    color: #fff;
    font-size: 26px;
    font-weight: 400;
}

.domain-name .option {
    height: 60px;
    line-height: 90px;
    overflow: hidden;
    transform: translateY(-30px);
}

.option li {
    list-style: none;
    color: gray;
    font-size: 26px;
    font-weight: 500;
    position: relative;
    margin-bottom: 0;
    top: 0;
    animation: slide 12s steps(4) infinite;
}

@keyframes slide {
    100% {
        top: -360px;
    }
}

.option li span {
    position: relative;
    margin: 5px 0;
    line-height: 90px;

}

.option li span::after {
    content: '';
    position: absolute;
    left: 0;
    margin-top: 30px;
    height: 30px;
    width: 100%;
    background: #090909;
    border-left: 2px solid white;
    animation: typing 3s steps(10) infinite;
}

@keyframes typing {
    40%, 60% {
        left: calc(100% + 30px);
    }
    100% {
        left: 0;
    }
}


/* ///////////////////////////////////////////////////
                    ARTICLES
//////////////////////////////////////////////////// */

.article .container {
    text-align: left;
    max-width: 1000px;
    margin-bottom: 100px;
    line-height: 1.5;
    padding-top: 80px;
}

.article {
    color: var(--text-gray);
    font-size: 18px;
}

.article h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.article h2 {
    font-size: 25px;
    margin: 90px 0 10px 0;
    color: white;
    font-weight: bold;
}

.article ol {
    margin: 0 0 120px 0;
    padding-left: 1rem;
}

.article main ul {
    padding-left: 1.2em;
}

.article main li {
    margin: 2rem 0;
}

.article strong {
    color: white;
}

.article .description {
    margin-bottom: 50px;
    color: white;
}

.article .definition {
    margin-bottom: 50px;
}

.article .top-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    object-position: center;
    margin: 20px 0 10px 0;
}

.article .seo-google {
    width: 100%;
}


/* ///////////////////////////////////////////////////
                     FAQ
//////////////////////////////////////////////////// */

.faq {
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    text-align: left;
}

.article .faq {
    display: block;
}

.article .faq p {
    margin-bottom: 20px;
}

.article .faq h2 {
    margin-top: 100px;
}

.faq > div:nth-child(1) {
    flex: 1;
}

.faq > div:nth-child(2) {
    flex: 1.3;
}

.faq p {
    margin-bottom: 50px;
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.3;
}

.faq-content {
    margin: 0 auto;
    position: relative;
}

.faq-question {
    background-color: var(--main-gray);
    margin-bottom: 7px;
    border-radius: 15px;
}

.panel-title {
    font-size: 24px;
    width: 100%;
    position: relative;
    margin: 0;
    display: block;
    cursor: pointer;
    padding: 20px 40px 20px 25px;
    user-select: none;
}

.panel-content {
    font-size: 20px;
    padding: 0 14px;
    margin: 0 14px;
    height: 0;
    overflow: hidden;
    z-index: 1;
    position: relative;
    opacity: 0;
    -webkit-transition: .4s ease;
    -moz-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
    color: var(--text-gray);
}

.panel:checked ~ .panel-content {
    height: auto;
    opacity: 1;
    padding-bottom: 20px;
}

.plus {
    height: 25px;
    width: auto;
    fill: white;
    position: absolute;
    margin-top: 20px;
    right: 20px;
    z-index: 5;
    font-size: 42px;
    line-height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    pointer-events: none;
}

.panel:checked ~ .plus {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.panel {
    display: none;
}

.panel-section {
    position: relative;
    margin-top: 100px;
}


/* ///////////////////////////////////////////////////
                   REALISATION
//////////////////////////////////////////////////// */

.realisation .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.realisation img {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
}

.realisation a {
    border-radius: 15px;
    text-decoration: none;
}

.realisation p {
    text-align: left;
    margin-left: 20px;
}

.realisation .realisation-url {
    font-size: 14px;
    line-height: 17px;
    color: rgb(170 170 170);
    margin-top: 20px;
}

.realisation .realisation-title {
    font-size: 22px;
    color: white;
    line-height: 29px;
    margin-bottom: 20px;
}

.realisation #grid-images {
    columns: 3 250px;
    gap: 15px;
}

.realisation #grid-images img {
    margin-bottom: 10px;
    border-radius: 15px;
    width: 100%;
}

.realisation .btn-group {
    background-color: var(--main-gray);
    color: white;
    display: flex;
    font-family: Arial, sans-serif;
    padding: 10px;
    border-radius: 100px;
    max-width: 300px;
    margin: 0 auto 70px auto;
}

.realisation .btn-group > div {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.realisation .btn-group > div:first-child {
    background-color: #3e3c3d;
}


/* ///////////////////////////////////////////////////
                   AFFILIATION
//////////////////////////////////////////////////// */

.affiliation .container {
    text-align: left;
    max-width: 1000px;
    margin-bottom: 100px;
    line-height: 1.5;
    padding-top: 140px;
    color: white;
    font-size: 18px;
}

.affiliation h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.affiliation main :is(ol, ul) {
    padding-left: 1rem;
}

.affiliation ol {
    margin-bottom: 50px;
}

.affiliation li {
    margin: 0 0 1rem 0;
}

.affiliation h1 {
    margin-bottom: 100px;
    font-size: 50px;
    color: white;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.affiliation .noise {
    background-image: url('../src/image/noise.webp');
    height: 100vh;
    width: 400vw;
    position: fixed;
    left: calc(50% - 200vw);
    top: 0;
    animation: 8s steps(10) 0s infinite normal none running grain;
    opacity: .7;
    z-index: -1;
    overflow: hidden;
}

.affiliation video {
    opacity: 0.4;
    transform: none;
    position: fixed;
    inset: 0;
    top: 0;
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -2;
}

.affiliation .form-container {
    justify-content: space-between;
    text-align: center;
    margin: 70px 0 100px;
    border-radius: 8px;
    padding: 20px 20px 80px 20px;
    color: white;
    border: rgb(51, 51, 51) 1px solid;
    backdrop-filter: blur(30px) opacity(.8);
    background-color: rgba(19, 19, 19, 0.05);
}

.affiliation .form-input-container {
    position: relative;
    display: inline-flex;
    width: 100%;
    height: 40px;
    -webkit-box-align: center;
    align-items: center;
    overflow: hidden;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0;
    background-color: #2c2c2c;
    border-radius: 100px;
    font-weight: 400;
    margin-bottom: 14px;
}

.affiliation .form-input {
    width: 100%;
    height: 100%;
}

.affiliation input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    min-width: 0;
    padding: 1rem 27px 15px;
    color: white;
    outline-offset: 2px;
    filter: none;
    outline: transparent solid 2px;
    border: none;
    font-size: 15px;
}

.affiliation .label-idle {
    pointer-events: none;
    position: absolute;
    left: 27px;
    top: .8rem;
    transition-property: all;
    color: #b4b4b4;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.affiliation .label-input {
    pointer-events: none;
    position: absolute;
    left: 27px;
    top: .7rem;
    color: #b4b4b4;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    transform: translateY(-8px);
    font-size: 10px;
    line-height: 12px;
}

.affiliation form {
    max-width: 400px;
    margin: 0 auto;
}

.affiliation form button {
    width: 100%;
    height: 40px;
    font-size: 15px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    position: relative;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 14px;
}

.affiliation form button:hover {
    background-color: #cccccc;
}

.affiliation form button span {
    color: #000000;
}

.affiliation form button:after {
    border-top-color: white;
}


.affiliation .button-loading span {
    visibility: hidden;
    opacity: 0;
}

.affiliation .button-loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #000000;
    border-radius: 50%;
    animation: button-loading 1s ease infinite;
}

.affiliation .form-container img {
    width: 50px;
    height: auto;
}

.affiliation .title {
    font-size: 30px;
}

.affiliation .text {
    max-width: 500px;
    margin: 0 auto;
}

@keyframes button-loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}


/* ///////////////////////////////////////////////////
                      TERMS
//////////////////////////////////////////////////// */

.terms {
    background-color: white;
}

.terms main :is(p, span) {
    color: black;
}

.terms main {
    letter-spacing: .3px;
    line-height: 35px;
    padding-bottom: 100px;
}

.terms main h1 {
    font-size: 30px;
    margin-bottom: 50px;
}

.terms main img {
    margin: 0 auto;
    max-width: 80px;
    height: auto;
}

.terms main span {
    font-weight: bold;
    margin: 20px 0 0;
    display: inherit;
    font-size: 22px;
}

.terms main a {
    color: dodgerblue;
}

.terms main .title-bar {
    width: 500px;
    margin-top: 460px;
    position: fixed;
    top: -300px;
    left: 6%;
    z-index: 10;
}

.terms .title-bar a {
    text-decoration: none;
    display: block;
    text-align: left;
    color: #ccc;
}

.terms .container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.terms .container-text {
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
}

.terms .container-termes p, span {
    text-align: left;
}

.terms .container-termes p {
    margin: 10px 0 80px 0;
}

.terms .title-bar a.active {
    color: #000;
}

.terms footer hr {
    border: 1px solid #c9c9c9c9;
}

.terms footer a:hover {
    color: #2d2d2d;
}

.e-commerce .produit-container {
    display: grid;
    justify-content: space-between;
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 20px;
}

.e-commerce .produit-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.e-commerce .produit-container img:hover {
    scale: 102%;
}


/* ///////////////////////////////////////////////////
                   RESPONSIVE
//////////////////////////////////////////////////// */



@media screen and (max-width: 992px) {

    main p {
        font-size: var(--phone-font-size) !important;
    }

    .container, header {
        max-width: 100%;
    }

    section {
        margin-bottom: 120px;
    }

    h2 {
        font-size: 25px;
    }


    /* ///////////////////////////////////////////////////
                          Header
    //////////////////////////////////////////////////// */

    header nav {
        padding-inline: 20px;
    }

    header ul {
        flex-direction: column;
        justify-content: flex-start;
        background-color: #60c9ff ;
        width: 250px;
        height: 100vh;
        display: none;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 1;
        transform: translateX(140%);
        padding-top: 100px;
        transition: 0.3s;
    }

    header .menu_btn {
        z-index: 1000;
        display: block;
    }

    header .menu_btn > span {
        z-index: 1000;
        display: block;
        margin-top: 5px;
    }

    header .menu_btn.activeMenu > span:nth-child(2) {
        display: none;
    }

    header .menu_btn.activeMenu > span:nth-child(3) {
        width: 100%;
        transform: rotate(45deg) translateY(-5px);
    }

    header .menu_btn.activeMenu > span:nth-child(1) {
        transform: rotate(-45deg) translateY(5px);
    }

    header .nav_list img {
        width: 90px;
    }

    header ul li:last-child > div {
        padding: 0;
    }


    /* ///////////////////////////////////////////////////
                      TOP SECTION
    //////////////////////////////////////////////////// */

    .top-section {
        text-align: center;
        padding-top: 50px;
        height: 70vh !important;
    }

    .top-section h1 {
        font-size: 50px !important;
        text-align: center;
        margin: -10px 0 !important;
    }

    .top-section h2 {
        font-size: 16px !important;
    }

    .top-section .container {
        padding: 20px;
    }

    .top-section .container > div {
        margin-top: 100px;
    }

    .top-section .container h2 {
        font-size: 25px !important;
    }

    .top-section .castle-3d-image {
        right: 50px !important;
        bottom: 20px;
        width: 50%;
    }

    .top-section .swiss-made img {
        width: 15px;
        height: 15px;
    }

    .top-section .swiss-made a {
        font-size: 12px;
        bottom: 5px;
        left: 5px;
    }

    .top-section .clouds-image {
        width: 170%;
        transform: translateX(-90px);
        position: absolute;
    }

    .top-section .stars-container {
        scale: 60%;
    }

    .top-section > div:first-of-type {
        transform: translateY(50%);
    }

    /* ///////////////////////////////////////////////////
                      CALL TO ACTION
    //////////////////////////////////////////////////// */

    .call-to-action {
        text-align: center;
        background: radial-gradient(farthest-corner at 100% 100%, #979695 0%, #746e6b 25%, #746e6b 50%, #949292 75%, #746E6BFF 100%), radial-gradient(farthest-side at 0% 0%, #433f35ff 0%, #949292ff 25%, #5a554eff 50%, #5a554eff 75%, #444035ff 100%);
        background-position: center;
        background-size: cover;
        margin: 0 0 80px;
        color: white;
        padding: 40px 20px;
        border-radius: 10px;
    }

    .call-to-action .text {
        font-size: 27px !important;
        margin: 0 auto 60px auto;
        max-width: 750px;
    }

    .call-to-action .label {
        font-size: 15px !important;
    }

    .bottom-call-to-action {
        margin-top: 80px;
    }

    .mask {
        height: 80px;
    }


    /* ///////////////////////////////////////////////////
                        FOOTER
    //////////////////////////////////////////////////// */

    footer {
        max-width: 100%;
    }

    footer a {
        font-size: var(--phone-font-size);
    }

    footer p {
        font-size: var(--phone-font-size) !important;
    }

    footer .footer-bottom, .footer-bottom a {
        font-size: calc(var(--phone-font-size) - 5px) !important;
    }

    footer ul {
        margin-top: 10px;
    }

    footer .footer-link-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 0;
        margin-top: 40px;
    }

    footer .footer-link-container > div {
        width: 50%;
    }

    footer .footer-link-container > div:last-child {
        margin-top: 20px;
    }


    /* ///////////////////////////////////////////////////
                          NEWS
   //////////////////////////////////////////////////// */

    .news .grid {
        display: block;
    }
    .news :is(img, video) {
        height: 180px;
        margin-top: 50px;
        margin-bottom: 0;
    }

    .news .grid-item {
        position: relative;
    }

    .news .type {
        display: none;
    }

    .news .grid-item h3 {
        margin-top: 5px;
    }

    .news .grid-item:nth-child(1) img {
        height: 150px;
        margin-top: 0;
    }

    .news .grid-item:nth-child(2) {
        grid-column: span 2;
        padding: 20px;
    }

    .news .grid-item:nth-child(2) h3 {
        font-size: 25px;
    }


    /* ///////////////////////////////////////////////////
                       FAQ
   //////////////////////////////////////////////////// */

    .faq {
        display: block;
    }

    .faq-content {
        margin-top: 60px;
    }

    .faq-question {
        background-color: #202023;
    }

    .panel-title {
        font-size: var(--phone-font-size);
    }

    .panel-section {
        display: none;
    }


    /* ///////////////////////////////////////////////////
                       CONTACT
   //////////////////////////////////////////////////// */

    .contact-section .contact-container {
        display: block;
    }

    .contact-section .contact-title {
        font-size: 25px !important;
        margin: 40px 0;
    }

    .contact-section .contact-form-div {
        display: block;
    }

    .contact-section .containers {
        padding: 20px;
    }

    .contact-section .form-input-container {
        font-size: 18px;
    }

    .contact-section input {
        font-size: 18px;
    }

    .contact-section .textarea {
        height: 100px;
        margin-bottom: 30px;
    }

    .contact-section .contact-container-title {
        margin-bottom: 25px;
        font-size: 20px !important;
    }


    /* ///////////////////////////////////////////////////
                      HOW IT WORK
    //////////////////////////////////////////////////// */

    .how-it-work .grid-item:hover {
        scale: 100%;
    }

    .how-it-work * {
        transition: all;
        transition-duration: 0s;
    }


    /* ///////////////////////////////////////////////////
                      REALISATION
    //////////////////////////////////////////////////// */

    .btn-group {
        margin-bottom: 30px !important;
    }

    /* ///////////////////////////////////////////////////
              TERMS
    //////////////////////////////////////////////////// */

    .terms .title-bar {
        display: none;
    }


    /* ///////////////////////////////////////////////////
                  AFFILIATION
    //////////////////////////////////////////////////// */

    .affiliation h1 {
        font-size: 30px;
        margin-bottom: 60px;
    }

    .affiliation h2 {
        font-size: 25px;
    }

    .affiliation :is(ol, ul) {
        color: #b0b0b0;
    }

    .affiliation strong {
        color: white;
    }

    .affiliation .container {
        padding-top: 130px;
    }
}

@media screen and (max-width: 1600px) {
    .top-section .castle-3d-image {
        right: 300px;
    }
}

@media (max-width: 1401px) {
    .how-it-work .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .competences .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
}

@media (max-width: 480px) {
    .how-it-work .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .competences .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .realisation .grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 991px) {
    .news .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .realisation .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}