@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

:root {
    --Red-400: hsl(7, 99%, 70%);
    --Yellow-500: hsl(51, 100%, 49%);
    --Green-800 : hsl(167, 40%, 24%);
    /* (graphic design text) */
    --Blue-800 : hsl(198, 62%, 26%);
    /* (photography text) */
    --Green-500 : hsl(167, 52%, 59%);
    /* (footer) */

    --Grey-950: hsl(212, 27%, 19%);
    --Grey-600: hsl(213, 9%, 39%);
    --Grey-550: hsl(232, 10%, 55%);
    --Grey-400: hsl(210, 4%, 67%);
    --White: hsl(0, 100%, 100%);

}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* font-family: "Barlow", sans-serif; */
/* font-family: "Fraunces", serif; */

body {
    font-family: "Barlow", sans-serif;

}

.hero {
    background: url(/images/desktop/image-header.jpg) ;
    background-size: cover;
    background-position: center;
    color: var(--White);
    height: 50vh;
    margin-bottom: 50px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 3rem;
    margin-bottom: 3rem;
}

nav ul {
    display: flex;
}

nav ul li {
    padding: 10px 20px;
    list-style-type: none;
    border-radius: 20px;
    
}
nav ul li:hover {
   color: var(--Grey-950);
   background-color: var(--White);
   font-family: "Fraunces", serif;
    cursor: pointer;
}

.hero h1 {
    font-family: "Fraunces", serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    font-weight: 900;
}

.grid {
    margin: 0 auto;
    max-width: 1440px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows:  500px;
    gap: 50px;
}

.grid-1 {
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--White);
}

.grid h2 {
    font-family: "Fraunces", serif;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.grid p {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--Grey-600);
}

.grid a {
    text-transform: uppercase;
    color: var(--Grey-950);
    font-family: "Fraunces", serif;
    text-decoration-color: var(--Yellow-500);
    text-decoration-thickness: 0.2rem;
    font-weight: 900;
}

.max-width {
    max-width: 500px;
}



.grid-2 img {
    height: 100%;
    width: 100%;
}
.grid-3 img {
    height: 100%;
    width: 100%;
}



.grid-5 {
    background: url(/images/desktop/image-graphic-design.jpg);
    background-position: center;
    background-size: cover;
  
    display: flex;
    
   padding: 3rem;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}


.grid-5 p {
    max-width: 400px;
    color: var(--Grey-950);
    font-weight: 700;
    margin: 0 auto;
}
.grid-5 img {
    height: 100%;
    width: 100%;
}
.grid-6 img {
    height: 100%;
    width: 100%;
}
.grid-6 {
    background: url(/images/desktop/image-photography.jpg);
   background-position: center;
  background-size: cover;
  
    display: flex;
   
    padding: 3rem;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}
.grid-6 p {
      max-width: 300px;
    color: var(--Grey-950);
    font-weight: 700;
    margin: 0 auto;
}


.grid-4 {
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--White);
}

.client-header {
    text-align: center;
    margin-top: 8rem;
    text-transform: uppercase;
    font-family: "Fraunces", serif;
    letter-spacing: 3px;
    font-weight: 900;
    color: var(--Grey-400);
    margin-bottom: 3rem;
}

.testimonial {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 400px;
    gap: 50px;
    max-width:1440px;
    margin: 0 auto 6rem auto; 
 
   place-items: center;
}

.testimonial-card {
    max-width: 300px;
    text-align: center;
    

}

.testimonial-card img {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    margin-bottom: 3rem;
}

.testimonial-card p {
    margin-bottom: 3rem;
    line-height: 2;
    color: var(--Grey-950);
    font-weight: 500;
}

.testimonial-card h4 {
    font-weight: 800;
    font-family: "Fraunces", serif;
}

.testimonial-card p:nth-of-type(2) {
    color: var(--Grey-400);
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    grid-auto-rows: 350px;
    max-width: 1440px;
    margin: 0 auto;
}

.gallery img {
    height: 100%;
    width: 100%;
}

footer {
    background-color: var(--Green-500);
    color: var(--Green-800);
    text-align: center;
    padding: 6rem;
}

footer nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
}

footer h2 {
    font-weight: 900;
}

.icon-container img {
    margin: 0 10px;
}

@media screen and (max-width:1440px) {


    .hero {
        margin-bottom: 0;
    }
    .grid {
   gap: 0;
    
    }
}
@media screen and (max-width:700px) {

    .hamburger {
        display: block;

    }

    .lines {
        height: 5px;
        background: black;
        width: 30px;
        margin: 5px;
        border-radius: 20px;
    }

    .navbar  {
        position: absolute;
        top: 100px;
        background-color: var(--Blue-800);
        
        width: 100%;
        left: 0;
        right: 0;
     height: 0;
        text-align: center;
        
    }

    .navbar ul {
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
        opacity: 0;
    }

    .navbar ul li {
        margin: 10px;
    }

    .navbar.active {
        height: 250px;
        padding: 1rem;
    }

    .navbar.active ul {
        opacity: 1;
    }


    .hero {
        margin-bottom: 0;
    }
    .grid {
   grid-template-columns: 1fr;
    
    }
    .testimonial {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}