@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');

:root {
    --Dark-cyan: hsl(185, 75%, 39%);
    --Very-dark-desaturated-blue: hsl(229, 23%, 23%);
    --Dark-grayish-blue: hsl(227, 10%, 46%);
    --Dark-gray: hsl(0, 0%, 59%);
}

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

body {
    width:100%;
    height:100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap:30px;
    background: url("./images/bg-pattern-bottom.svg") bottom -600px right -150px no-repeat, url("./images/bg-pattern-top.svg") top -500px left -200px no-repeat;
    background-color: var(--Dark-cyan);    
}

.card {
    width:350px;
    height:375px;
    border-radius: 10px;
}

.card-header {
    width:100%;
    height:140px;
    border-radius: 10px 10px 0 0;
    background: url("./images/bg-pattern-card.svg");
}

.card-info {
    height:calc(100% - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 0 0 10px 10px;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid white;
    background: url("./images/image-victor.jpg");
    transform: translateY(-50%);
    margin-bottom: 0.75rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:-2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--Dark-gray);
    width: 100%;
}

.name-age {
    display: flex;
    align-items: center;
    gap:1rem;
    margin-bottom: 0.5rem;
}

.social-info {
    width: 100%;
    margin-top: 1rem;
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.name, .social-info h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--Very-dark-desaturated-blue);
}

.age, .city, .social-info p {
    color: var(--Dark-grayish-blue);
}

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

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