/**************************
    ROOT 
***************************/
:root {
    /* COLORS */
    --white: #ffffff;

    --ink_body: #202020;
    --ink_title: #1C1C1C;
    --ink_subtitle: #999999;

    --red: #D13F3F;
    --blue: #3232C5;
    --green: #43BF43;
    --violet: #7F7FFE;
    --logo: #36B7A8;
    --black_logo: #030405;

    --tab_bg: #343434;
    --tab_stroke: #AFAFAF;

    --color_sdw: 2px 4px 4px 0px rgba(127, 127, 254, 0.35);


    /* FONTS */
    --txt_title: 'Exo', sans-serif;
    --txt_body: 'Archivo', sans-serif;
}

/**************************
    RESET      
***************************/
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--txt_body);
}

a,
button {
    font-family: inherit !important;
}

ul {
    list-style: none;
}

img {
    width: 100%;
}

.debug {
    border: 1px solid red;
    /* min-height: 150px; */
}

/***********************
    GENERAL RULES
************************/
body {
    font-family: var(--txt_body);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;

    background-color: var(--white);
    /* background-color: #343434; */
    color: var(--black_logo);
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1512px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1440px) {
    .container {
        width: 90%;
    }
}

.wrapper {
    margin: 3rem auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--txt_title);
    color: var(--black_logo);
    pointer-events: none;
}

h1 {
    font-size: 3.188rem;
    font-weight: 500;
    line-height: 4rem;
}

h2 {
    font-size: 2.375rem;
    font-weight: 400;
    line-height: 3rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
}

h4 {
    font-size: 1.313rem;
    font-weight: 400;
    line-height: 2rem;
    color: var(--ink_subtitle);
}

p {
    font-size: 1rem;
    line-height: 1.8rem;
    font-weight: 300;
    text-align: justify;
}

small {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.35rem;
}

@media (max-width: 375px) {
    p {
        font-size: .85rem !important;
        line-height: 1.3rem !important;
    }
}

.btn {
    /* will-change: transform; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .9rem;
    width: fit-content;
    margin: 0 auto;
    margin-top: 2rem;
    padding: .5rem 1.25rem;
    font-size: 1.3rem;
    font-family: var(--txt_title);
    font-weight: 600;

    border-radius: 0.625rem;
    background: var(--logo);
    color: var(--white);

    /* purple_shadow */
    box-shadow: var(--color_sdw);
    transition: all 250ms linear;
}

.btn:hover {
    /* transform: scale(1.005); */
    /* box-shadow: 2px 3px 3px 0px rgba(127, 127, 254, 0.35); */
    background: var(--green);
}

.btn:active {
    box-shadow: none;
    /* transform: scale(1); */
}

/* HAMBURGER ANIMATION */
.fadeIn {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.fadeOut {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
}

/***********************
    PAGE LOADER
************************/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader .loader-icon {
    width: 70px;
    height: 70px;
    border: 8px solid var(--violet);
    border-top-color: var(--logo);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/**************************
   ARROW UP BTN
***************************/
.to_top {
    /* will-change: transform; */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s linear;
}

.to_top.show {
    pointer-events: auto;
    opacity: 1;
}

.to_top svg {
    box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.to_top svg path,
.to_top svg rect {
    transition: all .3s linear;
}

.to_top:hover svg path:first-of-type {
    fill: var(--green);
}

.to_top:hover svg rect {
    stroke: var(--green);
}

.to_top:active svg {
    box-shadow: none;
}

.to_top:active svg path {
    fill: var(--green);
}

@media screen and (max-width: 1130px) {
    .to_top {
        display: none !important;
    }
}

/***********************
    PAGE TITLE
************************/
.brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.site_title {
    font-size: 6rem;
    color: var(--logo);
    font-weight: 600;
}

.logo {
    width: 90px;
}

.top_page {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
}

.title_connection {
    padding: 1rem 0;
    padding-left: 18rem;
}

.top_page>div p {
    width: 900px;
    margin-top: 1.5rem;
    text-align: justify;
    font-weight: 300;
}

.top_page_mobile {
    display: none;
}

.top_page_dk {
    width: 100%;
}

@media screen and (max-width: 1280px) {
    .top_page>div p {
        width: 850px;
    }
}

@media screen and (max-width: 1180px) {
    .top_page>div p {
        width: 800px;
    }
}

@media screen and (max-width: 1130px) {
    .top_page_dk {
        display: none;
    }

    .top_page_mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 4rem;
    }

    .top_page_mobile h1 {
        font-size: 76px;
        margin-bottom: 2rem;
    }

    .top_page_mobile p {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
        margin-top: 1.5rem;
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 300;
        text-align: justify;
    }
}

@media (max-width: 630px) {
    .top_page_mobile h1 {
        font-size: 56px;
    }

    .site_title {
        font-size: 5rem;
    }
}

@media (max-width: 445px) {
    .top_page_mobile {
        margin-top: 3rem;
    }

    .top_page_mobile h1 {
        font-size: 46px;
        margin-bottom: 1.5rem;
    }

    .top_page_mobile svg {
        height: 100px;
    }
}

@media (max-width: 368px) {
    .top_page_mobile h1 {
        font-size: 36px;
        margin-bottom: 1rem;
    }

    .top_page_mobile svg {
        height: 90px;
    }

    .site_title {
        font-size: 4rem;
    }
}

@media (max-width: 320px) {
    .top_page_mobile {
        margin-top: 2rem;
    }

    .site_title {
        font-size: 3rem;
    }
}

/***********************
    PAGE SECTION TITLE
************************/
.section_title {
    width: fit-content;
    margin: 5rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section_title h2 {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 4.8rem;
    text-align: center;
}

.section_title>div {
    width: 100%;
    /* margin-top: .5rem; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.connection_line {
    background-color: var(--violet);
    width: 100%;
    height: 5px;
}

.connection_dots {
    width: 24px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--violet);
}

.section_tet {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 1130px) {
    .section_title {
        margin: 3rem auto;
        margin-top: 5rem;
    }

    .section_title h2 {
        font-size: 3rem;
        line-height: 4.5rem;
    }
}

@media screen and (max-width: 430px) {
    .section_title {
        margin: 3rem auto;
    }

    .section_title h2 {
        font-size: 2rem;
        line-height: 3.4rem;
    }
}

@media screen and (max-width: 420px) {
    .section_title h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 378px) {
    .section_title h2 {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 340px) {
    .section_title h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 320px) {
    .section_title {
        margin: 2rem auto;
        margin-top: 3rem;
    }

    .section_title h2 {
        font-size: 1.4rem;
    }

    .connection_dots {
        width: 22px;
        height: 17px;
    }
}

/***********************
    GENERAL HEADER
************************/
.menu {
    position: relative;
}

.menu_bar {
    position: absolute;
    top: 20px;
    right: 7px;
    height: 91%;
    width: 4px;
    background-color: var(--violet);
}

.menu ul li {
    line-height: 3rem;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    transition: all 450ms linear;
    cursor: pointer;
}

.menu ul li span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid black;
    background: var(--white);
    z-index: 1;
}

.menu ul li:hover a {
    font-weight: bold;
}

.menu ul li:hover span {
    border: 2px solid var(--violet);
    background: var(--violet);

}

li.active a {
    color: var(--violet);
    font-weight: bold;
}

.menu ul li.active span {
    border: 2px solid var(--violet);
    background: var(--violet);
}

li.active a svg path:first-child,
li.active a svg circle {
    fill: var(--violet);
}

li a.active_user svg path:first-child,
li a.active_user svg circle {
    fill: var(--white);
}

li a.active_user svg path:nth-child(2),
li a.active_user svg circle {
    stroke: var(--white);
}

.fa-user {
    font-size: 20px;
}

.menu ul li:hover .fa-user {
    color: var(--violet);
}

.menu ul li.active .fa-user {
    color: var(--violet);
}

.menu ul li:hover svg path:first-child,
.menu ul li:hover svg circle {
    fill: var(--violet);
}

.cart_dk,
.cart_mob {
    position: relative;
}

.cart_dk {
    font-size: 14px;
}

.cart_n {
    position: absolute;
    top: 0;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--logo);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hamburger_menu,
.cart_mob {
    display: none;
}

/* HAMBURGER MENU */
@media (max-width: 1130px) {
    .wrapper {
        margin-top: 1.5rem;
    }

    .brand,
    .menu {
        display: none;
    }

    .cart_mob {
        display: block;
        font-size: 1.2rem;
    }

    .cart_mob .cart_n {
        width: 28px;
        height: 28px;
    }

    .hamburger_menu {
        display: block;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        z-index: 100000;
    }

    .hamburger_close {
        /* width: 90%; */
        margin: 0 auto;
        height: 90px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger_menu img {
        width: 90px;
    }

    .hamburger_icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 1rem;
        cursor: pointer;
    }

    .bar_1,
    .bar_2,
    .bar_3 {
        background-color: var(--violet);
        border-radius: 5px;
        /* border: 2px solid var(--black_logo); */
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .bar_1 {
        width: 70px;
        height: 6px;
    }

    .bar_2 {
        width: 50px;
        height: 8px;
        background-color: var(--logo);
    }

    .bar_3 {
        width: 70px;
        height: 6px;
    }

    /***** animazione al click delle bars *************/
    .hamburger_icon.active .bar_2 {
        opacity: 0;
    }

    .hamburger_icon.active .bar_1 {
        transform: rotate(45deg) translateY(20px);
        background-color: var(--red);
        height: 6px;
        width: 60px;
    }

    .hamburger_icon.active .bar_3 {
        transform: rotate(-45deg) translateY(-20px);
        background-color: var(--red);
        height: 6px;
        width: 60px;
    }

    /*************************************************/
    .nav_menu {
        position: fixed;
        left: -100%;
        top: 7rem;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 7rem);
        text-align: center;
        transition: 0.3s;
        padding-top: 1.2rem;
        overflow-y: auto;
    }

    .nav_item {
        margin-bottom: 1.5rem;
    }

    .nav_item a {
        color: var(--black_logo);
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 2.3rem;
        letter-spacing: 0.14rem;
    }

    .nav_item a i {
        font-size: 32px;
        padding-top: 1rem;
        color: var(--violet);
    }

    .nav_menu.active {
        left: 0;
    }
}

@media (max-width: 768px) {
    .hamburger_menu img {
        width: 85px;
    }

    .bar_1 {
        width: 60px;
        height: 6px;
    }

    .bar_2 {
        width: 40px;
        height: 8px;
    }

    .bar_3 {
        width: 60px;
        height: 6px;
    }
}

@media (max-width: 430px) {
    .hamburger_menu img {
        width: 75px;
    }

    .hamburger_icon {
        gap: .80rem;
    }

    .bar_1 {
        width: 55px;
    }

    .bar_2 {
        width: 35px;
        height: 7px;
    }

    .bar_3 {
        width: 55px;
    }

    .hamburger_icon.active .bar_1 {
        height: 5px;
        width: 45px;
    }

    .hamburger_icon.active .bar_3 {
        height: 5px;
        width: 45px;
    }

    .nav_item {
        margin-bottom: 1.3rem;
    }
}

@media (max-width: 375px) {
    .nav_item {
        margin-bottom: .65rem;
    }
}

@media (max-width: 320px) {
    .wrapper {
        margin-top: 1rem;
    }

    .hamburger_menu img {
        width: 68px;
    }

    .hamburger_icon {
        gap: .70rem;
    }

    .bar_1 {
        width: 45px;
    }

    .bar_2 {
        width: 30px;
        height: 7px;
    }

    .bar_3 {
        width: 45px;
    }

    .hamburger_icon.active .bar_1 {
        width: 40px;
    }

    .hamburger_icon.active .bar_3 {
        width: 40px;
    }
}

/***********************
    FOOTER
************************/
footer {
    width: 100%;
    background-color: var(--tab_bg);
    color: var(--white);
    border-top: 5px solid var(--tab_stroke);
    padding: 3rem 0;
    padding-top: 5rem;
}

.footer_data {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer_data img {
    width: 7.5rem;
}

.footer_data ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer_data ul li:first-child {
    color: var(--logo);
    font-family: var(--txt_title);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer_data ul li {
    font-weight: 400;
    line-height: 2.1rem;
}

.footer_btns {
    margin-top: 5rem;
    display: flex;
    /* justify-content: flex-start; */
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.footer_btns a {
    /* will-change: transform; */
    font-family: var(--txt_body);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5rem;
    padding: .5rem 1rem;
    background-color: var(--logo);
    border: 2px solid var(--black_logo);
    border-radius: 0.95rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: all 250ms linear;
}

.footer_btns a:hover {
    /* transform: scale(1.05); */
    /* box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); */
    background-color: var(--green);

}

.footer_btns a:active {
    box-shadow: none;
    /* transform: scale(1); */
}

.social_links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.social_links a svg {
    width: 50px;
}

.social_links a svg circle {
    transition: all .3s linear;
}

.social_links a svg:hover circle {
    fill: var(--violet);
    stroke: var(--violet);
}

@media (max-width: 1130px) {
    .footer_btns {
        margin-top: 5rem;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .footer_data img {
        width: 7rem;
    }

    .footer_btns a {
        font-size: .85rem;
        font-weight: 500;
        line-height: 1.5rem;
        padding: .5rem 1rem;
    }
}

@media (max-width: 430px) {
    .footer_data ul li {
        font-weight: 300;
    }

    .social_links {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .footer_btns {
        margin-top: 5rem;
        display: flex;
        /* justify-content: flex-start; */
        justify-content: center;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .footer_btns a {
        text-align: center;
    }
}

@media (max-width: 375px) {
    .footer_data img {
        width: 6.5rem;
    }

    .footer_btns a {
        font-size: .85rem;
        padding: .4rem .95rem;
        border-radius: 10px;
    }

    .footer_data ul li {
        font-size: .85rem;
    }
}

@media (max-width: 320px) {
    .footer_btns {
        gap: .85rem;
    }

    .footer_btns a {
        font-size: .75rem;
        letter-spacing: 1px;
        padding: .4rem .95rem;
    }
}

/**************************
    JOIN US
***************************/
#hp_join {
    margin-bottom: 5rem;
}

.join_row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.join_col {
    /* will-change: transform; */
    transition: all 0.3s linear;
    width: calc(100% / 3);
    padding: 2.5rem 2rem;
    border-radius: 1.88rem;
    border: 5px solid var(--logo);
    background-color: var(--white);
    box-shadow: var(--color_sdw);
    max-width: 25rem;
    /* height: 34.4rem; */
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.join_col:hover {
    /* transform: scale(1.01); */
    /* box-shadow: 1px 2px 2px 0px rgba(127, 127, 254, 0.35); */
    border: 5px solid var(--green);
}

.join_col svg {
    width: 80px;
    height: 80px;
}

.join_col svg,
.join_col path,
.join_col circle {
    transition: all 250ms linear;
}

.join_col:hover svg,
.join_col:hover path,
.join_col:hover circle {
    fill: var(--green);
    stroke: var(--green);
}

.join_col:active {
    /* transform: scale(1); */
    box-shadow: none;
}

.join_col h3 {
    color: var(--violet);
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.join_price {
    color: var(--green);
    text-align: center;
    text-shadow: 0px 4px 4px rgba(127, 127, 254, 0.25);
    font-family: var(--txt_title);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 3.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.join_col ul {
    margin-top: 3rem;
    list-style: disc;
}

.join_col ul li {
    max-width: 250px;
    margin: 0 auto;
    margin-left: 1rem;
    text-align: justify;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8rem;
}

.join_col ul li:not(.join_col ul li:last-child) {
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 1400px) {
    .join_row {
        gap: 1.5rem;
    }

    .join_col {
        width: calc((100% - 1.5rem * 2) / 3);
        /* height: 30rem; */
        padding: 2rem 1.5rem;
    }

    .join_col svg {
        width: 65px;
        height: 65px;
    }

    .join_col h3 {
        font-size: 2rem;
        line-height: 3rem;
        letter-spacing: 1px;
    }

    .join_price {
        font-size: 2rem;
        line-height: 3rem;
        letter-spacing: 1px;
    }

    .join_col ul {
        margin-top: 20%;
    }

    .join_col ul li {
        font-size: .95rem;
    }
}

@media screen and (max-width: 1130px) {
    .join_row {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .join_col {
        width: calc((100% - 2rem) / 2);
        /* height: 28rem; */
    }

    .join_col ul {
        margin-top: 15%;
    }

}

@media screen and (max-width: 768px) {
    .join_row {
        gap: 3rem;
    }

    .join_col {
        width: 100%;
        height: fit-content;
    }

    .join_col ul {
        margin-top: 1rem;
        margin-bottom: .5rem;
    }
}

@media screen and (max-width: 430px) {
    .join_col {
        width: 90%;
    }

    .join_col ul li {
        text-align: left;
        line-height: 1.5rem;
    }
}

@media screen and (max-width: 320px) {
    .join_col ul li {
        /* text-align: left; */
        font-size: .85rem;
    }
}

/***** COMING SOON *******/
.coming_soon {
    border: 5px solid var(--tab_stroke);
    box-shadow: none;
    pointer-events: none;
}

.coming_soon .icon path {
    fill: var(--tab_stroke);
}

.coming_soon svg {
    fill: var(--tab_stroke);
}

.coming_soon h3 {
    color: var(--tab_stroke);
}

.coming_soon .join_price {
    color: var(--red);
}

.coming_soon img {
    width: 65%;
    margin-top: 2rem;
    opacity: .8;
}

@media screen and (max-width: 1280px) {
    .coming_soon img {
        width: 50%;
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .coming_soon img {
        width: 40%;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 320px) {
    .join_price {
        font-size: 1.5rem;
    }
}

/**************************
    404 ERROR PAGE
***************************/
.notfound_wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.notfound_wrapper img {
    max-width: 600px;
    width: 80%;
}

.back_error {
    position: absolute;
    top: 5rem;
    right: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .85rem;

    font-family: var(--txt_title);
    color: var(--black_logo);
    font-weight: 700;
    font-size: 18px;
}

.back_error:hover svg path {
    fill: var(--green);
}

@media screen and (max-width: 1728px) {
    .back_error {
        top: 3rem;
        right: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .back_error {
        top: 2rem;
        right: 2rem;
    }
}