*{
    margin: 0;
    scroll-behavior: smooth;
    transition: .5s;

}

body{
    background-color: rgba(244,241,241,255);
}
.home{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}
.logo{
    display: flex;
    
}
.nav{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
li {
    list-style-type: none;
    display: inline-block;
    padding: 15px;
 
}
a:hover{
        color: blue;
        transition: .1s;
    }

a{
    color: black;
    text-decoration: none;

}
.info{
margin-top: 10%;

align-items: center;
}
.info div{
    align-items: center;
    gap: 100px;
}
.info h1{
    font-size: 70px;
    color: #212121;
    margin-bottom: 20px;
}
span{
    color: orangered;
}
.bar:hover{
   transform: translateY(10px);
    border-radius: 15px;
    
}

.social{
    cursor: pointer;
    display: flex;
    margin-left: 160px;
}
.social div{
    margin-left: -60px;

}
.social div:hover{
    text-decoration: none;
    color: blue;
    transform: translateY(-5px);
}
.photo{
    display: flex;
   
}
#profile{
   
    border: 10px solid;
    border-color: white;
    height: 450px;
    width: 450px;
    border-radius: 100% 39% 100% 64% / 53% 92% 50% 100% ;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    margin-right: 100px;

}
.main_About{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.main_About h1{
    margin-left: -1630px;
}
.about{
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
}
#card{
    background-color: white;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);

}
.box{
    height: 900px;
    width: 100%;
}
.box{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.card{
    height: 500px;
    width: 335px;
    padding: 20px 35px;
    background: white;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card p{
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 20px;
    font-weight: bold;
}
.Read{
    background-color: rgba(244,241,241,255);
    color: blacke;
    text-decoration: none;
    font-weight: bold;
    padding: 9px 22px;
    border-radius: 30px;
    transition: .4s;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.pro_card{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    margin-top: 50px;
    margin: 50px 100px 0 300px;
    
}
.work{
  
    width: 335px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    }
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
   
    color: white;
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6),#808080);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: colomun;
    padding: 0 10px;
    text-align: center;
    font-size: 14px;
    transition: hight 0.5s;
   
}
.layer h3{
    margin-top: 90px;
    font-weight: bold;
    margin-bottom: 20px;

}
.layer a img{
    margin: 50px 100px 0 125px;
    border-radius: 50%;
    background:white;
    height: 60px; width: 60px;
    align-items: center;

}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
-----------------------contact---------------------------
.all{
    display: flex;
}
.container{
    display: flex;
    flex-direction: row;
}
.Left{
    flex-basis: 35%;
}
.right{
    flex-basis: 65%;
}
.Left p{
    margin-top: 30px;
}
.media{
    margin-top: 30px;
    cursor: pointer;
    display: flex;
    margin-left:-5px;
}
.media div {
 
    margin-right: 15px;
    height: 25px;
}
.media div:hover{
    text-decoration: none;
    color: blue;
    transform: translateY(-5px);
}

.container{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 200px 150px 0 150px;
}

.container .right form{
    width: 100%;
}
form input,form textarea{
    width: 380px;
    border: 0;
    outline: none;
    background: #b4a8a8;
    padding: 15px;
    margin: 15px 0;
    color: black;
    font-size: 18px;
    border-radius: 6px;
}


footer div{
    display: flex;
    justify-content: center;    
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 1;
}