:root {
  --orange: #f0c013;
  --black: #111111;
  --white: #ffffff;
  --gray: #f5f5f5;
  --text: #1a1a1a;
  --radius: 4px;
}

img {
  width: 100%;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  background-color: var(--black);
  min-height: 100vh;
  font-family: "Roboto Serif", serif;
}

.main {
  width: 950px;
  min-height: 100vh;
  background-color: var(--orange);
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* ── Header ── */
.header {
  background-color: var(--black);
  color: var(--orange);
  font-size: 20px;
  width: 950px;
  display: flex;
  justify-content: center;
  border-bottom: 3px solid var(--orange);
}

.header h2 {
  display: none;
}

.header-text {
  width: 800px;
  padding: 8px 0;
}

.header-text h1 {
  font-size: 42px;
  letter-spacing: 2px;
  margin: 0;
}

/* ── Intro ── */
.me {
  display: flex;
  max-width: 100%;
  width: 100%;
  padding: 10px 0px 20px;
  gap: 24px;
  height: 300px;
  overflow-y: scroll; 
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--black);
}
.me-pic {
  flex: 2;
}

.me-pic img {
  border-radius: var(--radius);
  object-fit: cover;
  margin: 20px 15px;
}

.me-text {
  flex: 3;
  text-align: justify;
  text-justify: inter-word;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text);
  margin: 0px 15px;
  
}

.text-span-1 {
  font-size: 18px;
  
  display: block;
  margin-bottom: 10px;
}

/* ── Headings ── */
h2 {
  font-size: 36px;
  text-align: left;
  background-color: var(--black);
  color: var(--orange);
  margin: 0;
  padding: 12px calc(50% - 400px);
  width: 100%;
  letter-spacing: 1px;
  box-sizing: border-box;
}

/* ── Slider ── */
.slider {
  width: 100%;
  height: 460px;
  background-color: var(--orange);
  overflow-x: scroll;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--black);
  gap: 8px;
  padding: 0 calc(30% - 400px);
  box-sizing: border-box;
}

.slider::-webkit-scrollbar {
  height: 6px;
}

.slider::-webkit-scrollbar-track {
  background: var(--black);
}

.slider::-webkit-scrollbar-thumb {
  background-color: var(--orange);
  border-radius: 3px;
}

.slider .pic:first-child {
  margin-left: 0;
}

/* ── Pic Cards ── */
.pic {
  background-color: var(--orange);
  min-width: 420px;
  height: 420px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
  flex-shrink: 0;
  border: 1px solid black;
}

.pic:hover {
  box-shadow: inset 0 0 0 3px var(--black);
}

.pic-img {
  width: 380px;
  height: 280px;
  object-fit: contain;
  border-radius: var(--radius);
}

.pic p {
  text-align: center;
  font-size: 14px;
  color: #444;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Footer ── */
.data {
  background-color: var(--black);
  color: var(--orange);
  text-align: center;
  width: 100%;
  padding: 12px 0;
  font-size: 13px;
  border-top: 2px solid var(--orange);
  
}

.data a {
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.5px;
  
}

.data a:hover {
  text-decoration: underline;
}

/* ── Mobile ── */
@media screen and (max-width: 798px) {
  .main {
    width: 100%;
    height: auto;
  }

  .header {
    width: 100%;
    justify-content: start;
    font-size: 16px;
    margin-bottom: 0;
    height: auto;
    border-bottom: 2px solid var(--orange);
  }

  .header-text {
    display: none;
  }

  h2 {
    font-size: 22px;
    padding: 16px 0;
  }

  .me {
    display: block;
    padding: 16px;
  }

  .me-pic {
    margin-bottom: 16px;
  }

  .pic {
    min-width: 280px;
    height: 360px;
  }

  .pic-img {
    width: 240px;
    height: 220px;
  }

  .data {
    font-size: 12px;
  }
}