/* GENERAL */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sarabun", serif;
  /* background: #e1ddf5; */
}

html {
  scroll-behavior: smooth;
}

h1 {
  padding-bottom: 2rem;
}


h3 {
  color: #625c67;
}

h4 {
  color: black;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
p {
  color: #625c67;
}

label {
  color: #625c67;
}
/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 10vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.3rem;
  padding-left: 200px;
}

a {
  color: #625c67;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-family: "Merriweather Sans", serif;
  font-size: 2.5rem;
}

.k {
  color: #6b41d7;
}

.logo:hover {
  cursor: default;
}

.icon-img {
  width: 40px;
  height: 40px;
 padding-top: 1rem;
}

.icon-img:hover {
  filter: invert(50%);
}
/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: #35424a;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  z-index: 999;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  color: #35424a;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links a:hover{
  color: grey;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:nth-child(2) {
  opacity: 1;
}

.hamburger-icon span:last-child {
  transform: none;
}

/* SECTIONS */

section {
  margin: 0 5%;
  margin-top: 2rem;
}

section h1 {
  color: #6b41d7;
  text-align: center;
}

/* HERO SECTION */

#hero {
  background-color: #f2f0f7;
  height: 90vh;
  margin-top: 0;
  position: relative;
}

.hero-section {
  display: flex;
  justify-content: center;
  height: 70vh;
}
.hero-photo-container {
  display: flex;
  height: 200px;
  width: 200px;
  margin: auto 0;
}

.hero-text {
  align-self: center;
  text-align: center;
}

.hero-text p {
  font-weight: 600;
}

.hero-text-p1 {
  text-align: center;
  color: black;
}

.hero-text-p2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.title {
  font-size: 3rem;
  text-align: center;
  padding-bottom: 0;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.border-style-container div:nth-child(1) {
  background-color: #6b41d7;
  width: 80%;
  height: 2vh;
  border-radius: 5rem;
}
.border-style-container div:nth-child(2) {
  background-color: #d7b641;
  width: 80%;
  height: 2vh;
  border-radius: 5rem;
}
.border-style-container div:nth-child(3) {
  background-color: #6b41d7;
  width: 80%;
  height: 2vh;
  border-radius: 5rem;
}

/* ICONS */
.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1 {
  border: 1px;
  background-color: #f5b745;
  color: black;
  border: #35424a 1px solid;
  transition: 5ms ease-in-out;
}

.btn-color-1:hover {
  cursor: pointer;
  background: rgb(53, 53, 53);
  color: white;
}

.arrow {
  position: absolute;
  right: -2.5rem;
  top: 600px;
}

#experience .arrow{
  top: 500px;
}

.arrow:hover{
  filter: invert(50%);
}



/* ABOUT SECTION */


#about {
  position: relative;
}

#about .arrow {
 bottom:5rem;

}

.profile-photo {
  height: 250px;
  width: 250px;
  margin: auto;
}

.about-details-container {
  display: flex;
  justify-content: space-evenly;
}

.about-details-container:first-child {
  align-items: flex-start;
}

.photo-container {
  min-width: 300px;
  height: 300px;
  border-radius: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
  box-shadow: 1px 1px 1px #e8e8e8;
}

.about-details {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 4rem;
}

.about-list-container {
  padding-left: 40px;
}

.about-list p {
  margin-bottom: 1rem;
}

.about-details-section2 {
  padding: 2rem;
  height: 150px;
  background: white;
  border-radius: 2rem;
  border-color: rgb(163, 163, 163);
  margin-right: 2rem;
  margin-bottom: 1rem;
  background-color: #f7f7f7;
  box-shadow: 1px 1px 1px #e8e8e8;
}

.about-details-section2:last-child{
  margin-bottom: 0;
}

.about-details-section2 h3 {
  margin-bottom: 1rem;
}


/* EXPERIENCE SECTION */

#experience {
  position: relative;
}

.experience-container {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.list-container li {
  list-style: none;
  color: #625c67;
}

.list-container {
  padding: 2rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  margin-right: 2rem;
  height: 400px;
  background-color: #f7f7f7;
  box-shadow: 1px 1px 1px #e8e8e8;
  width: 200px;
}

.list-container h3 {
  margin-bottom: 1rem;
}
/* PROJECTS SECTION */

#projects {
  background-color: #6b41d7;
  position: relative;
  height: auto;
}

#projects h1 {
  color: white;
  padding-bottom: 0;
  padding-top: 2rem;
  
}

.project-img {
  border-radius: 0.5rem;
  border: 1px solid #35424a;
  width: 100%;
  min-width: 300px;
  max-width: 480px;
  max-height: 235px;
}

.projects-container {
  display: flex;
  gap: 2rem;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
 
}

.project-section {
  display: flex;
  flex-direction: column;
  background-color: white;
  width: auto;
  padding: 1em;
  align-items: center;
  margin-top: 2rem;
  border-radius: 5px;
}
.project-section h3 {
  padding-bottom: 1rem;
  text-align: center;
  color: black;
}

.project-btn-container {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

/* CONTACT SECTION */

/* #contact {
  position: relative;
}

#contact h1 {
  padding-top: 2rem;
}
.contact-container {
  margin-top: 2rem;
  justify-content: center;
  display: flex;
}

#contact form {
  display: flex;
  flex-direction: column;
  width: 500px;
  gap: 0.5rem;
  background-color: #f7f7f7;
  box-shadow: 1px 1px 1px #e8e8e8;
  padding: 20px 50px;
  border-radius: 1rem;
}

#contact label {
  font-size: 1rem;
}

#contact input {
  height: 30px;
  border-radius: 0.5rem;
  border-width: 1px;
}

#contact textarea {
  height: 200px;
  border-radius: 0.5rem;
} */
/* FOOTER SECTION */

footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
 padding-top: 6rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav li {
  list-style: none;
}

.footer-nav li a {
  color: white;
}

.footer-nav li a:hover {
  text-decoration: none;
}

.copyright p{
 padding-top: 0.5rem;
  color: white;
  font-size: 0.7em;
  text-align: center;
  
}

.icons{
  font-size: 12px;
  color: white;
  
}

.icons-attribute{
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  
}

