@import url('https://fonts.googleapis.com/css2?family=Agu+Display&family=Blinker:wght@100;200;300;400;600;700;800;900&family=Bodoni+Moda+SC:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Ga+Maamli&family=Geist+Mono:wght@100..900&family=Inter:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Inter;
}
/* Global Style */
:root{
  --primary: #000000
}
html, body{
  overflow-x: hidden;
}
html{
  scroll-behavior: smooth;
}
.container{
  width: 100%;
  padding: 120px 0;
  height: 100%;
}
.row{
  max-width: 1024px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
a{
  color: var(--primary);
}
.bold{
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.blob{
  position: absolute;
  z-index: -10;
}
.blob-header{
  right: -500px;
}
.blob-projects{
  left: -550px;
  rotate: 220deg;
}
.blob-projects2{
  bottom: 0;
  right: -550px;
  rotate: 40deg;
}
#home, #projects{
  position: relative;
}
a{
  text-decoration: none;
}
.hidden{
  display: none !important;
}

@keyframes fadeInAnimate{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes slideAnimate{
  0%{
    opacity: 0;
    transform: translateY(16px);
  }
  100%{
    opacity: 1;
    transform: translateY(0px);
  }
}
/* Nav Bar */
.nav{
  position: fixed;
  top: 16px;
  height: 80px;
  z-index: 10;
  width: 100%;
  animation: fadeInAnimate 1000ms;
}
.nav_container{
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  max-width: 1024px;
  margin: 0 auto;
  color: var(--primary);
  background-color: white;
  align-items: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  padding: 0 20px;
}
.nav_logo{
  font-size: 18px;
  font-weight: 700;
}
.nav_links{
  display: flex;
  align-items: center;
  gap: 16px;
  
}
.nav_link{
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.nav_link_button{
  background-color: var(--primary);
  color: white;
  padding: 8px 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 999px;
}
.nav_menu{
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 24px;
  cursor: pointer;
  display: none;
}
/* Menu */
.menu_wrapper{
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 30;
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: end;
  visibility: hidden;
  opacity: 0;
  transition: 200ms ease;
}
.open .menu_wrapper{
  visibility: visible;
  opacity: 1;
}
.menu{
  background-color: white;
  height: 100%;
  width: 100%;
  max-width: 320px;
  padding: 80px 16px;
  transition: 300ms ease;
  transform: translateX(100%);
}
.open .menu{
  transform: translateX(0%);
}
.menu_links{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.menu_close{
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-color: white;
  font-size: 14px;
  transition: 200ms ease;
}
.menu_link{
  width: 100%;
  padding: 12px 8px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 300;
  transition: 200ms ease;
}
.menu_link:not(:last-child):hover{
  background-color: #f3f4f6;
}
.menu_link_button{
  width: 100%;
  height: 48px;
  color: white;
  background-color: var(--primary);
  border: 1px transparent solid;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: 200ms ease;
}
.menu_link_button:hover{
  background-color: transparent;
  border: 1px solid black;
  color: var(--primary);
}
.menu_close:hover{
  background-color: #f3f4f6;
}
/* Home */
#home{
  height: 100vh;
  width: 100%;
  position: relative;
}
.header_row{
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--primary);
  padding: 0 12px;
}
.header_span{
  font-size: 18px;
  font-weight: 600;
  animation: slideAnimate 500ms 100ms backwards;
}
.header_title{
  font-size: 95px;
  font-weight: 600;
  line-height: 100px;
  color: var(--primary);
  animation: slideAnimate 500ms 150ms backwards;
}
.header_subtitle{
  font-size: 44px;
  font-weight: 600;
  line-height: 44px;
  animation: slideAnimate 500ms 200ms backwards;
}

.header_links{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  animation: slideAnimate 500ms 300ms backwards;
  
}
.header_link{
  color: var(--primary);
}
.header_scroll{
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  text-decoration: none;
  animation: fadeInAnimate 500ms 500ms backwards, headerScrollAnimate 1000ms infinite alternate-reverse;
}
@keyframes headerScrollAnimate{
  0%{
    bottom: 32px;
  }
  100%{
    bottom: 24px;
  }
}

/* About  */
.about_row{
  display: flex;
  gap: 128px;
}
.about_content{
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about_text{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about_title{
  font-size: 16px;
  text-transform: uppercase;
}
.about_text_subtitle{
  font-size: 32px;
}
.about_text_para{
  line-height: 24px;
  max-width: 400px;
}
.about_skills{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about_skill_wrapper{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.about_skill{
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.about_skill_image{
  width: 100%;
  height: 100%;
  transition: 200ms ease;
}
.about_skill_name{
  font-size: 12px;
  opacity: 0;
  transition: 300ms ease-in;
}
.about_skill:hover .about_skill_name{
  opacity: 1;
}
.about_skill:hover .about_skill_image{
  scale: 0.9;
}
.about_image_wrapper{
  width: 400px;
  max-width: 100%;
  height: auto;
  position: relative;
}
.about_image_wrapper::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  top: 24px;
  right: 24px;
  z-index: 1;
}
.about_image_wrapper::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  bottom: 24px;
  left: 24px;
  z-index: 3;
}
.about_image{
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
/* Projects */
.projects_title{
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
}
.project_row{
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.project{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  box-shadow: 0 2px 10px -1px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 12px 20px;
  gap: 40px;
  height: 384px;
  background-color: white;
}
.project_image_wrapper{
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}
.project_image{
  width: 100%;
  transition: 400ms ease;
}
.project_image_links{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 16px;
  font-size: 16px;
  opacity: 0;
  transition: 200ms ease;
}
.project_image_link{
  color: #f3f4f6

}
.project_link{
  color: var(--primary);
}
.project_image_wrapper:hover .project_image{
  filter: opacity(70%) blur(2px) brightness(60%);
  background-color: #242424;
  scale: 1.05;
}
.project_image_wrapper:hover .project_image_links{
  opacity: 100;
}
.project_description{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 320px;
}
.project_title{
  font-size: 24px;
}
.project_skills{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.project_skill{
  font-size: 14px;
  background-color: #f3f4f6;
  padding: 6px;
  border-radius: 5px;
}
.project_para{
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
}
.project_links{
  display: flex;
  gap: 24px;
  margin-top: 32px;
}
.project_link{
  background-color: #f3f4f6;
  font-size: 12px;
  font-weight: 600;
  width: 90px;
  padding: 8px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
/* Contact */
.contact_row{
  display: flex;
  gap: 48px;
}
.contact_description{
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 50%;
}
.contact_title{
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact_subtitle{
  font-size: 40px;
}
.contact_link{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  width: fit-content;
  color: var(--primary);
}
.contact_form{
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 50%;
}
.form_item{
  display: flex;
  flex-direction:column;
  justify-content: center;
  gap: 8px;
}
.form_item_label{
  font-size: 14px;
  font-weight: 300;
}
.form_item_input{
  height: 36px;
  background-color: #f3f4f6;
  border: none;
  padding: 0 8px;
  outline: none;
  font-size: 14px;
  border-radius: 2px;
}
.form_item_textarea{
  height: 96px;
  background-color: #f3f4f6;
  border: none;
  padding: 8px;
  outline: none;
  font-size: 14px;
  border-radius: 2px;
  resize: none;
}
.contact_form_submit{
  padding: 12px 20px;
  background-color: var(--primary);
  border: 1px transparent solid ;
  width: 100%;
  color: white;
  font-weight: 700;
  border-radius: 15px;
  font-weight: 16px;
  cursor: pointer;
  transition: 300ms ease;
  position: relative;
}
.contact_form_submit:hover{
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.success{
  position: fixed;
  width: 320px;
  background-color: white;
  top: 12px;
  right: 12px;
  z-index: 20;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
  transform: translateX(200%);
  display: flex;
  gap: 16px;
  transition: 200ms ease;
}
.success-open .success{
  transform: translateX(0%);
}
.success_icon{
  font-size: 28px;
  color: #4bb543;
}
.success_text{
  display: flex;
  flex-direction: column;
  gap: 5px;
} 
.success_text_title{
  font-size: 16px;
  font-weight: 500;
}
.success_text_para{
  font-size: 14px;
}
.contact_form_loading{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: var(--primary);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  
}
.contact_form_loading_icon{
  animation: loadingSpinner 1000ms infinite;
}
@keyframes loadingSpinner{
  0%{
    rotate: 0;
  }
  100%{
    rotate: 360deg;
  }
}
/* Footer */
footer{
  background-color: var(--primary);
  color: white;
  height: 64px;
}
.footer_link{
  color: white;
}
.footer_links{
  display: flex;
  gap: 16px;
}
.footer_row{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer_copyright{
  font-size: 14px;
  font-weight: 700;
}
/* XL Screen */
@media (max-width: 1280px){
  /* Nav */

  .nav{
    top: 0; 
  }
  .nav_container{
    max-width: 100%;
    border-radius: 0px;
  }
}
/* Large Screen */
@media(max-width: 1024px){
  /* About */
  .about_row{
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }
  .about_text{
    text-align: center;
  }
  .about_text_para{
    max-width: 540px;
  }
  .about_skills{
    align-items: center;
  }
  /* Project */
  .project{
    height: 320px;
    padding: 20px;
    gap: 20px;
  }
  .project_image_wrapper{
    max-width: 540px;
  }
  .project_description{
    max-width: 280px;
  }
  .project_skill,
  .project_para{
    font-size: 12px;
  }
}
/* Tablet */
@media(max-width: 768px){
  /* Header */
  .header_span{
    font-size: 14px;
  }
  .header_title{
    font-size: 60px;
    line-height: 60px;
  }
  .header_subtitle{
    font-size: 36px;
  }
  .header_about{
    font-size: 14px;
  }
  /* Projects */
  .project{
    flex-direction: column;
    height: auto;
    gap: 12px;
    padding: 12px;
  }
  .project_image_wrapper{
    max-width: 100%;
  }
  .project_description{
    max-width: 100%;
    justify-content: start;
    text-align: left;
  }
  .project_title{
    width: 100%;
  }
  .project_skills{
    width: 100%;
    justify-content: start;
  }
  .project_skill,
  .project_para{
    font-size: 14px;
  }
  .project_para{
    margin-top: 15px;
  }
  .project_links{
    justify-content: start;
    width: 100%;
    gap: 8px;
    margin-top: 24px;
  }
  /* Contact */
  .contact_row{
    flex-direction: column;
  }
  .contact_description,
  .contact_form{
    width: 100%;
  }
  .contact_title{
    font-size: 14px;
  }
  .contact_subtitle{
    font-size: 30px;
  }
  .contact_para{
    font-size: 14px;
  }
  .contact_link{
    margin-top: 12px;
  }
  #contact{
    padding: 0 12px;
  }
}
/* Mobile Device Bigger Screen */
@media(max-width: 640px){
  .nav_menu{
    display: block;
  }
  .nav_links{
    display: none;
  }
  /* Header */
  .header_subtitle{
    font-size: 28px;
    line-height: 28px;
  }
  .blob-header{
    right: -600px;
  }
  /* About */
  .about_image_wrapper{
    max-width: 80%;
  }
  .about_skill_wrapper{
    justify-content: center;
  }
  /* Project */
  .project_title{
    font-size: 20px;
  }
  .project_skill,
  .project_para{
    font-size: 12px;
  }
  .project_skill{
    padding: 4px 10px;

  }
  #contact{
    padding: 0 12px;
  }
}
/* Mobile Device Small */
@media(max-width: 480px){
  /* Header */
  .blob-header{
    right: 700px;
  }
  .header_title{
    font-size: 48px;
  }
  .header_subtitle{
    font-size: 24px;
    line-height: 20px;
  }
  /* About */
  .about_text_para{
    font-size: 14px;
  }
  /* footer */
  .footer_row{
    gap: 10px;
  }
  .footer_copyright{
    font-size: 12px;
  }
  .footer_link{
    font-size: 14px;
  }
}
