div,input {
    box-sizing: border-box;
}

body {
    margin:0px
}


.appname{
        font-size: 18px;
        text-decoration: none; /* 하이퍼링크 밑줄제거 */
        color: black;
    }
    /* '>':해당만, '공백':하위목록전부적용 */
    
    
    .link:visited{
        color: black;
    }
.content {
    width: 100%;
    height: 100%;
}
.header {
    width: 100%;
    height: 40px;
    background-color: brown;
    margin: auto;
    text-align: center;
    padding: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-background{
    width: 100%;
    height: 100vh;
    padding-bottom: 10px;
    background-color:white;
    /* border:1px solid black; */
    
}

  .main input[type=radio] {
      display: none;
  }
  #tab-1:checked ~ .tab label:nth-child(1),
  #tab-2:checked ~ .tab label:nth-child(2),
  #tab-3:checked ~ .tab label:nth-child(3),
  #tab-4:checked ~ .tab label:nth-child(4),
  #tab-5:checked ~ .tab label:nth-child(5),
  #tab-6:checked ~ .tab label:nth-child(6),
  #tab-7:checked ~ .tab label:nth-child(7),
  #tab-8:checked ~ .tab label:nth-child(8) {
      background-color: rgb(45, 129, 246);
    box-shadow: none;
  }
  .content > div {
      display: none;
  }
  #tab-1:checked ~ .content div:nth-child(1),
  #tab-2:checked ~ .content div:nth-child(2),
  #tab-3:checked ~ .content div:nth-child(3),
  #tab-4:checked ~ .content div:nth-child(4),
  #tab-5:checked ~ .content div:nth-child(5),
  #tab-6:checked ~ .content div:nth-child(6),
  #tab-7:checked ~ .content div:nth-child(7),
  #tab-8:checked ~ .content div:nth-child(8)  {
      display: block;
  }
  .main {
    margin: auto;
    max-width: 100%;
 /*    min-width: 500px; */
  }
  .tab {
    overflow: hidden;
    background-color: whitesmoke;
  }
  
  .tab label {
      font-size: 15px;
      cursor: pointer;
      float: left;
      width: 24%;
      min-width: 70px;
      text-align: center;
      padding: 5px 0;
      text-transform: uppercase;
      font-weight: bold;
      letter-spacing: 2px;
      user-select: none;
      -webkit-user-select: none;
      border: 1px solid black;
      height: 46%;
      justify-content: center;
      align-items: center;
      display: flex;
      margin: 0.5%;
      border-radius: 5px;
      color: black;
  }
  .content {
    min-height: 250px;
    padding-bottom: 8px;
    background-color: whitesmoke;
  }
  .content-dis{
     width: 95%;
     margin: auto;
     padding: 10px;
     line-height: 1.5;
     font-size: 17px;
     border: 2px solid black;
     border-radius: 5px;
     background-color: antiquewhite;
     
  }

  .line {
    border: 1px solid black;
    padding: 0;
    width: 100%;
    height: 150px;
    display: flex;
    margin: auto;
    
  }

  .rule-1st {
    width: 100%;
    height: 100%;
    text-align: left;
    line-height: 110%;
  }

  .rule-1st>p {
    text-indent: 16px;
    padding-top: 2px;
    margin-bottom: 2px;
  }

  .rule-2nd {
    width: 90%;
    text-align: left;
    line-height: 120%;
    margin-left: 30px;
    padding: 3px;
    font-size: 15px;
  }


  /* 토글부분 디자인요소 */

.sec-1 {
  padding: 2rem 0.85rem;
  background-color: #fff;
  margin-right: 0;
  margin-left: 0;
  display: flex;
}

.col-4 {
  padding-right: 0;
  padding-left: 0;
  flex: 0 0 33.3333%;
  max-width: 0 0 33.3333%;
  position: relative;
  min-height: 1px;
}

.col-4>h5 {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.col-8 {
  -ms-flex: 0 0 66.6666%;
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
  padding-right: 0;
  padding-left: 0;
  position: relative;
  min-height: 1px;
}

.col-8>ul {
  margin: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  line-height: 1.5;
}
.col-8>ul>li {
  float: left;
  margin-right: 0.35rem;
  display: block;
  margin-top: 7px;
  padding: 7px 1.1rem;
  border-radius: 3rem;
  background-color: #17a2b8;
  box-shadow: 2px 2px 1px rgb(0 0 0 / 20%);
}
.col-8>ul>li>a {
  text-decoration: none;
  color:white;
}
.col-8>i {
  text-align: center;
  width: 1.25em;

}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
}
li {
  display: list-item;
  text-align: -webkit-match-parent;
}

.move-page-btn {
  display: block;
  border-radius: 3rem;
}

/* 푸터부분 */
.under-bar {
  width: 100%;
  height: 70px;
  position:fixed;
  bottom: 0;
  border: 1px solid black;
  font-size: 15px;
  align-items: center;
  background-color: white;
}

.footer-1 {
  float: left;
  width: 33.3%;
  height: 100%;
  padding-top: 10px;
  text-align: center;
  border: 1px solid black;
  font-weight: bold;
  cursor:pointer;
  background-color: white;
}
.footer-1>i {
  font-size: large;
}