body {
  width: 100%;
  top: 0;
  margin: 0;
  padding: 0;
}

#logo {
  width: 80px;
  height: auto;
  position: absolute;
  top : 10px;
  left : 20px;
}

.banner {
  margin-top: 0px;
  background-image : url("../img/sample1.png");
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  height: 200px;
  position: relative;
}
.banner li {
  border-radius: 30%;
  transition: all 0.3s ease 0s;
}

.banner li:hover {
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.6);
}

.menu {
  display: inline-block;
  text-decoration: none;
  color: #8a8888;;
  list-style-type: none;
  font-size: x-large;
  margin-top: 70px;
  margin-left: 40px;
  margin-right: 40px;
}

.menu_active {
  display: inline-block;
  text-decoration: none;
  color: black;
  font-weight: bold;
  list-style-type: none;
  font-size: xx-large;
  margin-top: 70px;
  margin-left: 40px;
  margin-right: 40px;
}

ul {
  margin-top: 0;
  margin-bottom: 0;
  list-style-type: none;
  text-align: center;
  position: relative;
}

.gnb_menu {
  margin-top : 35px;
  text-decoration: none;
  color: white;
  font-size: large;
  font-weight: bold;
  display: inline-block;
}

.gnb {
  text-align: center;
  background-color: rgb(0,0,0, 0.5);
  height: 100px;
}

.gnb li {
    display: inline;
    margin: 0 20px 0 0;
}

.gnb .gnb_menu {
  letter-spacing: 0;
  transition: 0.35s;
}

.gnb .gnb_menu:hover, .gnb .gnb_menu:active {
  letter-spacing: 5px;
  transition: 0.35s;
}

.gnb .gnb_menu:after {
  bottom: -10px;
}

.gnb .gnb_menu:before {
  top: -10px;
}

.gnb .gnb_menu:after, .gnb .gnb_menu:before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0);
  content: "";
  margin: 0 auto;
  display: block;
  transition: all 280ms ease-in-out;
  width: 0;
}

.gnb .gnb_menu:hover:after, .gnb .gnb_menu:hover:before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-color: #fff;
  transition: width 350ms ease-in-out;
  width: 100%;
}

.gnb .gnb_menu:hover:before {
  width: 100%;
}

.btn {
  width: 70px;
  height: 25px;
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

#login:hover, #myPage:hover {
  background-color: #2EE59D;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

#sign_up:hover, #logout:hover {
  background-color: rgb(255, 176, 225);
  box-shadow: 0px 15px 20px rgba(255, 176, 225, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

input {
  position: absolute;
}

#nim {
    color: white;
    font-size: 82%;
    position: fixed;
    margin-top: 42px;
    margin-left: 16%;
  }
  
  #login, #myPage {
  margin-top: 38px;
  margin-left: 20%;
  }
  #sign_up, #logout {
  margin-top: 38px;
  margin-left: 25%;
  }

a {
  text-decoration: none;
  color: inherit;
}

.board2_title {
  margin-bottom: 40px;
  text-align: center;
}

.board2_title p {
  margin-top: 5px;
  font-size: 1.4rem;
}
  
table {
    border-collapse: collapse;
    width: 70%;
    margin: 1rem auto;
    border: 1px solid #ddd;
    background-color: white;
  }
  
  /* 테이블 행 */
  th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    text-align: center;
  }
  
  th {
    background-color: #1b1b1b;
    color: #ddd;
  }
  
  /* 테이블 올렸을 때 */
  tbody tr:hover {
    background-color: #d3d3d3;
    opacity: 0.9;
    cursor: pointer;
  }

  .title {
    display: inline-block;
    text-decoration: none;
    color: #6e533da2;
    font-weight: bold;
    list-style-type: none;
    font-size: x-large;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
    display: inline;
}

.pagination {
  margin: 20px 0;
  padding: 0;
  text-align: center;
}

.pagination li {
  display: inline;
  margin-right: 5px;
}

.pagination li a {
  display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  border-radius: 50%;
}

.pagination li a:hover {
  background-color: #f2f2f2;
}

.pagination .active a {
  background-color: rgb(0,0,0, 0.5);
  color: #fff;
}

.bt_wrap {
  position: relative;
  display: inline;
  text-align: right;
  margin-right: 15.5%;
  float: right;
  top : -54px;
}

.bt_wrap a {
  width: 100px;
  height: 30px;
  display: inline-block;
  border: 1px solid #000;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
}

.bt_wrap a.on {
  background: white;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding-top : 7px;
  transition: all 0.3s ease 0s;
}

.bt_wrap a.on:hover {
  background-color: black;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

  /* .paging_no a {
    text-align: center;
  } */
  /* 테이블 비율
  th:nth-child(1),
  td:nth-child(1) {
    width: 15%;
  }
  
  th:nth-child(2),
  td:nth-child(2) {
    width: 55%;
  }
  
  th:nth-child(3),
  td:nth-child(3) {
    width: 30%;
  } */