body {
    margin: 20px;
    /*
    Challenge:
    Find a web safe font you like, and add it 
    to your card.
    */
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #0b132b;
}

.avatar {
    margin-left: 12px;
    width: 150px;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    text-align: center;
    background: #6fffe9;
    color: #1c2541;
    border-radius: 8px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px; 
    border-bottom: 6px solid #5bc0be;
    /*
    Challenge:
    Find a color palette you like on Coolors.co
    and use it in your business card.
     */
}

.card-border {
    border-bottom: 6px solid #5bc0be;
}


/*
Stretch goals:
Find other ways you can personalize 
the design of your business card, e.g.:
- change the border(s)
- add border radius
- shuffle the layout
- shadows        🤯
- hover effects  🤯🤯
- animations     🤯🤯🤯
*/

.card:hover {
animation-name: cardHoverAnimation ;
animation-duration: .6s;
animation-delay: 0s;
animation-fill-mode: forwards;
animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95) ;
  }
  
@keyframes cardHoverAnimation {
  0%   {transform: translateY(0px); }
  25%  {transform: translateY(0px); border-bottom: 6px solid #5bc0be;}
  50%  {transform: translateY(16px); border-bottom: 4px solid #5bc0be;}
  75%  {transform: translateY(10px);}
  100% {transform: translateY(8px); border-bottom: 2px solid #5bc0be;}
  }



/*
Final challenge:
Download the code to your local computer and place it
in a folder called "business-card"
*/
