*,
*::before,
*::after {
  box-sizing: border-box;
}

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: inherit;
  vertical-align: baseline;
}

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: "";
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #efefef;
  font-weight: 400;
  line-height: 1.5;
  font-size: 1.6rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.container {
  max-width: 108rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}
@media (max-width: 600px) {
  .container {
    padding: 0;
  }
}

.header {
  background-color: #020202;
  padding: 1.6rem 0;
}
.header__box {
  display: flex;
  align-items: center;
  gap: 4rem;
  height: 3rem;
  color: #787878;
  padding: 0 2.4rem;
}
.header__logo {
  padding: 0.5rem 0;
}
.header__logo img {
  max-height: 1.8rem;
}
.header__nav {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.header__link {
  position: relative;
  padding: 0.8rem 1.6rem;
  color: inherit;
  text-decoration: none;
  z-index: 1;
}
.header__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.3s, opacity 0.3s;
  z-index: -1;
}
.header__link--active {
  color: #020202;
}
.header__link--active::before {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 600px) {
  .header {
    padding: 0.8rem 0;
  }
  .header__box {
    gap: 1.6rem;
    padding: 0 0.8rem;
  }
  .header__link {
    padding: 0.8rem;
  }
}

.footer {
  background-color: #020202;
  border-radius: 0 0 1.6rem 1.6rem;
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
}
.footer__social {
  display: flex;
  gap: 3.2rem;
  justify-content: flex-end;
  padding: 1.6rem 18.3rem;
  position: relative;
}
.footer__social a {
  opacity: 0.25;
  transition: opacity 0.2s;
}
.footer__social a:hover {
  opacity: 1;
}
.footer__social::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.25) 3px);
}
.footer__register {
  padding: 7.2rem 18.3rem;
  color: #ffffff;
  gap: 1.6rem;
}
.footer__register span {
  font-size: 2.4rem;
  font-weight: 600;
}
.footer__register form {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.footer__register button {
  padding: 0 2.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 50rem;
  background-color: #c6e800;
  outline: none;
  border: none;
  cursor: pointer;
}
.footer__email {
  font-size: 1.6rem;
  padding: 1.6rem 4rem;
  border-radius: 50rem;
  background-color: #353535;
  border: 1px solid #5f5f5f;
  outline: none;
  flex: 1;
  color: #ffffff;
  font-weight: 500;
}
.footer__checkbox {
  max-width: 48.1rem;
  font-size: 1.2rem;
}
.footer__checkbox a {
  color: #c6e800;
}
.footer input[type=checkbox] {
  margin-bottom: 0.2rem;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  vertical-align: middle;
  cursor: pointer;
  background-color: #d9d9d9;
  accent-color: #c6e800;
}
@media (max-width: 1023px) {
  .footer__social {
    padding: 1.6rem 2.4rem;
  }
  .footer__register {
    padding: 7.2rem 2.4rem;
  }
}
@media (max-width: 600px) {
  .footer {
    border-radius: 0;
    margin-bottom: 0;
  }
  .footer__register form {
    flex-direction: column;
  }
  .footer__register button {
    padding: 1.6rem 4rem;
    margin-top: -1rem;
    font-size: 1.4rem;
  }
  .footer__email {
    font-size: 1.4rem;
  }
}

.bg {
  position: relative;
  overflow: visible;
}
.bg__decor {
  position: absolute;
  top: 3.4rem;
  left: calc(100% - 2.4rem);
  width: 100px;
  height: 939px;
  background: url("../icons/nametag.png") no-repeat;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1333px) {
  .bg {
    display: none;
  }
}

.title__h1 {
  color: #ffffff;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  opacity: 0.2;
  padding-top: 8rem;
}

.card-slider {
  width: 34.9rem;
  margin: 0 0.8rem;
  flex: 0 0 auto;
}
.card-slider a {
  display: block;
  overflow: hidden;
  border-radius: 0 3.6rem 0 3.6rem;
}
.card-slider a img {
  width: 100%;
  border-radius: 0 3.6rem 0 3.6rem;
}

.card-category {
  display: block;
  width: calc(50% - 0.8rem);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background-color: #353535;
  color: #ffffff;
  border-radius: 0 3.6rem 0 3.6rem;
  padding-bottom: 2.4rem;
}
.card-category__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.6rem;
  margin-bottom: 0.8rem;
}
.card-category__date {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.5;
}
.card-category__tag {
  display: inline-block;
  font-size: 1.2rem;
  padding: 0.2rem 0.8rem;
  background-color: #020202;
  border-radius: 4rem;
}
.card-category img {
  width: 100%;
  border-radius: 0 3.6rem 0 3.6rem;
  margin-bottom: 1.6rem;
}
.card-category p {
  padding: 0 1.6rem;
  opacity: 0.5;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
}
.card-category h3 {
  padding: 0 1.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
}
@media (max-width: 599px) {
  .card-category {
    width: 100%;
    border-radius: 0 3.2rem 0 3.2rem;
  }
}

.section-slider {
  background-color: #020202;
  padding-left: 18.3rem;
  border-radius: 1.6rem 1.6rem 0 0;
  margin-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.section-slider__box {
  cursor: grab;
  user-select: none;
}
.section-slider__box .slick-dots {
  padding-left: 2.4rem;
  bottom: -3.2rem;
  text-align: left;
}
.section-slider__box .slick-dots li {
  margin: 0 8px;
  display: inline-block;
}
.section-slider__box .slick-dots li button {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s;
}
.section-slider__box .slick-dots li button::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
}
.section-slider__box .slick-dots li.slick-active button {
  background: #ff5c8d;
  border-color: #ffffff;
}

.section-blog {
  background-color: #020202;
  padding: 0 18.3rem;
}
.section-blog__filter {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  gap: 4rem;
  padding: 0.8rem 4rem;
  background-color: #353535;
  border-radius: 5rem;
  margin-top: 6rem;
}
.section-blog__filter-link {
  position: relative;
  padding: 0.8rem 2rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}
.section-blog__filter-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #020202;
  opacity: 0;
  border-radius: 0.4rem;
  transform: skewX(-20deg) scale(0.8);
  transition: transform 0.3s, opacity 0.3s;
  z-index: -1;
}
.section-blog__filter-link--active::before {
  opacity: 1;
  transform: skewX(-20deg) scale(1);
}
.section-blog__category {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.section-blog__pagination {
  padding: 0.8rem;
  background-color: #353535;
  display: inline-flex;
  align-items: center;
  border-radius: 8rem;
  gap: 3.2rem;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.4rem 0;
}
.section-blog__pagination-link--prev {
  transform: scaleX(-1);
}
.section-blog__pagination-link--active {
  color: #ff5c8d;
}
.section-blog__pagination-link--disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .section-slider {
    padding-left: 2.4rem;
  }
  .section-blog {
    padding: 0 2.4rem;
  }
  .section-blog__filter {
    padding: 0.8rem 2.4rem;
    gap: 0;
    margin-top: 2.4rem;
  }
  .section-blog__filter-link {
    padding: 0.8rem 1.6rem;
  }
}
@media (max-width: 600px) {
  .section-slider {
    border-radius: 0;
    margin-top: 0;
  }
  .section-blog__filter {
    padding: 0.8rem 1.2rem;
    border-radius: 0.2rem;
    width: 100%;
  }
  .section-blog__filter-link {
    padding: clamp(0.8rem, 0.5vw + 0.6rem, 1.2rem);
  }
}
.info {
  background-color: #020202;
  border-radius: 1.6rem 1.6rem 0 0;
  margin-top: 2.4rem;
  padding-top: 4rem;
  gap: 1.6rem;
  display: flex;
  align-items: center;
  padding-left: 18.3rem;
}
.info__box {
  flex: 4;
}
.info__box p {
  color: #5f5f5f;
  font-weight: 400;
  margin-bottom: 1.6rem;
}
.info__image {
  flex: 6;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 1023px) {
  .info {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }
}
@media (max-width: 600px) {
  .info {
    display: block;
    border-radius: 0;
    margin-top: 0;
  }
}

.project {
  background-color: var(--project-bg, #131313);
  padding: 2.4rem 9.1rem;
  color: var(--project-text, #787878);
  gap: 1.6rem;
}
.project__title {
  background-color: #020202;
  color: #5f5f5f;
  font-weight: 400;
  padding-left: 9.1rem;
  margin-top: 2.4rem;
  border-radius: 2.4rem 2.4rem 0 0;
}
.project__banner {
  width: 100%;
  padding-right: 9.1rem;
}
.project__banners {
  display: flex;
  gap: 1.6rem;
  margin-left: 9.1rem;
}
.project__banners img {
  width: 100%;
  height: 100%;
}
.project__banners div:first-child {
  flex: 6;
}
.project__banners div:last-child {
  flex: 3;
}
.project__content {
  display: flex;
  gap: 1.6rem;
  font-size: 1.4rem;
  margin-right: 9.1rem;
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}
.project__content-main {
  flex: 4;
  display: flex;
  flex-direction: column;
}
.project__content-main p {
  font-size: 2.4rem;
  line-height: 2.4rem;
}
.project__content-main a {
  margin-top: auto;
}
.project__content-main span {
  font-weight: 700;
}
.project__content-sub {
  flex: 5;
  display: flex;
  flex-direction: column;
  line-height: 1.8rem;
  gap: 1.6rem;
}
@media (max-width: 1023px) {
  .project {
    padding: 2.4rem;
  }
  .project__banner {
    padding-right: 0;
  }
  .project__banners {
    margin-left: 0;
  }
  .project__content {
    margin-right: 2.4rem;
  }
}
@media (max-width: 600px) {
  .project__title {
    margin-top: 0;
    border-radius: 0;
  }
  .project__content {
    display: block;
  }
  .project__content-main a {
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
  }
}

.blog {
  margin-top: 2.4rem;
  background-color: #ffffff;
  border-radius: 1.6rem 1.6rem 0 0;
  color: #2d3748;
  gap: 1.6rem;
  padding: 8rem 18.3rem;
}
.blog__hero img {
  width: 100%;
  border-radius: 0 3.2rem 0 3.2rem;
  margin-bottom: 7rem;
}
.blog__hero span {
  font-size: 1.2rem;
  font-weight: 700;
  background-color: #020202;
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 4rem;
  margin-top: 6rem;
  margin-bottom: 1.6rem;
}
.blog__hero h1 {
  font-size: 4rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 4.8rem;
  margin-top: 1.6rem;
  margin-bottom: 2.4rem;
}
.blog__content {
  font-size: 2rem;
  font-weight: 500;
  color: #2d3748;
  line-height: 1.4;
}
.blog__content h3 {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 3.2rem;
  margin-bottom: 1.6rem;
}
.blog__content p {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}
.blog__content strong,
.blog__content b {
  font-weight: 700;
}
.blog__content em,
.blog__content i {
  font-style: italic;
}
.blog__content u {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.blog__content s,
.blog__content strike,
.blog__content del {
  text-decoration: line-through;
}
.blog__content a {
  color: #ff5c8d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.blog__content ul,
.blog__content ol {
  margin: 1.6rem 0;
  padding-left: 3.2rem;
}
.blog__content ul {
  list-style: disc;
}
.blog__content ul ul {
  list-style: circle;
}
.blog__content ul ul ul {
  list-style: square;
}
.blog__content ol {
  list-style: decimal;
}
.blog__content li {
  margin: 0.8rem 0;
  padding-left: 0.4rem;
}
.blog__content li > p {
  margin: 0.6rem 0;
}
.blog__content ul[data-type=taskList] {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 0;
  list-style: none;
}
.blog__content ul[data-type=taskList] ul[data-type=taskList] {
  margin-top: 0.8rem;
  padding-left: 2.8rem;
}
.blog__content ul[data-type=taskList] > li,
.blog__content li[data-type=taskItem] {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  padding-left: 0;
  list-style: none;
}
.blog__content ul[data-type=taskList] > li > label,
.blog__content li[data-type=taskItem] > label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  margin: 0;
}
.blog__content ul[data-type=taskList] input[type=checkbox] {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0;
  accent-color: #ff5c8d;
}
.blog__content ul[data-type=taskList] > li > div,
.blog__content li[data-type=taskItem] > div {
  min-width: 0;
}
.blog__content blockquote {
  margin: 2.4rem 0;
  padding: 1.6rem 2rem;
  border-left: 0.5rem solid #ff8fb0;
  border-radius: 0 1.2rem 1.2rem 0;
  background-color: #fff0f5;
  color: #2d3748;
}
.blog__content blockquote p:first-child {
  margin-top: 0;
}
.blog__content blockquote p:last-child {
  margin-bottom: 0;
}
.blog__content mark {
  padding: 0.08em 0.24em;
  border-radius: 0.4rem;
  background-color: #ffe4ee;
  color: inherit;
}
.blog__content img {
  width: 100%;
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}
.blog__tagname {
  font-size: 2rem;
  font-weight: 500;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 1023px) {
  .blog {
    padding: 2.4rem;
  }
}
@media (max-width: 600px) {
  .blog {
    margin-top: 0;
    border-radius: 0;
    padding: 1.6rem;
  }
}
