@font-face {
  font-family: averia-serif;
  src: url(/font/averiaserif.ttf), serif;
}

@font-face {
  font-family: jost;
  src: url(/font/jost.ttf), sans-serif;
}

:root {
  --header-font: jost;
  --body-font: averia-serif;
  
  --border-color: #02000d;
  --box-bg: rgba(210, 191, 255, .9);
  --box-txt: #02000d;
  --box-txt-hover: #1a0057;
  --header-txt: #1a0057;
  --header-txt-hover: #02000d;
  
  --button-bg: rgba(12, 0, 41, .9);
  --button-txt: #fff7a3;
  --button-bg-hover: rgba(255, 247, 163, .9);
  --button-txt-hover: #0c0029;
  
  --link-txt: #240078;
  --link-hover: #0d002b;
}

html {
  cursor: url(/img/cursor.png), auto;
}

a:hover {
   cursor: url(/img/hovercursor.png), auto;
}

body {
  margin: 0;
  background-image: url('/img/black-hole.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: averia-serif;
  font-size: 1.1em;
  color: var(--box-txt);
  }

/*Everything goes inside here.*/
.wrapper {
  width: 1000px;
  margin: 0 auto;
  }
  
p:hover, li:hover {
  color: var(--box-txt-hover)
}

h1 {
  text-align: center;
}

.memberimg {
  float: right;
  margin: 10px;
}

h1, h2, h3 {
  font-family: var(--header-font);
  color: var(--header-txt);
  text-transform: uppercase;
}

h1:hover, h2:hover, h3:hover {
  color: var(--header-txt-hover);
}
  
.sidebar-img, .box {
  margin-top: 20px;
  background-color: var(--box-bg);
  }
  
.links {
  text-align: center;
}
  
/*Navigation links.*/
.links ul {
  list-style-type: circle;
  padding: 0;
  margin: 0;
}
  
.links li {
  display: block;
}
  
a {
  color: var(--link-txt);
  text-decoration: none;
}
  
a:hover {
  color: var(--link-hover);
}
  
  
.navbutton:link, .navbutton:visited {
  background-color: var(--button-bg);
  color: var(--button-txt);
  border: 2px solid black;
  padding: 5px 10px;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
}

.navbutton:hover, .navbutton:active {
  background-color: var(--button-bg-hover);
  color: var(--button-txt-hover)
}  
  
.links li:before, .links li:after {
  letter-spacing: 0.1em;
  }
  
/*Basic box code that is used for all content boxes on the page.*/
.box {
  border: 2px solid black;
  padding: 0.5em 1em;
  }
  
/*Goes inside the box class. Not given any style by default, but can be used for stuff like fancy borders.*/
.inner {
  
  }
  
/*Prevent image overflow.*/
.box img, .sidebar img {
  max-width: 100%;
  height: auto;
  }
  
/*Wrapper for the sidebar.*/
.sidebar {
  width: 200px;
  float: left;
  margin-top: 20px;
  position: sticky;
  top: 20;
  }
  
/*Container for the sidebar image.*/
.sidebar-image {
  border: 2px solid black;
  }
  
/*Remove extra padding line at the bottom of the image.*/
.sidebar-image img {
  display: block;
  }
  
/*This is where the title, navbar, and main content all go.*/
.main-wrapper {
  margin-left: 225px;
  }
  
/*Two columns by default. The "single-column" class can be added to make it one column.*/
.main {
  columns: 1;
  }
  
/*Make sure boxes don't spread over multiple columns.*/
.main .box {
  display: block;
  }
  
/*** Works on common browsers ***/
::selection {
    background-color: var(--box-txt);
    color: var(--box-bg);
}

/*** Mozilla based browsers ***/
::-moz-selection {
    background-color: var(--box-txt);
    color: var(--box-bg);
}

/***For Other Browsers ***/
::-o-selection {
    background-color: var(--box-txt);
    color: var(--box-bg);
}

::-ms-selection {
    background-color: var(--box-txt);
    color: var(--box-bg);
}

/*** For Webkit ***/
::-webkit-selection {
    background-color: var(--box-txt);
    color: var(--box-bg);
}
  
@media(max-width:915px) {
  .wrapper {    
    width: 95%;
    }
    
  .main-wrapper {
    width: calc(100% - 225px);
    }
  .memberimg {
    float: none;
    margin: auto;
    display: block;
    width: 50%;
  }
  }
  
@media (orientation: portrait), (max-width: 480px) {
  .wrapper {
    width: 100%;
    }
  .memberimg {
    float: none;
    margin: auto;
    display: block;
    width: 50%;
  }
  
}
    
@media (orientation: portrait), (max-width: 480px) {
  .sidebar {
      position: static;
    }
  
  .main-wrapper, .sidebar {
    margin: 0 auto;
    width: 90%;
    }
  
  .sidebar {
    float: none;
    display: block;
    }

  .sidebar-image {
    margin: 0 auto;
    width: 33%;
    margin-top:20px;
    }

  .sidebar .sidebar-image img {
    width: 100%;
    }
  .memberimg {
    float: none;
    margin: auto;
    display: block;
    width: 50%;
  }
  }