:root {
  --text-color: #ffffff;
  --accent-color: #4aa3df;
  --bg-opacity: rgba(0, 0, 0, 0.3);
  --nav-text: #ffffff;
  --post-bg: rgba(0, 0, 0, 0.3);
  --date-color: #888;
  --bg-image: url("/assets/images/bg-ireng.png");
  --scrolled-bg: rgba(0, 0, 0, 0.9);
  --nav-bg: rgba(0, 0, 0, 0.5);
}

nav a {
  color: var(--nav-text);
}

.hero-content {
  color: var(--text-color);
}

.post-content {
  color: var(--text-color);
}

.post-excerpt {
  color: var(--text-color);
}

.post-wrapper {
  background: var(--post-bg);
}

.blog-item {
  background: var(--post-bg);
}

.post-date {
  color: var(--date-color);
}

.friends-list a {
  color: var(--text-color);
}

* {
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hero-content {
  max-width: 1200px;
  margin-right: 5rem;
  text-align: right;
  animation: fadeIn 1s ease-out;
}

.greeting {
  color: #4aa3df;
  font-size: 1.5rem;
  animation: fadeIn 1s ease-out 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.name {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-out 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.tagline {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-top: 1rem;
  animation: fadeIn 1s ease-out 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

nav {
  background: var(--nav-bg);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  display: flex;
}
nav .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 1rem;
}
nav .hamburger span {
  width: 25px;
  height: 3px;
  background: var(--nav-text);
  margin: 2px 0;
  transition: 0.3s;
}
nav .nav-links {
  display: flex;
  align-items: center;
}

a {
  margin: 0 1rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  font-weight: bold;
}
a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #4aa3df;
  transition: width 0.3s ease;
}
a:hover {
  color: #4aa3df;
}
a:hover::after {
  width: 100%;
}
a.scrolled {
  background: var(--scrolled-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--nav-border);
}

.current {
  color: #4aa3df !important;
}

.theme-switch {
  --toggle-width: 50px;
  --toggle-height: 25px;
  margin-left: auto;
  margin-right: 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.checkbox {
  display: none;
}

.container {
  width: var(--toggle-width);
  height: var(--toggle-height);
  background: #333;
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.circle-container {
  width: var(--toggle-height);
  height: var(--toggle-height);
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.checkbox:checked + .container {
  background: #f0f0f0;
}

.checkbox:checked + .container .circle-container {
  left: calc(var(--toggle-width) - var(--toggle-height));
  background: #333;
}

.hero-container {
  background: var(--bg-image);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  max-width: 1200px;
  margin-right: 5rem;
  text-align: right;
  font-family: "Merriweather", serif;
}

.greeting {
  color: #4aa3df;
  font-size: 1.5rem;
}

.name {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.last_name {
  color: #4aa3df;
}

.tagline {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.highlight {
  color: #4aa3df;
}

.about-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.about-section p {
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

@media (max-width: 768px) {
  .name {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 1.4rem;
  }
  .hero-content {
    text-align: left;
    margin-left: 2rem;
    animation: fadeIn 1s ease-out;
  }
  .greeting {
    animation: fadeIn 1s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  .name {
    animation: fadeIn 1s ease-out 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  .tagline {
    animation: fadeIn 1s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
  }
}
.hero-container.blog-container {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 80px;
  height: auto;
  min-height: 100vh;
}

.blog-list {
  margin-top: 2rem;
  width: 100%;
}

.blog-item {
  margin-bottom: 2rem;
  padding: 1rem;
  border-left: 3px solid #4aa3df;
  background: rgba(0, 0, 0, 0.3);
  margin-left: 0;
  max-width: 800px;
  margin: 1rem 2rem;
}

h2 a {
  color: #4aa3df;
  font-size: 1.5rem;
  text-decoration: none;
  position: relative;
}
h2 a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #4aa3df;
  transition: width 0.3s ease;
}
h2 a:hover {
  color: #4aa3df;
}
h2 a:hover {
  color: #4aa3df;
}
h2 a:hover::after {
  width: 100%;
}

.hero-content.blog-content {
  text-align: left;
  margin: 0;
  padding: 0 2rem;
  width: 100%;
}

.post-date {
  color: #888;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.post-excerpt {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-container.friends-container {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 150px;
  height: auto;
  min-height: 100vh;
}

.hero-content.friends-content {
  text-align: left;
  padding: 0 4rem;
  width: 100%;
  margin-bottom: 4rem;
}
.hero-content.friends-content .name {
  margin-top: -4rem;
  margin-bottom: 2rem;
  margin-left: -2rem;
}

.friends-list {
  margin-top: 2rem;
  max-width: 800px;
  padding-bottom: 3rem;
}
.friends-list ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  color: #4aa3df;
}
.friends-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  display: list-item;
}
.friends-list a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.friends-list a:hover {
  color: #4aa3df;
}

.hero-container.post-container {
  justify-content: flex-start;
  align-items: flex-start;
  height: auto;
  min-height: 100vh;
}

.post-wrapper {
  margin: 2rem auto;
  padding: 1.5rem;
  border-left: 3px solid #4aa3df;
  background: rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 800px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-content {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 1rem;
  text-align: left;
}
.post-content h2 {
  margin: 2.5rem 0 1.5rem;
  color: #4aa3df;
}
.post-content h3 {
  margin: 2rem 0 1rem;
  color: #4aa3df;
}
.post-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.post-content ul, .post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.post-content ul li, .post-content ol li {
  margin-bottom: 0.8rem;
}
.post-content pre {
  margin: 1.5rem 0;
}

@media (max-width: 480px) {
  .post-wrapper {
    width: 92%;
    padding: 1rem 0.8rem;
    margin: 1rem auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  }
  .post-content {
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
  }
  .post-content h2, .post-content h3, .post-content p, .post-content ul, .post-content ol, .post-content pre, .post-content code {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    max-width: 100%;
  }
}
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
  margin-left: auto;
  margin-right: 2rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  --background: #000000;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  transition: 0.5s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  border-radius: 50%;
  left: 10%;
  bottom: 15%;
  box-shadow: inset 8px -4px 0px 0px #4aa3df;
  background: var(--background);
  transition: 0.5s;
}

input:checked + .slider {
  background-color: #ffffff;
}

input:checked + .slider:before {
  transform: translateX(100%);
  box-shadow: inset 15px -4px 0px 15px #fff000;
}

/*# sourceMappingURL=styles.css.map */