/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
  color: var(--main-font-color);
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  background: var(--main-background-color);
  padding: 100px 50px;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}



h1 {
  font-family: "Syne Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

p {
  font-family: "Noto Sans HK", sans-serif;
  font-style: normal;
  color: var(--main-font-color);
}

:root {
  --main-background-color: #1c1717;
  --content-background-color: #1f1b1b;
  --highlighting-font-color: #e06331;
  --main-font-color: #ffffff;

}

.linear-border {
  width: 100%;
  height: fit-content;
  padding: 15px;
  border-radius: 15px;
  background: linear-gradient(28deg, rgba(0, 0, 0, 1) 0%, rgba(253, 29, 29, 1) 44%, rgba(252, 176, 69, 1) 100%);
}

.content {
  width: 100%;
  height: fit-content;
  padding: 45px;
  background: var(--content-background-color);
  border-radius: 15px;
}

.greating_block {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.socials {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 20px;
}

.socials a img {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.687);
  border-radius: 10px;
  transition: transform .5s ease-in-out;
}

.socials a img:hover {
  transform: rotate(1turn);
}

.greating_text {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.greating_text h1 {
  font-family: "Syne Mono", monospace;
  font-weight: 400;
  font-style: normal;
  color: var(--main-font-color);
  margin: 50px 0;
  font-size: 4rem;
}

.greating_text h3 {
  font-family: "Noto Sans HK", sans-serif;
  font-weight: lighter;
  font-style: normal;
  color: var(--main-font-color);
}

.greating_img {
  width: 300px;
}

.about_me_block {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  margin-top: 100px;
}

.about_me_block_text {
  font-family: "Noto Sans HK", sans-serif;
  font-style: normal;
  margin-left: 30px;
  width: 100%;
}

.about_me_block_text h2 {
  font-size: 3rem;
  margin-bottom: 50px;
}

.about_me_block_text h4 {
  font-weight: 500;
  font-size: 3rem;
  margin: 20px 0;
}

.about_me_block_text h4 span {
  color: var(--highlighting-font-color);
}

.about_me_block_text p {
  font-size: 0.8rem;
}

.about_me_block_text img {
  width: 90px;
  margin-left: auto;
  margin-top: 30px;
}

.about_me_block_img {
  width: 500px;

}

.skills_block {
  width: 100%;
}

.skills_block p {
  text-align: center;
  font-size: 3rem;
  padding: 100px;
  margin: 20px 0;
}

.skills_icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.skills_icons img {
  width: 50px;
  border-radius: 8px;
}

.blog_block {
  padding: 100px 15px;
  margin: 50px 0;
}

.blog_block h3 {
  font-size: 2.5rem;
  margin: 50px 0;
  font-family: "Noto Sans HK", sans-serif;
  font-style: normal;
  font-weight: lighter;
}

.blog_block a {
  border: 1px solid var(--content-background-color);
  transition: all .6s ease-in;
  position: relative;
  cursor: pointer;
}

.blog_block a:hover {
  border: 1px solid var(--highlighting-font-color);
}

.blog_block a img {
  width: 300px;
  height: 390px;
  z-index: 0;
  object-fit: cover;
}

.blog_post {
  margin-bottom: 70px;
  display: flex;
  justify-content: space-between;
}

.blog_block a p {
  width: 300px;
  height: 80px;
  z-index: 1;
  font-size: 0.8rem;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #1c1717ca;
  padding: 15px;
}

.blog_block img {
  margin-right: auto;
  width: 80px;
}