/*GOOGLE FONTS*/
@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');


/*VARIABLES CSS*/
:root {
    --header-height: 3.5rem;

    /*COLORS*/
    /*Color mode HSL(hue, saturation, lightness)*/
    /*--first-color: hsl(203, 71%, 60%);*/
    --first-color: hsl(300, 45%, 72%);
    --second-color: hsl(203, 71%, 60%);
    --title-color: hsl(228, 8%, 95%);
    --text-color: hsl(203, 8%, 98%);
    --text-color-grey: hsl(228, 8%, 65%);
    --text-color-light: hsl(203, 8%, 80%);
    --body-color: hsl(259, 20%, 18%);
    --container-color: hsl(228, 15%, 15%);

    /*Font & Typography*/
    /*.5rem = 8px | 1rem = 16px ...*/
    /*--body-font: 'Oxanium', cursive;*/
    --body-font: 'Raleway', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --smaller-font-size: .75rem;

    /*Font weight*/
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;

    /*Z-index*/
    --z-fixed: 100;
}

/*Responsive typography*/
@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*BASE*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

input,
textarea,
button {
    outline: none;
    border: none;
}

/*REUSABLE CSS CLASSES*/
.container {
    max-width: 1024px;
    margin-inline: 1.5rem;
}

.main {
    overflow: hidden;
    /* For the animations */
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding-block: 5rem 2rem;
}

.section__title,
.section__subtitle {
    text-align: center;
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

.section__title {
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
}

.section__subtitle {
    font-size: var(--small-font-size);
    margin-bottom: .25rem;
}

.section__subtitle span {
    color: var(--first-color);
}

/*HEADER & NAV*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: background .3s;
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__link,
.nav__close {
    color: var(--text-color);
}

.nav__toggle {
    display: inline-flex;
    font-size: 1.25rem;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        width: 100%;
        left: 0;
        top: -1000%;
        box-shadow: 0 3px 8px hsla(203, 71%, 4%, .2);
        padding: 4rem 0 3.5rem;
        transition: top .4s;
        overflow: hidden;
    }
}


.nav__list {
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 2rem;
}

.nav__link {
    font-weight: var(--font-semi-bold);
    transition: color .4s;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__close,
.nav__img {
    position: absolute;
}

.nav__close {
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav__img {
    width: 80px;
    left: 1rem;
    bottom: -2rem;
    filter: drop-shadow(0 4px 20px hsla(203, 71%, 60%, .5));
}

.container__logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    font-size: 2rem;
    text-shadow: 6px 0 violet;
    text-align: left;
}

.nav__logo {
    font-size: 1.25rem;
    letter-spacing: .25rem;
}

/*Show menu*/
.show-menu {
    top: 0;
}


/*Active link*/
.active-link {
    background: linear-gradient(90deg, var(--second-color) 0%, var(--first-color) 100%);
    -webkit-background-clip: text;
    color: transparent;
}

/*Change background header*/
.header-bg {
    background-color: var(--body-color);
    box-shadow: 0 2px 4px hsla(203, 71%, 25%, .5);
}

/*HOME*/
.home {
    position: relative;
}

.home__container {
    position: relative;
    padding: 7rem 0 2rem;
}

.home__title {
    font-size: var(--biggest-font-size);
    margin-bottom: .75rem;
}

.home__title span {
    background: linear-gradient(90deg, var(--second-color) 0%, var(--first-color) 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.home__description {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}

.home__button {
    display: inline-block;
    background: linear-gradient(90deg, var(--second-color) 0%, var(--first-color) 100%);
    padding: 1rem 2rem;
    border-radius: .25rem;
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    transition: box-shadow .4s;
}

.home__button:hover {
    box-shadow: 0 8px 48px hsla(203, 71%, 25%, .5);
}

.home__group {
    position: relative;
}

.home__images,
.home__data {
    display: grid;
}

.home__img-eth {
    width: 100px;
    justify-self: center;
}

.home__img-eth img {
    filter: drop-shadow(0 4px 32px hsla(203, 71%, 60%, .5));
    animation: float-eth 4s ease-in-out infinite;
}

.home__img-orbe {
    width: 280px;
    justify-self: center;
}

.home__data {
    position: absolute;
    top: -3rem;
    right: 1.5rem;
    row-gap: 1.25rem;
}

.home__data-number {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
}

.home__data-subtitle {
    font-size: var(--smaller-font-size);
}

.home__footer,
.home__footer-time {
    display: flex;
}

.home__footer {
    margin-top: 2.5rem;
    column-gap: 3.5rem;
}

.home__footer-title,
.home__footer-subtitle {
    font-size: var(--smaller-font-size);
    display: block;
}

.home__footer-title {
    margin-bottom: .75rem;
}

.home__footer-number {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: .25rem;
}

.home__footer-time {
    column-gap: 1.25rem;
}

.home__footer-counter {
    text-align: center;
}

.home__separador {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--second-color) 0%, var(--first-color) 100%);
}


/*Shapes*/
.home__shape-small,
.home__shape-big-1,
.home__shape-big-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.home__shape-small {
    width: 150px;
    height: 150px;
    background-color: var(--first-color);
    top: -2.5rem;
    left: -1.5rem;
}

.home__shape-big-1,
.home__shape-big-2 {
    width: 250px;
    height: 250px;
}

.home__shape-big-1 {
    background-color: var(--first-color);
    top: 16rem;
    right: -6.5rem;
}

.home__shape-big-2 {
    background-color: var(--second-color);
    left: -3.5rem;
    bottom: -4rem;
}

.home__shape-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: soft-light;
    opacity: .3;
}



/*Animation ethereum*/
@keyframes float-eth {
    0% {
        transform: translateY(.5rem);
    }

    50% {
        transform: translateY(2rem);
    }

    100% {
        transform: translateY(.5rem);
    }
}


/*CONTACT*/
.contact {
    background-color: var(--body-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact__container {
    padding-top: 1rem;

}

.contact__form,
.contact__group {
    display: grid;
    row-gap: 1rem;
}

.contact__form {
    position: relative;
}

.contact__input {
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    background-color: var(--container-color);
    color: var(--title-color);
}

.contact__input::placeholder {
    color: var(--text-color-grey);
    font-family: 'Raleway', sans-serif;
}

.contact__form textarea {
    height: 11rem;
    resize: none;
    margin-bottom: 2rem;
}

.contact__button {
    justify-self: center;
    cursor: pointer;
}

.contact__message {
    position: absolute;
    left: 0;
    bottom: 4.5rem;
    font-size: var(--title-color);
}



/*FOOTER*/
.footer {
    width: 100%;
    height: 100px;
    background-color: var(--body-color);
    margin-inline: 0;
}

.footer__separador {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--second-color) 0%, var(--first-color) 100%);
}

.footer__container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    row-gap: 5rem;
}

.footer__item {
    width: 30%;
}

.footer__item:first-child {
    font-style: italic;
    text-align: right;
}

.footer__logo {
    width: 40% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*SCROLL UP*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: var(--body-color);
    padding: 6px;
    display: inline-flex;
    border-radius: .25rem;
    color: var(--first-color);
    font-size: 1.25rem;
    box-shadow: 0 4px 12px hsla(228, 15%, 8%, .4);
    z-index: var(--z-tooltip);
    transition: bottom .4s, transform .4s;
}

.scrollup:hover {
    transform: translateY(-.25rem);
}

.show-scroll {
    bottom: 3rem;
}

/*BREAKPOINTS*/
/*For small devices*/
@media screen and (max-width: 400px) {

    .home {
        height: 100vh;
    }

    .container {
        margin-inline: 1rem;
    }

    .home__container {
        padding-top: 4.5rem;
    }

    .home__img-eth {
        width: 80px;
    }

    .home__img-orbe {
        width: 230px;
    }

    .home__data {
        right: .5rem;
    }

    .home__description {
        text-align: justify;
    }

    .home__footer {
        flex-direction: row;
        row-gap: 2rem;
        margin-top: .5rem;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

    .logo {
        padding-left: 0 !important;
    }

    .home__footer-title {
        margin-bottom: 0;
    }

}

/*For medium devices*/
@media screen and (min-width: 767px) {
    .home {
        height: 100vh;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__toggle,
    .nav__close,
    .nav__img {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 4rem;

    }

    .home__container {
        height: 100vh;
        display: grid;
        grid-template-columns: repeat(2, max-content);
        align-content: center;
        justify-content: center;
        gap: 2rem 4rem;
    }

    .home__group {
        grid-row: 1/3;
        grid-column: 2/3;
        align-self: center;
    }

}

@media screen and (max-width: 767px) {
    .home {
        height: 100vh;
    }
}

@media screen and (max-width: 1048px) {

    .contact__container {
        width: 70%;
    }

    .contact__input {
        padding: 1.5rem;
    }

    .contact__form textarea {
        height: 20rem;
    }
}

/*For large devices*/
@media screen and (min-width: 1024px) {


    .home__title {
        margin-bottom: 1rem;
    }

    .home__description {
        margin-bottom: 3rem;
    }

    .home__img-orbe {
        width: 500px;
    }

    .home__img-eth {
        width: 200px;
    }

    .home__data {
        top: 3rem;
        right: 0;
        row-gap: 2.5rem;
    }

    .home__shape-small,
    .home__shape-big-1,
    .home__shape-big-2 {
        filter: blur(132px);
    }

    .home__shape-small {
        width: 300px;
        height: 300px;
        top: -5rem;
        left: -2rem;
    }

    .home__shape-big-1,
    .home__shape-big-2 {
        width: 400px;
        height: 400px;
    }

    .home__shape-big-1 {
        top: 10rem;
        right: -3.5rem;
    }

    .home__shape-big-2 {
        left: 14rem;
        bottom: -10rem;
    }
}

@media screen and (min-width: 1048px) {
    .container {
        margin-inline: auto;
    }

    .contact__container {
        grid-template-columns: 680px;
        padding-block: 2.5rem 2rem;
        justify-content: center;
    }

    .contact__form {
        row-gap: 1.5rem;
    }

    .contact__group {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }

    .contact__input {
        padding: 1.5rem;
    }

    .contact__form textarea {
        height: 20rem;
    }
}


@media screen and (min-width: 1500px) {
    .home__shape-big-2 {
        left: 28rem;
    }

}