<style type="text/css">
body{overflow-x:hidden;   /* 가로 스크롤바 없애기 */}
</style>


<style>
    html { overflow-y: scroll; }
</style>
<style type="text/css"> 
 <!-- 
a {text-decoration:none} 
 --> 
 </style>

<style>
* {box-sizing: border-box}
/* Set height of body and the document to 100% */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial;
}
/* Style tab links */
.tablink {
  background-color: #555;
  color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 25%;
}
.tablink:hover {
  background-color: #777;
}
/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: white;
  display: none;
  padding: 100px 20px;
  height: 100%;
}
#Home {background-color: red;}
#News {background-color: green;}
#Contact {background-color: blue;}
#About {background-color: orange;}
</style>
<style>
header{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
#logoarea{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2; /* width of logo area - 2/10 */
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: white;
}
#logoarea img{
  width: 50px; /* width of logo */
	border-width: 0;
  height: auto;
}
.navmenu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 4;
      -ms-flex: 4;
          flex: 4; /* width of nav menu area - 4/10 */
}
.navmenu li{
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
.navmenu li a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 40px; /* height of links */
  padding: 0 10px;
  color: black;
  text-transform: uppercase;
  font-weight: bold;
  background: orange; /* default background color */
  text-decoration: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* center text horizontally */
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* center text vertically */
  box-shadow: 0-10px 3px rgba(0,0,0,.1) inset;
  transition: all .3s;
}
.navmenu li:nth-of-type(2) a{
  background: #FF0080;
}
.navmenu li:nth-of-type(3) a{
  background: #C1E2DE;
}
.navmenu li:nth-of-type(4) a{
  background: #90D531;
}
.navmenu li:nth-of-type(5) a{
  background: #FDE74C;
}
.navmenu li:nth-of-type(6) a{
  background: #FF0080;
}
.navmenu li:nth-of-type(7) a{
  background: #C1E2DE;
}
.navmenu li:nth-of-type(8) a{
  background: #90D531;
}
.navmenu li:nth-of-type(9) a{
  background: #FDE74C;
}
.navmenu li a:hover{
  opacity: .8;
  box-shadow: 0-10px 3px rgba(0,0,0,.2) inset, 0 15px 15px -5px gray;
  -moz-transform: rotateX(20deg);
  -webkit-transform: rotateX(20deg);
  transform: rotateX(20deg);
  -moz-transform-origin: 50% 0;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transition: all .5s;
  transition: all .3s;
}
@media (max-width: 200px){
  header{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; /* switch to vertical stacked layout */
    font-size: .9em; /* decrease font size */
  }
  
  .navmenu{
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; /* allow wrap of menu items */
  }
  .navmenu li a{
    height: 40px;
  }
}
</style>