@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300&display=swap');
*{
  margin: 0;
}
body{
font-family: 'IBM Plex Sans Thai', sans-serif;

}

.profile__header{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 80px 0;
  

}
.profile__pic{

  display: flex;
  flex: .6;
  margin-top: 10px;
  align-items: center;
  flex-direction: column;
  margin-left: 10px;
  height: 70vh;
  width: 100%;




}
.profile__pic > img{
  display: flex;
  height: 50vh;

  object-fit: contain;
  border-bottom-right-radius: 30px;
  border: .5px solid rgb(255, 0, 255);
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);

}

.profile__pic > .profile__socialIcons{
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;

}
.profile__socialIcons > a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin: 10px;
  border: .5px solid lightslategray;
  height: 50px;
  width: 50px;
  border-radius: 50%;

  
  

}
.profile__socialIcons> a:hover{
 background-color:  rgb(221, 184, 17);
 border: none;
 outline-width: none;
 box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);



}
p> a{
text-decoration: none;
  border: .5px solid rgb(44, 6, 6);
  border-radius: 20px;
  color: rgb(46, 43, 4);
  padding: 5px;
  border: none;
 box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);

}
p>a:hover{
background-color: azure;
 border: none;
 outline-width: none;
 font-weight: bold;

}
.profile__contact{
  display: flex;
  justify-content: space-evenly;

}
.profile__contact > a{
  text-decoration: none;
  border: .5px solid lightgrey;
  margin: 10px;
  border-radius: 20px;
  font-size: 20px;
  color: grey;
  padding: 5px;
  

}
.profile__contact>a:hover{
  color: black;
  border: none;
  outline-width: none;
  background-color: azure;
 box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);
font-weight: 600;
}
.profile__bio{
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: .4;
  margin: 0 70px;
  margin-bottom: 20px;
  font-size:20px;

}
.profile__bio> h1{
  text-align: center;

}
.profile__info{
  /* text-align: justify; */
  
}

.projects__title{
  border: .5px solid lightgrey;
  border-radius: 30px;
  background-color: rgb(243, 243, 241);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 20px ;


}
.projects__title > h1{
  color: gray

}
.projects__wrapper{
  border-top: .5px solid rgb(161, 47, 47);
  margin: 10px;
  background-color: rgb(248, 247, 246);
  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);
  display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    margin-bottom: 10px;
    border-radius: 30px;

}

.box{
  display: flex;
  cursor: pointer;
  flex-direction: column;
  background: rgb(235, 244, 247);
  padding: 30px;
  margin: 20px;
  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  border-top: .5px solid rgb(207, 47, 212);
}
.box > h2{
  text-align: center;
  margin-bottom: 10px;
}
.box > img{
  width: 100%;
  object-fit: contain;
  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
transition: all 3s;

}
.box> img:hover{
  transform: rotate3d(2,-1,-1, -0.2turn);

}
.box > .box__btn{
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  

}
.box__btn > a{
   text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin: 10px;
  border: .5px solid lightslategray;
  height: 50px;
  width: 50px;
  border-radius: 30%;
  padding: 10px;
  color: gray;

}
.box__btn > a:hover{
  background-color: whitesmoke;
  color: black;
  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);
  border: none;
  outline-width: none;

}



#footer{
  text-align: center;
  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  margin:0 10px;

}
.footer__content{
  background-color: rgba(240, 237, 243, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

}
.footer__socialIcons{
  display: flex;
  
}

.footer__socialIcons > a {
  
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin: 10px;
  border: .5px solid lightslategray;
  height: 50px;
  width: 50px;
  border-radius: 50%;

  
  

}
.footer__socialIcons> a:hover{
 background-color:  rgb(221, 184, 17);
 border: none;
 outline-width: none;
 box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.5);



}
#footer p{
  font-size: 14px;
  letter-spacing: 0.3rem;
  margin-top: 0;
  text-transform: uppercase;
}
.credit{
margin-bottom: 10px;

  font-size: 15px;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
}
.credit a{
  text-decoration: none;
  color: rgb(30, 151, 155);
  font-size: 18px;


}
.credit a:hover{
  background-color: rgb(7, 19, 19);

}

@media screen and   (max-width: 600px) {
    .profile__header{
      display: flex;
      flex-direction: column-reverse;
        /* font-size: 0.5em; */
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    
    
     .profile__pic > img {
      width: 330px;
      height: max-content;
      overflow-x: hidden;
      margin: 0;

    }
    .profile__bio >p {
      font-size: small;
      text-align: start;
      margin: 5px;
    }
    
    
}
@media screen and   (max-width: 1200px) {
    .profile__header{
      display: flex;
      flex-direction: column-reverse;
        padding: 0;
        /* margin: 2rem; */
        overflow-x: hidden;
    }

    
    
}
