*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Figtree", sans-serif;
}

body{
    background: #F5D04E;

}

.container{
    max-width: 390px;
    background: white;
    margin: 0 auto;
    margin-top: 10vh;
    border-radius: 15px;
    border: 1px solid black;
    box-shadow: 7px 7px  black;
}

.container:hover{
    box-shadow: 15px 15px  black;
    transition: linear 0.6s;
    cursor: pointer;

    .title{
        color: #F8D342;
    }
}

.container-text{
    width: 335px;
    margin: 0 auto;
}

.image{
    border-radius: 15px;
    margin-top: 4vh;
}

.learning{
    background: #F6D04B;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bolder;
    margin: 15px 0;
    display: inline-block;
}

p{
    margin-bottom: 15px;
    font-weight: 500;
}

.title{
    margin-bottom: 15px;
}

span{
    margin-bottom: 15px;
    display: inline-block;
    font-weight: lighter;
}

.perfil{
    display: flex;
    align-items: center;
    margin-bottom: 4vh;
}

.perfil-img{
    width: 10%;
    margin-right: 10px;
}

.name{
    font-weight: bolder;
}

.attribution { 
    margin-top: 50px;
    font-size: 11px; 
    text-align: center; 
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}

@media only screen and (max-width: 500px) {

    .container{
        max-width: 450px;
        margin-top: 5vh;
    }

    .container-text{
        width: 400px;
    }

    .image{
        width: 100%;
        margin-bottom: 10px;
    }

    .learning{
        font-size: larger;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    p{
        font-size: large;
        margin-bottom: 20px;
    }
    
    .title{
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    span{
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .perfil{
        font-size: 18px;
        margin-bottom: 6vh;
    }
    
    .perfil-img{
        width: 12%;
        margin-right: 15px;
    }
    
}

