body {
    margin: 20px;
    /*
    Challenge:
    Find a web safe font you like, and add it 
    to your card.
    */
    font-family: Arial, sans-serif;
}

.avatar {
    width: 150px;
    border: 4px solid #1C5253;
}

.card {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    background: #ddebf8;
    color: #2b2839;
    border-bottom: 6px solid #1C5253;
        
    /*
    Challenge:
    Find a color palette you like on Coolors.co
    and use it in your business card.
     */
    border-radius: 18px;
    background-color: 306B34;
    color: F3FFC6;
    box-shadow: 2px 2px 16px 8px rgba(0,0,0,0.3);
}

.card-content {
    margin-left: 20px;
    text-align: left;
}
/*
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     🤯🤯🤯
*/

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

.card:hover {
    transform: scale(1.05);
    rotate: 2deg;
    transition: transform 0.2s ease-out;
    transition: rotate 0.2s ease-out;
}
