html {
  scroll-behavior: smooth;
}
body {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  font-family: 'Noto Sans KR', sans-serif;
  min-width: 1140px;
}
.inner {
  width: 1140px;
  position: relative;
  margin: 0 auto;
}
.inner > .title {
  font-size: 56px;
  font-weight: 700;
  padding-top: 150px;
  text-align: center;
}
a {
  text-decoration: none;
}
.btn {
  padding: 5px;
  border: 2px solid #222;
  border-radius: 4px;
  color: #333;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  background-color: #222;
  color: #fff;
}

/* HEADER */
header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.8);
}
header .inner {
  height: 72px;
}
header .header-title {
  height: 24px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  margin: auto;
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 5px;
  transition: 0.2s;
}
header .header-title:hover {
  background-color: #fff;
}
header .header-title a {
  font-size: 24px;
  font-weight: 700;
  color: #f5f5f7;
  transition: 0.2s;
}
header .header-title a:hover {
  color: #333;
}
header .menu {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 32px;
  margin: auto;
  display: flex;
  align-items: center;
}
header .menu li {
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
  transition: 0.2s;
}
header .menu li:hover {
  background-color: #fff;
}
header .menu li a {
  padding: 10px;
  font-weight: 700;
  color: #f5f5f7;
  transition: 0.2s;
}
header .menu li a:hover {
  color: #333;
}

/* MASTHED */
.masthead {
  background-image: url('../images/masthead-background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  color: #f5f5f7;
}
.masthead::before {
  content: '';
  background-color: rgba(110, 90, 80, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
}
.masthead .inner {
  height: 560px;
}
.masthead .description {
  margin-top: 64px;
  font-size: 28px;
  text-align: center;
}

/* ABOUT ME */
.about-me {
  background-color: #fbfbfd;
}
.about-me .inner {
  height: 640px;
}
.about-me .info {
  display: flex;
  flex-wrap: wrap;
  margin-top: 64px;
}
.about-me .info li {
  width: 33.3%;
  display: flex;
  padding: 20px 20px 20px 90px;
  box-sizing: border-box;
}
.about-me .info li .material-icons {
  font-size: 32px;
  line-height: 1.1;
  margin-right: 20px;
}
.about-me .info li .title {
  font-size: 28px;
}

/* PROJECTS */
.projects {
  background-color: #fde4cf;
  position: relative;
}
.projects .inner {
  height: 805px;
}
.projects .swiper {
  width: 919px;
  height: 490px;
  margin-top: 64px;
  text-align: center;
}
.projects .swiper-slide {
  padding: 0 50px 50px 50px;
  box-sizing: border-box;
}
.projects .swiper-slide img {
  height: 70%;
}
.projects .swiper-slide .btn {
  width: 130px;
  margin: 30px auto 0;
}
.projects .swiper-pagination .swiper-pagination-bullet {
  background-color: #222;
}
.projects .swiper-button-prev,
.projects .swiper-button-next {
  color: rgba(0, 0, 0, 0.5);
  transition: 0.2s;
}
.projects .swiper-button-prev:hover,
.projects .swiper-button-next:hover {
  color: #000;
}
.projects .dialog {
  position: absolute;
  top: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5%;
  box-sizing: border-box;
}
.projects .dialog.hidden {
  opacity: 0;
  display: none;
}
.projects .dialog .inner {
  background-color: #fff;
  border-radius: 10px;
  height: 660px;
  position: relative;
  padding: 0 64px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.projects .dialog .cancel {
  cursor: pointer;
  padding: 5px 10px;
  position: absolute;
  top: 32px;
  right: 64px;
}
.projects .dialog .title {
  font-size: 32px;
  padding-top: 64px;
  display: flex;
  align-items: center;
}
.projects .dialog .info .title {
  font-size: 24px;
  font-weight: 700;
  padding-top: 32px;
}
.projects .dialog .info .title .material-icons {
  font-size: 32px;
  margin-right: 8px;
}
.projects .dialog a {
  color: blue;
}
.projects .dialog a:hover {
  text-decoration: underline;
}
.projects .dialog a:active {
  color: red;
}

/* FOOTER */
footer {
  background-color: #222;
}
footer .inner {
  height: 144px;
  text-align: center;
}
footer .git-logo {
  display: inline-block;
  background-color: #fff;
  padding: 2px;
  border-radius: 32px;
  margin-top: 36px;
}
footer img {
  display: block;
  width: 48px;
}
footer .copyright {
  color: #fff;
}

/* TOP */
.btn__top {
  width: 48px;
  height: 48px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #333;
  transition: 0.2s;
  border-radius: 5px;
  display: none;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
}
.btn__top:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.btn__top .material-icons {
  font-size: 48px;
}
