@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

#yas {
    position: fixed;
    width: 150px;
    transform: rotate(-13deg);
    right: 10px;
    bottom: 10px;
}

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

body {
    background-color: hsl(212, 45%, 89%);
    padding-top: 130.5px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

main {
    flex-grow: 1;
}

.attribution {
    font-size: 11px;
    text-align: center;

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

.card {
    width: 320px;
    height: 499px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 20px;
    padding: 16px;
    padding-bottom: 40px;

}

.face {
    width: 288px;
    height: 288px;
    border-radius: 10px;
    overflow: hidden;
}

.face img {
    width: 100%;
}

.info {
    width: 288px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.info h4 {
    font-size: 20px ;
    font-weight: 700;
    width: 256px ;
    text-align: center;
    color: hsl(218, 44%, 22%);
}

.info p {
    font-size: 15px ;
    font-weight: 400;
    width: 256px ;
    text-align: center;
    color:hsl(212, 45%, 89%);
}

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

    #yas {
        width: 100px;
    }

    .info p {
        color:hsl(216, 15%, 48%);
    }
  
}