/* common shared styles */

* {
  line-height: 1.5;
  font-family: 'Open Sans', sans-serif;
  font-family: 'Sarabun', sans-serif;
}

body {
  margin: 0px;
}

.nav-title {
  color: #181818;
  font-size: 45px;
  font-style: normal;
  font-weight: 800;
}

.text-primary {
  color: #FD6E0A;
}

.primary-button {
  text-align: center;
  color: white;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  padding: 18px 35px;
  border: none;
  border-radius: 5px;
  background: #FD6E0A;
}

.section-title {
  text-align: center;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  color: #181818;
}

.description {
  width: 95%;
  height: auto;
  color: #757575;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400
}

hr {
  color: #D1D1D1;
}

/* nav releted styles */

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav > ul {
  display: flex;
  align-items: center;
}

nav li {
  list-style: none;
  margin-right: 50px;
}

nav a {
  text-decoration: none;
  color: #474747;
}

/* Header related styles */
header {
  background-color: #FFF8F3;
  background-image: url('../images/header_bg.png'), url('../images/developer.png');
  background-repeat: no-repeat no-repeat;
  background-position: bottom right, top left;
}

.banner {
  padding: 30px 0px 0px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-greeting {
  margin-bottom: 0px;
  color: #474747;
  font-size: 45px;
  font-style: normal;
  font-weight: 600;
}

.banner-title {
  margin-top: 5px;
  margin-bottom: 20px;
  color: #181818;
  font-size: 85px;
  font-style: normal;
  font-weight: 700;
}

.banner p {
  padding: 5px;
  max-width: 585px;
  margin-bottom: 30px;
  margin-top: 0px;
  color: #757575;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.profile-pic {
  display: flex;
  align-items: flex-end;
  width: 51%;
}

.profile-pic img {
  width: 100%;
}


.contact {
  background-color: #18181800;
  color: #FD6E0A;
  border: 1px solid #FD6E0A;
  margin-left: 30px;
}

/* main sections styles */
main{
  width: 68%;
  margin: 0px auto;
}

/* about section styles */

.about{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #FFF8F3;
  border-radius: 10px;
  margin: 130px 0px;
  padding: 131px 156px;
}

.personal-info {
  width: 100%;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.personal-info span {
  color: #757575;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}

.personal-info span h4 {
  color: #474747;
  margin-top: 5px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}

/* what i do section */

.what-i-do {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 130px;
}

.what-i-do h3 {
  margin-bottom: 30px;
}

.skills {
  width: 100%;
  display: flex;
  column-gap: 24px;
  justify-content: space-between;
  margin-top: 50px;
}

.skill-detail {
  border: none;
  box-shadow: 0px 6px 50px 0px rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  padding: 30px;
}

.skill-detail h4 {
  color: #181818;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  margin-top: 0px;
}

.skill-detail p {
  text-align: left;
  width: 95%;
}

/* Resume section styles */

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

.education-exp {
  column-gap: 24px;
  display: flex;
  justify-content: space-between;
  margin-top: 110px;
  margin-bottom: 50px;
}

.education-experience-detail h4 {
  margin-bottom: 30px;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  color: #474747;
}

.education-experience-detail div span{
  margin-top: 10px;
  margin-bottom: 20px;
  color: #757575;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;

}

.education-experience-detail div h5 {
  margin: 0px;
  color: #474747;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
}

.education-experience-detail div p {
  width: 100%;
  margin-right: 50px;
  color: #757575;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

/* Footer section */

footer {
  column-gap: 117px;
  background-color: #FFF8F3;
  padding: 130px 230px;
  margin-top: 110px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.social, form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

form {
  width: 70%;
}

.footer-title {
  color: #181818;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 20px;
}

form label {
  width: 100%;
}

form label input{
  color: #757575;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  border: none;
  border-radius: 5px;
  width: calc(100% - 30px);
  margin-bottom: 24px;
  padding: 18px 0px;
  padding-left: 30px;
}

form textarea {
  color: #757575;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  border: none;
  border-radius: 5px;
  margin-bottom: 24px;
  padding: 18px 0px;
  padding-left: 30px;
  width: calc(100% - 30px)
}

.social p {
  color: #474747;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.icons a {
  margin-right: 24px;
}


.hide {
  display: none;
}

/* responsive styles */

/* mobile devices */
@media screen and (max-width: 576px) {
  main, form {
    width: 100%;
  }

  nav {
    flex-direction: column;
  }
  
  .banner {
    flex-direction: column;
    padding: 30px 0px 0px 10px 
  }

  .profile-pic {
    width: 100%;
  }

  .about {
    padding: 130px 10px;
  }

  .description, .education-experience-detail div p {
    width: 100%;
  }

  .personal-info {
    flex-direction: column;
  }

  .skills {
    flex-direction: column;
    align-items: center;

  }

  .education-exp {
    flex-direction: column;
  }

  .education-experience-detail {
    padding: 5px;
  }

  footer {
    flex-direction: column;
    padding: 10px;
  }

}


/* for medium devices */

@media screen and (min-width: 576px) and (max-width: 1290px) {

  .banner {
    flex-direction: column;
  }

  main {
    width: 100%;
  }

  .skills, .personal-info {
    flex-wrap: wrap;
  }

  footer, .about {
    padding: 130px 32px;
  }

  
}