@import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300';

/*
 FORMATTING FOR CODEPEN
*/
a {
  display:block;
  color: #0068b7 !important;
  text-decoration-line: none;
}

.col {
  height: 100%;
  width: 256px;
}


div[class*=container] {
  text-align: center;
  height: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
  /*margin: 0 30px 0 80px*/

}

/*.container-1 { background: #0b4eaa; }*/

/*
 BUTTON STYLING
*/



.btn {
  position: relative;
  color: #0068b7;
  width: 256px;
  height: 90px;
  transition: all 0.6s;
  line-height: 1.5em;
  margin: 10px 30px;
}

span {
    transition: all 0.6s;
    transform: scale(1, 1);
    display: block;
    padding-top: 40px;
    font-size: 105%;
  }

.btn::before, .btn::after {
  content: '';
  position: absolute;
  transition: all 0.3s;
  bottom: 0;
  left: 0;
  top: 20px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-one::before {
    left: 4px;
    z-index: 1;
  
  opacity: 0;
  background: rgba(0, 104, 186, 0.1);
  transform: scale(0.1, 1);

}

.btn-one:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}

.btn-one::after {
  transition: all 0.3s;
  border: 1px solid rgba(0, 104, 163, 0.5);
}

.btn-one:hover::after {
  transform: scale(1, .1);
  opacity: 0;
}

.home {
  color: #333;
  font-size: 120%;
}

.home:hover {
  opacity: 0.6;
  transition: 0.5s;
}

@media (max-width: 768px) {

    div[class*=container] {
        text-align: center;
        display: initial;
        justify-content: center;
        align-items: center;
      }
      
      .btn {
        position: relative;
        color: #0068b7;
        width: 256px;
        height: 120px;
        transition: all 0.6s;
        line-height: 1.5em;
        /*margin-left: 35px;*/
        margin: 0 auto;
      }

      span {
        transition: all 0.6s;
        transform: scale(1, 1);
        display: block;
        padding-top: 30px;
        font-size: 105%;
      }

      .btn::before, .btn::after {
        content: '';
        position: absolute;
        transition: all 0.3s;
        bottom: 0;
        left: 0;
        top: 10px;
        width: 100%;
        height: 80%;
        z-index: 1;
      }

}