/* General Styles */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat.woff2') format('woff2');
}

@font-face {
  font-family: 'Sacramento';
  src: url('../fonts/sacramento.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NotoEmoji';
  src: url('../fonts/NotoEmoji.woff2') format('woff2');
}

@font-face {
  font-family: 'FA6B';
  src: url('../fonts/fa-brands.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'FA6S';
  src: url('../fonts/fa-solid.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

:root {
  color-scheme: only light;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: white;
  background-color: #03000a;
  overflow-y: scroll;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color-scheme: only light;
}

body::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}

/* Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(1px);
  color-scheme: only light;
}

/* Intro Box */
.intro-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70%;
  max-width: 750px;
  margin: 150px auto 64px auto;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  color-scheme: only light;
}

.image-container {
  position: relative;
}

.image-container div {
  width: 175px;
  height: 175px;
  background-image: url('../assets/profile_pic.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 3px solid white;
  margin-top: -122.5px;
  filter: brightness(87%);
  color-scheme: only light;
}

.intro-content h1,
.intro-content p {
  text-align: center;
}

.intro-content .justified {
  text-align: justify;
}

/* Hobbies Section */
.hobbies-section {
  width: 70%;
  max-width: 700px;
  margin: 32px auto;
}

.section-title {
  font-size: 18px;
  font-weight: 400;
}

.hobby-box {
  display: flex;
  flex-direction: column;
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  color-scheme: only light;
}

.hobby-box i {
  font-size: 26px;
}

.hobby-box p {
  margin-top: -12px;
  margin-left: 47px;
}

.hobby-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hobby-title div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-right: 16px;
}

.hobby-title h3 {
  font-weight: 500;
}

.hobby-box div {
  text-align: left;
}

/* Footer */
footer {
  text-align: center;
  padding: 16px;
}

.contact-icons a {
  margin: 0 16px;
  font-size: 24px;
  color: white;
}

.contact-icons a:hover {
  color: #1DA1F2;
}

/* Emoji Styling */
.emoji {
  font-family: 'NotoEmoji';
  font-weight: 500;
  color: white;
}

/* Night Sky */

.stars {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.starslayer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  color-scheme: only light;
  animation: twinkle 5s infinite alternate;
}

.moving-stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

.moving-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 5px white, 0 0 10px white;
  animation: moveStar 8s linear infinite, twinkle 5s infinite alternate;
  color-scheme: only light;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

@keyframes moveStar {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100vw, 100vh);
  }
}

/* Font Awesome */

.fab,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto
}

.fas {
  font-family: "FA6S";
  font-weight: 900
}

.fab {
  font-family: "FA6B";
  font-weight: 400
}

.fa-envelope:before {
  content: "\f0e0"
}

.fa-telegram:before {
  content: "\f2c6"
}

.fa-book:before {
  content: "\f02d"
}

.fa-tv:before {
  content: "\f26c"
}

.fa-code:before {
  content: "\f121"
}