/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;
  
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: hsl(269, 82%, 58%);
    --second-color: hsl(269, 100%, 38%);
    --first-color-alt: hsl(216, 96%, 64%);
    --second-color-alt: hsl(216, 86%, 74%);
    --white-color: hsl(0, 0%, 100%);
    --text-color-1: #505962;
    --text-color-2: #8a8a8a;
    --text-color-3: #bebebe;
    --dark-color: hsl(216, 26%, 11%);
    --dark-color-light: hsl(216, 14%, 24%);
    --body-color: hsl(216, 96%, 98%);
  
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Lexend", sans-serif;
    --header-font: "Play", sans-serif;
    --ultra-font-size: 2rem;
    --extra-font-size: 1.5rem;
    --big-font-size: 1.2rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
  
    /*========== Font weight ==========*/
    --font-medium: 200;
    --font-semi-bold: 300;
    --font-bold: 400;
    --font-extra-bold: 500;
    --font-ultra-bold: 700;
    --font-extra-light: 100;
    --font-light: 200;
    --font-regular: 300;
    --font-medium: 400;
    --font-semi-bold: 500;
    --font-bold: 600;
    --font-extra-bold: 700;
    --font-black: 800;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1280px) {
    :root {
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
  
html {
    scroll-behavior: smooth;
  }
  
body {
    font-family: var(--body-font);
    font-weight: var(--font-light);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--white-color);
    background-color: var(--dark-color);
}
  
body.page-loaded {
    overflow: auto;
    overflow-x: hidden;
}

body.page-loaded .preloader-cover {
    transition: 0.8s cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
    opacity: 0;
    pointer-events: none;
}
  
ul {
    list-style: none;
    margin-bottom: auto;
}
  
a {
    text-decoration: none;
}
  
img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font) !important;
    font-weight: var(--font-bold) !important;
    color: var(--white-color);
}

h1 {
    font-size: 2.5rem !important;
}
h2 {
    font-size: 2rem !important;
} 
h3 {
    font-size: 1.5rem !important;
}
h4 {
    font-size: 1.25rem !important;
}
h5 {
    font-size: 1rem !important;
}
h6 {
    font-size: .875rem !important;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1356px;
    margin-inline: auto;

    @media screen and (min-width: 320px) {
        max-width: 96vw;
    }
    @media screen and (min-width: 640px) {
        max-width: 96vw;
    }
    @media screen and (min-width: 768px) {
        max-width: 94vw;
    }
    @media screen and (min-width: 1024px) {
        max-width: 92vw;
    }
    @media screen and (min-width: 1280px) {
        max-width: 1150px;
    }
    @media screen and (min-width: 1536px) {
        max-width: 1356px;
    }
}

.title-decor {
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.title-decor h2 {
    font-size: 2rem;
}

.title-decor span {
    color: var(--first-color);
    font-weight: var(--font-ultra-bold);
}

.title-decor:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background-color: var(--white-color);
}

.slogan {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px; }

/*--------------------- SOCIAL LIST ---------------------*/
.social-list {
    display: flex;
    align-items: center; }
    .social-list li {
      margin-right: 13px; }
      .social-list li:last-child {
        margin-right: 0; }
    .social-list a {
      display: block;
      text-align: center;
      color: #919191;
      font-size: 1.5rem; }
      .social-list a:hover {
        color: var(--first-color); }

/*-------------------- PRELOADER --------------------*/
body {
    overflow: hidden;
    line-height: 1.6;
}
  
body.page-loaded {
    overflow: auto;
    overflow-x: hidden; }
    body.page-loaded .preloader-cover {
      transition: 0.8s cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
      opacity: 0;
      pointer-events: none; }
  
.preloader-cover {
    z-index: 9999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color-light);
    opacity: 1;
}
  
#cube-loader {
    align-items: center;
    display: flex;
    height: 100%;
    width: 100%;
    position: fixed;
}
  
#cube-loader .caption {
    margin: 0 auto; 
}
  
#cube-loader .cube-loader {
    width: 73px;
    height: 73px;
    margin: 0 auto;
    margin-top: 49px;
    position: relative;
    transform: rotateZ(45deg); 
}
  
#cube-loader .cube-loader .cube {
    position: relative;
    transform: rotateZ(45deg);
    width: 50%;
    height: 50%;
    float: left;
    transform: scale(1.1); 
}
  
#cube-loader .cube-loader .cube:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--first-color);
    animation: cube-loader 2.76s infinite linear both;
    transform-origin: 100% 100%; 
}
  
#cube-loader .cube-loader .loader-2 {
    transform: scale(1.1) rotateZ(90deg); 
}
  
#cube-loader .cube-loader .loader-3 {
    transform: scale(1.1) rotateZ(180deg);
}
  
#cube-loader .cube-loader .loader-4 {
    transform: scale(1.1) rotateZ(270deg);
}
  
#cube-loader .cube-loader .loader-2:before {
    animation-delay: 0.35s;
}
  
#cube-loader .cube-loader .loader-3:before {
    animation-delay: 0.69s;
}
  
#cube-loader .cube-loader .loader-4:before {
    animation-delay: 1.04s; 
}
  
.website-loading {
    overflow-y: scroll; }
.website-loading .site {
    overflow: hidden;
    height: 1vh;
}
  
@keyframes cube-loader {
    0%, 10% {
        transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%, 75% {
        transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%, 100% {
        transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--dark-color);
    z-index: var(--z-fixed);
    border-bottom: 1px solid var(--dark-color-light);
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white-color);
}

.nav__logo {
    color: var(--white-color);
    font-weight: var(--font-medium);
    transition: color .4s;
}
.nav__logo img {
    width: 45px;
    margin-inline: auto;
}
  
.nav__logo:hover {
    color: var(--first-color);
}
  
.nav__toggle, 
.nav__close {
    display: flex;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
    .nav__menu {
        position: fixed;
        top: -120%;
        left: 0;
        background-color: var(--dark-color);
        box-shadow: 0 8px 16px hsla(216, 24%, 8%, .2);
        width: 100vw;
        padding-block: 4rem;
        z-index: var(--z-fixed);
        transition: top .4s;
    }
    .nav__logo img {
        width: 30px;
    }
}



.nav__list {
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
    padding-left: 0;
}
  
.nav__link {
    color: var(--white-color);
    font-weight: var(--font-medium);
    transition: color .4s;
    text-transform: uppercase;
}
  
.nav__link:hover {
    color: var(--first-color);
}

a.active {
    padding-bottom: 5px;
    border-bottom: 2px solid var(--first-color);
}
  
.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    padding-right: 0%;
}
  
.nav__actions {
    display: flex;
    align-items: center;
    column-gap: .75rem;
}
  
/* Show menu */
.show-menu {
    top: 0;
}

/*=============== DROPDOWN ===============*/
.dropdown {
    position: relative;
}
  
.dropdown__profile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
    column-gap: .25rem;
    cursor: pointer;
}
  
.dropdown__image {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: var(--first-color);
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    justify-items: center;
}
  
.dropdown__image img {
    position: absolute;
    width: 38px;
    bottom: -1px;
}
  
.dropdown__names h3 {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
}
  
.dropdown__names span {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}
  
.dropdown__list {
    position: absolute;
    top: 4.5rem;
    background-color: var(--dark-color);
    box-shadow: 0 8px 16px hsla(216, 24%, 8%, .2);
    display: grid;
    row-gap: .25rem;
    padding: 1rem 1.25rem;
    border-radius: .25rem;
    z-index: var(--z-tooltip);
    transform: translateY(-.75rem);
    opacity: 0;
    transition: transform .4s, opacity .4s;
    pointer-events: none;
}
  
.dropdown__link {
    color: var(--white-color);
    display: flex;
    align-items: center;
    column-gap: 1rem;
    padding: .25rem 1.5rem .25rem .5rem;
    border-radius: .25rem;
    transition: background-color .4s;
}
  
.dropdown__link i {
    font-size: 1rem;
  }
  
.dropdown__link span {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
  }
  
.dropdown__link:hover {
    background-color: var(--dark-color-light);
  }
  
.dropdown__list::after {
    content: "";
    width: 16px;
    height: 16px;
    background-color: var(--dark-color);
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    margin-inline: auto;
    rotate: -45deg;
}
  
/* Show dropdown */
.show-dropdown .dropdown__list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: initial;
}

/*=============== HEADER NAV BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
    .container {
        margin-inline: 1rem;
    }
}
  
/* For large devices */
@media screen and (min-width: 1024px) {
    .container {
        margin-inline: auto;
    }
  
    .nav {
        height: calc(var(--header-height) + 2rem);
        column-gap: 4rem;
    }
    .nav__toggle, 
    .nav__close {
        display: none;
    }
    .nav__list {
      flex-direction: row;
      column-gap: 3rem;
    }
    .nav__menu {
      margin-left: auto;
    }
  
    .dropdown__profile {
      column-gap: 1rem;
    }
    .dropdown__list {
      top: 5.5rem;
    }
}

/*--------------------- FOOTER ---------------------*/
footer {
    background-color: var(--dark-color);
    border-top: 1px solid var(--dark-color-light);
    padding-top: 55px;
    position: relative;
    z-index: 6; }
    footer .social-list li {
      margin-right: 18px; }
  
  .footer-item-logo .logo-footer {
    display: inline-block;
    margin-bottom: 16px; }
.logo-footer img {
    width: 120px;}
  .footer-item-logo p {
    margin-bottom: 34px;
    max-width: 250px;
    font-size: 14px; }
  
  .footer-item {
    padding-top: 7px; }
    .footer-item h3 {
      margin-bottom: 19px; }
  
  .footer-link li {
    margin-bottom: 10px; }
    .footer-link li:last-child {
      margin-bottom: 0; }
  
  .footer-cont li {
    margin-bottom: 10px; }
  .footer-cont i {
    font-size: 18px;
    width: 18px;
    text-align: center;
    margin-right: 15px; }
  
  .footer-blog li {
    display: flex;
    align-items: center;
    margin-bottom: 20px; }
    .footer-blog li:last-child {
      margin-bottom: 0; }
  .footer-blog .img-cover {
    width: 70px;
    height: 70px;
    flex: 0 0 auto;
    margin-right: 20px; }
    .footer-blog .img-cover:hover {
      opacity: .6; }
    .footer-blog .img-cover img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover; }
  .footer-blog .footer-blog-info .name {
    font-weight: 600;
    margin-bottom: 2px; }
  .footer-blog .footer-blog-info p {
    font-size: 14px; }
  
  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    margin-top: 52px;
    border-top: 1px solid #333; }
    .footer-bottom .copyright {
      font-size: 14px; }
  
  .footer-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end; }
    .footer-menu li {
      margin-right: 36px; }
      .footer-menu li:last-child {
        margin-right: 0; }
      .footer-menu li.active a {
        color: var(--first-color); }
      .footer-menu li a {
        font-family: "Lexend", sans-serif;
        text-transform: uppercase;
        font-size: 14px;
        line-height: 18px;
        display: block;
        font-weight: var(--font-medium); }

@media screen and (max-width: 1023px) {
    .footer-bottom {
        display: none;
    }
    .footer-cont {
        margin-bottom: 30px;
    }
}

/*----------------------- TO-TOP -----------------------*/
.to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: .3s ease-in-out;
    width: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    background-color: var(--dark-color-light); }
    .to-top:hover {
      background-color: var(--first-color);
      color: #fff; }
    .to-top.active {
      opacity: 1;
      pointer-events: auto; }