html {
  scroll-behavior: smooth;
}
:root {
  --orange-color: #ff6933;
  --title-text-color: #cacaca;
}
body {
  background-color: #313444;
}
main {
  margin: auto;
  width: 100%;

  border-radius: 3px;
  /* background: #ffffff7d; */
}
main > section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
main > section section section {
  margin-top: 100px;
  width: 50%;
  padding-top: 30px;
}
/* 헤더 */
main > header {
  display: flex;
  align-items: center;
}

main > header nav {
  width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
}

main > header nav ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* flex-direction: column; */
  /* justify-content: space-between; */
}
main > header nav ul li {
  width: 100%;
}
main > header nav ul li a {
  /* background-color: #f5ecd5; */
  /* padding: 20px 20px; */
  /* border-top-left-radius: 30px;
  border-bottom-left-radius: 30px; */
  display: block;
  text-align: center;
  width: 100%;
  color: #727272;
  /* border: 1px solid #ccc; */
  box-sizing: border-box;
  /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; */
}

nav ul li a.active {
  transition: 0.5s;
  background-color: #bfd6c7;
  color: #fff;
  font-weight: bold;
  border-right: 1px solid #ccc;
}

.homeNav {
  color: darkblue;
}

/* 짧은 자기 소개 */
main > section section.aboutWrap {
  height: 100vh;
  width: 100%;
  display: flex;
  margin-top: 0;
  align-items: center;
  justify-content: center;
  /* background: url(../img/mainBackImg.svg) no-repeat center center;
  background-size: cover; */
  position: relative;
}
main > section section.aboutWrap > div {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translateY(-50%);
}
.introduceTitle p {
  font-size: 2.2rem;
  line-height: 1.8;
  text-align: center;
}
.introduceTitle b {
  color: var(--orange-color);
}
.introduceTitle p:last-child {
  margin-top: 20px;
  font-size: 1.8rem;
  color: var(--title-text-color);
}
.rightImg {
  position: absolute;
  right: 0;
  top: 5%;
}
.leftImg {
  position: absolute;
  bottom: 0;
  left: 0;
}
.aboutWrap h4 {
  margin-bottom: 10px;
  font-size: 5rem;
}
.aboutWrap h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: right;
}
.aboutWrap p {
  font-size: 1.7rem;
  text-align: right;
}

section h2 {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 30px;
  font-size: 1.8rem;
  border-bottom: 1px solid var(--orange-color);
}
section h2::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--orange-color);
  margin: 10px;
}

/*  공통 텍스트 */
.commonTextWrap p {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.commonTextWrap h4 {
  font-size: 1.8rem;
  color: var(--title-text-color);
  margin-bottom: 1.5rem;
}
.commonTextWrap:last-child {
  margin-top: 70px;
}

/* 경력 사항 */
.careerWrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.careerWrap > .careerInfo p {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.careerWrap > .careerInfo p::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  margin: 10px;
}

/* 포트폴리오 */
.portfolioWrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}
.portfolioContent {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 5px;
  padding: 10px;
  width: 48%;
  cursor: pointer;
}
.portfolioContent:hover {
  background-color: #1d202e;
}
.portfolioContent > img {
  width: 100%;
  border-radius: 5px;
}
.portfolioContent h4 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.portfolioContent p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.portfolioContent div {
}
.portfolioContent div img {
  background-color: #fff;
  border-radius: 10px;
  padding: 5px;
}
.projextTitle {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
}
.projextTitle p {
  margin-bottom: 0;
  margin-left: 10px;
  border-radius: 5px;
  padding: 5px 10px;
  background-color: var(--orange-color);
}
.portfolioContent span {
  display: block;
  font-size: 1rem;
  margin-bottom: 30px;
  height: 70px;
}

/* 푸터 */
footer.footerWrap {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 150px;
  margin-bottom: 100px;
}

footer.footerWrap > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer.footerWrap > div p {
  font-size: 1.5rem;
  margin-left: 20px;
}
footer.footerWrap > div a {
  display: inline-block;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--title-text-color);
  margin-bottom: 20px;
}

footer h4 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 40px;
}
footer p {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}
footer span {
  display: block;
  text-align: center;
  color: var(--title-text-color);
}

/* 포트폴리오 모달탕 */
aside.portfolioPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #00000092;
  width: 100%;
  height: 100%;
  display: none;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}
aside.portfolioPopup > div {
  /* border: 1px solid var(--title-text-color); */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 5px;
  width: 80%;
  padding: 50px;
  max-height: 80%;
  overflow: auto;
  background-color: #313444;
}
aside.portfolioPopup > div::-webkit-scrollbar {
  width: 5px;
  background-color: #b7b7b7;
}
aside.portfolioPopup > div::-webkit-scrollbar-thumb {
  background-color: #494c5c;
  border-radius: 5px;
}
.portfolioPopupTitle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.portfolioPopupTitle h3 {
  font-size: 1.8rem;
}
.portfolioPopupTitle button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 5px;
}
.portfolioPopupTitle button svg {
  fill: #fff;
  width: 20px;
}
.portfolioPopupInfo {
  margin-bottom: 20px;
}
.portfolioPopupInfo span:last-child {
  display: inline-block;
  margin-top: 10px;
}
.portfolioPopupCommon h4 {
  color: var(--title-text-color);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 700;
}
.portfolioPopupCommon a,
.portfolioPopupCommon span {
  font-size: 1.2rem;
  display: block;
}
.portfolioPopupDetail.portfolioPopupCommon p {
  font-size: 1.2rem;
  color: #fff;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 30px;
}
.portfolioPopupDetail span {
  margin-bottom: 10px;
  margin-top: 10px;
  line-height: 30px;
}
.portfolioPopupCommon a {
  text-align: center;
  border-bottom: 1px solid var(--title-text-color);
}
.portfolioPopupContent {
  display: flex;
  align-items: center;
}
.portfolioPopupContent > div:not(:last-child) {
  margin-right: 20px;
}
.portfolioPopupContent > div span {
  text-align: center;
}
/* 포트폴리오 모달창 이미지 */
.portfolioPopupImg img {
  width: 80%;
  margin-left: 0;
}
.portfolioPopupImg img.goTravelImg {
  width: 50%;
}
/* 배경이미지 */
.sectionWrap {
  width: 100%;
  background: url(../img/backimg.svg) no-repeat center center;
  background-size: cover;
  /* background-attachment: fixed; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
