/* !Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* !Colors */
:root {
  --primary: #1a202d;
  --white: #fff;
  --black: #000;
  --black2: #121212;
  --bg: #f2f2f2;
  --bg2: #8f60de;
  --hover: #faf9fe;

}

/* !Main Setings */
body {
  line-height: 1;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--primary);
  background-color: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* !Card Style */
.card {
  position: relative;
  max-width: 440px;
  width: 100%;
  min-width: 320px;
  margin: 0 auto;
  border-radius: 16px;
  background-color: var(--white);
  -webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2),
    0 8px 10px 1px rgba(0, 0, 0, .14),
    0 3px 14px 2px rgba(0, 0, 0, .12);
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2),
    0 8px 10px 1px rgba(0, 0, 0, .14),
    0 3px 14px 2px rgba(0, 0, 0, .12);
  margin: 20px auto;

}

/* !Card Header */
.card__header {
  background: var(--bg2);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}


.card__header-img {
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.card__header-decor {
  position: absolute;
  top: 41%;
  left: 0;
  right: 0;
  width: 100%;
}

.card__header-logo {
  position: absolute;
  top: 46%;
  right: 5%;
}

/* !Card Body */
.card__body {
  padding: 24px;
  padding-top: 40px;
}

.card__body-inner {
  padding-left: 24px;
  border-left: 1px dashed var(--black);
}

.card__body-name {
  font-weight: 800;
  font-size: 28px;
  line-height: 36px;
}

.card__body-field {
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
}

.card__body-company {
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  font-style: italic;
}

/* !Card Footer */
.card__list-item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px 24px;
  gap: 10px;
}

.card__list-item:hover {
  background: var(--hover);
}

.card__list-link {
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  color: var(--black2);
}

.card__list-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* !Media Queries */
@media(max-width:400px) {
  .card__header-decor {
    top: 39%;
  }
}

@media(max-width:360px) {
  .card__header-decor {
    top: 36%;
  }

  .card__header-logo {
    top: 40%;
  }
}