*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

:root{
    /* primarycolor */
    --softRed: hsl(7,99%,70%); 
    --yellow: hsl(51,100%,49%);
    --darkCyan: hsl(167,40%,24%);
    --darkBlue: hsl(198,62%,26%);
    --darkModerateCyan: hsl(169, 31%, 63%);
    
    /* Neutral color */
    --veryDarkBlue:  hsl(212, 27%, 19%);
    --veryDarkGrayishBlue: hsl(213, 9%, 39%);
    --grayishBlue: hsl(210, 4%, 67%);
    --white: hsl(0,0%,100%);

}

p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 10px 0px;
    font-size: 18px;
}
h3{
    font-size: 50px;
}
h4{
    font-size: 40px;
}
.none{
    display: none !important;
}
.section1{
    height: 79vh;
    background-image: url('./images/mobile/image-header.jpg');
    background-position: center;
    background-size: cover;
    text-align: center;
}
.navbar{
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0  20px;
    padding: 20px;
}
.navlist{
    list-style-type: none;
}
.navlist li{
    margin-left: 40px;
    padding: 10px;
    border: 1px solid transparent;
}
.navlist li a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}
.navlist li:hover{
    border-radius: 20px;
    background-color: #ffffff31;
}
.section1 h1{
    margin: 100px 27px;
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.2rem;
}

.section2{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}
.boxes{
    width: 100%;  
    height: 600px;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.box1, .box4{
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px 0px;

}
.box1 div, .box4 div{
    width: 95%;
}

.box2{
    background-image: url('./images/mobile/image-transform.jpg');   
}
.box3{
    background-image: url('./images/mobile/image-stand-out.jpg');
}
.box5{
    background-image: url('./images/mobile/image-graphic-design.jpg');

}
.box6{
    background-image: url('./images/mobile/image-photography.jpg');
}

.btn{
    font-weight: 900;
    font-size: 18px;
    margin: 20px 0px;
    border: none;
    background-color: transparent;
    border-bottom: 10px solid var(--yellow);

}
.box4 .btn{
    border-color: var(--softRed);
}

.box5,.box6{
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-end;
    align-items: center;
}
.box5 div, .box6 div{
    width: 95%;
}
.box5 h4, .box5 p{
    color: var(--darkCyan);
}
.box6 h4, .box6 p{
    color: var(--darkBlue);
}
.section3{
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section3 img{
    clip-path: circle(50% at 50% 50%);
}
.section3 h2{
    width: 100%;
    margin: 50px 0px;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--grayishBlue);
    letter-spacing: .5rem;
}

.items{
    width: 97%;
}
.section3 .name{
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    margin: 0;
}
.section3 .work{
    color: var(--grayishBlue);
    cursor: pointer;
    margin: 0 0 10px 0;
}


.section4{
    display: flex;
    flex-flow: row wrap;

}
.showcase{
    width: 50%;
    height: 30vh;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}
.showcase:nth-child(1){
    background-image: url('./images/mobile/image-gallery-milkbottles.jpg');
}
.showcase:nth-child(2){
    background-image: url('./images/mobile/image-gallery-orange.jpg');
}
.showcase:nth-child(3){
    background-image: url('./images/mobile/image-gallery-cone.jpg');
}
.showcase:nth-child(4){
    background-image: url('./images/mobile/image-gallery-sugar-cubes.jpg');
}

.section5{
    height: 40vh;
    background-color: var(--darkModerateCyan);
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
}

.foot-logo {
    font-size: 50px;
    font-weight: 900;
    color: var(--darkCyan);
}
.foot-nav{
    list-style-type: none;
    display: flex;
    flex-direction: row;
}
.foot-nav li{
    margin:  0px 20px;
}
.foot-nav li a{
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: var(--darkCyan);
}
.social-media a{
    margin: 0px 20px;
}

.attribution { font-size: 16px; text-align: center; }
    .attribution a { 
        color: var(--veryDarkBlue);
        font-weight: 600;
         }

@media only screen and (min-width:780px){
    .section1{
        height: 100vh;
      background-image: url('./images/desktop/image-header.jpg');  
    }
    .navlist{
        display: flex;
    }
    .burger{
        display: none;
    }
    .section1 h1{
        font-size: 60px;
        letter-spacing: 0.2rem;
    }
    .section2 .boxes{
        width: 50%;
        
    }
    .box1{
        order: -1;
    }
    .box1, .box4{
        height: 600px;
        padding: 0;
    }
    .box1 div, .box4 div{
        width: 60%;
        padding: 50px 0px;
    }

    .box2{
        background-image: url('./images/desktop/image-transform.jpg');   
    }
    .box3{
        background-image: url('./images/desktop/image-stand-out.jpg');
    }
    .box5{
        background-image: url('./images/desktop/image-graphic-design.jpg');
    }
    .box6{
        background-image: url('./images/desktop/image-photography.jpg');
    }
    .box5 div, .box6 div{
        width: 50%;
    }

    .section3{
        flex-flow: row wrap;
    }
    .section3 h2{
        width: 100%;
        margin: 100px 0px;
        font-size: 50px;
        text-transform: uppercase;
        color: var(--grayishBlue);
        letter-spacing: 1rem;
    }
    .section3 .description {
        margin: 40px;
        line-height: 2rem;
    }
    .items{
        width: 33%;
    }
    
    .showcase{
        width: 25%;
        height: 600px;
    }
    .showcase:nth-child(1){
        background-image: url('./images/desktop/image-gallery-milkbottles.jpg');
    }
    .showcase:nth-child(2){
        background-image: url('./images/desktop/image-gallery-orange.jpg');
    }
    .showcase:nth-child(3){
        background-image: url('./images/desktop/image-gallery-cone.jpg');
    }
    .showcase:nth-child(4){
        background-image: url('./images/desktop/image-gallery-sugarcubes.jpg');
    }
}
@media only screen and (max-width:780px){
    .side-symb{
        background-image: linear-gradient(to bottom right, transparent 50%,white 50%);
        width: 40px;
        aspect-ratio: 1/1;
        position: absolute;
        top: -27px;
        right: 0px;
    }
    .navlist{
        position: absolute;
        right: 38px;
        top: -100%;
        background-color: var(--white);
        width: 85%;
        transition: all 4s ease 0s;
    }
    
    .navlist li{
        margin: 10px 40px;
    }
    .navlist li a{
        border: 1px solid transparent;
        overflow: hidden;
        padding: 10px 20px;
        border-radius: 20px;
        color: var(--grayishBlue);
    }
    .navlist li a:hover{
        background-color: var(--yellow);
        color: var(--veryDarkBlue);
    }
}
