/* ----------------------*/
/* -- Variable Styles -- */
/* --------------------- */
:root {
  /* -- Font & Text -- */
  --text-color: #e8e3fd;
  --body-font: "Abel", sans-serif;
  --header-font: 'Onely Sans';

  /* -- Colors -- */
  --background:  #080431b6;
 
  /* -- Other Settings -- */
  --width: 100vw;
  --height: 100vh;
  --padding: 45px;
  --margin: 40px;
  --sidebar-width: 220px;
  --border-style: outset;
  --round-border: 10px;
  --border-color: rgba(13, 69, 189, 0.3);
  --blend-mode: screen;
}
/* ----------------------*/
/* --   BG & Layout   -- */
/* --------------------- */
html, body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-width: 100vw;
  line-height: 1.2;
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background);
  background: linear-gradient(180deg,rgba(2, 0, 36, 1) 35%, 
    rgba(7, 28, 105, 1) 75%, 
    rgba(107, 13, 189, 1) 95%);
}

body {
  background-image: url('https://images2.imgbox.com/43/41/tid7UOsJ_o.png');
  background-repeat: repeat-x;
  background-attachment: static; 
  background-size: 50vh 37vh;
}

.layout{
  display: grid;
  margin: var(--margin);
  padding: var(--padding);
  gap: 20px;
  /* border: var(--border-style);
  border-color: var(--border-color); */
  grid-template: "header header header" auto 
  "leftSidebar section rightSidebar" auto 
  "footer footer footer" auto / 
  var(--sidebar-width) auto var(--sidebar-width);
}

/* ----------------------*/
/* --    Scrollbars   -- */
/* --------------------- */
::-webkit-scrollbar {
  width: 8px;
  display: none;
}

::-webkit-scrollbar-track {
  background: transparent; 

}

::-webkit-scrollbar-thumb {
  background: rgba(42, 127, 238, 0.671) 65%;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 41, 177, 0.932) 65%;
}
/* ----------------------*/
/* --      Fonts      -- */
/* --------------------- */
@font-face {
  font-family: 'Onely Sans';
  src: url('OnelySansRegular.eot');
  src: url('OnelySansRegular.eot?#iefix') format('embedded-opentype'),
      url('OnelySansRegular.woff2') format('woff2'),
      url('OnelySansRegular.woff') format('woff'),
      url('OnelySansRegular.svg#OnelySansRegular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.abel-regular {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ----------------------*/
/* --      Links      -- */
/* --------------------- */
a {
  text-decoration: none;
  color: var(--text-color);
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* ----------------------*/
/* --     Images      -- */
/* --------------------- */
.photo {
  float: left;
  align-items: center;
  margin: 20px;

}

.elem-bottom{
  width: 140px;
  height: 100px;
  mix-blend-mode: normal;
  position: absolute;
}

/* ----------------------*/
/* --      Header     -- */
/* --------------------- */
header{
  grid-area: header;
  /* background-color: var(--background);
  border: var(--border-style);
  border-color: var(--border-color); */
  border-radius: var(--round-border);
  padding: 30px;
  display: grid;
  align-items: top;
  float : top;
  clear : none;
}

.header {
  font-family: var(--header-font);
  font-size: 20px;
  letter-spacing: 7px;
  font-weight: normal;
  font-style: normal; 
  position: relative;
  left: 55px;
  bottom: 30px;
}

ul {
  list-style: "✦  ";
  list-style-position: inside;
  padding-left: 4px;
  line-height: 25px;
}
/* ----------------------*/
/* --     Sidebars    -- */
/* --------------------- */
aside {
  grid-area: aside;
  display: grid;
  overflow: hidden;
  min-height: 30vh;
  /* border: var(--border-style);
  border-color: var(--border-color); */
  border-radius: var(--round-border);
  justify-content: center;
}

.left-sidebar{
  grid-area: leftSidebar;
}

.right-sidebar{
  grid-area: rightSidebar;
}

.nav-container {
  background: var(--background);
  align-items: top;
  justify-content: center;
  border: var(--border-style);
  border-radius: var(--round-border);
  border-color: var(--border-color);
  line-height: 1.2;
  margin: 15px 0.5px;
  padding: 8px var(--padding);
  width: 100px;
}

.container {
  background: var(--background);
  overflow: hidden;
  display: grid;
  border: var(--border-style);
  border-radius: var(--round-border);
  border-color: var(--border-color);
  align-items: top;
  justify-content: center;
  line-height: 1.5;
  margin: 10px;
  padding: 10px;
}

.container-scroll {
  background: var(--background);
  overflow: scroll;
  overflow-x: hidden;
  display: grid;
  border: var(--border-style);
  border-radius: var(--round-border);
  border-color: var(--border-color);
  align-items: top;
  justify-content: center;
  line-height: 1.5;
  grid-auto-flow: row;
  grid-auto-rows: 10%; /* play with this to change height of the children, 50% will fill half */
  grid-template-columns: unset; /* do not set template columns and rows */
  height: 35vh;
  margin: 10px;
  padding: 10px;
}

/* ----------------------*/
/* --       Body      -- */
/* --------------------- */
section {
  grid-area: section;
  overflow-y: auto;
  display: grid;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  justify-content: center;
  background-color: var(--background);
  border: var(--border-style);
  border-color: var(--border-color);
  border-radius: var(--round-border);
  padding: 50px;
}

h1 {
  font-family: var(--header-font);
  letter-spacing: 7px;
  font-weight: normal;
  font-style: normal; 
  margin: 20px;
}

.img {
  width: 25px;
  height: 25px;
  position: static;
}

.side-info b {
  display: block;
  text-align: right;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(0,0,0,0.05);
  padding: 2px;
  border-top: 1px solid var(--borders);margin:0 0 2px 0;
}
/* ----------------------*/
/* --      Footer     -- */
/* --------------------- */
footer{
  grid-area: footer;
  overflow: hidden;
  font-size: 0.75em;
  padding: 15px;
  background-color: var(--background);
  /* border: var(--border-style);
  border-color: var(--border-color); */
  border-radius: var(--round-border);
  display: flex;
  justify-content: center;
}

/* ----------------------*/
/* --  Accessibility  -- */
/* --------------------- */
#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--background);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* ----------------------*/
/* - Mobile Responsive - */
/* --------------------- */
@media (max-width: 900px) {
  html, body {
    padding: 10px;
    font-size: 16px;
    justify-content: center;
  }

  body { background-image: url('https://images2.imgbox.com/43/41/tid7UOsJ_o.png');
    background-repeat: repeat-x;
    background-attachment: static; 
    background-size: 75vh;
  }
  .layout {
    min-width: 90%;
    grid-template: "header" auto  "leftSidebar" auto "section" auto "rightSidebar" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  .header {
    font-family: 'Onely Sans';
    font-size: 18px;
    letter-spacing: 7px;
    top: 1px;
    width: 100%;
    max-height: none;
  }

  aside {
    padding: 5px;
    font-size: 1em;
    display: grid;
    place-content: center;
  }

  .nav-container {
    display: inline-grid;
  }
  .container {
    display: inline-flex;
    font-size: 15px;
  }

  section {
    padding: 15px;
  }
  img {
    width: 100%;
    max-height: none;
  }

  .photo {
    float: none;
    width: 250px;
    height: 300px;
    object-fit: cover;
  }
  img.elem-top, .line-sprite {
    display: none;
  }
img.elem-bottom {
  padding: 10px;
}
  main {
    max-height: none;
    padding: 15px;
}
}

/* ----------------------*/
/* --   End of Code   -- */
/* --------------------- */