/*
TO FIX, if you ever get around to it:
- On smaller (tablet) widths, .page sticks to the left side of the page and isn't centered. 
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    margin: 0;
    background-image: url("../p/index-bg.png");
    background-color: black;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow-y: hidden;
    font-family: "Hanken Grotesk";
    color: #262628;

    /* to hide scrollbar on firefox and edge */
    scrollbar-width: none;    
    -ms-overflow-style: none;
}

.content img {
  width: 50%;
}

a {
  color: black;
}

a:hover {
  background-color: #c4c4cb;
}

.divider {
  border-bottom: 1px solid #787880;
  width: 100%;
  margin: 20px 0;
}

.page::-webkit-scrollbar {
  display: none;              
}

.page-and-scroll {
    background: #e9e9ed;
    max-width: 900px;
    width: 90%;
    height: 80vh;
    margin: 3rem 0;
    margin-left: auto;
    margin-right: auto;
    
    padding: 20px;
    border: 5px solid #262628;
    position: relative;
}

.page {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
}

iframe {
  height: 1000px;
  width: 100%;
  overflow: hidden;
  margin: 20px 0;
}

.header {
    width: 100%;
    border: 2px solid #262628;
}

.content {
    text-align: left;
    width: 100%;
}

.highlight-text {
    background-color: #787880;
    color: #e9e9ed;
    padding: 0 2px;
}

h1 {
    font-family: "Karabine";
    font-size: 3rem;
    margin: 1rem 0;
    color: #3f3f43;
}

#scrollThumb {
  position: absolute;
  right: -90px;
  z-index: 999;
  width: 150px;
}

