
  display: block;
.btn-cont {
  text-align: center;
}

a:hover, a:focus {
    color: #23527c;
    text-decoration: none;
}

.btn-cont-1 {
  text-align: center;
  margin-top: 8%;
}

.btn-cont .btn {
  margin-top: 42%;
  position: relative;
  margin-left:-72%;
  padding: 10px 10px;
  border: 2px solid #1aa89c;
  color: #1aa89c;
  text-decoration: none;
  font-size: 15px;
  font-family: ubuntu;
  -webkit-font-smoothing: antialiased;
  border-radius: 5px;
}

.btn-cont-1 .btn-1 {
    position: relative;
    padding: 12px 15px;
    border: 2px solid #1aa89c;
    text-align: center;
    margin-right: 1%;
    color: #1aa89c;
    text-decoration: none;
    font-size: 15px;
    font-family: ubuntu;
    -webkit-font-smoothing: antialiased;
    border-radius: 5px;
}

.btn-cont-2 .btn-2 {
       position: relative;
    padding: 7px 15px;
    border: 2px solid #1aa89c;
    color: #1aa89c;
    text-decoration: none;
    font-size: 15px;
    font-family: ubuntu;
    -webkit-font-smoothing: antialiased;
    border-radius: 5px;
    margin-left: 80%;
}

.btn-cont .btn:hover {
  border: none;
}

.btn-cont-1 .btn-1:hover {
  border: none;
}

.btn-cont-2 .btn-2:hover {
  border: none;
}

.btn-cont .btn:hover .line-1 {
  -webkit-animation: move1 1500ms infinite ease;
          animation: move1 1500ms infinite ease;
}
.btn-cont .btn:hover .line-2 {
  -webkit-animation: move2 1500ms infinite ease;
          animation: move2 1500ms infinite ease;
}
.btn-cont .btn:hover .line-3 {
  -webkit-animation: move3 1500ms infinite ease;
          animation: move3 1500ms infinite ease;
}
.btn-cont .btn:hover .line-4 {
  -webkit-animation: move4 1500ms infinite ease;
          animation: move4 1500ms infinite ease;
}

.btn-cont-1 .btn-1:hover .line-1 {
  -webkit-animation: move1 1500ms infinite ease;
          animation: move1 1500ms infinite ease;
}
.btn-cont-1 .btn-1:hover .line-2 {
  -webkit-animation: move2 1500ms infinite ease;
          animation: move2 1500ms infinite ease;
}
.btn-cont-1 .btn-1:hover .line-3 {
  -webkit-animation: move3 1500ms infinite ease;
          animation: move3 1500ms infinite ease;
}
.btn-cont-1 .btn-1:hover .line-4 {
  -webkit-animation: move4 1500ms infinite ease;
          animation: move4 1500ms infinite ease;
}

.btn-cont-2 .btn-2:hover .line-1 {
  -webkit-animation: move1 1500ms infinite ease;
          animation: move1 1500ms infinite ease;
}
.btn-cont-2 .btn-2:hover .line-2 {
  -webkit-animation: move2 1500ms infinite ease;
          animation: move2 1500ms infinite ease;
}
.btn-cont-2 .btn-2:hover .line-3 {
  -webkit-animation: move3 1500ms infinite ease;
          animation: move3 1500ms infinite ease;
}
.btn-cont-2 .btn-2:hover .line-4 {
  -webkit-animation: move4 1500ms infinite ease;
          animation: move4 1500ms infinite ease;
}

.btn-cont .line-1 {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  background-color: #1aa89c;
  left: 0;
  bottom: 0;
}
.btn-cont .line-2 {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #1aa89c;
  left: 0;
  top: 0;
}
.btn-cont .line-3 {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  background-color: #1aa89c;
  right: 0;
  top: 0;
}
.btn-cont .line-4 {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color:#1aa89c;
  right: 0;
  bottom: 0;
}

.btn-cont-1 .line-1 {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  background-color: #1aa89c;
  left: 0;
  bottom: 0;
}
.btn-cont-1 .line-2 {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #1aa89c;
  left: 0;
  top: 0;
}
.btn-cont-1 .line-3 {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  background-color: #1aa89c;
  right: 0;
  top: 0;
}
.btn-cont-1 .line-4 {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color:#1aa89c;
  right: 0;
  bottom: 0;
}


.btn-cont-2 .line-1 {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  background-color: #1aa89c;
  left: 0;
  bottom: 0;
}
.btn-cont-2 .line-2 {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #1aa89c;
  left: 0;
  top: 0;
}
.btn-cont-2 .line-3 {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  background-color: #1aa89c;
  right: 0;
  top: 0;
}
.btn-cont-2 .line-4 {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color:#1aa89c;
  right: 0;
  bottom: 0;
}


@-webkit-keyframes move1 {
  0% {
    height: 100%;
    bottom: 0;
  }
  54% {
    height: 0;
    bottom: 100%;
  }
  55% {
    height: 0;
    bottom: 0;
  }
  100% {
    height: 100%;
    bottom: 0;
  }
}

@keyframes move1 {
  0% {
    height: 100%;
    bottom: 0;
  }
  54% {
    height: 0;
    bottom: 100%;
  }
  55% {
    height: 0;
    bottom: 0;
  }
  100% {
    height: 100%;
    bottom: 0;
  }
}
@-webkit-keyframes move2 {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes move2 {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@-webkit-keyframes move3 {
  0% {
    height: 100%;
    top: 0;
  }
  54% {
    height: 0;
    top: 100%;
  }
  55% {
    height: 0;
    top: 0;
  }
  100% {
    height: 100%;
    top: 0;
  }
}
@keyframes move3 {
  0% {
    height: 100%;
    top: 0;
  }
  54% {
    height: 0;
    top: 100%;
  }
  55% {
    height: 0;
    top: 0;
  }
  100% {
    height: 100%;
    top: 0;
  }
}
@-webkit-keyframes move4 {
  0% {
    width: 0;
    right: 0;
  }
  55% {
    width: 100%;
    right: 0;
  }
  100% {
    width: 0;
    right: 100%;
  }
}
@keyframes move4 {
  0% {
    width: 0;
    right: 0;
  }
  55% {
    width: 100%;
    right: 0;
  }
  100% {
    width: 0;
    right: 100%;
  }
}





nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
   --c: #1aa89c;
    color: var(--c);
    font-size: 16px;
    border: 3px solid var(--c);
    border-radius: 0.5em;
    width: 11em;
    height: 3em;
    text-transform: uppercase;
    font-weight: 1000;
    font-family: Ubuntu;
    text-align: center;
    line-height: 2.5em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    margin: 1em;
    margin-left: 36%;
    margin-top: 5%;
}

nav ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--c);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

nav ul li:hover {
    color: black;
}

nav ul li:hover span {
    transform: translateY(0) scale(2);
}

nav ul li span:nth-child(1) {
    --n: 1;
}

nav ul li span:nth-child(2) {
    --n: 2;
}

nav ul li span:nth-child(3) {
    --n: 3;
}

nav ul li span:nth-child(4) {
    --n: 4;
}






 







