body {
    color: #333;
    font-family: 'Crimson Text', serif;
    margin: 0;
    padding: 3%;
}

main {
    margin: 40px;
}

h1 {
     font-size: 30px;
     margin-bottom: 40px;
}

.button-container {
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    padding: 20px;
    width: 300px;
    height: 300px;
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
    position:relative;
}

a#btn_spotify {
    display: inline-block;
    height: 50px;
    box-sizing: border-box;
    border-radius: 25px;
    margin: auto;
    margin-top: 100px;
    padding: 10px 40px 0 40px;
    background-color: #2ebd59;
    border: 2px solid #2ebd59;
    color: #fff;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: all .5s;
}

a#btn_spotify:hover {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
}

a#btn_amazon {
    display: block;
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    border-radius: 50px;
    margin: auto;
    margin-top: 75px;
    padding-top: 8px;
    background-color: #232f3e;
    color: #fff;
    text-align: center;
    font-size: 60px;
    transition: all .2s;
}

a#btn_amazon:hover {
    background-color: #fc9a18;
}

a#btn_twitter {
    display: inline-block;
    height: 40px;
    box-sizing: border-box;
    border-radius: 4px;
    margin: auto;
    margin-top: 105px;
    padding: 10px 30px 0 30px;
    background-color: #56cdf1;
    color: #fff;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-decoration: none;
}

a#btn_twitter:hover {

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2ebfec+0,28a5cb+100 */
    background: rgb(46,191,236); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(46,191,236,1) 0%, rgba(40,165,203,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  rgba(46,191,236,1) 0%,rgba(40,165,203,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  rgba(46,191,236,1) 0%,rgba(40,165,203,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ebfec', endColorstr='#28a5cb',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

a#btn_indiegogo {
    display: inline-block;
    position: relative;
    margin:auto;
    margin-top: 100px;
    padding: 8px 16px;
    background-color: #fff;
    color: #eb1478;
    font-family: 'Ubuntu', sans-serif;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -2px;
    transition: all .2s;
}

a#btn_indiegogo:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #eb1478;
    transition: all .5s;
}

a#btn_indiegogo:hover {
    color: #fff;
}

a#btn_indiegogo:hover:before {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

a#btn_indiegogo span {
    position: relative;
    z-index: 10;
}

.button-container.nike {
    position: relative;
}

.nike-logo {
    width: 110%;
    position:absolute;
    left:-5%;
    top:-20%;
    z-index: 5;
}

#nike-mask {
    transition: all 0.5 ease;
    height:120%;
    width:120%;
    top:-5%;
    right:-5%;
    border-radius: 20%;
    position: absolute;
    /* background-color: blue; */
    /* opacity: .2; */
    z-index: 100;
}

#nike-mask-lr {
    transition: all 0.5 ease;
    height:120%;
    width:80%;
    top:-5%;
    left:10%;
    border-radius: 20%;
    position: absolute;
    z-index: 100;
}

a.nike{
    z-index: 200;
    position: absolute;
    top:35%;
    right:20%;
    width:60%;
    height: 25%;
    opacity: 1;
}

.nike-target:hover #nike-mask {
    animation: swoosh .5s forwards;
    animation-iteration-count: 1;
}

.nike-target:hover #nike-mask-lr {
    animation: swoosh-lr .5s forwards;
    animation-iteration-count: 1;
}

@keyframes swoosh {
    
    0% {
        opacity: 1;
        background-color: white;
        top:0%;
        right:0%;
    }
    20% {
        top:20%;
        right:10%;
    }
    40% {
        top:50%;
        right:20%;
    }
    60% {
        top:50%;
        right:-10%;
    }
    70%{
        top:60%;
        right:-10%;
    }
    100%{
        top:-100%;
        right:-120%;
        opacity: 1;
        background-color: white;
    }
  }

@keyframes swoosh-lr {
    0% { 
        opacity: 1;
        background-color: white;
        top:-5%;
        left:20%;
    }
    75%{
        top:-5%;
        left:20%;
    }
    80%{
        left:100%;
    }
    100% {
        left: 100%;
        opacity: 1;
        background-color: white;
    }
  }

  .button-container.cn{
    position: relative;

  }
  .cn-logo{
    position:absolute;
    right:15%;
    top:-5%;
    width:65%;
    z-index: 100;
    /* opacity: .5; */
  }

  .bubbles{
    position: absolute;
    transition: all 0.5 ease;
    z-index: 0;
    right:50%;
    top:32%;
    width:30%;
  }

  .button-container.cn:hover .bubbles{
    animation: fly 0.5s forwards;
    animation-iteration-count: 1;
  }

  .button-container.cn:not(:hover) .bubbles{
    animation: return 0.5s forwards;
    animation-iteration-count: 1;
  }

  @keyframes fly {
    0%{
        right:50%;
        top:32%;
    }
    100%{
        right:65%;
        top:10%;
    }
  }

  @keyframes return {
    0%{
        right:60%;
        top:16%;
    }
    100%{
        right:50%;
        top:32%;
    }
  }

  .button-container.nerf{
    position: relative;
  }

  .nerf-logo {
    position: absolute;
    width:75%;
    top:25%;
    right:10%;
  }

.nerf:hover .nerf-logo {
    animation: nerf .5s forwards;
    animation-iteration-count: 1;
}
@keyframes nerf {
    0%{
        top:50%;
        right:100%;
    }
    100%{
        top:25%;
        right:10%;
    }
}

.tesla-logo{
    position:absolute;
    width:50%;
    top: -15%;
    right:25%;
}
.tesla:hover .tlogo{
    fill:red;
}

.harley{
    position:absolute;
    width:60%;
    top:25%;
    right:20%;
}

.harley.a{
    z-index: 1;
}

.harley.b{
    opacity: 1;
    z-index: 100;
}


.harley.b:hover{
    opacity: 0;
}

.mbg-logo {
    float: left;
    width: 50%;
    background:transparent url("https://i.imgur.com/7r91PY3.jpeg") center top no-repeat;
    background-size: 125%;
}

.mbg-logo:hover {
  background-image: url("https://media.giphy.com/media/QMkPpxPDYY0fu/giphy.gif");
}

.button-container.fitbit{
    position: relative;
}

.fitbit-logo {
    position: absolute;
    width: 80%;
    top: 20%;
    right: 12%;
}

.fitbit-logo:hover {
    animation: pulse 1.2s;
    animation-iteration-count: infinite;
}

@keyframes pulse{
    0%{transform:scale(1);}
    30%{transform:scale(1.2);}
    45%{transform:scale(1);}
    55%{transform:scale(1.05);}
    70%{transform:scale(1);}
}

.button-container.mbg{
    position:relative;
}

.mbg-logo{
    position:absolute;
    width:70%;
    right:15%;
    top:20%;
    z-index:1;
}

.square{
    position:absolute;
    height:200px;
    width:200px;
    z-index:100;
    right:2%;
    transition: all 0.5 ease;
}

.button-container.mbg:hover .square{
    animation: swipe 2s forwards;
    animation-iteration-count: 1;
}

@keyframes swipe {
    0%{
        background-color: white;
        
    }
    100%{
        transform:translate(0,100%);
        background-color: white;
    }
}

.button-container.insta{
    position: relative;
}

.insta-logo{
    position:absolute;
    width:50%;
    right:25%;
    top:20%;
    z-index: 1;
}

.flash{
    position:absolute;
    width:4.5%;
    height:4.5%;
    border-radius:50%;
    /* opacity: 0.5;
    background-color: blue; */
    left:57.75%;
    top:33%;
    z-index: 100;
    transition:all;
}

.button-container.insta:hover .flash{
    animation: flash 1s infinite forwards;
}

@keyframes flash{
    0%{background-color: white;}
    20%{transform:scale(10);}
    30%{
        transform:scale(1);
        background-color: transparent;
    }
}
.button-container.coke{
    position: relative;
}

.coke-logo{
    position:absolute;
    width:80%;
    right:10%;
    top:10%;
    z-index: 1;
}

.coke-mask{
    position: absolute;
    width:100%;
    height:20%;
    top:51%;
    z-index: 100;
    background-color: white;
}

.button-container.coke:hover .coke-mask{
    animation: swipelr 0.8s forwards;
}

@keyframes swipelr {
    100%{transform:translate(100%);}
}

.button-container.pmore{
    position: relative;
}

.pmore-logo{
    position:absolute;
    width:80%;
    right:10%;
    top:30%;
}

.pmore-logo:hover{
    transform:scale(1.2);
}