:root
{
    --main: #e1e9ee;
    --dark: rgb(22, 2, 32);
    --light: rgb(75, 31, 75);
    --red: rgb(168, 44, 48);
}
*
{
    transition: .4s;
    font-family: 'Roboto Slab';
    letter-spacing: 1.5px;
    color: var(--main);
}
body
{
    margin: 0;
    background: var(--dark);
}
.all
{
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: linear-gradient(70deg, rgba(22, 2, 32) 5%, rgba(75, 31, 75));

}
.image
{
    background-image:
        linear-gradient(70deg, rgba(22, 2, 32, 0.98) 5%, rgba(75, 31, 75, 0.6)),
        url('backgrounds/img1.webp');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;

}
.panel1
{
    background-image:
        linear-gradient(70deg, rgba(22, 2, 32, 0.98) 5%, rgba(75, 31, 75, 0.6)),
        url('backgrounds/panel1.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.logo
{
    position: relative;
    height: 40%;
    aspect-ratio: 1;
    background-image: url(icons/reality.svg);
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
    z-index: 1;
    margin: 3% 10% 2%;
}

.links
{
    position: relative;
    width: 360px;
    height: fit-content;
    margin-left: 10%;
}
.link
{
    position: relative;
    width: 100%;
    float: left;
    text-decoration: none;
    font-size: 30px;
    height: 50px;
    color: var(--main);
}
.links:hover .link
{
    opacity: .3;
}
.links .link:hover
{
    opacity: 1;
}
.link:hover .icon
{
    transform: rotate(360deg);
    transition: .4s;
}
.icon
{
    background-image: url(icons/reality-icon.svg);
    position: relative;
    height: 40px;
    width: 40px;
    float: left;
    margin-right: 10px;
    transition: 0s;
}
.link-text
{
    float: left;
}
#l1 .link-text
{
    text-decoration: underline 2px;
}

.soc
{
    position: absolute;
    width: fit-content;
    bottom: 5%;
}
#ig, #x, #pat
{
    height: 40px;
    width: 40px;
    float: left;
    margin-right: 10px;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
}
#ig
{
    background-image: url(icons/instagram.svg);
}
#x
{
    background-image: url(icons/twitter.svg);
}
#pat
{
    background-image: url(icons/patreon-icon.svg);
}
.soc .link
{
    opacity: 1;
}

.chapters
{
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: 10%;
    box-sizing: border-box;
    flex-direction: column;
    font-size: 25px;
    clear: both;
}
.chapters .chapterLink
{
    width: 100%;
    border-top: 0;
    border-top: 0;
    height: 40px;
    align-content: center;
}
.firstLine
{
    background-color: var(--light);
    font-weight: bold;
    border-radius: 5px;
}
.chName, .chNum
{
    float: left;
    width: 40px;
    text-align: center;
}
.chName
{
    width: 300px;
    text-align: left;
    padding-left: 20px;
    border-left: 1px solid var(--main);
    box-sizing: border-box;
}
.firstLine .chName
{
    border-left: 2px solid var(--main);
    box-sizing: border-box;
}
.chapterList
{
    width: 100%;
    float: left;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.chapterList:hover .fade
{
    opacity: .3;
}
.chapterList .fade:hover
{
    opacity: 1;
}

.about
{
    position: relative;
    width: 50%;
    height: 85%;
    margin-top: 4%;
    float: left;
    background-color: var(--light);
    border-radius: 5px;
    padding: 30px;
    box-sizing: border-box;
}
.about h1
{
    font-size: 35px;
    margin: 0;
}
.about p
{
    width: 70%;
    font-size: 20px
}
@media only screen and (max-width: 800px) {
    *
    {
        overflow-x: hidden;
    }
    .all {
      padding: 20px;
      box-sizing: border-box;
    }
    .image
    {
      background-size: cover;
      background-position: 35%;
    }
    .logo, .links
    {
        width: 100%;
        margin: 10px auto;
    }
    .logo
    {
        height: fit-content;
    }
    .icon
    {
        display: none;
    }
    .chapters
    {
        width: 100%;
        margin: 0;
        font-size: 20px;
    }
    .chapters .chapterLink
    {
        height: 40px;
    }
    .about
    {
        width: 100%;
        margin: 0 auto;
        height: fit-content;
        padding: 20px;
    }
    .about p
    {
        width: 100%;
        font-size: 18px;
    }
    .about h1
    {
        font-size: 24px;
    }
    .chName, .chNum
    {
        float: left;
        width: 50px;
    }
    .chName
    {
        width: fit-content;
    }
    .margin
    {
        width: 100%;
    }
}