*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding:0;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}
section{
    padding-top: 3%;
    padding: 4%;
}
body > header {
    width: 100%;
    height: 4.0rem;
    position: fixed;
    color: white;
    z-index: 1;
}

header span{
    cursor: pointer;
    color:#000;
}

header .click-home{
    cursor: pointer;
    color:#000;
}

.header-container {
    width: 60.0rem;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    background-color:#fff;
}

.header-container span{
    cursor: pointer;
    margin-left:15px;
}

.header-container > div {
    height: 4.0rem;
    line-height: 4.0rem;
}
img{
    height: auto;
    width: 100%;
    display: block;
}
h1{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3%;
}
h2{
    font-size: 1.8rem;
    margin-bottom: 2%;
    font-weight: 600;
}
p{
    font-size: 1.2rem;
    font-weight: 400;
}
main {
    padding-top: 5.0rem;
    padding-bottom: 5.0rem;
}
main section{
    padding-top:8%;
}
.home-page {
    width: 60.0rem;
    margin: 0 auto;
    padding: 2.0rem;
}

.project-page {
    background-color: white;
    font-weight: 700;
    font-size:1.3rem;
    width: 60.0rem;
    margin: 0 auto;
}

.project-container {
    display: flex;
    justify-content: space-between;  
}

.project-card {
    padding: 1.0rem;
    height: 16.0rem;
    margin-top: 2.0rem;
    width: 31.5%;
}

.hideAll {
    display: none;
}

/***banner part***/
.banner{
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}
.banner p{
    font-size: 1.3rem;
}
.banner .left-part, .banner .middle-part, .banner .right-part{
    flex: 1 1 30%;
}

/***my projects**/
.projects{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.projects img{
    margin-bottom: 3%;
}
.projects .card{
    flex: 1 1 30%;
    cursor: pointer;
    transition:0.3s ;
}
.projects .card:hover{
    transform:scale(1.05)
}

/***skills and about section***/
.skills-about{
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.skills-about-section p{
    width: 70%;
    justify-self: center;
    margin-bottom: 3%;
}
.skills-about .left-part{
    flex: 1 1 25%;
}
.skills-about .middle-part{
    flex: 1 1 50%;
}
.skills-about .right-part{
    flex:1 1 25%;
}
/***form***/
.form-section{
    display: flex;
    gap: 30px;
    align-items: center;
}
.form-content-part{
    flex: 0 0 40%;
}
.form-part{
    flex:0 0 60%;
}
.form-section p{
    text-align: start;
    margin-bottom: 4%;
}
.form-section h2{
    text-align: start;
    margin-bottom: 3.5%;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-row {
  display: flex;
  gap: 20px;

}


input::placeholder{
    color: black;
}
textarea::placeholder{
    color:black;
}
input,
textarea {
  background: #d9d9d9;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  width: 100%;
}

textarea {
  height: 150px;
  resize: none;
}


button {
  width: fit-content;
  background: #808080;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}
button:hover {
  background: #333;
}

/****project page****/
.project-page h2{
    text-align: start;
}
.project-banner{
      position: relative;   
     width: 100%;
    height: 400px;
    margin-bottom: 5%;
    background-color: #d9d9d9;
    border-radius: 30px;
}
.project-banner img{
     position: absolute;      
  top: 50%;                
  left: 50%;               
  transform: translate(-50%, -50%);  
  width: 8%;            
}
.project-banner .banner-content{       
     position: absolute;
    text-align: start;
    bottom: 0px;
    width: 700px;
    padding: 3%;
}

/****brief and skills****/
.brief-skills{
    display: flex;
    gap: 20px;
    text-align: start;
}
.brief-skills p{
    margin-bottom: 2%;
    line-height: 1.3;
}
.brief-skills .left-part{
    flex: 1 1 60%;
}
.brief-skills .right-part{
    flex: 1 1 40%;
}