/** Main sections */

body {
  position: relative;
  font-family: "Lucida Console", "Monaco", "Arial";
  padding: 15%;
  padding-top: 0;
  background-image: url('/assets/bg.jpg');
  background-size: 1920px 1080px;
  background-repeat: repeat;
  background-position: 0px 0px;
  animation: bgScroll 40s linear infinite;
}

@keyframes bgScroll {
  from { background-position: 0px 0px; }
  to   { background-position: 1920px 1080px; }
}

#wip{
  font-size: 24px;
  text-align: center;
}


#tab{
  border: 2px dashed #7b0be5;
  border-radius: 10px;
}

#title {
  background: #23043f;
  text-align: center;
  color: white;
}

#main_body {
  display: flex; 
}

#links {
  background: #2c054b;
  padding: 5px;
}

#categories {
  flex: 1;
  background: #380660;
}

#content {
  flex: 3;
  background: #320556;
}

#acks {
  background: #23043f;
  padding: 10px;
  text-align: center;
  color: white;
}

/** Dashes between sections */

#title, #links, #categories, #content {
  border-bottom: 2px dashed #7b0be5;
}

#categories{
  border-right: 2px dashed #7b0be5;
}


/** Header */

#header_layout {
  display: flex;
  align-items: center;
  gap: 5px;
}

#mya_icon {
  flex: 0 0 auto;
  width: 150px;
  display: block;
  border-right: 2px dashed #7b0be5;
}

#header_text {
  flex: 1;
  margin: 0;
}

/** About me section */

.about_me_head, .about_me_text{
  text-align: center;
}

.about_me_head{
  font-size: 22px;
}

/** Profile links*/

#link_table {
  width: 100%;
  table-layout: fixed;
}

.link_cell {
  text-align: center;
  width: 33.3%;
}

/** Sidebar table */

#category_table{
  border: 2px solid #1c0030;
  border-collapse: collapse;
  width: 100%;
  height: 200px;
}

.cat_cell{
  border: 2px solid #1c0030;
  border: collapse;
}

.cat_row{
  background-color: #2d004e;
}

.cat_row:nth-child(even){
 background-color: #35005c;
}

/** Text */

p, h1, h2, a {
  color: #d6aefb;
  font-family: "Lucida Console", "Monaco", "Arial";
}

h1{
  font-size: 48px;
}

a:hover {
 color: white; 
}

.cat_link{
  font-size: 28px;
}

/** Phone mode */

@media (max-width: 768px) {
  body {
    padding: 4%;
    padding-top: 0;
  }

  #main_body {
    flex-direction: column;
  }

  #mya_icon {
    width: 80px;
  }

  h1 {
    font-size: 28px;
  }

  #categories {
    border-right: none;
    border-bottom: 2px dashed #7b0be5;
    flex: none;
    width: 100%;
  }

  #content {
    flex: none;
    width: 100%;
  }

  .cat_link {
    font-size: 18px;
  }

  #category_table {
    height: auto;
  }

  #link_table {
    display: block;
  }

  .link_cell {
    display: block;
    width: 100%;
    padding: 6px 0;
    text-align: center;
  }
}
