@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,700;1,500&family=IBM+Plex+Mono:wght@400;500;600;700&family=Josefin+Sans:wght@700&display=swap');

:root {
    --purple: #873EFF;
    --green: #04D361;
    --dark: #0E091B;
    --dark-200: #171228;
    --gray: #AEAEAE;
    --white: #F9F9F9;
}

body {
    background-color: var(--dark);
    padding: 0 10%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.header {
    width: 100%;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-variation {
    color: var(--purple);
}

.header__ctas {
    display: flex;
    gap: 62px;
    align-items: center;


}

.header__link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    color: var(--white);
    padding: 8px;
}

.header__button {
    width: 248px;
    height: 62px;
    background-color: transparent;
    border: 2px solid var(--purple);
    border-radius: 6px;

    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    color: var(--white);

    transition: all ease-in-out 0.5s;
}

.header__button:hover {
    border: 2px solid var(--green);
}

/* Intro - Seção */

.intro__section {
    width: 100%;
    max-width: 38.5rem;
    display: flex;
    flex-direction: column;

    margin-bottom: 128px;
}

.intro__slogan {
    font-family: 'IBM Plex Mono', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.9375rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: var(--green);
    margin-bottom: 12px;
}

.intro__title {
    font-family: 'IBM Plex Mono', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 130%;
    color: var(--white);
    margin-bottom: 2rem;
}

.intro__desc {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 170%;
    color: var(--gray);
}

.intro__desc > a {
    color: var(--green);
}

/* Projetos - Seção */

.projects__section {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 45px;
    margin-bottom: 151px;
    justify-content: center;
}

.projects__card {
    width: 530px;
    background: #171228;
    border: 1px solid #873EFF;
    border-radius: 8px;

    padding: 26px 24px;
    position: relative;
}

.card__img {
    width: 100%;
    height: 222px;
    border-radius: 4px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 1.5rem;
}




.card__img img {
    width: 100%;
}

.card__title {
    font-family: 'IBM Plex Mono';
    font-weight: 500;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 22px;

    word-spacing: -6px;
}

.card__desc {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 18px;
    line-height: 170%;
    color: var(--gray);    
    margin-bottom: 18px;
}

.card__buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.button__demo {
    width: 165px;
    height: 42px;
    background: var(--green);
    border-radius: 4px;
    
    font-family: 'DM Sans';
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    color: var(--dark);

    transition: all ease-in-out 0.3s;
}

.button__demo:hover {
    background: var(--purple);
    color: var(--white);
}

.button__github {
    width: 165px;
    height: 42px;
    border: 1px solid var(--green);
    border-radius: 4px;    
    background-color: transparent;

    font-family: 'DM Sans';
    font-weight: 700;
    font-size: 15px;
    color: var(--white);

    transition: all ease-in-out 0.3s;
}

.button__github:hover {
    border: 2px solid var(--purple);
}


/* Footer */

.footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer__logo {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--purple);
    font-weight: 700;
    font-size: 2rem;   
    
    display: flex;
    align-self: center;
}

.footer__copy {
    display: flex;
    gap: 48px;
    align-items: center;
}

.footer__copy > p {
    font-family: 'IBM Plex Mono';
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--gray);
}