* {
  font-family: "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Noto Sans KR", sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans KR", sans-serif;
}

h1 {
  margin: 0;
} 

a {
  color: #000;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.gnb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px; 
}

.gnb-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain; 
}

.gnb-list ul {
  display: flex;
  justify-content: flex-start;
  align-items: center; 
}

.gnb-list li a {
  padding: 0 12px;
  transition: all 300ms ease-in-out; 
}

.gnb-list li a:hover {
  color: #8c8d96; 
}

.project {
  max-width: 1680px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 40px;
}

.item-box {
  position: relative;
  width: 30.3%;
  margin: 1.5%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 5px 5px 10px 5px #ccc;
}

.item-box-img { 
  height: 100%;

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

.item-box-title {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .7);
  transform: translateY(-400px);
  transition: all 400ms ease-in-out;

  h1 {
    padding: 30px 0 0 30px;
    color: #fff;
  }

  p {
    color: #fff;
    padding-left: 34px;
    margin-top: 8px;
  }
}

.item-box:hover .item-box-title {
  transform: translateY(0);
}

.item-box-skills {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0 0 30px;
  text-align: center;

  li {
    min-width: 86px;
    margin: 8px 8px 0 0;
    padding: 12px;
    color: #fff;
    border-radius: 30px;
    border: 1px solid #fff;
  }
}

@media screen and (max-width : 1000px) {
  .item-box {
    width: 47%;
  }
}

@media screen and (max-width : 768px) {
  .gnb {
    padding: 20px;
  }

  .gnb-logo img {
    width: 32px;
    height: 32px;
  }

  .gnb-list li a {
    padding: 0 8px; 
  }
  
  .project {
    padding: 20px;
  }

  .item-box {
    width: 100%;
    min-width: 320px;
    height: 300px;
  }

  .item-box:not(:first-child) {
    margin-top: 22px;
  }
}
