* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url('../images/hk-arrow-28.png') 0 0, auto;
}

@font-face {
  font-family: 'iA Writer Quattro';
  src: url('../fonts/iAWriterQuattroS-Regular.woff2') format('woff2'),
       url('../fonts/iAWriterQuattroS-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body, html {
  height: 100%;
  font-family: 'iA Writer Quattro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  margin-left: 160px; /* Account for static navigation width */
}

/* LEFT SIDE */
.left {
  width: 50%;
  position: fixed;
  left: 160px; /* Account for static navigation width */
  top: 0;
  height: 100vh;
  background-image: url('../images/sunset.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* RIGHT SIDE */
.right {
  width: 50%;
  margin-left: 50%;
  background-color: #fff;
  position: relative;
  overflow-y: scroll;
}

/* TICKER BAR */
.ticker {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 2px solid red;
  overflow: hidden;
  white-space: nowrap;
  z-index: 10;
  height: 28px;
  display: flex;
  align-items: center;
  position: relative;
}


.ticker-text {
  display: inline-block;
  color: red;
  font-size: 12px;
  font-family: monospace;
    animation: ticker-scroll 25s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-text + .ticker-text {
  margin-left: 40px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 900px) {
  .ticker {
    display: none;
  }
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CONTENT */
.content {
  padding: 35px 60px 40px 40px;
  max-width: 600px;
  font-family: 'iA Writer Quattro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1 {
  color: red;
  font-size: 32px;
  font-family: 'Archivo Black', sans-serif;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

h3 {
  margin-top: 30px;
  margin-bottom: 8px;
  font-size: 13px;
  text-decoration: underline;
  font-weight: 600;
}

p {
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 11px;
  font-family: 'iA Writer Quattro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 6px;
  font-size: 11px;
  font-family: 'iA Writer Quattro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.publication-list a {
  color: black;
  text-decoration: underline;
  font-weight: 900;
  text-shadow: 0.1px 0 0 black, -0.1px 0 0 black;
}

.publication-list a:hover {
  color: black;
  text-decoration: underline;
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
}

 .fear-me-link:hover, .fear-me-link:active {
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
}
em {
  font-style: italic;
}

.links {
  margin-top: 30px;
}

.links a {
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.links a:hover {
  color: black;
  text-decoration: underline;
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
}

/* Static Navigation Menu */
.static-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 160px;
  height: 100vh;
  background-color: white;
  padding-top: 0;
  z-index: 30;
}

.static-nav a {
  display: block;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 16px;
  color: black;
  font-weight: 500;
  transition: 0.2s;
}

.static-nav .nav-title {
  padding: 14px 30px;
  text-align: left;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  color: black;
  border-bottom: none;
  text-decoration: none;
  display: block;
}

.nav-title:hover {
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
}

.static-nav a:hover,
.static-nav a:active {
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: block;
  cursor: pointer;
}


/* Hide dropdown by default, only show on .writing-page */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  padding-left: 15px;
  transition: max-height 0.3s ease-out;
}

body.writing-page .dropdown .dropdown-content,
body.writing-page .dropdown.active .dropdown-content,
body.about-page .dropdown .dropdown-content,
body.about-page .dropdown.active .dropdown-content,
body.contact-page .dropdown .dropdown-content,
body.contact-page .dropdown.active .dropdown-content {
  max-height: 200px;
}

.dropdown-content a {
  padding: 5px 30px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  border-left: 2px solid transparent;
  text-transform: lowercase;
  line-height: 1;
}

.dropdown-content a:hover {
  color: black;
  text-decoration: underline;
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
}

/* MOBILE */
@media (max-width: 900px) {
  .static-nav {
    width: 100%;
    height: auto;
    padding-top: 0;
    position: relative;
  }

  .static-nav a {
    display: inline-block;
    padding: 15px;
    font-size: 18px;
  }

  .nav-title {
    padding: 10px 15px 5px 15px;
    margin-bottom: 0;
  }

  .container {
    flex-direction: column;
    margin-left: 0;
  }

  .left, .right {
    width: 100%;
    position: relative;
    margin: 0;
  }

  .left {
    height: 50vh;
    left: 0;
  }

  .right {
    height: auto;
  }

  .ticker {
    display: none;
  }
}
