* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  color: white;
}

/* 헤더 */

header {
  width: 100%;
  height: 64px;
  position: fixed;
  border-bottom: 1px solid #1e293b;
  background: #020617;
}

.header_container {
  width: 95%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1300px;
}

.header_menu {
  display: flex;
  gap: 23px;
}

.header_menu a {
  cursor: pointer;
}

header h1 {
  font-size: 24px;
  font-weight: 600;
}

header a {
  text-decoration: none;
  color: rgb(203, 213, 225);
}

header a:hover {
  color: white;
}

.header_burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  z-index: 1002;
}

/* 첫번째 섹션 */

#one {
  background: #08051a;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.one_container h1 {
  font-size: 4rem;
}

.one_container p {
  font-size: 1.5rem;
  margin-top: 10px;
  color: rgb(203, 213, 225);
}

.one_btn_container {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.one_btn {
  font-size: 14px;
  color: white;
  padding: 12px 35px;
  border-radius: 30px;
  background: #020817;
  border: 1px solid #475569;
  cursor: pointer;
  transition: 0.2s ease;
}

.one_btn:hover {
  background: #1e293b;
}

.one_btnone {
  background: linear-gradient(
    90deg,
    rgba(63, 127, 246, 1) 0%,
    rgba(140, 57, 235, 1) 100%
  );
  border: 0;
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
}

.one_btnone:hover {
  background: linear-gradient(
    90deg,
    rgba(50, 100, 200, 1) 0%,
    rgba(110, 40, 200, 1) 100%
  );
}

.one_sns_container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.one_sns_btn {
  background: 0;
  border: 0;
  color: rgb(148, 163, 184);
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: 0.2s ease;
}

.one_sns_btn:hover {
  color: white;
}

@keyframes floatBounce {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(6px);
  }
  80% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

.one_down_btn {
  background: 0;
  border: 0;
  color: rgb(148, 163, 184);
  animation: floatBounce 2s ease-in-out infinite;
}

/* 두번째 섹션 */

#two {
  background: #020617;
  display: flex;
  flex-direction: column;
  padding: 80px 0;
}

.two_title {
  text-align: center;
  color: rgb(203, 213, 225);
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
}

.two_title h1 {
  color: #837ff9;
  font-size: 3rem;
}

.two_title p {
  width: 93%;
  max-width: 600px;
  margin: 0 auto;
}

.two_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.two_text_div {
  display: flex;
  gap: 20px;
  flex-direction: column;
  max-width: 552px;
  width: 95%;
  color: rgb(203, 213, 225);
}

.two_box_div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.two_box {
  background: #090f20;
  border: 1px solid #1e293b;
  padding: 24px;
  width: 95%;
  max-width: 520px;
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgb(148, 163, 184);
  gap: 5px;
  border-radius: 20px;
  transition: 0.2s ease;
  margin: 0 auto;
}

.two_box:hover {
  border: 1px solid rgb(51, 65, 85);
}

.two_box h3 {
  font-size: 20px;
  color: white;
}

/* 세번째 섹션 */

#three {
  background: #060b1d;
  padding: 50px 0;
}

.three_title {
  text-align: center;
  color: rgb(203, 213, 225);
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
}

.three_title h1 {
  color: #837ff9;
  font-size: 3rem;
}

.three_box_div {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.three_box {
  padding: 32px;
  background: #0b1123;
  border: 1px solid #1e293b;
  width: 95%;
  max-width: 380px;
  height: 350px;
  border-radius: 15px;
  text-align: center;
}

.three_skill_div {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 5px;
}

.three_skill {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.three_skill div {
  display: flex;
  justify-content: space-between;
}

.three_skill div span {
  color: rgb(148, 163, 184);
}

.three_skill progress {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  background-color: #1c2431;
}

/* 프로그레스 바 내부 색상 */
.three_skill progress::-webkit-progress-bar {
  background-color: #1c2431;
  border-radius: 6px;
}

.three_skill progress::-webkit-progress-value {
  background-image: linear-gradient(to right, #3b82f6, #9333ea);
  border-radius: 6px;
}

.three_skill progress::-moz-progress-bar {
  background-image: linear-gradient(to right, #3b82f6, #9333ea);
  border-radius: 6px;
}

/* 네번째 섹션 */

#four {
  background: #020617;
}

.four_title {
  text-align: center;
  color: rgb(203, 213, 225);
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
  padding: 50px 0;
}

.four_title h1 {
  color: #837ff9;
  font-size: 3rem;
}

.four_box_div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.four_box {
  width: 45%;
  background: #090f20;
  color: white;
  border-radius: 16px;
  border: 1px solid #1e293b;
}

.four_box img {
  width: 100%;
  border-radius: 12px;
}

.four_box_text {
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: rgb(203, 213, 225);
}

.four_box_text h1 {
  font-size: 24px;
  color: white;
  margin-bottom: 5px;
}

.four_box_tech {
  display: flex;
  margin: 10px 0;
  gap: 5px;
}

.four_box_tech span {
  padding: 4px 12px;
  color: rgb(203, 213, 225);
  background: rgb(30, 41, 59);
  border-radius: 20px;
  font-size: 14px;
  transition: 0.2s ease;
  cursor: pointer;
}

.four_box_tech span:hover {
  background: rgb(71, 85, 105);
}

.four_box_btn_div {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.four_box_btn_div button {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  font-size: 14px;
  gap: 5px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.four_box_btn1 {
  color: rgb(203, 213, 225);
  background: rgb(2, 8, 23);
  border: 1px solid rgb(71, 85, 105);
  transition: 0.2s ease;
}

.four_box_btn1:hover {
  background: #1e293b;
}

.four_box_btn2 {
  color: rgb(2, 8, 23);
  background: #3f7ef5;
  background: linear-gradient(
    90deg,
    rgba(63, 126, 245, 1) 0%,
    rgba(142, 55, 235, 1) 100%
  );
  border: 0;
}

.four_box_btn2:hover {
  background: linear-gradient(
    90deg,
    rgba(50, 100, 200, 1) 0%,
    rgba(110, 40, 200, 1) 100%
  );
}

/* 다섯번째 섹션 */

#five {
  background: #060b1d;
  padding-bottom: 80px;
}

.five_title {
  text-align: center;
  color: rgb(203, 213, 225);
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
  padding: 50px 0;
}

.five_title h1 {
  color: #837ff9;
  font-size: 3rem;
}

.five_title p {
  width: 93%;
  max-width: 600px;
  margin: 0 auto;
}

.five_container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
}

.five_text_div h1 {
  font-size: 24px;
  color: white;
}

.five_text_p {
  color: rgb(203, 213, 225);
  margin: 10px 0;
}

.five_contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.five_contact h1 {
  font-size: 15px;
  font-weight: 500;
}

.five_contact p {
  font-size: 18px;
  font-weight: 600;
}

.five_contact a {
  text-decoration: none;
  color: white;
}

.five_contact span {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.five_contact1 span {
  background: #112348;
}

.five_contact2 span {
  background: #271a48;
}

.five_contact3 span {
  background: #0c302a;
}

.five_contact1 {
  cursor: pointer;
}

.five_contact_div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.five_form_div {
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: #0b1123;
  border: 1px solid #1e293b;
  border-radius: 20px;
  width: 95%;
  max-width: 500px;
  box-sizing: border-box;
}

.five_form_div input,
.five_form_div textarea {
  background: #020817;
  border: 1px solid #475569;
  color: rgb(203, 213, 225);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.five_form_div textarea {
  height: 100px;
  resize: none;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.five_form_send {
  padding: 12px 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  background: #3f7ef5;
  background: linear-gradient(
    90deg,
    rgba(63, 126, 245, 1) 0%,
    rgba(142, 55, 235, 1) 100%
  );
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.five_form_send:hover {
  background: linear-gradient(
    90deg,
    rgba(50, 100, 200, 1) 0%,
    rgba(110, 40, 200, 1) 100%
  );
}

.mobile_menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 64px;
  right: 0;
  width: 100vw;
  background: #020617ee;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  padding: 20px 0 10px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  gap: 0;
}

.mobile_menu a {
  color: rgb(203, 213, 225);
  text-decoration: none;
  padding: 15px 0;
  font-size: 1.2rem;
  text-align: center;
  transition: background 0.15s;
  display: block;
  cursor: pointer;
}

.mobile_menu a:hover {
  background: #1e293b;
  color: #fff;
}

.mobile_menu.open {
  display: flex;
  animation: mobileMenuDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mobileMenuDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 865px) {
  .header_menu {
    display: none;
  }
  .header_burger {
    display: block;
  }
  .mobile_menu {
    display: none;
  }
  .mobile_menu.open {
    display: flex;
  }
}

@media (min-width: 866px) {
  .header_burger {
    display: none !important;
  }
  .mobile_menu {
    display: none !important;
  }
}

@media (max-width: 865px) {
  .header_menu {
    display: none;
  }
  .one_container h1 {
    font-size: 3rem;
  }
  .one_container p {
    font-size: 1.2rem;
  }
  .two_container {
    flex-direction: column;
    align-items: center;
  }
  .three_box_div {
    flex-direction: column;
    align-items: center;
  }
  .five_container {
    flex-direction: column;
    align-items: center;
  }
  .four_box_div {
    flex-direction: column;
    align-items: center;
  }
  .five_text_div {
    width: 95%;
    max-width: 95%;
  }
  .five_form_div {
    width: 95%;
    max-width: 95%;
  }
  .four_box {
    width: 95%;
  }
  .three_box {
    max-width: 95%;
  }
  .two_box {
    max-width: 95%;
  }
  .two_title h1,
  .three_title h1,
  .four_title h1,
  .five_title h1 {
    font-size: 2.5rem;
  }
  .two_title p,
  .three_title p,
  .four_title p,
  .five_title p {
    font-size: 1rem;
  }
}

@media (max-width: 630px) {
  .one_container h1 {
    font-size: 2.3rem;
  }
  .one_container p {
    width: 95%;
    font-size: 0.9rem;
    margin: 0 auto;
  }
  .one_btn_container {
    flex-direction: column;
    align-items: center;
  }
  .one_btn {
    width: 95%;
    max-width: 150px;
    font-size: 0.72rem;
  }
  .one_sns_container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .five_contact div h1 {
    font-size: 0.9rem;
  }
  .five_contact div p {
    font-size: 0.9rem;
  }
  .two_title h1,
  .three_title h1,
  .four_title h1,
  .five_title h1 {
    font-size: 2rem;
  }
  .two_title p,
  .three_title p,
  .four_title p,
  .five_title p {
    font-size: 0.9rem;
    width: 95%;
    margin: 0 auto;
  }
}
