@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");

:root {
  /* Color */
  --color-orange: #feb546;
  --color-yellow: #f0e3d8;
  --color-blue: #73aace;
  --color-dark-blue: #4a8ebb;
  --color-blue: #1749bf;
}

body {
  text-align: center;
  font-family: "Poppins", "Noto Sans KR", "sans-serif";
  color: #333;
  min-width: 1300px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 80px;
  line-height: 80px;
  color: #fff;
  transition: background 0.3s;
}

.header.on {
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.header h1 {
  float: left;
  font-size: 28px;
  font-weight: 600;
}
.header .navbar_menu {
  float: right;
}
.header .navbar_item {
  float: left;
  margin: 0 4px;
}

.header .navbar_item a {
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

.header .navbar_item:hover a,
.header .navbar_item.active {
  /* border: 1px solid #000; */
  /* background-color: var(--color-dark-blue); */
}

.header .navbar_toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
}

.header .navbar_toggle.on {
  visibility: visible;
  opacity: 1;
}

.header .navbar_toggle i {
  display: block;
  height: 2px;
  background-color: #000;
  margin: 6px 0;
}

/* Main */
/* Home */
.home {
  position: relative;
  background-color: #1749bf;
  background-image: url("../images/home_background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-attachment: fixed;
  height: 100vh;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: radial-gradient(
    circle at top left,
    rgba(0, 0, 0, 0) 17%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.home .wrap {
  position: relative;
  height: 100%;
}

.home .txt_wrap {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
}

.home .txt_wrap h2 {
  font-size: 85px;
  font-weight: 700;
}

.home button:hover {
  background-color: var(--color-blue);
}

/* About */
.about {
  overflow: hidden;
}

.about_wrap {
  position: relative;
  padding: 200px 50px;
}

.about_wrap h2 {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 150px;
  font-weight: 900;
  color: #1749bf;
}

.about_wrap .profile {
  width: 300px;
  height: 300px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
}

.about_wrap .profile .img_wrap {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about_wrap .profile img {
  width: 100%;
  border: 1px solid var(--color-white);
}

.about_wrap .profile_detail {
  position: relative;
  width: 800px;
  margin: auto;
}

.about_wrap .profile_detail .sub_txt {
  font-size: 150px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  text-shadow: 1px 2px 12px rgb(0 0 0 / 8%);
  position: absolute;
}

.about_wrap .profile_detail .sub_txt.txt01 {
  top: 0;
  right: -80%;
}
.about_wrap .profile_detail .sub_txt.txt02 {
  bottom: 30%;
  left: -50%;
}

.about_wrap .profile_detail .title {
  position: relative;
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  padding: 80px;
  position: relative;
  max-width: 800px;
  margin: auto;
  display: block;
  word-break: keep-all;
}

.about_wrap .profile_detail .intro_desc {
  font-weight: normal;
  font-size: 20px;
  line-height: 25px;
}

.about_wrap .profile_detail .intro_desc span {
  font-weight: bold;
}

.about_wrap .skills {
  position: relative;
}

.about_wrap .skills .skills_title {
  display: block;
  font-size: 38px;
  font-weight: 600;
  margin: 30px 0;
  color: var(--color-blue);
}

.about_wrap .skills ul li {
  width: calc((100% - 40px) / 3);
  margin-right: 20px;
  margin-bottom: 20px;
  float: left;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 0px 13px rgb(0 0 0 / 5%);
  opacity: 0;
}

.about_wrap .skills ul li:nth-child(3n) {
  margin-right: 0;
}

.about_wrap .skills ul li img {
  margin-top: 20px;
  width: 50%;
}

.about_wrap .skills ul li span {
  padding: 10px 0 20px;
  display: block;
  font-weight: 500;
}

/* I do */
.majors {
  padding: 50px;
}

.majors .major_wrap {
  margin-top: 80px;
}

.majors .major {
  float: left;
  width: 33%;
}

.major_icon {
  width: 130px;
  height: 130px;
  line-height: 130px;
  font-size: 60px;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  margin: auto;
}

.major_icon i {
  transition: 0.5s ease;
}

.major_icon:hover i {
  color: var(--color-dark-blue);
  transform: rotate(-30deg) scale(1.1);
}

.majors .txt_wrap {
  margin-top: 30px;
}

.majors .txt_wrap .major_title {
  display: block;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Work */
.work {
  overflow: hidden;
  background-color: var(--color-blue);
  color: #fff;
}

.work_wrap {
  position: relative;
  padding: 200px 50px;
}

.work_wrap > div {
  position: relative;
}

.work h2 {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 150px;
  font-weight: 900;
}

.work_wrap .sub_txt {
  font-size: 150px;
  font-weight: 700;
  white-space: nowrap;
  color: #1d4fc3;
  text-shadow: 1px 2px 8px rgb(0 0 0 / 5%);
  position: absolute;
  right: -50%;
  top: 0;
}

.work_wrap .wrap {
  position: relative;
}

.work .title {
  display: block;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

.work .img_wrap {
  float: left;
  width: 60%;
  height: 500px;
  background-color: var(--color-blue);
}

.work .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work .txt_wrap {
  position: absolute;
  right: 0;
  bottom: 50px;
  width: 40%;
  text-align-last: left;
  padding-left: 30px;
}

.work .txt_wrap em {
  display: block;
  margin-bottom: 10px;
}

.work .txt_wrap strong {
  display: block;
  color: #fff;
  margin-bottom: 20px;
  font-size: 35px;
  font-weight: 600;
}

.work .txt_wrap > span {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}

.work .work_item {
  margin-bottom: 80px;
}

.work .work_item.rev_wrap .sub_txt {
  right: auto;
  left: -50%;
}

.work .work_item.rev_wrap .img_wrap {
  float: right;
}

.work .work_item.rev_wrap .txt_wrap {
  left: 0;
  right: auto;
  padding-right: 30px;
  padding-left: 0;
}

/* Footer */
/* Contact */
footer {
  background-color: var(--color-blue);
  color: #fff;
}

footer .contact {
  padding: 0 0 100px;
}

footer .contact .title {
  display: block;
  font-size: 26px;
  margin-bottom: 30px;
  opacity: 0.8;
}

footer .contact .email {
  display: block;
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 30px;
}

footer .contact .contact_right {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

/* Arrow up */
.arrow-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 30px;
  color: var(--color-blue);
  background-color: #fff;
  border-radius: 10px;
  box-shadow: -1px 0px 10px 0px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}

.arrow-up img {
  width: 18px;
  vertical-align: 1px;
}

.arrow-up.on {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
