:root {
  --primary-color: rgb(41, 37, 36);
  --secondary-color: rgb(218, 117, 91);
  --background-color: rgb(255, 240, 223);
  --background-light: rgb(255, 250, 243);
  --text-color: rgb(41, 37, 36);
  --text-muted: rgba(41, 37, 36, 0.6);
  --border-color: rgb(41, 37, 36);
  --border-light: rgba(41, 37, 36, 0.1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

* {
  font-family:
    'Inter',
    SF Pro,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol,
    Noto Color Emoji;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -moz-tab-size: 4;
  tab-size: 4;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  color: var(--text-color);
}

body {
  background-color: var(--background-color);
  line-height: 1.6;
  min-height: 100vh;
}

body > div {
  min-height: 100vh;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--text-color);
  line-height: 1.8;
}

.blog-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-read-more {
  color: var(--secondary-color);
  font-weight: 600;
}

.blog-read-more:hover {
  transform: translateX(4px);
}

nav a,
nav span {
  transition: all 0.2s ease;
}

nav a {
  color: var(--text-color);
  background: var(--background-light);
  border: 1px solid var(--border-light);
}

nav a:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

nav span {
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

#projects > a *,
#projects > div,
#logo > *,
#links > *,
#content > h1:first-child > *,
#content > p,
footer > * {
  opacity: 1 !important;
}

#logo {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

#logo h2,
#logo h3 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#links {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#links > a {
  transition: scale 0.05s ease-out;
  font-size: 1.5rem;
  color: var(--text-color);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#links > a i {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#links > a:hover {
  scale: 1.1;
  color: var(--secondary-color);
  background: transparent !important;
}

nav {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.line-holder {
  position: relative;
  width: min(300px, 100%);
  height: 10px;
}

.smallLine {
  position: absolute;
  height: 10px;
  width: 200%;
  transform: translate(-25%) scale(0.5);
}

.smallLine1 {
  background: linear-gradient(
    45deg,
    transparent,
    transparent 49%,
    var(--border-color) 49%,
    transparent 51%
  );
}
.smallLine2 {
  background: linear-gradient(
    -45deg,
    transparent,
    transparent 49%,
    var(--border-color) 49%,
    transparent 51%
  );
}

.smallLine {
  background-size: 20px 20px;
}

#back {
  i {
    transition: transform 0.1s ease-out;
    margin-right: 4px;
  }

  &:hover {
    i {
      transform: translateX(-2px);
    }
  }
}

.blog-content-detail {
  gap: 10px;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;

  h1, h2, h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  p {
    font-size: 1.1rem;
    color: rgba(68, 40, 23, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  div {
    margin-bottom: 1rem;
  }
}

#blog-content {
  gap: 10px;
  display: flex;
  flex-direction: column;

  .line-holder {
    margin: 30px auto;
    width: 200px;
  }

  & > * {
    opacity: 0;
  }

  h1 {
    font-size: 1.5rem;
    font-weight: 600;
  }

  p {
    font-size: 1.1rem;
    color: rgba(68, 40, 23, 0.6);
    line-height: 1.5;
  }
}

section[id^="blog-0"] {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  position: absolute;
  visibility: hidden;
  overflow: hidden;
  max-width: 0;
}
