@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&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
    :root {
  /* ### Primary*/

    --Red400: hsl(7, 99%, 70%);
    --Yellow500: hsl(51, 100%, 49%);
    --Green800: hsl(167, 40%, 24%); /*graphic design text*/
    --Blue800: hsl(198, 62%, 26%); /*photography text*/
    --Green500: hsl(167, 34%, 41%); /*footer*/

  /*### Neutral*/

    --Grey950: hsl(212, 27%, 19%);
    --Grey600: hsl(213, 9%, 39%);
    --Grey550: hsl(232, 10%, 55%);
    --Grey400: hsl(210, 4%, 67%);
    --White: hsl(0, 100%, 100%);
    --hoverYellow: hsl(51, 89%, 59%);
    --contactBtn: hsl(206, 23%, 78%);
    --header-link-btn: hsl(208, 45%, 94%);
    --hover-white: hsl(0, 42%, 93%);
    --hover-fonts: hsl(211, 10%, 50%);
    --contact-btn-active: hsl(0, 100%, 100%);
    --contact-btn-background-active: hsl(206, 63%, 52%);

    /*font size*/

    --fz: 18px;
    --LearnMore-fz: 32px;
    --first-col-par-fz: 13px;
    --learnMore-fz: 12px;
    --third-col-par1: 12px;
    --third-col-header1:22px;
    --grid-features-header: clamp(33px, 10vw, 35px);
    --grid-features-par: clamp(13px 5vw 16px);

    /*font weight*/

    --fw-b600: 600;
    --fw-f700: 700;
    --fw-f900: 900;

    /*font=family*/

    --fraunces: 'Fraunces', sans-serif;
    --barlow: 'barlow', sans-serif;

    /*extra*/

    --line-height: 23px;
    --h2-line-height: 40px;
    --third-line-height: 22px;
  
        }
       *{
            padding: 0;
            margin: 0;
            box-sizing: border-box;

        }
        body{
          
            font-family: var(--fraunces);
            flex-direction: column;
            
                
            }
        
        main{
            width:100%;
            max-width: 1400px;
            height: auto;
            background: var(--Grey400);
            display: flex;
            flex-direction: column;
            margin-inline: auto; /*center the html main */
            overflow: hidden;
        }

       
       
        /*HEADER*/

        
        
        header{
            position: relative;
            height: 100vh;
            max-width:100%;
            display: flex;
            justify-content: center;
            align-items: center;


        }

        .imageHeader{
            position: absolute;
            object-fit: cover;
            z-index: 1;
            max-width: 100%;
            display: block;
            height: 100%;
            width: 100%;
        }

        .hamburger-svg{
            display:none;
        }

        .hamburger-image-svg::hover{
            cursor: pointer;


        }

        .icon-arrow{
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            position: absolute;
            height: auto;
            width: clamp(25px, 5vw, 2.5rem);
            margin-top: clamp(6rem, 10vh, 7rem)
        }


        .nav-link-btn{
            display: flex;
            flex-direction: row;
            gap: 44px;
            align-items: center;
          
            
          
        }
       
        nav, h1{
            position: absolute;
            z-index: 2;
            
        }

        nav{
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            top: 31px;
            right:32px;
            left: 32px;
            align-items: center;
        }

        ul{
            display: flex;
            flex-direction: row;
            gap: 41px;
            list-style: none;
            font-size: 16px;
        
        }

        ul, li, a{
            color: var(--White);
            transition: all 0.3s ease;
        }

        ul, li, a:hover{
            color: var(--header-link-btn);

        }
        
        a{
            text-decoration: none;
        }
        
        .nav-contact-btn{
            padding: 15px 23px;
            border-radius: 30px;
            border: none;
            font-weight: bold;
            color: var(--Grey950);
            font-weight: var(--fw-b600);
            cursor:pointer;
            transition: all 0.3s ease;
        }

        .nav-contact-btn:hover{
            background: var(--hover-white);
            color: var(--hover-fonts);
       
        }

        .nav-contact-btn.nav-contact-btn-active{
            background: var(--contact-btn-background-active)!important;
            color: var(--contact-btn-active);
        }
        
        h1{
            font-size: clamp(30px, 5vw, 45px);
            position: absolute;
            top: 9.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            letter-spacing: 6.5px;
            font-weight: 900;
            text-transform: uppercase;
            font-family: var(--fraunces);
            color: var(--White)
            
         }

         .header-logo{
            width: 135px;
         }
         .sunny-logo{
            width: 100%;
         }

         .mobile-menu-container{
            display: none;
         }
         
         
         /*FEATURES*/

         
         
         .grid-features{
            width: 100%;
            min-height: auto;
            display: grid;
            grid-template-rows: 1fr 1fr 1fr;
            margin: 0;
            
        }
         
         .grid-columns-1,.grid-columns-2,.grid-columns-3{
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: stretch;
        }

         .first-col-1, .second-col-2{
            display: flex;
            align-items:start;
            justify-content: center;
            flex-direction: column;
            gap: 30px;
            padding: clamp(3rem, 2rem + 10vw, 10rem) 8%;
            background: var(--White);
         }

         .first-col-2 img{
            width:100%;
            display: block;
            height: 100%;
            object-fit: cover;

         }
        

         .second-col-1 img{
            width:100%;
            display: block;
            height: 100%;
            object-fit: cover;

         }

         .first-col-2, .second-col-1{
            display: flex;
            align-items: stretch;
            height: auto;
            min-height: 100%;
         }

        .image-transform, .image-stand-out {
            color: var(--Grey950);
            font-size: var(--fz);
            object-fit: cover;
            width: 100%;
            height: 100%;
            display: block;

        }
        
        h2{
            font-size: var(--grid-features-header);
            font-weight: var(--fw-f900);
            font-family: var(--fraunces);
            line-height: var(--h2-line-height);
            color: var(--Grey950);
        }

        .first-col-par, .second-col2-par{
            font-size: var(--first-col-par-fz);
            font-weight: var(--fw-b600);
            line-height: var(--line-height);
            color: var(--Grey550);
        }

        .learnMore{
            font-size: var(--learnMore-fz);
            font-weight: var(--fw-f900);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-left: 5px;
            color: var(--Grey950);
        }

        .third-col-1, .third-col-2{
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        

        .imagePhotography, .imageGraphic{
            object-fit: cover;
            width:100%;
            height:100%;
            position: relative;
            z-index: 2;
        }
        
        .third-col-header{
            position: absolute;
            bottom: 50px;
            z-index: 3;
            display: flex;
            gap:25px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            
        }

        .third-col3-par1{
            font-size: var(--third-col-par1);
            font-weight: var(--fw-b600);
            text-align: center;
            line-height: var(--third-line-height);
            color: var(--Green500);
        }

         .third-col3-par2{
            font-size: var(--third-col-par1);
            font-weight: var(--fw-b600);
            text-align: center;
            line-height: var(--third-line-height);
            color: var(--Blue800);
        }

        .third-col-header1{
            color: var(--Green800);
            font-size: var(--third-col-header1);
            font-weight: var(--fw-f900);
        }

        .third-col-header2{
            color: var(--Blue800);
            font-size: var(--third-col-header1);
            font-weight: var(--fw-f900);
        }

        .third-col-1{
            background-image: url('../images/desktop/image-graphic-design.jpg');
            background-repeat: no-repeat;
            min-height: 500px;
            background-position: center;
         }

         .third-col-2{
            background-image: url('../images/desktop/image-photography.jpg');
            background-repeat: no-repeat;
            min-height: 500px;
            background-position: center;
         }
        
       
        /*testimonial*/

       
       
        .testimonial{
            width:100%;
            height: auto;
            background: var(--White);
            display:flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 3rem;
            padding: 8rem;
         }

        .testimonial-container{
          display: grid;
          grid-auto-flow: column;
          grid-template-columns: 1fr 1fr 1fr;
          gap: .5rem;
           
         }

         h4{
            font-size: 17px;
            text-transform: uppercase;
            font-weight: var(--fw-f900);
            letter-spacing: 3px;
            color: var(--Grey400);
         }

         .images-name{
            width:58px;
            height:58px;
            border-radius: 50%;
         }

         .row-container1, .row-container2, .row-container3{
            display:flex;
            flex-direction: column;
            align-items: center;
            gap:3rem;
            padding:5px;
            
            
         }

         .marketDir-par{
            text-align: center;
            line-height: 25px;
            font-size: 14px;
            font-weight: var(--fw-b600);
            color: var(--Green500);

         }

         .name-container{
            display: flex;
            text-align: center;
            flex-direction: column;
            gap: .5rem;
            
            
        
         }

         .name{
            font-weight: var(--fw-f900);
            font-size: 14px;
            color: var(--Grey950);
         }

         .name-title{
            font-size:10px;
            font-weight: var(--fw-b600);
            color: var(--Grey400);
         }

         
         
         
         /*Grid-row-images*/

         
         
         .grid-row-container{
            width:100%;
            height: auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            margin-bottom:4rem;
         }

         .grid-img{
            object-fit: cover;
            width:100%;
            height: 100%;
         }

         .grid-image-container-1, .grid-image-container-2{
            display: grid;
            grid-auto-flow: column;

         }
         
         
         
         /*footer*/

         
         
         
         footer{
            display:flex;
            flex-direction: column;
            align-items:center;
            justify-content: center;
            width:100%;
            
         }

         .footer-2{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content:center;
         }

         .footer-logo{
            width: 135px;
            margin-bottom: 2rem;
            color: var(--Grey600);
         }



         .footer-nav{
            width: 50px;
            height: 50px;
         }

         .footer-nav-logo{
            width: 15px;
            height: 15px;
         }

         .footer-nav-container{
            display: flex;
            flex-direction: row;
            margin-bottom: 4rem;
           

         }

         .footer-nav-logo-container{
            display: flex;
            flex-direction: row;
            gap: 30px;
            justify-content: center;
            align-items: center;
            padding: 2.5rem;
        
         }


         /*mobile design*/


         @media(min-width: 320px) and (max-width:950px) {
            
            main{
                height:auto;
                width:100vw;
              
            
            }

            header{
                max-width:100%;
                height: 100vh;
            }

            .imageHeader{
                height: 100%;
                width: 100%;
            }

            nav{
                justify-content: space-between;
                margin: -7px;
            }

            .sunny-logo{
                width: 100px;
            }

            .hamburger-svg{
                display: block;
                cursor: pointer;
                width: 20px;
                height:20px;
            }

            .nav-link-btn{
                display: none;
            }

            h1{
                letter-spacing: 10px;
                text-align:center;
                line-height: 42px;
                top: 6rem;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
            }

            .icon-arrow{
                height: 6rem;
                width: 2rem;
                margin-top: clamp(3rem, 10vh, 7rem)
               
            }

            .mobile-menu-container{
                margin-bottom: -4rem;
            }

            
            .hamburger-nav{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                top: 4rem;
                z-index: 6;
                gap: clamp(.5rem 50vh 2rem);

            }

            .mobile-menu-container{
                display: none;
                position: relative;
                background: var(--White);
                z-index: 5;
            }

            
            .mobile-menu-container{
                position: absolute;
                width: min(90%, 1000px);
                min-height: 50vh;
                display: none;
                align-items: center;
                justify-content: center;
                top: 90px;
                height: auto;
                
            }

            .mobile-menu-container::after{
                content:'';
                width:0;
                height:0;
                border-right: solid var(--White) 25px;
                border-bottom: solid transparent 25px;
                border-top: solid transparent 25px;
                position: absolute;
                right: 0;
                top: -22px;

            }
            
            .mobile-nav{
                color: var(--Grey550);
                font-family: var(--barlow);
                font-weight: var(--fw-b600);
                font-size: clamp(1.125rem, 0.95rem + 0.88vw, 1.5rem);
                transition: all 0.3s ease;
            }

            .mobile-nav:hover{
                color: var(--Grey400);
            }

            .mobile-contact-btn{
                padding: .8rem 1.5rem;
                color: var(--Green800);
                background: var(--Yellow500);
                border: none;
                border-radius: 20px;
                font-weight: var(--fw-f900);
                font-family: var(--fraunces);
                font-size: clamp(.6rem, 0.85rem + 0.78vw, 1.2rem);
                margin-top: .5rem;
                cursor: pointer;
                transition: background-color 0.3s ease;

            }

            .nav-menu-container{
                display: flex;
                flex-direction: column;
                justify-content:center;
                align-items:center;
                gap: 1.5rem;
                padding: 15% 10%;
            
            }

            .mobile-contact-btn:hover{
                color: var(--Grey600);
                background: var(--hoverYellow);
            }

            .mobile-contact-btn.mobile-contactBtn-active{
                color: var(--White);
                background: var(--Green500)!important;

            }




            /*FEATURES*/

            .grid-features{
                grid-template-rows: auto;
            }

             .image-transform, .image-stand-out {
                display: block;
                height: 100%;
             }
            
            .grid-columns-1,  .grid-columns-2{
               grid-template-columns: 1fr;
               
            }

            .first-col-2 {
                order: 1; /*to change the order of grid column 1 so the image egg got first */
               
            }

            .first-columns-2, .second-col-1{
                height: 50vh;
                overflow: hidden;
                object-fit-cover;
                
            }

            .first-col-2{
                display: block;
                object-fit:cover;
                height: 50vh;
                width: 100%;
                max-height: 400px;

            }

            .second-col-1{
                display: block;
                object-fit: cover;
                height:50vh;
                width: 100%;
                max-height: 400px;
            }
            
             .first-col-1, .second-col-2{
                order: 2;
                padding: 6rem 3em!important;

            }

            .first-col-1, .second-col-2{
                place-items: center;
                text-align: center;
                padding:3rem .7rem 3rem .7rem;
            }

            .first-col-header, .second-col-header{
                font-size: 1.9rem;
            }

            .first-col-par, .second-col2-par{
                font-size: 11.5px;
            }

            .learnMore{
                font-size: 12px;
            }

             .grid-columns-3{
                grid-template-columns: 1fr;
            }

            .third-col-1{
                background-image: url('../images/mobile/image-graphic-design.jpg');
                background-size: cover;
                background-repeat: no-repeat;

             }

           .third-col-2{
                background-image: url('../images/mobile/image-photography.jpg');
                background-size: cover;
                background-repeat: no-repeat;

             }

            
             /*testimonials*/

             .testimonial{
                padding: 3rem 2rem 3rem 2rem;


             }
             
             .testimonial-container{
                
                grid-template-columns: 1fr;
                grid-auto-flow: row;
                gap: 3.5rem;

             }

             .client-testimonial-header{
                font-size: 15px;

             }

            .images-name{
                width:50px;
                height:50px;
                border-radius: 50%;
            }

             .marketDir-par{
                text-align: center;
                line-height: 24px;
                font-size: 12px;
                font-weight: var(--fw-b600);
                color: var(--Green500);

            }

             .row-container1, .row-container2, .row-container3{
                display:flex;
                flex-direction: column;
                align-items: center;
                gap:2rem;
                padding:5px;
                
            }

             .name{

                font-size: 13px;
               
            }


            /*Grid row container*/

            .grid-row-container{
                 grid-template-columns: repeat(1, 1fr);
            }

            
            
            /*footer*/


            .footer-nav-logo-container{

                padding-bottom: 3rem;
            }
        }

        @media (min-width: 600px) and (max-width: 1000px) {
            .first-col-1,.second-col-2 {
                padding: 11rem 2rem !important; /* Overrides the 3rem above */
            }
            .first-col-2, .second-col-1 {
                height: 85vh !important; /* Overrides the 45vh above */
        
            }
        }

        
    
        









    
       

    

         

          
        
        
        
       
       