:root {
    --primary: #0050FF;
    --pink: #E6DACE;
    --pink-light: #F4ECE6;
    --white: #FFFFFF;
    --black: #000000;

    --font-primary: 'Roboto', sans-serif;
    --font-secondary: sans-serif;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,*::before, *::after {
    box-sizing: inherit;
}

body {
    font-size: 1.6rem;
    font-family: var(--font-primary);
    background-color: var(--pink);
}

body.home {
    background-color: var(--white);
}

.block-pink {
    background-color: var(--pink);
    position: fixed;
    width: 45rem;
    height: 100vh;
    z-index: -9;
}

h1 {
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--black);
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* UTILITIES */

.btn {
    display: inline-block;
    border: .1rem solid var(--black);
    border-radius: 2rem;
    min-width: 12rem;
    text-align: center;
    padding: .5rem 0;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--black);
}
.dv-center {
    display: flex;
    justify-content: center;
}

.btn__blue {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.container {
    max-width: 120rem;
    width: 95%;
    margin: 0 auto;
}

.header {
    background-color: var(--white);
    padding: 3.5rem 0;
}

.header__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

@media(min-width: 768px) {
    .header__content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.header__heading {
    font-size: 2rem;
    text-transform: capitalize;
    position: relative;
    padding-left: .5rem;
    font-weight: 900;
}

@media(min-width: 768px) {
    .header__heading {
        font-size: 2.5rem;
        padding-left: 1.5rem;
    }
}

.pseudo-square::before {
    content: '';
    display: block;
    position: absolute;
    top: 25%;
    left: -1rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary);
    border: .1rem solid --black;
}

@media(min-width: 768px) {
    .pseudo-square::before {
        top: 25%;
        left: -1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }
}

.header__heading span {
    font-weight: 300;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-left: 1.5rem;
}

@media(min-width: 768px) {
    .header__heading span {
        font-size: 1.7rem;
    }
}

/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navigation__link {
    text-transform: uppercase;
    font-size: 1.4rem;
}

.navigation__link.active {
    color: var(--primary);
}

.navigation__link:hover {
    text-decoration: underline;
}

/* MAIN */
.main.home {
    width: 100%;
    box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.75);
}

.main.container {
    margin: 10rem auto;
}

@media(min-width: 1024px) {
    .main.home {
        width: 60%;
    }
}

.main__content {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

@media(min-width: 768px) {
    .main__content {
        flex-direction: row;
    }
}

.main__intro {
    margin: 0 auto;
    text-align: center;
    line-height: 2;
}
.main__intro span {
    display: block;
}

.main__heading {
    font-size: 3.5rem;
    position: relative;
    padding-left: 1rem;
}

.author {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem;
    background-color: var(--pink-light);
}

.author__image {
    width: 20rem;
    height: 20rem;
    border-radius: 65%;
    overflow: hidden;
}

.author__name {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.author__name::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -2rem;
    width: 50%;
    height: .2rem;
    background-color: var(--primary);
}

.author__name span {
    display: block;
    line-height: 1.8;
}

.author__profession {
    text-transform: uppercase;
    font-family: var(--font-secondary);
}

/* EXPERIENCE */
.experience {
    padding: 2rem 3rem;
}

.experience__heading {
    font-weight: 900;
    font-size: 10rem;
    margin: 2rem 0;
}

.experience__subtitle {
    font-weight: 400;
    font-size: 2.5rem;
    font-family: var(--font-primary);
}

.experience__paragraph {
    line-height: 2;
}

.experience__buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* PROJECTS */

.projects {
    margin-top: 5rem;
}

.projects__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.project {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    width: min(70rem, 100%);
    object-fit: cover;
    /* height: 60rem; */
    overflow: hidden;
}

@media(min-width: 768px) {
    .project { flex-direction: row; height: unset;}
}

.project__left {
    flex: 4;
    padding: 5rem 2rem;
}

.project__header {position: relative;}

.project__header::before {
    content: '';
    display: block;
    position: absolute;
    left: -2rem;
    width: 1rem;
    height: 100%;
    background-color: var(--primary);
}

.project__title {
    margin: 1rem 0;
    font-size: 2rem;
    color: var(--primary);
}

.project__subtitle {
    font-size: 1.4rem;
    margin: unset;
    font-weight: bold;
}

.project__image {
    flex: 3;
    object-fit: cover;
}

.project__body {
    line-height: 2;
}

/* Footer */
.footer {
    background-color: var(--white);
    text-align: center;
    padding: 1rem;
}