/* -------------------- MAIN -------------------- */
/* ---------- SETUP ---------- */
/* ----- FONTS ----- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');
/* ----- VARIABLES ----- */
:root {
    /* COLORS */
    --darkGrey: #2F2D38;
    --darkGrey10: rgba(47, 45, 56, 0.1);
    --lightGrey: #F2F2F2;
    --mainBlue: #218AFA;
    --shadowHeader: 0px 0px 15px rgba(47, 45, 56, 0.25);
    --shadow: 0px 0px 15px rgba(47, 45, 56, 0.05);
    /* VALUES */ 
    --mainPadding: 120px;
    --gap1: 80px;
    --gap2: 30px;
    --bigRadius: 20px;
    --smallRadius: 15px;
    --buttonPadding: 15px;
    /* ANIMATIONS */
    --loaderTransitionIn: all 0.8s cubic-bezier(0.7, 0, 0.3, 1);
    --loaderTransitionOut: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

/* ---------- CSS ---------- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Archivo, sans-serif;
}
::-webkit-scrollbar {
    display: none;
}
html {
    background-color: var(--lightGrey);
}
html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    min-width: 300px;
}

/* ----- TITLES ----- */
h1 {
    font-size: 50px;
    font-weight: 900;
}
h2 {
    font-size: 45px;
    font-weight: 900;
}
h3 {
    font-size: 35px;
    font-weight: 900;
}
h4 {
    font-size: 25px;
    font-weight: 900;
}
/* TITLES - UNDERLINE */
.underline {
    position: relative;
    width: fit-content;
}
.underline::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px; 
    background-color: var(--mainBlue);
}

h4.underline::after {
    height: 4.5px;
}

/* ----- SUBTITLES ----- */
.subtitle1 {
    font-weight: 500;
    font-size: 30px;
}

/* ----- TEXTS ----- */
p.text1 {
    font-size: 24px;
    font-weight: 400;
}
p.text2 {
    font-size: 22px;
    font-weight: 400;
}
p.text3 {
    font-size: 20px;
    font-weight: 400;
}

p a {
    text-decoration: underline;
    font-weight: 600;
    color: var(--darkGrey);
}

/* ----- BUTTONS ----- */
.button, .linkButton {
    padding: 15px var(--buttonPadding);
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    cursor: pointer;
    font-weight: 900;
    font-size: 34px;
    width: fit-content;
    text-decoration: none;
}
.button .arrowIcon, .linkButton .arrowIcon {
    height: .75em;
    transition: transform 0.5s ease-out;
}
.button::after, .linkButton::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 0;
    height: 5px; 
    background-color: var(--mainBlue);
    transition: width 0.2s ease-out;
}
.button:hover::after, .linkButton:hover::after  {  
    width: calc(100% - 30px);
    transition: width 0.4s ease-out;
}

/* MATTE CONTAINER */
.matteContainer {
    width: fit-content;
    height: fit-content;
    overflow: hidden;
}

/* ----- LOADER ----- */
/* LOADER IN */
#loaderIn {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh + var(--bigRadius));
  background: var(--darkGrey);
  border-bottom-left-radius: var(--bigRadius);
  border-bottom-right-radius: var(--bigRadius);
  overflow: hidden;
  z-index: 20;
  transition: var(--loaderTransitionIn);
}
#logoLoader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  transform: translate(-50%, -50%);
  transition: var(--loaderTransitionIn);
}
#loaderIn.out {
  transform: translateY(-100%);
}
#loaderIn.out #logoLoader {
  transform: translate(-50%, calc(-50% + 100vh + var(--bigRadius)));
}

/* LOADER OUT */
#loaderOut {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh + var(--bigRadius));
  background: var(--darkGrey);
  border-radius: var(--bigRadius) var(--bigRadius) 0 0;
  z-index: 20;
  transform: translateY(100%);
  transition: var(--loaderTransitionOut);
}
#loaderOut.in {
  transform: translateY(0);
}


/* ----- HEADER ----- */
header {
    padding: 50px var(--mainPadding);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
/* HEADER - NAV */
.navContainer {
    display: flex;
    flex-direction: row;
    gap: 45px;
}
.navElement div{
    position: relative;
    color: var(--darkGrey);
    font-weight: 500;
    text-decoration: none;
    font-size: 21px;
    cursor: pointer;
}
.navElement div::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 3px; 
    background-color: var(--mainBlue);
    transition: width 0.2s ease-out;
}
.navElement.active div::after {
    width: 100%;
}
.navElement.inactive:hover div::after {
    width: 100%;
    transition: width 0.4s ease-out;
}
/* HEADER - LOGO HEADER */
#logoHeader {
    position: fixed;
    height: 100px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(var(--shadowHeader));
    cursor: pointer;
}

/* ----- FOOTER ----- */
footer {
    width: 100%;
    display: flex;
    background-color: var(--mainBlue);
    flex-direction: column;
    border-radius: var(--bigRadius) var(--bigRadius) 0 0 ;
}
/* FOOTER TOP */
#footerTop {
    width: 100%;
    padding: var(--mainPadding);
}
#footerTop .subtitle1.oneLine {
    display : none;
}
/* FOOTER BOTTOM */
#footerBottom {
    background-color: var(--darkGrey);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--mainPadding);
    gap: var(--gap1);
    border-radius: var(--bigRadius) var(--bigRadius) 0 0 ;
}
/* BOTTOM - LINKS */
#footerLinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
#socialNetworks {
    display: flex;
    flex-direction: row;
    gap: 70px;
}
.iconContainer img {
    width: 50px;
}
#mail {
    font-weight: 700;
    text-decoration: none;
    color: var(--lightGrey);
    font-size: 25px;
}
/* BOTTOM - CREDITS */
#footerCredits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#footerLogo{
    height: 140px;
    cursor: pointer;
}
#credits {
    color:  var(--lightGrey);
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
#credits span {
    font-size: 20px;
    font-weight: 600;
}

/* ----- STYLES ----- */
/* TEXTS COLOR */
.black{
    color: var(--darkGrey);
}
.white{
    color: var(--lightGrey);
}
/* DROPSHADOW */
.dropShadow {
    filter: drop-shadow(var(--shadow));
}

/* -------------------- RESPONSIVE -------------------- */
/* ---------- TOUCH DEVICES ---------- */
@media (hover: none), (pointer: coarse) {
  .button::after, .linkButton::after {
    width: calc(100% - (var(--buttonPadding)*2));
  }
}
/* ---------- MORE 1700px ---------- */
@media (min-width: 1700px) {
    :root {
        /* VALUES */ 
        --mainPadding: 150px;
        --gap1: 90px;
        --gap2: 40px;
    }

    /* ----- TITLES ----- */
    h1 {
        font-size: 60px;
    }
    h2 {
        font-size: 55px;
    }
    h3 {
        font-size: 45px;
    }
    h4 {
        font-size: 40px;
    }
    /* TITLES - UNDERLINE */
    .underline::after {
        bottom: -7px;
        height: 7px; 
    }
    h4.underline::after {
        height: 6px;
    }

    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 40px;
    }

    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 30px;
    }
    p.text2 {
        font-size: 28px;
    }
    p.text3 {
        font-size: 26px;
    }

    /* ----- BUTTONS ----- */
    .button, .linkButton {
        gap: 45px;
        font-size: 39px;
    }
    .button::after, .linkButton::after {
        bottom: 7px;
        height: 7px; 
    }

    /* ----- HEADER ----- */
    /* HEADER - NAV */
    .navContainer {
        gap: 80px;
    }
    .navElement div{
        font-size: 27px;
    }
    .navElement div::after {
        bottom: -4px;
        height: 4px; 
    }
    /* HEADER - LOGO HEADER */
    #logoHeader {
        height: 125px;
        top: 30px;
    }

    /* ----- FOOTER ----- */
    /* FOOTER BOTTOM */
    /* BOTTOM - LINKS */
    .iconContainer img {
        width: 65px;
    }
    #mail {
        font-size: 30px;
    }
    /* BOTTOM - CREDITS */
    #footerCredits {
        gap: 15px;
    }
    #footerLogo{
        height: 180px;
    }
    #credits {
        font-size: 22px;
    }
    #credits span {
        font-size: 24px;
    }


}

/* ---------- MORE 1570px ---------- */
@media (min-width: 1570px) and (max-width: 1700px) {
    :root {
        /* VALUES */ 
        --mainPadding: 135px;
        --gap1: 85px;
        --gap2: 35px;
    }

    /* ----- TITLES ----- */
    h1 {
        font-size: 55px;
    }
    h2 {
        font-size: 50px;
    }
    h3 {
        font-size: 40px;
    }
    h4 {
        font-size: 30px;
    }
    /* TITLES - UNDERLINE */
    .underline::after {
        bottom: -6px;
        height: 6px; 
    }
    h4.underline::after {
        height: 5px;
    }

    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 35px; 
    }

    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 27px;
    }
    p.text2 {
        font-size: 25px;
    }
    p.text3 {
        font-size: 23px;
    }

    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 36px;
    }
    .button::after, .linkButton::after {
        bottom: 6px;
        height: 6px; 
    }

    /* ----- LOADER ----- */
    #logoLoader {
        width: 180px;
    }

    /* ----- HEADER ----- */
    /* HEADER - NAV */
    .navContainer {
        gap: 60px;
    }
    .navElement div{
        font-size: 24px;
    }
    .navElement div::after {
        bottom: -3.5px;
        height: 3.5px; 
    }
    /* HEADER - LOGO HEADER */
    #logoHeader {
        height: 115px;
        top: 25px;
    }

    /* ----- FOOTER ----- */
    /* FOOTER BOTTOM */
    /* BOTTOM - LINKS */
    .iconContainer img {
        width: 60px;
    }
    #mail {
        font-size: 27px;
    }
    /* BOTTOM - CREDITS */
    #footerCredits {
        gap: 12px;
    }
    #footerLogo{
        height: 160px;
    }
    #credits {
        font-size: 20px;
    }
    #credits span {
        font-size: 22px;
    }


}

/* ---------- LESS 1280px ---------- */
@media (max-width: 1280px) {
    :root {
        /* VALUES */ 
        --mainPadding: 100px;
        --gap1: 70px;
    }

    /* ----- TITLES ----- */
    h1 {
        font-size: 45px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 30px;
    }
    h4 {
        font-size: 20px;
    }

    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 27px;
    }

    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 22px;
    }
    p.text2 {
        font-size: 20px;
    }
    p.text3 {
        font-size: 18px;
    }

    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 32px;
    }

    /* ----- LOADER ----- */
    #logoLoader {
        width: 150px;
    }
}

/* ---------- LESS 1135px ---------- */
@media (max-width: 1135px) {
    :root {
        /* VALUES */ 
        --mainPadding: 90px;
        --gap1: 65px;
        --gap2: 27px;
    }
}

/* ---------- LESS 990px ---------- */
@media (max-width: 990px) {
    :root {
        /* VALUES */ 
        --mainPadding: 85px;
        --gap1: 60px;
        --gap2: 25px;
    }
}

/* ---------- LESS 750px ---------- */
@media (max-width: 750px) {
    :root {
        /* VALUES */ 
        --mainPadding: 75px;
        --gap1: 50px;
        --gap2: 22px;
        --buttonPadding: 10px;
    }
    /* ----- TITLES ----- */
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 35px;
    }
    h3 {
        font-size: 25px;
    }
    h4 {
        font-size: 18px;
    }
    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 25px;
    }
    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 20px;
    }
    p.text2 {
        font-size: 18px;
    }
    p.text3 {
        font-size: 17px;
    }

    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 30px;
        gap: 35px;
    }
    /* ----- LOADER ----- */
    #logoLoader {
        width: 130px;
    }
    /* ----- HEADER ----- */
    header {
        padding: 45px var(--mainPadding);
    }
    /* HEADER - NAV */
    .navContainer {
        gap: 40px;
    }
    .navElement div{
        font-size: 19px;
    }
    /* HEADER - LOGO HEADER */
    #logoHeader {
        height: 90px;
    }

    /* ----- FOOTER ----- */
    /* TOP - TEXTS */
    #footerTop h1 {
        font-size: 35px;
    }
    #footerTop .subtitle1 {
        font-size: 20px;
    }
    /* BOTTOM */
    #footerBottom {
        padding: calc(var(--mainPadding)*2) var(--mainPadding);
    }
    /* BOTTOM - LINKS */
    #footerLinks {
        gap: 45px;
    }
    #socialNetworks {
        gap: 60px;
    }
    .iconContainer img {
        width: 40px;
    }
    #mail {
        font-size: 22px;
    }
    /* BOTTOM - CREDITS */
    #footerLogo{
        height: 120px;
    }
}

/* ---------- LESS 660px ---------- */
@media (max-width: 660px) {
    :root {
        /* VALUES */ 
        --mainPadding: 55px;
        --gap1: 45px;
        --gap2: 21px;
        --bigRadius: 17px;
        --smallRadius: 12px;
    }
    /* ----- TITLES ----- */
    h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 22px;
    }
    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 22px;
    }
    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 18px;
    }
    p.text2 {
        font-size: 17px;
    }
    p.text3 {
        font-size: 16px;
    }
    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 27px;
        gap: 30px;
    }

    /* ----- LOADER ----- */
    #logoLoader {
        width: 110px;
    }
    /* ----- HEADER ----- */
    /* HEADER - NAV */
    .navContainer {
        gap: 35px;
    }
    .navElement div{
        font-size: 18px;
    }
    /* HEADER - LOGO HEADER */
    #logoHeader {
        height: 85px;
    }

    /* ----- FOOTER ----- */
    /* TOP - TEXTS */
    #footerTop h1 {
        font-size: 32px;
    }
    #footerTop .subtitle1 {
        font-size: 19px;
    }
    /* BOTTOM */
    #footerBottom {
        padding: calc(var(--mainPadding)*2) var(--mainPadding);
    }
    /* BOTTOM - LINKS */
    #footerLinks {
        gap: 35px;
    }
    #socialNetworks {
        gap: 55px;
    }
    #mail {
        font-size: 21px;
    }
    /* BOTTOM - CREDITS */
    #footerLogo{
        height: 110px;
    }
}
/* ---------- LESS 520px ---------- */
@media (max-width: 520px) {
    /* FOOTER TOP - SUBTITLE */
    #footerTop .subtitle1.twoLines {
        display : none;
    }
    #footerTop .subtitle1.oneLine {
        display : block;
    }
}

/* ---------- LESS 480px ---------- */
@media (max-width: 480px) {
    :root {
        /* VALUES */ 
        --mainPadding: 40px;
        --gap1: 40px;
        --gap2: 20px;
        --bigRadius: 15px;
        --smallRadius: 10px;
        --buttonPadding: 5px;
    }
    /* ----- TITLES ----- */
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 25px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 17px;
    }
    /* UNDERLINE */
    .underline::after {
        bottom: -4px;
        height: 4px; 
    }
    h4.underline::after {
        height: 3.5px;
    }
    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 20px;
    }
    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 17px;
    }
    p.text2 {
        font-size: 16px;
    }
    p.text3 {
        font-size: 15px;
    }
    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 25px;
        gap: 25px;
    }
    .button::after, .linkButton::after {
        bottom: 4px;
        height: 4px; 
    }

    /* ----- LOADER ----- */
    #logoLoader {
        width: 100px;
    }

    /* ----- HEADER ----- */
    header {
        padding: 40px var(--mainPadding);
    }
    /* HEADER - NAV */
    .navContainer {
        gap: 30px;
    }
    .navElement div{
        font-size: 17px;
    }
    .navElement div::after {
        bottom: -2.5px;
        height: 2.5px; 
    }
    /* HEADER - LOGO HEADER */
    #logoHeader {
        height: 80px;
    }

    /* ----- FOOTER ----- */
    /* TOP - TEXTS */
    #footerTop h1 {
        font-size: 30px;
    }
    #footerTop .subtitle1 {
        font-size: 18px;
    }
    /* BOTTOM - LINKS */
    #footerLinks {
        gap: 30px;
    }
    #socialNetworks {
        gap: 45px;
    }
    .iconContainer img {
        width: 35px;
    }
    #mail {
        font-size: 20px;
    }
    /* BOTTOM - CREDITS */
    #footerLogo{
        height: 100px;
    }
    #credits {
        font-size: 16px;
    }
    #credits span {
        font-size: 18px;
    }
}

/* ---------- LESS 405px ---------- */
@media (max-width: 405px) {
    :root {
        /* VALUES */ 
        --mainPadding: 33px;
        --bigRadius: 12px;
        --smallRadius: 8.5px;
    }
    /* ----- TITLES ----- */
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 23px;
    }
    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 19px;
    }
    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 22px;
        gap: 22px;
    }

    /* ----- LOADER ----- */
    #logoLoader {
        width: 90px;
    }


    /* ----- HEADER ----- */
    header {
        padding: 37px var(--mainPadding); 
    }
    /* HEADER - NAV */
    .navContainer {
        gap: 27px;
    }

    /* ----- FOOTER ----- */
    /* TOP - TEXTS */
    #footerTop h1 {
        font-size: 27px;
    }
    #footerTop .subtitle1 {
        font-size: 17px;
    }
    /* BOTTOM - LINKS */
    #footerLinks {
        gap: 37px;
    }
    #socialNetworks {
        gap: 40px;
    }
    .iconContainer img {
        width: 33px;
    }
    #mail {
        font-size: 19px;
    }
    /* BOTTOM - CREDITS */
    #footerLogo{
        height: 95px;
    }
}

/* ---------- LESS 335px ---------- */
@media (max-width: 335px) {
    :root {
        /* VALUES */ 
        --mainPadding: 25px;
        --bigRadius: 10px;
        --smallRadius: 7px;
    }
    /* ----- TITLES ----- */
    h1 {
        font-size: 27px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 19px;
    }
    h4 {
        font-size: 16px;
    }
    /* UNDERLINE */
    .underline::after {
        bottom: -3.5px;
        height: 3.5px; 
    }
    h4.underline::after {
        height: 3px;
    }
    /* ----- SUBTITLES ----- */
    .subtitle1 {
        font-size: 18px;
    }
    /* ----- TEXTS ----- */
    p.text1 {
        font-size: 16px;
    }
    p.text2 {
        font-size: 15px;
    }
    /* ----- BUTTONS ----- */
    .button, .linkButton {
        font-size: 20px;
        gap: 20px;
    }
    .button::after, .linkButton::after {
        bottom: 4px;
        height: 4px; 
    }

    /* ----- HEADER ----- */
    header {
        padding: 35px var(--mainPadding);
    }
    /* HEADER - NAV */
    .navContainer { 
        gap: 25px;
    }
    .navElement div{
        font-size: 16px;
    }
    .navElement div::after {
        bottom: -2px;
        height: 2px; 
    }
    /* HEADER - LOGO HEADER */
    #logoHeader {
        height: 75px;
    }

    /* ----- FOOTER ----- */
    /* TOP - TEXTS */
    #footerTop h1 {
        font-size: 25px; 
    }
    #footerTop .subtitle1 {
        font-size: 15px; 
    }
    /* BOTTOM - LINKS */
    #socialNetworks {
        gap: 40px;
    }
    .iconContainer img {
        width: 30px;
    }
    #mail {
        font-size: 18px;
    }
    /* BOTTOM - CREDITS */
    #footerLogo{
        height: 90px;
    }
    #credits {
        font-size: 15px;
    }
    #credits span {
        font-size: 17px;
    }
}