@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600&display=swap');

/* =========================
   GENERAL
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: #ffffff;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

/* =========================
   MAIN PAGE
========================= */

.ongoing-projects {
    width: 100%;
    min-height: 100vh;
    padding: 59px 16px 120px;
    background: #ffffff;
}

.projects-container {
    width: 100%;
    max-width: 361px;
    margin: 0 auto;
}

/* =========================
   PAGE TITLE
========================= */

.projects-container h1 {
    margin: 0;
    text-align: center;

    color: #000000;

    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
}

/* =========================
   PROJECT LIST
========================= */

.projects-list {
    width: 100%;
    margin-top: 32px;

    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* =========================
   PROJECT
========================= */

.project {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;
}

/* =========================
   PROJECT IMAGE
========================= */

.project-image {
    width: 100%;
    height: 405px;
    border-radius: 20px;
    overflow: hidden;
    background: #d3d3d3;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Project 2 */

.project:nth-child(2) .project-image {
    height: 445px;
}

/* Project 3 */

.project:nth-child(3) .project-image {
    height: 425px;
}

/* =========================
   PROJECT CONTENT
========================= */

.project-content {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
}

/* =========================
   PROJECT TITLE
========================= */

.project-content h2 {
    margin: 0;

    color: #000000;

    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
}

/* =========================
   PROJECT TEXT
========================= */

.project-content p {
    margin: 0;

    color: #000000;

    letter-spacing: 0.024px;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* =========================
   TABLET
========================= */

@media (min-width: 600px) {

    .ongoing-projects {
        padding: 70px 32px 140px;
    }

    .projects-container {
        max-width: 650px;
    }

    .project-content h2 {
        font-size: 26px;
    }

    .project-content p {
        font-size: 17px;
    }

}

/* =========================
   DESKTOP
========================= */

@media (min-width: 900px) {

    .ongoing-projects {
        padding: 80px 40px 160px;
    }

    .projects-container {
        max-width: 900px;
    }

    .projects-list {
        gap: 60px;
    }

    .project-image-1 {
        height: 500px;
    }

    .project-image-2 {
        height: 540px;
    }

    .project-image-3 {
        height: 520px;
    }

    .project-content h2 {
        font-size: 28px;
    }

    .project-content p {
        font-size: 17px;
        line-height: 1.6;
    }

}

/* =========================
   LARGE DESKTOP
========================= */

@media (min-width: 1200px) {

    .projects-container {
        max-width: 1000px;
    }

}