*{
    padding: 0%;
    margin: 0%;
}


input{
    outline: none;
    caret-color: inherit;
}

input::placeholder{
    color: inherit;
    opacity: 1;
}

img{
    max-width: 100%;
}

a{
    text-decoration: none;
    color: inherit;
}

li{
    list-style-type: none;
}


body{
    max-width: 100%;
    font-family: "Lato";
}


.flexdesktop{
    display: flex;
}

.flex{
    display: flex;
    justify-content: center;
}

header{
    background-image: url("img/hero.jpeg");
    background-repeat: no-repeat;
    height: 100vh;
    background-position: center;
    background-size: cover;
}

header .profile{
    max-width: 450px;
    padding: 25vh 30px 10px 10%;
}

header div.profile h1{
    font-weight: 800;
    font-size: 3em;
}

header button{
    border: 1.5px solid black;
    margin: 10px 0px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0);
}

header nav{
    width: 630px;
    margin-left: calc(100% - 630px);

}

header nav ul li{
    display: inline-block;
    margin-top: 20px;
    margin-right: 1%;
    padding: 10px 30px;
}

header nav ul li:hover{
    color: rgb(213, 213, 213);
}

header div.profile p{
    margin: 20px 0px;
    line-height: 20px;
}

header button:hover{
    background-color: black;
    color: white;
}


header .socials{
    margin-top: -50px;
    position: relative;
    left: 90%;
    width: fit-content;
    background-color: rgb(255, 255, 255, 0.4);
    border-radius: 15px;
}

header .socials img{
    display: block;
}

/*------------------------------------Second Section-------*/

.aboutme{
    padding: 5%;
    margin-bottom: 10vh;
}


.aboutme img{
    width: 35%;
    height: fit-content;
}

.aboutme article{
    padding:10px 40px 0px 40px ;
}


.aboutme article h2{
    font-weight: 700;
    font-size: 32px;
}

.aboutme article p{
    margin-top: 20px;
}

.aboutme article p{
    font-size: 15px;
}

/*----------------------------Third Section----------*/

.gallery{
    padding: 2% 5% 5% 5%;
    text-align: center;
}

.gallery .flexdesktop{
    width: fit-content;
    margin: auto;
}

.gallery .flexdesktop img{
    max-width: 30%;
    margin: 10px;

}

.gallery .flexdesktop img:hover{
    box-shadow: 6px 6px 12px #303030,
    -6px -6px 12px #747474;
}

.gallery h2{
    font-size: 32px;
    font-weight: 700;
}

.gallery p{
    margin: 15px;
}

.gallery button{
    padding: 15px 28px;
    text-align: center;
    background-color: white;
    margin-top: 15px;
    outline: none;
}

.gallery button:hover{
    background-color: rgba(237, 237, 237, 0.7);
    border-color: inherit;
}

/*------------------------------------------Contactme---*/

.contact{
    padding: 1% 1% ;
}
.contact .important img{
    max-width: 35%;
    height: fit-content;
}
.contact .flexdesktop{
    justify-content: space-around;
}

.contact h2{
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.contact p{
    text-align: center;
    margin: 5px 10% 25px 10%;
}

.contact .important{
    margin-left: 10%;
}

.contact button{
    padding: 10px 26px;
    text-align: center;
    background-color: white;
    margin-top: 15px;
    margin-bottom: 50px;
    outline: none;
}

.contact button:hover{
    background-color: rgba(237, 237, 237, 0.7);
    border-color: inherit;
}
.contact .important input{
    width: 400px;
    outline: none;
    padding: 5px;
    margin-bottom: 30px;
    border: 1px solid black;
    border-radius: 3px;
}

.contact .important textarea{
    height: 170px;
    width: 400px;
    outline: none;
    padding: 5px;
    border: 1px solid black;
    border-radius: 3px;
}




.contact .important{
    text-align: right;
}

.contact .important div label{
    text-align: left;
}



/*-----------------------Clients-------------------*/


.clients{
    padding: 10vh 5%;
}


.clients h2{
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.clients p{
    text-align: center;
    margin: 5px 10% 25px 10%;
}
.clients .flex{
    justify-content: space-around;
    align-items: center;
}
div.clients div.flex img{
    width: 20%;
    height: fit-content;
}





/*-------------------------------Footer----------*/
footer{
    text-align: center;
    width: fit-content;
    margin: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
    font-size: 0.77em;
}
.socials img{
    padding: 10px;
    width: 17px;
    height: fit-content;
}





















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



.contact{
    padding-top: 10vh;
}
.hiddenmobile{
    display: none;
}

.contact .important{
    text-align: left;
}
.contact label{
    display: block;
    text-align: left;
}
.contact .important input{
    margin-left: 0%;
    width: 530px;
    margin-bottom: 15px;
}


.contact .important textarea{
    margin-left: 0%;
    width: 530px;
    margin-bottom: 15px;
}
}








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

    header .socials{
        left: 80%;
    }
    div.clients div.flex img{
        width: 27%;
        height: fit-content;
    }
    
    .hiddenonmobile{
        visibility: hidden;
    }

    .gallery .flexdesktop img{
        max-width: 95%;
        padding: 10px;
    }
    .contact{
        padding-top: 10vh;
    }
    .hiddenmobile{
        display: none;
    }

    .contact .important{
        text-align: left;
    }
    .contact label{
        display: block;
        text-align: left;
    }
    .contact .important input{
        margin-left: 0%;
        width: 90%;
        margin-bottom: 15px;
    }


    .contact .important textarea{
        margin-left: 0%;
        width: 90%;
        margin-bottom: 15px;
    }

    .flexdesktop{
        display: block;
    }
    .gallery .flexdesktop{
        display: block;
        width: fit-content;
    }

    .gallery .flexdesktop img{
        display: block;

    }

    header{
        background-position:4%;
    }
    header nav{
        margin-left: 0%;
        width: max-content;
    }

    header nav ul li{
        display: block;
        margin: 0px;
    }

    header .profile{
        width: 85%;
        height: fit-content;
        margin: auto;
        padding: 20px 20px;
    }

    header div.profile h1{
        font-weight: 800;
        font-size: 2.4em;
    }

    .aboutme img{
        padding-top: 70px;
        width: 30%;
        height: 23vh;
    }
    .aboutme{
        padding: 10vh 10px 10px 10px;
    }

    .aboutme p{
        margin-top: 0px;
    }

    .aboutme article{
        margin: 0%;
        padding: 10px;
    }
}