2022-10-25 00:25:30 +02:00
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap");
|
2021-09-11 15:01:52 +02:00
|
|
|
|
|
|
|
|
|
/* sizes: 1440x720 , 375 × 667 */
|
|
|
|
|
*,
|
|
|
|
|
*::before,
|
|
|
|
|
*::after {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
--dark-cyan: hsl(185, 75%, 39%);
|
|
|
|
|
--dark-grayish-blue: hsl(227, 10%, 46%);
|
|
|
|
|
--very-dark-desaturated-blue: hsl(229, 23%, 23%);
|
|
|
|
|
--dark-gray: hsl(0, 0%, 59%);
|
|
|
|
|
--border-gray: hsla(228, 9%, 92%, 1);
|
|
|
|
|
|
|
|
|
|
/* default font stuff */
|
|
|
|
|
--page-base-font-size: 16px; /* for rem calculations*/
|
|
|
|
|
--default-font-size: 18px;
|
|
|
|
|
--location-font-size: 14px;
|
|
|
|
|
--label-font-size: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
font-size: var(--page-base-font-size);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2021-09-11 16:02:40 +02:00
|
|
|
|
background-color: var(--dark-cyan);
|
2021-09-11 15:01:52 +02:00
|
|
|
|
font-size: var(--default-font-size);
|
|
|
|
|
font-weight: 700;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
font-family: "Kumbh Sans", sans-serif;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
color: var(--very-dark-desaturated-blue);
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
margin: 0 auto;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
|
|
overflow: hidden;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
background-color: white;
|
|
|
|
|
|
|
|
|
|
box-shadow: 0px 50px 100px -20px rgba(8, 70, 94, 0.504835);
|
|
|
|
|
border-radius: 15px;
|
|
|
|
|
text-align: center;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
|
2021-09-11 15:01:52 +02:00
|
|
|
|
width: min(87vw, 350px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cardHeader {
|
|
|
|
|
background: url(../images/bg-pattern-card.svg);
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 140px;
|
|
|
|
|
border-radius: 15px 15px 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
background: url(../images/image-victor.jpg);
|
2021-09-11 16:26:44 +02:00
|
|
|
|
background-size: contain;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
width: 96px;
|
|
|
|
|
height: 96px;
|
|
|
|
|
|
|
|
|
|
border-radius: 50%;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
top: calc(100% - 96px / 2);
|
2021-09-11 15:01:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-09-11 16:43:20 +02:00
|
|
|
|
.photo:after {
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
border: 5px solid white;
|
|
|
|
|
position: absolute;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
content: "";
|
2021-09-11 16:43:20 +02:00
|
|
|
|
top: -5px;
|
|
|
|
|
left: -5px;
|
|
|
|
|
bottom: -5px;
|
|
|
|
|
right: -5px;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
}
|
2021-09-11 16:43:20 +02:00
|
|
|
|
|
2021-09-11 15:01:52 +02:00
|
|
|
|
.nameAndAge {
|
|
|
|
|
margin-top: 4.5rem;
|
|
|
|
|
display: inline-flex;
|
2021-09-11 16:02:40 +02:00
|
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-25 00:25:30 +02:00
|
|
|
|
.name,
|
|
|
|
|
.stat {
|
2021-09-11 16:08:40 +02:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-11 16:02:40 +02:00
|
|
|
|
.border {
|
|
|
|
|
border: 1px solid var(--border-gray);
|
|
|
|
|
margin-top: 1.5rem;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stats {
|
|
|
|
|
display: flex;
|
2021-09-11 15:36:45 +02:00
|
|
|
|
justify-content: space-evenly;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.age {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: var(--dark-grayish-blue);
|
|
|
|
|
margin-left: 0.53125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.location {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: var(--location-font-size);
|
|
|
|
|
|
|
|
|
|
margin-top: 0.5rem;
|
2021-09-11 16:02:40 +02:00
|
|
|
|
padding-bottom: 0.25rem;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: var(--label-font-size);
|
|
|
|
|
color: var(--dark-grayish-blue);
|
2021-09-11 16:08:40 +02:00
|
|
|
|
letter-spacing: 1.5px;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
|
|
|
|
|
margin-top: 0.5625rem;
|
2021-09-11 16:02:40 +02:00
|
|
|
|
padding-bottom: 0.1875rem;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-10-25 00:25:30 +02:00
|
|
|
|
.topCircle,
|
|
|
|
|
.bottomCircle {
|
2021-09-11 15:36:45 +02:00
|
|
|
|
position: absolute;
|
2022-10-25 00:25:30 +02:00
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 100%;
|
2021-09-11 15:36:45 +02:00
|
|
|
|
background-size: auto;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
z-index: -1;
|
|
|
|
|
opacity: 0.75;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topCircle {
|
|
|
|
|
background: url(../images/bg-pattern-top.svg) no-repeat bottom right;
|
|
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottomCircle {
|
|
|
|
|
background: url(../images/bg-pattern-bottom.svg) no-repeat top left;
|
|
|
|
|
|
|
|
|
|
top: 100%;
|
|
|
|
|
left: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-11 16:26:44 +02:00
|
|
|
|
footer {
|
2021-09-11 15:01:52 +02:00
|
|
|
|
position: absolute;
|
2021-09-11 16:26:44 +02:00
|
|
|
|
bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-25 00:25:30 +02:00
|
|
|
|
.attribution {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
text-align: center;
|
2021-09-11 15:01:52 +02:00
|
|
|
|
bottom: 1rem;
|
|
|
|
|
}
|
2022-10-25 00:25:30 +02:00
|
|
|
|
.attribution a {
|
|
|
|
|
color: hsl(228, 45%, 44%);
|
|
|
|
|
}
|