:root {
    --color-fore: #ffffff;
    --color-back: #12141a;
    --color-back-other-1: #1c1f29;
    --color-back-other-2: #262b38;
    --color-theme: #00bb77;
    --color-transparent: #00000083;
    --amount-border-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--color-fore);
    scroll-behavior: smooth;
}

html {
    font-size: 20px;
    width: 100%;
    overflow-x: hidden;
}

title {
    display: none;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.2rem;
}

ul {
    list-style: none;
}

a, button, input, textarea {
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
    text-decoration: none;
}

textarea {
    resize: none;
}

button:hover, input[type="submit"]:hover {
    cursor: pointer;
}

.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(var(--color-transparent), var(--color-transparent)), url("images/background.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    z-index: 9998;
}

.header.scrolled {
    background-color: var(--color-back);
    padding: 0.5rem 4vw;
}

.logo-img {
    width: 15rem;
}

.btn-menu {
    display: none;
}

.nav-el {
    font-weight: bold;
    margin-left: 2rem;
}

.nav-highlight {
    padding: 0.5rem;
}

.intro-title {
    position: absolute;
    margin-top: 40vh;
    margin-bottom: 5rem;
    padding: 0 10vw;
}

.intro-service {
    font-size: inherit;
    color: var(--color-theme);
    border-right: 4px solid var(--color-fore);
    padding-right: 0.5rem;
    animation: blink 1.2s infinite;
}

.intro-discover {
    position: absolute;
    bottom: 5vh;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: fit-content;
}

.intro-btn {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.intro-btn:hover {
    transform: scale(1.05);
}

.intro-arrow {
    width: 4rem;
    display: block;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.sec {
    padding: 6rem 20vw;
}

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

.sec-title {
    color: var(--color-theme);
    margin-bottom: 3rem;
    background: linear-gradient(var(--color-transparent), var(--color-transparent)), url("images/background.svg");
    padding: 2rem;
    border-radius: var(--amount-border-radius);
}

.sec-hr {
    border: 2px solid var(--color-theme);
    margin-bottom: 3rem;
}

.clean-text {
    line-height: 1.5;
    text-align: justify;
    text-align-last: center;
    hyphens: auto;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flex-block {
    flex: 1 1 45%;
    min-width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: var(--amount-border-radius);
    border: 2px solid transparent;
    transition: all 0.5s ease;
    background-color: var(--color-back);
}

.flex-block:hover {
    border: 2px solid var(--color-theme);
    transform: scale(1.05);
}

.serv-icon {
    width: 5rem;
    padding: 0.5rem;
    background-color: var(--color-theme);
    border-radius: 50%;
}

.serv-title {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.plan-list {
    text-align: left;
    flex: 1;
}

.plan-item {
    display: flex;
}

.plan-item:before {
    margin-right: 1rem;
    font-weight: bold;
}

.plan-ok:before {
    content: "✓";
    color: #00FF7F;
}

.plan-ko:before {
    content: "✘";
    color: #ff3535;
}

.btn-plan {
    color: #00FF7F;
    border: 2px solid #00FF7F;
    border-radius: var(--amount-border-radius);
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-plan:hover {
    color: var(--color-fore);
    background-color: #00FF7F;
    transform: scale(1.05);
}

.contact-icon {
    width: 2rem;
}

.form-field {
    background-color: var(--color-fore);
    border: 4px solid var(--color-fore);
    border-radius: var(--amount-border-radius);
    color: black;
    width: 100%;
    margin: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    transition: all 0.5s ease;
}

.form-field:focus {
    border: 4px solid var(--color-theme);
}

.footer {
    width: 100%;
    background-color: #1a1a1a;
    text-align: center;
    padding: 2rem;
    border-top: 4px solid var(--color-theme);
}

.footer-contact {
    text-align: left;
}

.footer-btn {
    padding: 0.5rem;
    border-bottom: 2px solid var(--color-theme);
}

.footer-title {
    color: var(--color-theme);
}

.cookie-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #12141a;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.cookies-link {
    color: var(--color-theme);
    border-bottom: 1px solid var(--color-theme);
}

.btn-cookies {
    background-color: var(--color-theme);
    padding: 0.5rem;
    border-radius: var(--amount-border-radius);
    transition: all 0.5s ease-out;
}

.btn-cookies:hover {
    color: var(--color-theme);
    background-color: var(--color-fore);
}

.bg-1 {
    background-color: var(--color-back-other-1);
}

.bg-2 {
    background-color: var(--color-back-other-2);
}

.sec-divider-1 {
    width: 100%;
    height: 10vw;
    background: linear-gradient(to bottom right, var(--color-back-other-1) 50%, var(--color-back-other-2) 50%);
}

.sec-divider-2 {
    width: 100%;
    height: 10vw;
    background: linear-gradient(to bottom left, var(--color-back-other-2) 50%, var(--color-back-other-1) 50%);
}

.br-down-tiny {
    margin-bottom: 0.5rem;
}

.br-down-small {
    margin-bottom: 1rem;
}

.br-down-medium {
    margin-bottom: 2rem;
}

.br-down-large {
    margin-bottom: 3rem;
}

.color-theme {
    color: var(--color-theme);
}

.icon-text {
    display: flex;
    gap: 0.5rem;
}

.btn-classic {
    display: inline-block;
    color: var(--color-fore);
    transition: all 0.5s ease-out;
}

.btn-classic:hover {
    color: var(--color-theme);
}

.btn-theme {
    display: inline-block;
    border: 2px solid var(--color-theme);
    border-radius: var(--amount-border-radius);
    transition: all 0.5s ease-out;
}

.btn-theme:hover {
    color: var(--color-fore);
    background-color: var(--color-theme);
}

.visible {
    display: block !important;
}

.hidden {
    display: none !important;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.appear {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.visible {
    animation: fadeIn 1s ease-out forwards;
}

#contact-form-message {
    height: 30vh;
}

#contact-form-button {
    padding: 1rem;
    font-weight: bold;
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@media (max-width: 1000px) {
    html {
        font-size: 16px;
    }

    .navbar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 3rem 0;
        background-color: rgba(45, 45, 45, 0.4);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
    }

    .nav-el {
        display: block;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .nav-highlight {
        display: inline-block;
    }

    .btn-menu {
        display: inline-block;
        width: 3rem;
        height: 3rem;
        background-image: url("images/icons/menu.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        z-index: 9999;
    }

    .btn-close {
        position: fixed;
        top: 4vw;
        right: 4vw;
        background-image: url("images/icons/close.svg");
    }

    .sec {
        padding: 6rem 5vw;
    }

    .cookie-container {
        text-align: left;
        justify-content: left;
    }
}