html{
    justify-content: center;
    background-image: url(./images/blur_background.webp);
    /*background: linear-gradient(rgba(245,0,10, 90%), rgb(20, 0, 0));*/
    background-size: cover;
    height: auto;
    width:100vw;
}
#header{
    display:flex;
    font-family: Helvetica ,'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color:white;
    height:10vh;
    margin-left: 5vh;
}
#header > div{
    background-color: rgba(255,255,255,20%);
    border-radius: 50px;
}

#main{
    background-color: rgba(159, 159, 159, 0.5);
    border-radius: 15px;
    border-style: solid;
    border-color: rgba(179, 179, 200, 0.5);
    width: 95%;
    padding-left: 20px;
    padding-bottom: 10px;;
    margin-right:3%;
    margin-left:1%;
}

th,
td {
    padding: 10px;
    border: 1px solid #333;
}
table{
    font-size: small;
}
.table-header{
    font-size: medium;
    background-color: rgb(136, 122, 196);
}
h1{
    text-align: center;
    width:100vw;
}
h1:hover{cursor:url( to_add_later_on)}

h3{
    border : solid 2px black;
    width : 95%;
    background:rgba(15,3,3,30%);
    padding:3px;
    border-radius: 5px;
    box-shadow: 5px 2px #333;
    text-decoration: underline;
    display:flex;
}

h4{
    text-decoration: underline;
    display:flex;
}

em{
    font-weight: bold;
}

a {
    text-shadow: 0px 0px 5px #8f8d8d;
    color: blue;
}


footer{
    color:white;
    margin-top: 10px;
}
/* index.html specific*/
#presentation>p{
    font-size: 17px;
    text-align: center;
    font-family: open sans, sans-serif; 
    font-weight: bold;
}
#presentation ul{
    font-size: 17px;
    text-align: center;
    list-style-position: inside;
    font-family: open sans, sans-serif;
    font-weight: bold;
    margin:0;
    padding:0;
}
#index{
    overflow:scroll;
}

#index a,
#index a:link,
#index a:visited {
  color: #0e2f3f;         /* muted/darker blue-gray */
  text-shadow: none;      /* remove glow */
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

#index a:hover,
#index a:focus,
#index a:active {
  color: #0b2733;         /* slightly darker on hover/active */
  text-decoration: underline;
  outline: 3px solid rgba(31,57,66,0.08);
  outline-offset: 2px;
}

/* optional: reduce link brightness inside table headers too */
#index th a { color: inherit; }
/* make index table links darker & consistent across states, with subtle hover/focus */
#index a,
#index a:link,
#index a:visited {
  color: #0f222c;         /* muted/darker blue-gray */
  text-shadow: none;      /* remove glow */
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

#index a:hover,
#index a:focus,
#index a:active {
  color: #112a33;         /* slightly darker on hover/active */
  text-decoration: underline;
  outline: 3px solid rgba(31,57,66,0.08);
  outline-offset: 2px;
}

/* optional: reduce link brightness inside table headers too */
#index th a { color: inherit; }

/* spells.html - specific*/
.magic h4{
    background-color: rgba(159, 159, 159, 0.2);
    padding : 5px 5px 0px 10px;
    border-radius: 7px;
    box-shadow : 2px 2px #333;
    width : 98%;
    margin-bottom:3px;
    vertical-align: middle;
}

#main .magic  div {
    border-left : 3px black solid;
    padding-left : 10px;
    margin-top: 0px;
    padding-bottom: 5px;
}

#tierlist {
    width: 95%;
    padding: 20px;
    margin: 20px auto;
}

#tierlist table {
    width: 100%;
    border-collapse: collapse;
}

#tierlist th, #tierlist td {
    padding: 10px;
    border: 1px solid #333;
    text-align: left;
}

#tierlist th {
    width: 10%;
    text-align: center;
    font-size: large;
}

#tierlist td {
    font-size: small;
}

.tier-splus {
    background-color: #ff0000; /* Red */
}

.tier-s {
    background-color: #ff4500; /* Orange Red */
}

.tier-a {
    background-color: #ff8c00; /* Dark Orange */
}

.tier-b {
    background-color: #ffd700; /* Gold */
}

.tier-c {
    background-color: #adff2f; /* Green Yellow */
}

.tier-d {
    background-color: #00ff00; /* Green */
}


.mastery table th:nth-child(3),
.mastery table td:nth-child(3) {
    text-align: center;
    vertical-align: middle;
}