html { scroll-behavior: smooth; } header { margin-top: 2rem; margin-bottom: 4rem; padding-left: 1rem !important; padding-right: 1rem !important; box-sizing: border-box; margin-right: 0; } header div { text-align: center; } header a { display: inline-block; text-align: center; font-size: 1.5rem; position: relative; } header a::after { content: ''; display: inline-block; position: absolute; left: 25%; bottom: -0.4rem; width: 50%; height: 1px; background: #9b4dca; transition: all 0.3s; } header a:hover::after { left: 0%; width: 100%; background: #606c76; } .vertical-space { width: 100%; height: 1px; margin-top: 2rem; margin-bottom: 2rem; } .text-center { text-align: center; } .alcohol-and-the-brain .chart { min-width: 0; } .alcohol-abuse-chart-box { display: flex; width: 100%; position: relative; justify-content: center; flex-direction: column; } .alcohol-abuse-chart-box p { margin-top: 1rem; } .heading h1, .heading h2 { text-align: center; } svg { max-width: 100%; } #Alcohol, #connection-rectangle, #brain, #brain-projection, #human { opacity: 0; } .references li { transition: background-color 1s; padding: 0.5rem 1rem; } .highlight { background-color: rgb(251, 255, 130); } #brain-container canvas { margin: 1rem auto; }