style.css 1.46 KB
@font-face {
    font-family: 'Noto Sans KR', sans-serif;
    src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap');
    font-weight: normal;
    font-style: normal;
  }
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 10px;
    font-family: 'Noto Sans KR', sans-serif;
  }
  
  nav {
    /* background-color: #e69a06; */
  }
  
  .nav-container {
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-title {
    font-size: 2.5rem;
    color :rebeccapurple;
  }
  
  .nav-contact {
    font-size: 1.5rem;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color :lightslategray;
  }
  
  .category-title {
    font-size: 2rem;
  }
  
  .category-item {
    width: 25%;
    height: 5rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.6rem;
  }
  
  .category-item:hover {
    color: #e69a06;
    cursor: pointer;
  }
  
  .inner {
    padding: 0 1.5rem;
  }
  
  @media all and (min-width: 1024px) {
    .inner {
      max-width: 1024px;
      margin: 0 auto;
    }
  }
  
  /* 카카오맵 CSS */
  
  body {
    height: 100vh;
  }
  
  nav {
    height: 59px;
  }
  
  main {
    padding-top: 1.5rem;
    height: calc(100% - 59px);
    display: flex;
    flex-direction: column;
  }
  
  #map {
    flex-grow: 1;
    width: 100%;
    height: 100%;
  }