
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@200&family=Barlow:wght@600&family=Dancing+Script&family=Fraunces:ital,wght@0,700;1,900&family=Karma:wght@300&family=Kumbh+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@200&family=Barlow:wght@400&family=Dancing+Script&family=Fraunces:ital,wght@0,700;1,900&family=Karma:wght@300&family=Kumbh+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@200&family=Barlow:wght@900&family=Dancing+Script&family=Fraunces:ital,wght@0,700;1,900&family=Karma:wght@300&family=Kumbh+Sans:wght@400;700&display=swap');


/* Declaration of variables in the root element 
using the :root selector.

N/B: In HTML, the root element is always the html element */


:root{
    /* color variables */
    --Soft-red: hsl(7, 99%, 70%);
    --learn-more-soft-red: hsla(7, 99%, 70%, 0.3);
    --Yellow: hsl(51, 100%, 49%);
    --learn-more-yellow: hsla(51, 100%, 49%, 0.3);
    --graphic-design-color: hsl(167, 40%, 24%);
    --photography-color: hsl(198, 62%, 26%);
    --footer-color: hsl(168, 34%, 41%);
    --footer-bg-color: hsla(168, 60%, 45%, 0.493);
    --Very-dark-desaturated-blue: hsl(212, 27%, 19%);
    --Very-dark-grayish-blue: hsl(213, 9%, 39%);
    --Dark-grayish-blue: hsl(232, 10%, 55%);
    --Grayish-blue: hsl(210, 4%, 67%);
    --White: hsl(0, 0%, 100%);
    --floral-white: rgba(255, 250, 240, 0.733);
    --logo-color: #297163;


    /* font variables */

    --header-font: 'Fraunces', serif;
    --body-font: 'Barlow', sans-serif;
}




body{
    /* min-width: 700px; */
    overflow-x: hidden;
    background-color:  var(--floral-white);;
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;   
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    box-sizing: border-box;
        
    /* overflow: hidden; */
    
}

header{
    background-image: url(/images/desktop/image-header.jpg);
    background-size: cover;
    background-position: center;
    height: clamp(35rem, 100vh, 40rem);;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100%;
    box-sizing: border-box;
 
}

.nav-bar{
    margin-top: 60px;
    margin-bottom: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 24px 4%;

}
.logo{
    cursor: pointer;
    margin-right: auto;
}
.nav-bar-menu{
    margin-right: 4%;
}
.nav_links{
    list-style-type: none;
}
.nav_links li{
    display: inline-block;
    padding: 0 20px;
    list-style: none;
}
.nav_links li a{
    transition: all 0.3s ease 0s;
    color: white;
    text-decoration: none;
}
.nav_links li a:hover{
    color:rgb(129, 173, 211)
}
button{
    padding: 9px 25px;
    background: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
button:hover{
    background:  #7bd3ff;
    color: white;
}
.hamburger{
    display: none;
    cursor: pointer;
    margin-right: 4%;

}
.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

h1{
    display: flex;
    text-align: center;
    justify-content: center;
    color: white;
    font-family: "Fraunces", serif;
    font-weight: 900;
    font-size: 60px;
    margin: 0;
}
.arrowicon{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45vh;
}

.headers{
    font-family: var(--header-font);
}


/* grid styling */

.main-grid{
    display: grid;
    
}
.grid-imgs{
    width: 100%;
    height: 100%;
}
.main-rows{
    display: grid;
    grid-template-columns: repeat(2, 50%);
    background-color: var(--floral-white);  
}
.articles{

    display: flex;
    justify-content: center;
    flex-direction: column;
    row-gap: 2vmax;
    margin:0 auto;
    width: 80%;
    height: 100%;
   
}
.article-headers{
    color: var(--Very-dark-desaturated-blue);
}
.article-txt{
    line-height: 1.3rem;
    font-family: var(--body-font);
    font-weight: 510;
    color: var(--Dark-grayish-blue);
    font-size: .9rem;
}
.learn-more-link{
    display: grid;
    justify-items: center;
    width: max-content;
    color: var(--Very-dark-desaturated-blue);
    font-family: var(--header-font);
    font-size: .9rem;
    text-transform: uppercase;
    text-decoration-line: none;
    
    
    
}
.learn-more-decoration{

    height: .6rem;
    width: 110%;
    transform: translateY(-.45rem);
    border-radius: .5rem;
    transition: .2s ease-in-out;
}
.yellow{
    background-color: var(--learn-more-yellow);
}
.yellow:hover{
    background-color: var(--Yellow);
    transition: .2s ease-in-out;    
}
.pink{
    background-color: var(--learn-more-soft-red);
}
.pink:hover{
    background-color: var(--Soft-red);
    transition: .2s ease-in-out;
}

.article, .grid-imgs{
    height: clamp(18rem, 35vmax, 27rem);
}
.expo{
    position: relative;
    display: flex;
    justify-content: center;
}
.expo-article{
    position: absolute;
    top: 0;
    width: clamp(15rem, 28vmax, 20rem);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    row-gap: .5rem;
    text-align: center;
    padding-bottom: 1rem;
}
.expo-article .article-txt{
    padding-bottom: 40px;
    text-align: center;
}
.graphic-design-article> .article-txt{
    color: var(--graphic-design-color);
}
.photography-article> .article-txt{
    color: var(--graphic-design-color);
}
/* testimonials */
.testimonials{
    background-color: var(--floral-white);
    margin: 10% 5%;

}
.testimonials img{
    border-radius: 50%;
    height: 50px;
    width: 50px;
}
.testimonials h3{
    text-align: center;
    color: var(--Grayish-blue);
    font-family: var(--header-font);
    letter-spacing: 8px;
}
.clients{
    padding-top: 5%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: row;
}
.client1, .client2, .client3{
    padding-left: 10px;
    padding-right: 10px;

 
    
}
.clients p{
    color: var(--Very-dark-grayish-blue);
}
.clients h4{
    padding-top: 26px;
    color: var(--Very-dark-desaturated-blue);
    font-family: var(--header-font);
    font-weight: 900;
}
.clients .job{
    
    color: var(--Grayish-blue);
}
.imgGallery{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    
}
.imgGallery img{
    width: 100%;
}

footer{
    background-color: var(--footer-bg-color);
    height: 100%;

}
.footer-content{
    padding: 60px 40px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    

}
.footer-content .nav_links{
    padding-top: 20px;
}
.footer-content .nav_links li a{
    color: var(--footer-color);
} 
.logotxt{
    fill: var(--graphic-design-color);
    text-align: center;
}
.socialmedia{
    padding-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
   column-gap: 2vmax;;

}

/* responsive Design */
@media screen and (max-width:653px){
    .hamburger{
          display: block;
        
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-bar-menu{

        transform: translateX(-50%);
        position: fixed;
        left: -100%; /* Start off-screen */
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 80%;  /* Set to 50% of the screen width */
        height: 50%;
        text-align: center;
        transition: 0.3s;     
    }
    .nav-bar-menu.active{
        left: 50%;  /* Center the menu horizontally */
        transform: translateX(-50%); /* Center it within the viewport */
        
    }


    .nav_links{
        height: auto;
        gap: 16px;
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }
    .nav_links li a{
        color: var(--Dark-grayish-blue);
    }
    .cta{
        display: flex;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        
        
    }
    button{
        background: var(--Yellow);
        font-family: var(--header-font);
        font-weight: 800;
        color: var(--Very-dark-desaturated-blue);
    }
    button:hover{
        background:  #7bd3ff;
        color: white;
    }
    .main-rows{
        grid-template-columns: 100%;
    }
    .articles{
        text-align: center;
        width: 80%;
    }
    .learn-more-link{
        margin: 0 auto;
    }
    .grid-imgs{
        grid-row: 1/2;
    }
    /* Display Nav Card for Mobile */
    .nav-bar{
        display: flex;
    }
    .clients{
        flex-direction: column;
    }
    .imgGallery{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        
}


/* Responsive Hero Section */
@media screen and (orientation: landscape) and (max-height: 580px){
    .header {
        row-gap: clamp(3rem, 6vmax, 7rem);
    }
}}

@media screen and (max-width:1064px){
    .expo-article .article-txt{
        padding-bottom: 10px;
        
    }
}