:root{
    /* colors */
    --clr-soft-red: 7, 99%, 70%;
    --clr-yellow: 51, 100%, 49%;
    --clr-dark-blue: 198, 62%, 26%;
    --clr-dark-desaturated-cyan: 167, 40%, 24%;
    --clr-dark-moderate-cyan: 168, 34%, 41%;
    --clr-very-dark-desaturated-blue: 212, 27%, 19%;
    --clr-very-dark-grayish-blue: 213, 9%, 39%;
    --clr-dark-grayish-blue: 232, 10%, 55%;
    --clr-grayish-blue: 210, 4%, 67%;
    --clr-white: 0, 0%, 100%;

    /* font-sizes */
    --fs-900: 9.375rem;
    --fs-800: 6.25rem;
    --fs-700: 3.5rem;
    --fs-600: 2rem;
    --fs-500: 1.75rem;
    --fs-400: 1.125rem;
    --fs-300: 1rem;
    --fs-200: 0.875rem;
    
    /* font-families */
    --ff-serif: "Fraunces", serif;
    --ff-sans: "Barlow", sans-serif;
}

/* -------------------- */
/* Reset                */
/* -------------------- */


/* Box sizing*/

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

/* Reset margins */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
picture{
    margin: 0;
}

/* reset font weight */
h1,
h2,
h3,
h4,
h5,
h6,
p{
    font-weight: 700;
}

body{ 
  font-size: var(--fs-400);
  font-family: var(--ff-sans);
  color: hsl(var(--clr-very-dark-grayish-blue));
  line-height: 1.5;
  min-height: 100vh;
}

/* optimise images */

img,
picture{
  max-width: 100%;
  /* display: block; */
}

/* -------------------- */
/* Utility classes      */
/* -------------------- */

/* general */
.flex{
    display: flex;
    gap: var(--gap, 1em); 
}
  
.grid{
display: grid;
gap: var(--gap, 1em);    
}

.container{
    padding-inline: 2.5em;
    margin: auto;
    max-width: 90rem;
    position: relative;
    /* text-align: center; */
}

.flow > *:where(:not(:first-child)){
margin-top: var(--flow-space, 2rem);
/* outline: 1px solid red; */
}


/* colors */
.bg-soft-red{background-color: hsl(var(--clr-soft-red));}
.bg-yellow{background-color: hsl(var(--clr-yellow));}
.bg-dark-moderate-cyan{background-color: hsl(var(--clr-dark-moderate-cyan));}
.bg-white{background-color: hsl(var(--clr-white));}
/* .bg-dark{background-color: hsl(var(--clr-dark));} */



.text-dark-desaturated-cyan{color: hsl(var(--clr-dark-desaturated-cyan));}
.text-dark-blue{color: hsl(var(--clr-dark-blue));}
.text-very-dark-desaturated-blue{color: hsl(var(--clr-very-dark-desaturated-blue));}
.text-very-dark-grayish-blue{color: hsl(var(--clr-very-dark-grayish-blue));}
.text-dark-grayish-blue{color: hsl(var(--clr-dark-grayish-blue));}
.text-grayish-blue{color: hsl(var(--clr-grayish-blue));}
.text-white{color: hsl(var(--clr-white));}

/* typography */

.ff-serif { font-family: var(--ff-serif); } 
.ff-sans{ font-family: var(--ff-sans); }


.fs-900 { font-size: var(--fs-900); }
.fs-800 { font-size: var(--fs-800); }
.fs-700 { font-size: var(--fs-700); }
.fs-600 { font-size: var(--fs-600); }
.fs-500 { font-size: var(--fs-500); }
.fs-400 { font-size: var(--fs-400); }
.fs-300 { font-size: var(--fs-300); }
.fs-200 { font-size: var(--fs-200); }

.uppercase{ text-transform:uppercase; }

.letter-spacing-1 { letter-spacing: 4.75px; } 
.letter-spacing-2 { letter-spacing: 2.7px; } 
.letter-spacing-3 { letter-spacing: 2.35px; } 

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
    line-height: 1.1;
}

/* other */

.header{
    background: url(images/mobile/image-header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-color: hsl(var(--clr-White)); */
    padding: 1em 0;
    /* text-align: center; */

}
.logo{
    text-decoration: none;
    height: 30px;
    /* text-align: left; */

}
.nav-toggle{
    
    cursor: pointer;
    border: 0;
    width: 3em;
    /* height: 1em; */
    padding: 0em;
    border-radius: 50%;
    background: none;
    /* color: white;
    transition: opacity 250ms ease; */
    
    position: absolute;
    right: 2.5rem;

    
    
}
.hamburger{
    padding-top: 0.4em;
    display: block;
    margin: 0 auto;
    width: 50%;
    position: relative;
    

}
.nav{
    /* width: 100%; */
    visibility: hidden;
    height: 0;
    position: absolute;
    
    /* font-weight: 700; */

    /* margin-top: -1em; */
}
.nav ul{
    padding: 1.5em 4.5em 2.5em;
    list-style: none;
    text-align: center;
    border-radius: 1em;
}
.nav ul li{
    cursor: pointer;
    padding: 1em;
    margin: 0.5rem;
    
}
.contact-link{
    border-radius: 2em; 
    /* margin-bottom: 15rem; */
}
.nav--visible {
    visibility: visible;
    height: auto;
    position: absolute;
    z-index: 1;
    right: 3rem;

    
    
}
.desktop-view{
    padding-block: 4em 2em;
}

.transform{
    padding-block: 2.5em;
    text-align: center;

}
.transform p{
    padding-bottom: 2rem;
}

.learn-more{
    cursor: pointer;
    background: none;
    border: none;
    /* margin-bottom: -20px; */
    

}
.button-line{
    width: 7.5em;
    height: 10px;
    border-radius: 5px;
    margin: -10px auto;
}
.learn-more-yellow{
    background: hsl(var(--clr-yellow), 0.5);
    
}
.learn-more-red{
    background: hsl(var(--clr-soft-red), 0.5);
}

.graphic-design{
    background: url(images/mobile/image-graphic-design.jpg);
    
}
.photography{
    background: url(images/mobile/image-photography.jpg);
    
}
.bg-image-style{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 25rem 0 2.5rem;
    text-align: center;
}
.testimonials{
    padding-block: 5rem;
}
.desktop-flex{
    flex-direction: column;
    --gap: 1em;
}

.t-one{
    padding-block: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr); 
    --gap:0;

}

footer{
    padding-top: 5rem;
    background-color: hsl(var(--clr-dark-moderate-cyan), 0.5);
}
.socials{
    justify-content: center;
    padding-top: 5em;
    --gap: 2em;
}

@media(min-width: 600px){
    .header{
        background: url(images/desktop/image-header.jpg);
        background-size: cover;
        background-repeat: no-repeat;

        /* padding-bottom: 7rem; */
    
    
    }
    .logo{
        align-self: flex-end;
    }
    .nav-toggle{
        display: none;
    }
    .desktop-nav{
        display: flex;
        justify-content: space-between;
        padding-block: 1rem;
    }
    .nav{
        /* width: 100%; */
        visibility: visible;
        display: flex;
        /* flex-flow: row nowrap; */
        justify-content: space-between;
        height: auto;
        /* flex-grow: 1; */
        position: relative;
        margin: 0;
    }
    .nav ul{
        padding: 0;
        background: none;
        margin: 0;
        color: hsl(var(--clr-white));
    }
    .nav ul li{
        display: inline;
    }
    .contact-link{
        background-color: hsl(var(--clr-white));
    }

    .desktop-view{
        font-size: var(--fs-600);
        padding-block: 2em 2em;
    }

    .desktop-transform{
        display: flex;
        flex-direction: row;
        --gap: 0;
    }
    .desktop-img{
        width: 50%;
    }
    .desktop-img img{
        width: 100%;
        height: 100%;
    }
    .transform{
        width: 50%;
        text-align: left;
    }
    .stand-out-text{
        order: -1;
    }
    .button-line{
        margin: -10px 0;
    }
    .graphic-design{
        background: url(images/desktop/image-graphic-design.jpg);
        
    }
    .photography{
        background: url(images/desktop/image-photography.jpg);
        
    }
    .bg-image-style{
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding: 0;
    }
    .desktop-space{
        padding: 22rem 3.5rem 4rem;
    }

    .desktop-space p{
        padding-bottom: 2rem;
    }
    .testimonials{
        text-align: center;
    }
    .desktop-flex{
        flex-direction: row;
        --gap: 2em;
    }
    .gallery{
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr); 
       
    
    }
    

}


.attribution { padding-top: 4rem; font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }