html {
  font-size: 1px;
  background: #ececec;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  width: 100%;
  font-size: 16rem;
}

* {
  padding : 0;
  margin: 0;
  box-sizing: border-box;
  word-break: keep-all;
}

h1 {
  font-size: 36rem;
  padding: 15rem 0;
}

h3 {
  padding: 10rem 0;
}

strong {
  line-height: 40rem;
}

ul {
 list-style: none;
}

a {
  text-decoration: none;
  color:inherit;
  font-size: inherit;
}

a:hover {
  color:red;
}

a:active {
  color:yellow;
}

.wrap {
  min-height: 100%;
width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #f3f0eb;
}

.content {
  max-width: 1400px;
  padding: 10rem;
  margin: auto;
}

.ctg > ul:hover {
  background: #ccffe7;
  transition: 0.5s;
}

 .ctg > ul:hover > #modify_btn {
   visibility: visible;
 }

li {
  text-align: left;
}

header > h1 {
  letter-spacing: 10rem;
}

header input {
  font-size: 20rem;
}

nav {
  position: sticky;
  top:0;
  z-index: 999;
}

nav > ul {
  width: 100%;
  margin: 15rem 0 0;
  background: #00bcd4;
  border: 0;
  color:white;
  padding: 10rem;
}

nav li {
  display: inline;
  font-size: 20rem;
  padding: 0 10rem;
}

.ctg {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 2px #867e72;
  background-color: white;
  margin: 15rem auto;
  padding: 5rem;
}

#linktitle {
  color: #9e9a08;
}

.ctg:hover {
  transition: 0.5s;
  box-shadow: 0 0 3px #f90000;
}


.ctg_subtitle {
font-size: 20rem;
color:#f44336;
}

.ctg > ul {
  border: 1rem solid gray;
  width: 310rem;
  padding: 15rem;
  display: inline-block;
  margin: 20rem 10rem;
  vertical-align: middle;
  border-radius: 8px;
  box-shadow: 0 0 2px #867e72;
  background-color: white;
}

footer {
  background: #232323;
  color : white;
  padding: 30px;
}

input:focus {outline:2px solid #d50000;}

#urlreg {
top:2rem;
right: 10rem;
  position: absolute;
  font-size: 16rem;
  color:black;
  opacity: 0;
  }

.ctg:hover #urlreg {
transition: 0.5s;
opacity: 1;

}

#modify_btn {
    visibility: hidden;
    float: right;
    margin-top: -15px;
    font-size: 12rem;
    color:#bd9252;
}

#ctg_reg_btn, #url_reg_btn {
  visibility: hidden;
}

#new {
  color: red;
  float: left;
  margin-right: 10rem;
  margin-top: -5rem;
  font-weight: bold;
  font-size: smaller;
  color:#00bcd4;
}
