@charset "UTF-8";
/* CSS Document */
a.link {
  font-size: 1.6rem;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em; }

ul.demo1 li:nth-child(1) a.link-flat {
  overflow: hidden;
  padding: 1rem 6rem;
  color: #fff;
  background: #000;
  position: relative; }
  ul.demo1 li:nth-child(1) a.link-flat::after {
    content: '';
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
    padding-right: 5px;
    color: #fff;
    position: absolute;
    right: 10px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out; }
  ul.demo1 li:nth-child(1) a.link-flat span {
    position: relative; }
  ul.demo1 li:nth-child(1) a.link-flat:hover {
    background: #0090d5; }
  ul.demo1 li:nth-child(1) a.link-flat:hover::after {
    right: 0; }

ul.demo2 li:nth-child(1) a.link-flat {
  overflow: hidden;
  padding: 1rem 6rem;
  color: #fff;
  background: #000;
  position: relative; }
  ul.demo2 li:nth-child(1) a.link-flat::after {
    content: '';
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
    padding-right: 5px;
    color: #fff;
    position: absolute;
    right: 10px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out; }
  ul.demo2 li:nth-child(1) a.link-flat span {
    position: relative; }
  ul.demo2 li:nth-child(1) a.link-flat::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    background: #0090d5; }
  ul.demo2 li:nth-child(1) a.link-flat:hover::before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%); }
  ul.demo2 li:nth-child(1) a.link-flat:hover::after {
    right: 0; }

ul.demo2 li:nth-child(2) a.link-flat {
  overflow: hidden;
  padding: 1rem 6rem;
  color: #fff;
  background: #000;
  position: relative; }
  ul.demo2 li:nth-child(2) a.link-flat::after {
    content: '';
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
    padding-right: 5px;
    color: #fff;
    position: absolute;
    right: 10px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out; }
  ul.demo2 li:nth-child(2) a.link-flat span {
    position: relative; }
  ul.demo2 li:nth-child(2) a.link-flat::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 500%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-65%) translateY(-70%) rotate(145deg);
    transform: translateX(-65%) translateY(-70%) rotate(145deg);
    background: #0090d5; }
  ul.demo2 li:nth-child(2) a.link-flat:hover::before {
    -webkit-transform: translateX(-43%) translateY(-25%) rotate(135deg);
    transform: translateX(-43%) translateY(-25%) rotate(135deg); }
  ul.demo2 li:nth-child(2) a.link-flat:hover::after {
    right: 0; }

ul.demo2 li:nth-child(3) a.link-flat {
  overflow: hidden;
  padding: 1rem 6rem;
  color: #fff;
  background: #000;
  position: relative; }
  ul.demo2 li:nth-child(3) a.link-flat::after {
    content: '';
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 900;
    padding-right: 5px;
    color: #fff;
    position: absolute;
    right: 10px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out; }
  ul.demo2 li:nth-child(3) a.link-flat span {
    position: relative; }
  ul.demo2 li:nth-child(3) a.link-flat::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-100%) translateY(-25px);
    transform: translateX(-100%) translateY(-25px);
    background: #0090d5;
    border-radius: 50%; }
  ul.demo2 li:nth-child(3) a.link-flat:hover::before {
    width: 400px;
    height: 400px;
    -webkit-transform: translateX(-1%) translateY(-175px);
    transform: translateX(-1%) translateY(-175px); }
  ul.demo2 li:nth-child(3) a.link-flat:hover::after {
    right: 0; }

ul.demo2 li:nth-child(4) a.link-flat {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 1rem 6rem;
  color: #fff;
  background: #000;
  position: relative; }
  ul.demo2 li:nth-child(4) a.link-flat::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    transition: 0.5s;
    background: linear-gradient(45deg, #0090d5 0%, black 100%); }
  ul.demo2 li:nth-child(4) a.link-flat::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    left: 0;
    top: 0;
    background: linear-gradient(45deg, black 0%, #0090d5 100%); }
  ul.demo2 li:nth-child(4) a.link-flat:hover::before {
    opacity: 0; }

.block-h80 {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center; }

ul.demo3 li:nth-child(1) .square-up {
  font-size: 2.5rem;
  background: #fff;
  color: #000;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #000;
  transition: 0.3s; }
  ul.demo3 li:nth-child(1) .square-up div {
    display: block;
    margin-top: 10px;
    width: 20px;
    height: 16px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(45deg); }
  ul.demo3 li:nth-child(1) .square-up:hover {
    box-shadow: 0 2px 10px -6px rgba(0, 0, 0, 0.5), 0 3px 10px -4px rgba(0, 0, 0, 0.2);
    background: #000;
    color: #fff; }
    ul.demo3 li:nth-child(1) .square-up:hover div {
      border-top: 2px solid #fff;
      border-left: 2px solid #fff; }

ul.demo3 li:nth-child(2) .circle-up {
  font-size: 2.5rem;
  background: #fff;
  color: #000;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #000;
  border-radius: 50%;
  transition: 0.3s; }
  ul.demo3 li:nth-child(2) .circle-up:hover {
    box-shadow: 0 2px 10px -6px rgba(0, 0, 0, 0.5), 0 3px 10px -4px rgba(0, 0, 0, 0.2);
    background: #000;
    color: #fff; }

ul.demo3 li:nth-child(3) .arrow-up {
  display: flex;
  justify-content: center;
  padding-left: 3rem;
  height: 50px;
  width: 65px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 2rem;
  color: #737373;
  transition: 0.3s; }
  ul.demo3 li:nth-child(3) .arrow-up::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
    transition: 0.3s; }
  ul.demo3 li:nth-child(3) .arrow-up::after {
    content: "";
    display: block;
    position: absolute;
    height: 50px;
    width: 65px;
    top: -1px;
    right: 1px;
    border-top: solid 1px;
    transition: 0.3s; }
  ul.demo3 li:nth-child(3) .arrow-up:hover::before {
    transform: rotate(35deg) translateX(-6px) translateY(5px); }
  ul.demo3 li:nth-child(3) .arrow-up:hover::after {
    transform: translateX(-8px); }

ul.demo3 li:nth-child(4) .simple-up {
  width: 40px;
  background: none;
  color: #000;
  border-top: 3px solid #000;
  display: block; }
  ul.demo3 li:nth-child(4) .simple-up::before {
    display: none; }
  ul.demo3 li:nth-child(4) .simple-up::after {
    content: "↑";
    display: block;
    text-align: center;
    padding-top: 0.5rem;
    font-size: 30px;
    transition: 0.3s; }
  ul.demo3 li:nth-child(4) .simple-up:hover::after {
    transform: translateY(-8px); }

ul.demo3 li:nth-child(5) .font-up {
  font-size: 1.6rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #000;
  transition: 0.3s; }
  ul.demo3 li:nth-child(5) .font-up:hover {
    box-shadow: 0 2px 10px -6px rgba(0, 0, 0, 0.5), 0 3px 10px -4px rgba(0, 0, 0, 0.2);
    background: #fff;
    color: #000; }

article ul.demo3 {
  margin-top: 10rem; }
