/*you can see my haphazard progression in knowledge here*/
body {
    overflow: auto auto;
letter-spacing: 0.1rem;
    font-weight: bold;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-content: center;
}

.centered-container {
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    border-collapse: collapse;
}

table {
    position: absolute;
}
div[id="main"] {
    padding-bottom: 30px;
}
table[id="shit"] th {
    font-family: arial;
    font-style: italic;
}
table[id="shit"] {
    border-collapse: collapse;
    font-family: arial;
    position: relative;
    table-layout: fixed;
    text-align: center;
    width: 637px;
    bottom: 35px;
}
.td {
    height: 126px;
}
td, th {
    max-height: 90%;
    max-width: 90%;
    height: auto;
    width: auto;
    background-color: rgba(255, 255, 255, 0.8);
    border: 3px solid pink;
    scale: revert;
}
th[scope="col"] {
padding: 1% 0%;
    font-family: arial;
    font-style: italic;
    font-size: 300%;
border-bottom-width: 0px;
}
p[scope="2"] {
  border-top: 0px;
font-family: monospace;
    font-size: 50%;
 font-style: normal;
    font-weight: lighter;
    border-bottom: 0px;
    margin-top: 30px;
}
td.main div.home {
    display: flex;
    max-width: 100%;
    width: 1000px;
    height: min-content;
    justify-content: space-evenly;
}

div[scope="links"] {
    border-bottom: solid 3px pink;
    margin: 0 0 100px 0;
    padding: 5px 0 80px;
    height: 338px;
}
button {
    margin-top: 60px;
    background: transparent;
    border-color: rgba(0,0,0,1);
}
.mbutton {
    transition: all;
    transition-timing-function: ease;
    transition-duration: 0.1s;
}
.mbutton:hover {
    outline: 3px solid pink;
}

.index {
    vertical-align: top;
}

article[scope="index"] h1 {
    margin-left: 80px;
    margin-right: 80px;
   text-align: center;
    font-family: arial;
    font-style: italic;
    font-weight: bold;
    font-size: 150%;
}
p[scope="2i"], p[scope="3i"] {
    white-space: collapse;
    padding: 0 5%;
    font-family: monospace;
    font-weight: lighter;
    text-align: left;
}

@media screen and (height <= 900px) {
    .centered-container {
        overflow: scroll scroll;
    }
    td[class="main"] {
        display: block;
        flex-wrap: wrap;
        max-height: 70vh;
        max-width: min-content;
        overflow-y: scroll;
        align-items: center;
    }
    .scroll {
        max-height: 70vh;
        overflow-y: scroll;

    }
}
/*mobile attempt; sorry in advance*/
@media screen and (width <= 1500px) {
    .centered-container {
        font-size: 70%;
    }
    tbody {
        max-width: 40vw;
    }
    td.main div.home {
        flex-flow: column;
        align-items: center;
    }
 button {
       scale: 0.7;
    }
    .scroll {
        display: flex;
        max-width: 40vw;
        max-height: 70vh;
    }
    .scroll div {
        width: 1000px;
       overflow-x: hidden;
    }
    #shit {
        margin-top: 40px;
        height: 50%;
        width: 70%;
    }
    th[scope="col"] {
        justify-content: center;
        align-content: center;
        width: 100%;
    }
    .header {
     display: flex;  
    }
     .index {
        min-width: min-content;
        word-wrap: break-word;
        overflow-y: scroll;
    }
    .index article h1 {
        display: none;
    }
    .index article p {
        margin-top: 20px;
    }
}