body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

main {
    margin: 40px;
}

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

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

/*instagram button*/
a#btn_instagram {
    color: white;
    display: block;
    width: 100px;
    height: 100px;
    font-size: 85px;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    border-radius: 25px;
    background-color:#333;
    position: relative;
    z-index: 1;
    transition: all .3s ease;
}

.fa-instagram {
    transform: translate(-3px, -9px)
}

a#btn_instagram::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    background-image: linear-gradient(0deg, #f9ce34, #ee2a7b, #6228d7);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1;
}

a#btn_instagram:hover::before {
    opacity: 1;
}

a#btn_instagram:hover {
    transform: scale(1.15);
}

/*lyft button*/
a#btn_lyft {
    text-decoration: none;
    font-size: 50px;
    text-align: center;
    display: block;
    position: relative;
    margin: auto;
    transition: all .3s ease;
    width: 150px;
    height: 50px;
    border: 2px solid #ff00bf;
    border-radius: 50px;
    margin-top: 50px;
}

.fa-lyft {
    color: #ff00bf;
    scale: 1.2;
    transition: all .3s ease;
    transform: translate(0px, -7px);
}

a#btn_lyft:hover {
    scale: 1.2;
    background-color: #ff00bf;
    color: white;
}

a#btn_lyft:hover .fa-lyft {
    color: white;
}

/*npr button*/
a#btn_npr {
    font-family: 'Special Gothic', sans-serif;
    font-size: 50px;
    text-decoration: none;
    text-align: center;
    display: block;
    position: relative;
    margin: auto;
    margin-top: -10px;
}

.n {
    color: #FF3300;
    transition: all .3s ease;
}

.p {
    color: black;
    transition: all .3s ease;
}

.r {
    color: #3266cc;
    transition: all .3s ease;
}

a#btn_npr:hover .n,
a#btn_npr:hover .p,
a#btn_npr:hover .r {
    color: white;
}

a#btn_npr p {
    z-index: 1;
    color: black;
    transition: all .3s ease;
}

.boxes {
    display: grid;
    position: relative;
    grid-template-columns: repeat(3, 1fr);
    transform: translate(0, -100px);
    z-index: -1;
    opacity: 0;
    transition: opacity .3s ease;
}

.box1 {
    width: 50px;
    height: 50px;
    background-color: #FF3300;
    text-align: center;
}

.box2 {
    width: 50px;
    height: 50px;
    background-color: black;
    text-align: center;
}

.box3 {
    width: 50px;
    height: 50px;
    background-color: #3266cc;
    text-align: center;
}

a#btn_npr:hover + .boxes {
    opacity: 1;
}

a#btn_npr:hover p {
    transition: all .3s ease;
    letter-spacing: 26px;
    transform: translate(8px, 3px);
}

/*facebook button*/
a#btn_facebook {
    font-size: 80px;
    color: #1877F2;
    position: relative;
    display: block;
    text-align: center;
    margin: auto;
    margin-top: 35px;
}

a#btn_facebook:hover {
    color: white;
    transition: .3s ease;
}

.fb-box-container {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    background-color: #1877F2;
    text-align: center;
    opacity: 0;
    z-index: -1;
    position: absolute;
    top: -5px;
    left: 28px;
    transition: all .3s ease;
}

a#btn_facebook:hover .fb-box-container {
    opacity: 1;
}

a#btn_facebook:hover {
    scale: 1.1;
}

/*apple*/
a#btn_apple {
    display: block;
    align-items: center;
    position: relative;
    font-size: 75px;
    color: white;
    width: 125px;
    height: 125px;
    background-color: #333;
    border-radius: 75px;
    margin: auto;
    margin-top: 15px;
    transition: all .3s ease;
}

a#btn_apple .fa-apple {
    transform: translate(0px, 6px);
}

a#btn_apple:hover {
    text-shadow: 0px 2px 3px #FFFFFF, 0px -2px 3px #FFFFFF, 0px 0px 17px #FFFFFF, 0px 0px 9px rgba(255,255,255,0.86);
    scale: 1.1;
    -webkit-box-shadow: 0px 10px 24px -3px rgba(0,0,0,0.86); 
    box-shadow: 0px 10px 24px -3px rgba(0,0,0,0.86);
}

/*army*/
a#btn_army {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 22px;
    font-family: 'Oxanium', sans-serif;
    color: #231f20;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 40px;
    transition: all .3s ease;
}

/* i got this star shape from https://css-shape.com/star/ */
.star {
  width: 50px;  
  aspect-ratio: 1;
  background-color: #ffcc01;
  clip-path: polygon(50% 0,79% 90%,2% 35%,98% 35%,21% 90%);
  opacity: 0;
  position: absolute;
  left: 0;
  transition: all .3s ease;
}

a#btn_army p {
    transform: translate(0, 3px) scaleY(1.2);
    transition: all .3s ease;
}

a#btn_army:hover p {
    transform: translate(30px, 3px) scaleY(1.2);
}

a#btn_army:hover .star {
    opacity: 1;
}

/*nike*/
a#btn_nike {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all .3s ease;
}

.swoosh {
    width: 160px;
    height: auto;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease;
}

.text {
    width: 120px;
    height: auto;
    opacity: 1;
    transition: all .3s ease;
}

a#btn_nike:hover .swoosh {
    opacity: 1;
}

a#btn_nike:hover .text {
    opacity: 0;
    transform: translate(0, 30px);
}

/*samsung*/
a#btn_samsung {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all .3s ease;
}

.samsung {
    width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: all .5s ease;
}

a#btn_samsung:hover .samsung {
    filter: grayscale(0%);
    transform: rotate(360deg);
    scale: 1.2;
    filter: drop-shadow(0px 0px 20px rgba(20, 132, 255, 0.8));
}

/*old navy*/
a#btn_oldnavy {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all .3s ease;
}

a#btn_oldnavy::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 80px;
    border: 4px solid #003763;
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    transition: all .3s ease;
}

.oldnavy {
    width: 140px;
    height: auto;
    opacity: 0.6;
    transition: all .3s ease;
    position: relative;
    z-index: 1;
}

a#btn_oldnavy:hover::before {
    opacity: 1;
}

a#btn_oldnavy:hover .oldnavy {
    opacity: 1;
    scale: 1.05;
}

/*fitbit*/
a#btn_fitbit {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 60px;
    background-color: #00B0B9;
    margin: auto;
    margin-top: 20px;
    transition: all .3s ease;
    color: white;
    font-size: 40px;
    text-decoration: none;
}

a#btn_fitbit:hover {
    scale: 1.1;
    background-color: #002A3A;
    box-shadow: 0px 8px 20px rgba(0, 176, 185, 0.5);
}