

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

.play-regular {
    font-family: "Play", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

h1,h2,h3{
    font-family: "Play";
    color: #001286;
}

h2{
    padding-bottom: 4rem;
    position: relative;
}

h2::after{
    content: '';
    display: block;
    max-width: 35%;
    height: 5px;
    background-color: #001286;
    transform: translate(60%, 10px);
}

p{
    font-family: "Mulish", sans-serif;
    color: #2e2e2e;
}

body{
    background-image: linear-gradient(to bottom, #9fe3f6 12%, #cef1fb, #cef1fb, #9fe3f6);
}

.containerWrapper{
    max-width: 90%;
    margin: 0 auto;
}

nav{
    font-family: "Mulish";
    padding: 1rem 0;
    background-color: #04c9ff;
}

nav a{
    color: #001286;
}

nav .containerWrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand a{
    text-decoration: none;
}

.brand figure{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.brand img{
    height: 50px;
    width: auto;
}


.brand figcaption{
    font-weight: bold;
    letter-spacing: .2rem;
    text-transform: uppercase;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #001286;
}

.mainNav{
    display: flex;
    gap: 2rem;
}

.mainNav li{
    list-style-type: none;
}

.mainNav a{
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.mainNav a:hover{
    color:#006b1b;
}

.topItm{
    position: relative;
}

.topItm a{
    padding-bottom: 2rem;
}
.subItm{
    max-width: max-content;
    height: max-content;
    position: absolute;
    top: 2.2rem;
    left: -.5rem;
    display: none;
    flex-direction: column;
    padding-left: .5rem;
    padding-right: .5rem;
    line-height: 2rem;
    background-color: #04c9ff;
    border-right: 1px solid #006b1b;
    border-left:  1px solid #006b1b;
    border-bottom: 1px solid #006b1b;
    transform: translateY(1.05rem);
    z-index: 3;
}

.topItm:hover .subItm{
    display: block;

}

.topItm:nth-of-type(2) {
    padding-right: 4rem;
}

.hamburgerMenu{
    cursor: pointer;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: #292f44;
    background-color: #292f44f0;
    overflow-x: hidden;
    transition: .5s;
}

.overlay li{
    list-style-type: none;
}

.overlay ul li:nth-of-type(1) {
    font-size: 1.7rem;
    color: #ffffff;
    padding-bottom: .5rem;
}

.overlayContent{
    position: relative;
    top: 10%;
    max-width: 80%;
    padding-top: .5rem;
    margin: 0 auto;
}

.overlay a{
    width: fit-content;
    font-size: 1.5rem;
    text-decoration: none;
    display: block;
    transition: .3s;
    color:#74d8f4;
}

.overlay a:hover{
    color: #006b1b;
}

.overlay .closebtn{
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 3rem;
    color: #ffffff;
}

.slideNav .slideNavContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slideNavContainer{
    max-width: 85%;
    margin: 0 auto;
}

#navbar{
    border-radius: 50vw;
    outline: 3px solid #006b1b;
    filter: drop-shadow(0px 7px 12px #8b8b8bbe);
    position: fixed;
    top: -150px;
    left: 15%;
    right: 15%;
    transition: top .25s ease-in-out;
    z-index: 2;
}

.slideBrand a{
    text-decoration: none;
}

.slideBrand figure{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideBrand img{
    height: 30px;
    width: auto;
}

.slideBrand figcaption{
    font-weight: bold;
    letter-spacing: .2rem;
    text-transform: uppercase;
    font-size: clamp(10px, 2.5vw, 16px);
    color: #001286;
}

@media only screen and (min-width: 1001px) {
    .hamburgerMenu{
        display: none;
    }
}

@media only screen and (max-width: 1000px) {
    .topItm{
        display: none;
    }
    a.hamburgerMenu{
        font-size: 3em;
        font-weight: bold;
    }
   .overlayContent ul{
    max-width: 40%;
    float: left;
    padding: 0 1rem;
   }
}

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

    .overlayContent ul{
        float: none;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 768px){
    .slideBrand img{
        height: 35px;
    }
    .slideNav{
        padding: 0!important;
    }

    .slideNav figcaption {
        font-size: clamp(12px, 2.5vw, 22px);
        letter-spacing: .2px!important;
    }
}


@media only screen and (max-width: 500px) {
    .topItm:nth-of-type(2) {
        padding-right: 0;
    }
    .subItm{
        top: .5rem;
        padding-top: 1rem;
    }
    .topItm a{
        padding-bottom: 1rem;
    }
}

/*header area*/

.homePageIntro{
    padding-top: 3rem;
    border-bottom: 3px solid #001286;
}


.homePageIntro figure{
    width:45%;
    font-size: 0;
}


.heroImg img{
    width: 100%;
    height: auto;
}

.intro{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.intro h1{
    font-size: clamp(1.3rem, 3vw, 3rem);
    letter-spacing: .2rem;
    padding-bottom: 1rem;
}

.intro p{
    font-size: clamp(1rem, 3vw, 1.5rem);
    max-width: 35ch;
    letter-spacing: .25rem;
    line-height: 2.2rem;
    padding: 1rem 0;
}

.intro p:nth-of-type(2) {
    margin-bottom: 1rem;
}

.introContent{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.introContent a{
    font-family: "Play", sans-serif;
    font-weight: bold;
    text-decoration: none;
    background-color: #006b1b;
    color: #ffffff;
    padding: .7rem 1rem;
    border-radius: 50vw;
    width: max-content;
    transition: all .1s ease;
}

.introContent a:hover{
    text-decoration: underline;
    text-underline-offset: 7px;
    opacity: .8;
    outline: 1px solid #ffffff;
}



@media only screen and (max-width: 900px) {
    .homePageIntro{
        border-bottom: none;
    }
    .intro{
        flex-direction: column-reverse;
        width: 70%;
        margin: 0 auto;
    }
    .homePageIntro figure{
        width:55%;
        padding-top: 2rem;
    }
}


@media only screen and (max-width: 500px) {
    .intro {
        width: 100%;
    }
    .homePageIntro figure{
        width:75%;
        margin: 0 auto;
    }
}
/*end of header*/



/*about me*/

.about{
    padding-bottom: 3rem;
}

.about h2{
    padding-top: 5rem;
    padding-bottom: 3rem;
    font-size: clamp(2rem, 2.5vw, 3rem);
}

.about {
    min-height: 300px;
}

.about p{
    font-size: clamp(16px, 2.5vw, 22px);
    max-width: 55ch;
    margin: 0 auto;
    letter-spacing: .2rem;
    line-height: 40px;
    padding: 1rem 0;
}


.about1,
.about2 {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
}

.quote1{
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-55px);
}

.quote2{
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(55px);
}

@media only screen and (max-width: 1000px) {
    .about p{
        max-width: 50ch;
    }
}

@media only screen and (max-width: 845px) {
    .about p{
        line-height: 30px;
    }
}

@media only screen and (max-width: 600px) {
    .about p {
        max-width: 90%;
        line-height: 25px;
    }
    .quote1{
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(-30px,-30px);
    }
    
    .quote2{
        position: absolute;
        bottom: 0;
        right: 0;
        transform: translate(-20px, 20px);
    }
}

/*end of about me*/

/*gallery row*/

.galleryRow h2{
    padding-top: 5rem;
    padding-bottom: 3rem;
    font-size: clamp(2rem, 2.5vw, 3rem);
}

.galImg1,
.galImg2 {
    max-width: 325px;
}

.galImg3,
.galImg4,
.galImg5 {
    max-width: 300px;
}

.galImg1 img,
.galImg2 img,
.galImg3 img,
.galImg4 img,
.galImg5 img {
    max-width: 100%;
}

.galImg1 figcaption,
.galImg2 figcaption,
.galImg3 figcaption,
.galImg4 figcaption,
.galImg5 figcaption {
    display: none;
}

.galContainer{
    position: relative;
    overflow: hidden;
}

.galContainer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.imgDescription {
    position: absolute;
    top: 50%;
    bottom: 50%;
    height: 100px;
    width: 0%;
    visibility: hidden;
    background-color: #001286ce;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5em;
    font-weight: bold;
    transition: all .23s ease-in;
    overflow: hidden;
}

.imgDescription p{
    color: #74d8f4;
    font-size: clamp(12px, 1.5vw, 20px);
}

.imgDescription a{
    text-decoration: none;
    color: #dffce6;
}

.imgDescription a:hover {
    color: #5bfc83;
}

.galContainer:hover div.imgDescription{
    visibility: visible;
    width: 100%;
}

.workGallery {
  max-width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;

}

.galImg1 {
    grid-column: span 1;
    grid-row-start: 1;
    grid-row-end: 4;
    height: fit-content;
}

.galImg2 {
    grid-column: span 1;
    grid-row-start: 1;
    grid-row-end: 4;
    height: fit-content;
}

.galImg3 {
    grid-column: span 2;
    grid-row-start: 1;
    grid-row-end: 2;
    height: fit-content;
}

.galImg4 {
    grid-column: span 2;
    grid-row-start: 2;
    grid-row-end: 3;
    height: fit-content;
}

.galImg5 {
    grid-column: span 2;
    grid-row-start: 3;
    grid-row-end: 4;
    height: fit-content;
}

@media only screen and (max-width: 1000px) {
    .galImg3 {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 4;
        grid-row-end: 5;
    }
    
    .galImg4 {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 5;
        grid-row-end: 6;
    }
    
    .galImg5 {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 6;
        grid-row-end: 7;
    }
}

@media only screen and (max-width: 800px) {
    .galImg1{
        grid-column: span 2;
    }
    
    .galImg2 {
        grid-column: span 2;
        grid-row-start: 7;
        grid-row-end: 10;
    }
    .galImg3,
    .galImg4,
    .galImg5 {
        grid-column: span 4;
    }
}

@media only screen and (max-width: 500px) {
    .workGallery {
        grid-template-columns: auto;
    }
}



/*skill section*/

.skillsSection h2{
    padding-top: 10rem;
    padding-bottom: 3rem;
    font-size: clamp(2rem, 2.5vw, 3rem);
}

.skillRow {
    min-height: 400px;
    max-width: 100%;
}

.skillRow ul{
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 2rem;
}


.skillRow li{
    list-style-type: none;
    font-size: clamp(16px, 2.5vw, 22px);
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.skillRow p{
    transform: translateY(10px);
    padding-right: 10px;
}

.skillImg{
    background-color: #808080;
    width: 300px;
    height: 500px;
}


@media only screen and (max-width: 900px) {
    .skillRow ul{
        width: 80%;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media only screen and (max-width: 650px) {
    .skillRow ul{
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .skillRow ul{
        grid-template-columns: 1fr;
        width: 65%;
        margin: 0 auto;
        gap: 10px;
    }
}

/*end of skills section*/


/*background img*/




/*footer area*/

footer h3{
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    padding: 2rem 0;
}

.contactDescription{
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 40ch;
}
.socials{
    padding: 1rem 0;
}

.socials li{
    list-style-type: none;
}

.socials a{
    font-family: "Mulish";
    text-decoration: none;
    font-size: 2rem;
    letter-spacing: .2rem;
    color: #006b1b;
}

.socials a:hover{
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.contactForm{
    max-width: 40%;
    margin: 0 auto;
}

.contactForm label{
    font-family: "Mulish", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: .2rem;
}

.contactForm span {
    letter-spacing: .1rem;
}

.contactForm input[type=text],
.contactForm textarea{
    font-size: 16px;
}

.contactForm input[type=text],
.contactForm #topic {
    padding: 4px 0;
}

.contactForm .row{
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.contactForm button{
    border: none;
    padding: .5em 1em;
    font-size: 1em;
    letter-spacing: .1em;
    background-color: #006b1b;
    color: #ffffff;
    transition: all .1s ease;
}

.contactForm button:hover{
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 7px;
    opacity: .8;
    color: #006b1b;
    background-color: #ffffff;
    outline: 1px solid #006b1b;
}

.btns{
    padding: 1em 0;
    display: inline-flex;
    gap: 1em;
}

.btns button{
    border: none;
    border-radius: none;
    background-color: none;
}

@media only screen and (max-width: 768px) {
    .contactForm{
        max-width: 60%;
    }
} 


@media only screen and (max-width: 500px) {
    .contactForm{
        max-width: 90%;
    }
}

.copy{
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #04c9ff;
}


/*paralax effect*/


.workProgress {
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
  }
  
  .workProgress img {
    display: block;
    width: 98%;
    height: auto;
    transform: translate3d(0, 0, 0) scale(1.05);
    will-change: transform;
    transform-origin: center;
  }
  
.backgroundImg {
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
}
  
.backgroundImg img {
    display: block;
    width: 98%;
    height: auto;
    transform: translate3d(0, 0, 0) scale(1.05);
    will-change: transform;
    transform-origin: center;
}

.workProgress div,
.backgroundImg div {
    height:max-content;
}


/*confirmation styles*/

.confirmationPage {
    min-height: 80vh;
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.confirmationPage h2{
    font-size: clamp(20px, 2.5vw, 30px);
}

.formInfo p{
    font-family: "Mulish", sans-serif;
    font-size: clamp(14px, 2.5vw, 22px);
    letter-spacing: 1px;
    font-weight: bold;
}


.formInfo span{
    font-weight: 200;
}


.formInfo {
    padding-bottom: 35px;
}

.confirmationPage form{
    display: none;
}

.successMsg {
    font-family: "Mulish", sans-serif;
    font-size: clamp(14px, 2.5vw, 18px);
}

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

.errorDiv a{
    font-family: "Mulish", sans-serif;
    text-decoration: none;
    background-color: #006b1b;
    color: #ffffff;
    padding: 10px 20px;
    letter-spacing: .5px;
    transition: all .1s ease-in;
}

.errorDiv a:hover {
    background-color: #ffffff;
    color: #006b1b;
    outline: 2px solid #006b1b;
}