@charset "utf-8";

:root{
  --main_col0: #060064;
  --main_col1: #0037ff;
  --ic_size: 36px;
}

@media (orientation: landscape){
  :root{
    --main_width: 500px;
  }
}

@media (orientation: portrait){
  :root{
    --main_width: 90%;
  }
}

html{
  touch-action: manipulation;
}

body{
  -webkit-text-size-adjust: 100%;
  width: 100%;
  min-width: 350px;
  margin: 0;
  font-size: 16px;
  font-family: sans-serif;
}

p{
  padding: 0 3px 0 3px;
}

button{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#wall{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  background-color: #f0f0f0;
}

#main{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 50px;
  overflow: scroll;
}

#logo{
  width: 80%;
  max-width: 252px;
  height: 100px;
  background-image: url(logo_grad.gif);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 10px auto 0px auto;
}

.tab_col0, #cat_labels_box{
  background-color: var(--main_col0) !important;
}

.tab_col1{
  background-color: var(--main_col1);
}

.tab_icons{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.2s;
}

.tab_icons_sel{
  transform: translate(-50%, -50%) scale(125%) !important;
}

#ic_new, #ic_new::before, #ic_new::after, #ic_app, #ic_app::before, #ic_web, #ic_web::before, #ic_about, #ic_about::before, #ic_about::after{
  width: var(--ic_size);
  height: var(--ic_size);
  border: none;
  margin: 0;
}
#ic_new::before, #ic_new::after, #ic_app::before, #ic_web::before, #ic_about::before, #ic_about::after{
  content: "";
  display: block;
  background-color: white;
}
#ic_new::after, #ic_about::after{
  transform: translate(0, calc(var(--ic_size) * -1));
}

#ic_new::before{
  clip-path: polygon(41% 5%, 41% 71%, 59% 71%, 59% 5%);
}
#ic_new::after, #ic_about::after{
  clip-path: polygon(41% 77%, 41% 95%, 59% 95%, 59% 77%);
}

#ic_app::before{
  clip-path: polygon(5% 5%, 5% 41%, 17% 41%, 17% 29%, 29% 29%, 29% 23%, 17% 23%, 17% 11%, 29% 11%, 29% 41%, 35% 41%, 35% 71%, 47% 71%, 47% 41%, 59% 41%, 59% 53%, 47% 53%, 47% 59%, 95% 59%, 95% 83%, 77% 83%, 77% 77%, 89% 77%, 89% 65%, 77% 65%, 77% 95%, 65% 95%, 65% 35%, 35% 35%, 35% 5%);
}

#ic_web::before{
  clip-path: polygon(5% 5%, 5% 41%, 35% 41%, 35% 65%, 65% 65%, 65% 95%, 95% 95%, 95% 71%, 89% 71%, 89% 89%, 77% 89%, 77% 83%, 89% 83%, 89% 77%, 77% 77%, 77% 71%, 89% 71%, 89% 65%, 65% 65%, 65% 59%, 47% 59%, 47% 53%, 65% 53%, 65% 47%, 47% 47%, 47% 41%, 65% 41%, 65% 35%, 41% 35%, 41% 5%, 35% 5%, 35% 29%, 29% 29%, 29% 11%, 23% 11%, 23% 29%, 17% 29%, 17% 5%);
}

#ic_about::before{
  clip-path: polygon(5% 5%, 5% 41%, 23% 41%, 23% 23%, 77% 23%, 77% 41%, 41% 41%, 41% 71%, 59% 71%, 59% 59%, 95% 59%, 95% 5%);
}

.hidden{
  display: none;
}

.boxes{
  width: var(--main_width);
  min-width: 300px;
  border: 2px solid var(--main_col0);
  background-color: white;
  margin: 50px auto 0 auto;
}

#cat_box{
  margin-top: 100px;
}

#cat_tabs_box{
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0;
  background-color: var(--main_col1);
}

#cat_labels_box{
  display: flex;
  justify-content: center;
  width: 100%;
  height: 32px;
  color: white;
  margin: 0;
  border: none;
  box-sizing: border-box;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.cat_labels{
  margin: auto;
}

.cat_tabs{
  position: relative;
  width: 100%;
  color: white;
  margin: 0;
  font-size: 20px;
  border: none;
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.sections{
  display: flex;
  width: 100%;
  height: 48px;
  padding: auto;
  background-color: #e0e0e0;
  font-size: 18px;
  font-weight: 600;
}
.sections:nth-child(n+2){
  margin-top: 2em;
}

.sec_labels{
  margin: auto 0 auto 0;
}

.my_img{
  width: 200px;
  height: 200px;
  background-image: url(my_img.png);
  margin: 20px auto 20px auto;
}

.my_name{
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

#copyright{
  height: 50px;
  margin: 100px auto 0 auto;
  text-align: center;
}
