/***********************************************************************************************/
/* COLORS */
/***********************************************************************************************/

.bg-primary {
    background: var(--color-primary);
    color: var(--color-grey);
}

.bg-dark {
    background: var(--color-dark);
    color: var(--color-light);
}

/***********************************************************************************************/
/* UTILITIES */
/***********************************************************************************************/

.u-bold {
    font-weight: 700;
}

.u-marginLeft {
    margin-left: 1rem;
}

/***********************************************************************************************/
/* GLOBALS */
/***********************************************************************************************/

body {
    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;

    line-height: 1.6;

    height: 100%;
    width: 100%;

    font-family: var(--font-family-montserrat);

    overflow-x: hidden;
    overflow-y: auto;
}

/***********************************************************************************************/
/* CARD */
/***********************************************************************************************/

.card {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;

    padding: 1rem;
    margin: 1rem;

    min-height: 200px;
    width: 100%;

    background-color: var(--color-white);
    color: var(--color-dark);

    border: 1px solid var(--color-primary);

    border-radius: 0.5rem;
}

.card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.card .card-description {
    font-size: 0.8rem;
}

.card .card-details {
    font-size: 0.65rem;
}

.card .card-details-meta i {
    color: var(--color-primary);
}

.card .card-details-languages {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

/***********************************************************************************************/
/* HEADER */
/***********************************************************************************************/

.webp #header {
    background-image: url(../images/header-bg.webp);
}

.no-webp #header {
    background-image: url(../images/header-bg.png);
}

#header {
    display: flex;
    align-items: center;
    justify-content: center;

    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;

    min-height: 100vh;
    width: calc(100% - 2rem);

    padding: 1rem;
}

#header .header-description {
    font-size: var(--size-5);
    color: var(--color-dark);

    line-height: 1;
}

#header .header-description > :last-child {
    font-size: var(--size-1);
    color: var(--color-dark);

    line-height: 1;
}

@media (max-width: 1024px) {
    #header .header-description {
        font-size: var(--size-4);
    }
}

@media only screen and (max-width: 700px) {
    #header .header-description {
        font-size: var(--size-3);
    }
}

/***********************************************************************************************/
/* ABOUT */
/***********************************************************************************************/

#about {
    max-width: 100%;
}

#about .about-container {
    width: 100%;
}

#about .about-description {
    padding: 0 2.5rem;
    text-align: justify;
}

#about .about-description h1 {
    font-size: 2rem;
}

.webp #about .about-image {
    background-image: url(../images/me-about.webp);
}

.no-webp #about .about-image {
    background-image: url(../images/me-about.png);
}

#about .about-image {
    position: relative;

    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;

    width: 100%;
}

/***********************************************************************************************/
/* WORK */
/***********************************************************************************************/

#projects {
    min-height: 300px;
    width: 100%;

    color: var(--color-dark);
}

#projects .projects-container {
    width: 100%;
    max-width: 100vw;
}

.webp #projects .projects-description {
    background-image: url(../images/work.webp);
}

.no-webp #projects .projects-description {
    background-image: url(../images/work.png);
}

#projects .projects-description {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 2.5rem;

    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;

    min-height: 300px;
    width: 100%;

    box-shadow: 2px 5px 10px 0 var(--color-dark-grey);
}

@media only screen and (max-width: 64em) {
    #projects .projects-description {
        align-items: center;
    }
}

#projects .projects-description .projects-description-img {
    border-radius: 5rem;
    width: 100px;
    height: 100px;
}

#projects .projects-description .projects-description-link a {
    color: inherit;
    text-decoration: underline;
}

#projects .projects-description .projects-description-jobTitle {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 0;
}

#projects .projects-list {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem 0;
}

#projects .projects-list a {
    text-decoration: none;
    cursor: pointer;
}

#projects .projects-list .projects-list-tech {
    position: relative;

    width: 100%;
    max-width: 100vw;

    margin-top: 1rem;
}

/***********************************************************************************************/
/* TECH */
/***********************************************************************************************/

#tech {
    z-index: 1;
    max-width: 100vw;
}

/***********************************************************************************************/
/* EXPERIENCE */
/***********************************************************************************************/

#experience {
    position: relative;
    max-width: 100vw;

    padding: 1rem;
}

/***********************************************************************************************/
/* FOOTER */
/***********************************************************************************************/

footer {
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;

    text-align: center;
    font-family: var(--font-family-montserrat);

    height: 50px;
    max-width: 100%;
}