@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=PT+Sans:wght@400;700&family=PT+Serif:wght@700&family=Pacifico&family=Playfair+Display:wght@500;700&display=swap');

body {
    margin: 0;
    padding:0;
    font-family: 'Montserrat', sans-serif;
}

section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin-top: 160px;
}

.container {
    margin-right: 12.5vw;
    margin-left: 12.5vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Navbar */
.topnav{
    position: relative;
    display: flex;
    margin-left: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.topnav ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    column-gap: 4.583vw; /* 66px */
    padding-left: 0;
}

.topnav li {
    list-style-type: none;
}

.topnav a {
    text-decoration: none;

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    line-height: 1.5rem; /* 24px */
    
    /* Shades 0 */
    color: #1C1C1F;   
}


.topnav a:hover{
    color: #D14E96;
}

/* Project-title */
.project-title{
    margin-top: 120px; /* Change to vh ? */
    gap: 30px;
}

h4 {
/* Subheading 02 SemiBold */
margin:0;

font-family: 'Montserrat';
font-style: normal;
font-weight: 600;
font-size: 1.625rem; /* 26px */
line-height: 2.625rem; /* 42px */

color: #4B4A52;    
}

h1 {
/* Display 02 Medium */
margin: 0;

font-family: 'Playfair Display';
font-style: normal;
font-weight: 500;
font-size: 5rem; /* 80px */
line-height: 6.688rem; /* 107px */
letter-spacing: -0.01em;

color: #1C1C1F;
}

.video-section{
    margin: auto;
    margin-top: 160px;
    width: 100%;
    height: max-section;
}

.video-wrapper{
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    border-radius: 12px;
}

.video-wrapper iframe{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* Overview */
h2 {
    margin: 0;

    /* Heading 02, Bold */

    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-size: 3rem; /* 48px; */ 
    letter-spacing: 0.015em;

    color: #1C1C1F;    
}

.description{

    margin-top: 50px;

    /* Subheading 02 Regular */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.625rem; /* 26px */
    line-height: 2.625rem; /* 42px */

    color: #343338;    
}

.description ol {
    margin-top: 0px;
    margin-bottom: 0px;
}

.views{
    background: #E4EDEC;
    height: 30vh;
}

/* Goals */
h3 {
margin: 0;

/* Subheading 02 Bold */

font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-size: 2rem; /* 32px */
line-height: 3.25rem; /* 52px */

color: #1C1C1F;
}

h4 {
margin: 0;

/* Subheading 02 Bold */

font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-size: 1.625rem; /* 26px */
line-height: 2.625rem; /* 42px */

color: #1C1C1F;
}

.goals-o h2 {
    margin-bottom: 50px;
}

.goals-o .description {
    margin-top: 15px;
    margin-bottom: 30px;
    
}

.goals-o .description:last-of-type {
    margin-bottom: 0px;
}

.process {
    margin-bottom: 80px;
}

/* User Flow and User Stories */
.container-color {
    padding-right: 12.5vw;
    padding-left: 12.5vw;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;    
    background: #983C80;
    color: #FFFFFF;
}
.flow {
    margin-bottom: 80px;
}


.flow-and-stories{
    margin-top: 80px;
    margin-bottom: 80px;
}

.flow-and-stories h2 {
    color:#FFFFFF;
}

.user-flow-wrapper {
}

.user-flow-wrapper img {
    width: 100%;
    aspect-ratio: 1082 / 1168;
    
}

.stories{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 0;
    /* height: 777px; */
}

.stories-column{
    display: grid;
    gap: 30px;
}

.stories h3 {
    color: #FFFFFF;
    margin-bottom: 15px;
}

.stories .description{
    color: #FFFFFF;
    margin-top: 0;
    /* max-width: 36.528vw;     */
}

/* wireframes */

.container-color h2{
    color: #FFFFFF;
}

.wireframes-images {
    margin-top: 80px;
    display: flex;
    gap: 4.583vw;
}

.wire-pair{
    display: flex;
    gap: 30px;
}

.wire-pair img {
    width: 100%;
}

.wire-low img {
    aspect-ratio: 106 / 184;
}

.wire-right img {
    aspect-ratio: 85 /184;
}

/* palettes */
.after-color {
    margin-top: 80px;
}

.palettes {
    display: flex;
    width: 100%;
    gap: 4.167vw;
    justify-content: space-between;
}

.palettes h3 {
    width: 50%;
}

.palettes-1{
    margin-top: 80px;
    margin-bottom: 30px;
}

.palette-container {
    width: 100%;
}
.palette {
    display: flex;
    flex-direction: row;
    width: 100%;
}


.pal-item {
    width: 16.66%;
    height: 208px;
}

/* typography */
.fonts {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* TODO: Ems in all the fonts */
.font-1 {
    font-family: 'Pacifico';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 56px;    
}

.font-2 {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0.04em;   
}

.font-3 {
    /* Headline text style 2 */

    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.04em; 
}

.font-4 {
    /* Button text style */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.04em;  
}

.font-5 {
    /* Subheadline text 1 */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.015em;   
}

.font-6 {
    /* Subheadline text 2 (bold) */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.015em;   
}

.font-7 {
/* Subheadline text style */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.015em;  
}

.font-8 {
    /* Input Label Text Style */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.015em;
}

.font-9 {
    /* Warning Text Style */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.015em;  
}

.font-10 {
    /* Subheadline text 4 bold */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.015em;  
}

.font-11 {
    /* Subheadline text 4 */

    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.015em;  
}

/* Goals */
.goals {
    margin-bottom: 80px;
}

.goals h2 {
    margin-bottom: 0;
}


.goals h3 {
    margin-top: 80px;
    margin-bottom: 80px;
}

.goal-element {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 120px;
}

.p-container {
    width: 50%;
    display: flex;
    align-items: center;
}

.goal-element > .p-container:nth-of-type(1){
    justify-content: flex-end;
}

.goal-element > .p-container:nth-of-type(2){
    justify-content: flex-start;
}

.p-left-image {
    padding-right: 9.444vw
}

.p-right-image {
    padding-left: 9.444vw
}

.phone-mockup {
    width: 100%;
    aspect-ratio: 269 / 535;
    max-width: 269px;

    border-radius: 2.688em;
    background-color:rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 8px 8px 24px 0px #1C1C1F;
    -moz-box-shadow: 8px 8px 24px 0px #1C1C1F;
    box-shadow: 8px 8px 24px 0px #1C1C1F;
}

.p-text {
    align-self: center;

    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.625rem; /* 26px */
}

.design {
    margin-top: 80px;
}

.design h2 {
    color: #1C1C1F;
}

.design-container {
    margin-top: 80px;
    width: 100%;
}

.mockup-container, .mockup-container-2 {
    display: flex;
    flex-direction: row;
    margin-top: 80px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9.375vw; /* 135px */
    width: 100%;
}

.mockup {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 40px;
}

.container-color h3, h4 {
    color: #FFFFFF;
}

.design .p-text {
    min-height: 1.625rem; /* TODO Not perfect */
}

.container-color-design {
    background: #FFE3F8;

}

.container-color-design h3, h4, .p-text {
    color: #1C1C1F;
}

@media (max-width: 750px) {
    .stories{
        display: flex;
        flex-direction: column;
    }

    .wireframes-images {
        flex-direction: column;
    }

    .mockup-container .phone-mockup {
        border-radius: 1.688em;
    }
    
    .phone-mockup{
        border-radius: 0;
        background-color: unset;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: none;
    }
}

@media (max-width: 500px) {
    .mockup-container .phone-mockup {
        border-radius: 1em;
    }
    .project-title .h1{
        font-size: 4rem;
    }
}

/* @media (min-width: 1200px) {
    .container, .design, .flow-and-stories, .stories, .wireframes, .wireframes-images{
        max-width: 1082px;
        margin: auto;
    }

} */

@media (min-width: 1600px) {
    .mockup-container {
        justify-content: space-between;
    }

    .mockup-container-2 {
        justify-content: space-evenly;
    }
}

