
/* icons */
@font-face {
    font-family: "Nerd Font";
    src:
        url(../fonts/SymbolsNerdFont-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

@keyframes trans {
    0% {
        color: #95e9f4;
    }
    25% {
        color: #f7a7ba;
    }
    50% {
        color: #faf8f6;
    }
    75% {
        color: #f7a7ba;
    }
    100% {
        color: #95e9f4;
    }
}

@keyframes rainbow {
    0% {
        color: #f59084;
    }
    16.67% {
        color: #e8a588;
    }
    33.33% {
        color: #fde5a5;
    }
    50% {
        color: #c0dea8;
    }
    66.67% {
        color: #9eb4dd;
    }
    83.33% {
        color: #8880bc;
    }
    100% {
        color: #f59084;
    }
}

@keyframes lesbian {
    0% {
        color: #f66359;
    }
    25% {
        color: #efb270;
    }
    50% {
        color: #faf8f6;
    }
    75% {
        color: #e982d6;
    }
    100% {
        color: #f74de0;
    }
}

* {
    box-sizing: border-box;
}

body {
    background-color: #1e1e1e;
    font-family: sans-serif, "Nerd Font";
    color: #f5f5f5;
}

header {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    display: inline-block;
    padding-top: 2em;
}

header nav {
    text-align: center;
    float: left;
    width: 30%;
}

header #second {
    /*display: inline-block; */
    float: right;
    padding: 10px 15px;
}

header #second a {
    color: #c9a0bb;
    font-size: 20px;
    text-decoration: none;
}

header #second a:hover {
    color: #1e1e1e;
    background-color: #c9a0bb;
    transition: 0.2s;
}

header nav a {
    color: #c9a0bb;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 1em;
    transition: 0.2s;
}

header nav a:hover {
    color: #1e1e1e;
    background-color: #c9a0bb;
    transition: 0.2s;
}

main {
    margin: auto;
    padding: 10%;
    max-width: 1500px;
    display: grid;
}

#index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

main h1 {
    font-size: 3em;
    text-align: center;
    line-height: 0.1em;
    text-transform: uppercase;
}

.title {
    grid-column: 1 / -1;
}

.title :nth-child(2) {
    opacity: 0.5;
    margin-top: 5px;
}

.title :nth-child(3) {
    opacity: 0.2;
    margin-top: 5px;
}

main img {
    grid-column: 2;
    grid-row: 2 / -1;
    width: 100%;
    padding: 2em;
}

.text {
    padding-top: 1em;
    margin: 2em;
}

#blog {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.rating {
    margin-top: 2em;
    text-align: right;
}

footer {
    text-align: center;
    padding: 2em;
}

footer a {
    padding: 10px 15px;
}

main a {
    color: #c9a0bb;
    text-decoration: none;
}

/*main a:hover {
    background-color: #c9a0bb;
    color: #1e1e1e;
    transition: 0.2s;
}*/

/* main ul {
    list-style-type: none;
} */

main ul li {
    padding: 5px;
}

main table {
    margin: 1em;
    border-collapse: collapse;
    border: 2px solid #f5f5f5;
    grid-column: 2;
    grid-row: 2 / -1;
    width: 100%;
}

#mobile {
    display: none;
}

main th,
td {
    padding: 0.5em;
    border: 1px solid #f5f5f5;
}
/*
main ol {
    padding: 10px 15px;
}

main ol li {
    padding: 10px 15px;
} */

.rand {
    text-align: center;
    font-size: 1.2em;
}

#noaccess,
#noaccess:hover {
    color: gray;
    text-decoration: none;
    background-color: #1e1e1e;
    cursor: not-allowed;
}

#back {
    text-align: center;
}

section {
    color: #f5f5f5;
    text-align: center;
    background-color: #c9a0bb30;
    border: 0.2em solid #c9a0bb;
    border-radius: 1.3em;
    padding: 0.7em;
    margin: 1em;
    transition: 0.2s;
}

section img {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 55%;
}

section:hover {
    color: #c9a0bb;
    transition: 0.2s;
}

/* section:hover{
    box-shadow: 0 0 3px 3px #f5f5f5;
} */

input,
textarea {
    border: none;
    border-radius: 0.7em;
    transition: 0.1s;
    background-color: #171717;
    color: #f5f5f5;
    padding: 0.7em;
    font-size: 1em;
}

input:focus,
textarea:focus {
    border: 0.2em solid #c9a0bb;
    border-radius: 0.7em;
    transition: 0.1s;
    outline: none;
}

button {
    border: 0.2em solid #898989;
    border-radius: 0.7em;
    background-color: #1e1e1e;
    color: #f5f5f5;
    font-family: Ubuntu;
    font-size: 1em;
    padding: 0.7em;
    transition: 0.1s;
}

button:hover {
    border: 0.2em solid #c9a0bb;
    transition: 0.1s;
}

button:active {
    border: 0.2em solid #abc9a0;
}

.text img {
    width: 40%;
}

.trans {
    animation: 5s linear infinite trans;
}

.rainbow {
    animation: 5s linear infinite rainbow;
}

/* mobile */
@media (max-width: 600px) {
    section img {
        display: none;
    }

    #index {
        display: inline-block;
    }

    main {
        margin-top: 6em;
    }
    
    main h1 {
        line-height: 0.5em;
        font-size: 1.5em;
    }

    textarea {
        width: 250px;
    }

    #mobile {
        display: flex;
    }

    header {
        flex-direction: column;
    }

    header nav {
        flex-direction: row;
        justify-content: center;
    }

    nav + #second {
        margin-top: -5px;
    }

    #blog {
        grid-template-columns: 1fr;
    }

    .text img {
        width: 100%;
    }
}
