:root {
  --accent: #cd6e00;
  --accent20: #cd6e0033;

  --bg: #1A120B;
  --bg90: #1A120BE6;

  --secondary: #2c1e13;
  --secondary40: #2c1e1366;

  --text-main: #f8fafc;
  --text-dim: #DBCBBD;
  --transition: all 0.3s ease;

  --black: #000;
  --white: #fff;
}

.selectDisable {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  scrollbar-width: none;
}

/* Firefox */
body {
  -ms-overflow-style: none;
}

/* IE and Edge */
body::-webkit-scrollbar,
body::-webkit-scrollbar-button {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

.diagonal-divider {
  width: 0;
  height: 0;
  border-right: 100vw solid transparent;
  border-bottom: max(4vw, 3vh) solid var(--secondary);
  margin-top: -max(4vw, 3vh);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 10%;
  position: sticky;
  top: 0;
  background: var(--bg90);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}


.exp-header {
  padding: 4rem 10% 6rem 10%;
  text-align: center;
  background-color: var(--bg);
}

.exp-header h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--accent);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.exp-header p {
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-bottom: 6rem;
}

.job-section {
  padding: 8rem 10%;
  position: relative;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  margin-top: -4rem;
}

.bg-main {
  background-color: var(--secondary);
  z-index: 4;
}

.bg-secondary {
  background-color: var(--main);
  z-index: 3;
}

.bg-tertiary {
  background-color: var(--secondary);
  z-index: 2;
}

.bg-quaternary {
  background-color: var(--main);
  z-index: 1;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.job-header h2 {
  color: var(--accent);
  font-size: 1.8rem;
}

.job-date {
  font-weight: 700;
  color: var(--text-main);
  background: var(--accent20);
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.job-meta {
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--accent20);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.job-desc {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.responsibilities {
  list-style: none;
}

.responsibilities li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.responsibilities li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

footer {
  background-color: var(--secondary);
  padding: 3rem 10%;
  text-align: center;
  color: var(--text-dim);
}

@media (max-width: 900px) {

  .job-section {
    padding: 6rem 5%;
    clip-path: polygon(0 2%, 100% 0%, 100% 98%, 0% 100%);
  }

  .job-header {
    flex-direction: column;
  }

  .exp-header h1 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .exp-header p {
    font-size: 1rem;
    margin-bottom: 4rem;
  }

  .job-header h2 {
    font-size: 1.4rem;
  }

  .job-date {
    margin-bottom: 0.25rem;
  }

  .job-desc {
    font-size: 1rem;
  }
  
  .short-text {
    display: inline-block;
  }

  .long-text {
    display: none;
  }

}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
}