@font-face {
    font-family: 'Winky';
    src: url('assets/Winky_Rough/WinkyRough-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Winky', sans-serif;
    background-color: #151414;
    color: aliceblue;
    font-size: 2rem;
    margin: 0 2%;
}

nav {
    margin-top: calc(1 / 6 * 100vh);
    margin-bottom: 1%;
}

h1 {
    text-decoration: underline;
    color: rgb(227, 174, 116);
    margin-bottom: 10px;
    font-size: 3rem;
}

p {
    margin: 1rem auto;
}

a,
a:visited {
    color: rgba(236, 146, 49, 0.879);
}

a:hover {
    color: #aab8d7;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    list-style: none;
}

main {
    border: 3px solid white;
    border-radius: 5px;
    padding: 2rem;
    background-color: rgba(81, 183, 93, 0.773);
    box-shadow: 10px 10px 5px 0px rgba(42, 42, 42, 0.75);
}

.main-btn {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid;
    padding: 5px;
    color: inherit;
    cursor: pointer;
}

article {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: smaller;
    text-align: justify;
    color: rgba(248, 202, 189, 0.854);
}

img {
    margin: .5rem 0;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 13px;
}

.table-wrap {
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.about-img {
    max-width: 50%;
    margin: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 640px;
    font-size: 14pxdd;
    background-color: rgba(0, 0, 0, 0.3);
}


th {
    text-align: center;
    font-weight: 600;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.75), rgba(10, 14, 20, 0.65));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 2;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    vertical-align: middle;
}


tr:nth-child(odd) {
    background-color: rgba(14, 14, 15, 0.111)
}


tr:hover {
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.03), rgba(96, 165, 250, 0.02));
    transform: translateZ(0);
}

.info {
    margin-bottom: .8rem;
}

#postContainer img {
    max-width: 50%;
    margin: .5rem auto;
}

.pagControl {
    display: flex;
    justify-content: center;
}

#indicator {
    margin: auto 10px;
}

.postDate {
    color: #c7f68a;
}

.postTemp {
    color: #c7f68a;
}

@media screen and (min-width: 900px) {
    body {
        margin: 0 15vw;
    }

    #postContainer {
        flex-direction: column;
    }

    article img {
        max-width: 90%;
    }
}