@import url("https://fonts.cdnfonts.com/css/sans-forgetica");

html * {
  #font-size: 48px;
  #color: #f3f3f3;
  font-family: Helvetica, sans-serif;
  font-weight: bold;
  background-color: #0f0f0f;
}

body {
  color: #f3f3f3;
  background-color: #0f0f0f;
  #background-color: #5983af;
  #background-attachment: fixed;
  #background-size: cover;
}

header {
  #position: sticky;
  top: 0;
  #text-align: center;
  margin-left: 13em;
  margin-top: -10px;
  margin-right: -10px;
}

div {
  background-color: inherit;
  text-align: center;
  margin: 0px;
}

h1.about {
  #background-color: #0f0f0f;
  #color: #f3f3f3;
  #padding: 10px 0px;
}

* {
  box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 3.6em;
  text-align: center;
  background-color: inherit;
  font-family: "Sans Forgetica";
}

p {
  text-align: justify;
  padding: 1em 2em;
}

img {
  max-width: 80%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.mold {
  max-width: 100%;
  height: auto;
  #margin: -30px;
  #max-height: 10em;
  margin: 0;
}

ul.no-bullets-cv,
ul.no-bullets {
  background-color: inherit;
  list-style-type: none; /* Remove bullets */
  padding: 0px; /* Remove padding */
  margin: 0; /* Remove margins */
}

li {
  background-color: inherit;
  margin: 10px 0px;
}

ul.no-bullets-cv {
  #margin-left: 4em;
  #padding-left: 4em;
}

hr {
  border-style: solid;
  color: inherit;
  background-color: inherit;
  margin: 0% 30%;
}

pre {
  background-color: inherit;
}

.banner {
  position: relative;
  text-align: center;
  color: white;
  padding: 0px;
  margin: 0px;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sidebar {
  background-color: #ff00ff;
  color: black;
  height: 100%; /* Full-height: remove this if you want "auto" height */
  #width: 15%; /* Set the width of the sidebar */
  width: 13em;
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  overflow-y: hidden;
  #overflow-wrap: normal;
  #margin-top: 20px;
}

.main {
  margin-left: 13em; /* Same as the width of the sidebar */
  padding: 10px 20px;
  text-align: center;
}

.cv {
  text-align: justify;
}

.cv-table {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  border: 7px solid #ff00ff;
  #font-size: 1.3em;
}

th,
td {
  #margin: -20px 0px;
  padding: 0.6em;
}

td.fill,
th.fill {
  color: #0f0f0f;
  background-color: #ff00ff;
  text-align: center;
}

.cas9 {
  width: 100%;
  max-width: 100%;
  padding: 7px;
  background-color: #ff00ff;
}

.gallery {
  overflow: auto;
  white-space: nowrap;
  display: inline-flex;
  height: 20em;
  #width: 100%;
  background-color: #ff00ff;
  padding: 7px;
}

.cropped {
  width: auto;
  height: auto;
  margin: 0px;
  padding: 10px 20px;
  background-color: #0f0f0f;
}

div.resolution-matters {
  overflow: auto;
  #border-top: 7px solid #ff00ff;
  #border-left: 7px solid #ff00ff;
  margin-top: 1em;
}

img.resolution-matters {
  float: left;
  height: auto;
  width: 70%;
  border: 7px solid #ff00ff;
  #margin-top: 1em;
  margin-right: 1.3em;
  #overflow: auto;
}

p.resolution-matters {
  #border: 7px solid #ff00ff;
  #margin-left: 20px;
  margin: 0;
  padding: 1em;
}

@media only screen and (max-width: 600px) {
  header {
    margin-left: 0;
  }
  .sidebar {
    height: auto;
    width: 100%;
    padding: 0px 10px;
    position: static;
  }
  .sidebar a {
    font-size: 18px;
  }
  .main {
    margin-left: 0%;
  }
  pre {
    display: none;
  }

  img.resolution-matters {
    float: none;
    max-width: 100%;
    width: 90%;
  }
}
