:root {
    --purple: #bd3ffb;
    --orange: #fd962c;
    --blue: #2ad1fc;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

body {
    background-color: #111111;
    color: white;
    font-family: "Arial", sans-serif;
}

.purple {
    color: var(--purple);
}

.orange {
    color: var(--orange);
}

.blue {
    color: var(--blue);
}

.main {
    padding: 30px;
}

.header,
.text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header {
    padding: 55px 30px 45px;
    background-color: #252525;
}

.derin-eryilmaz {
    font-size: 25px;
    text-decoration-color: var(--purple);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    transition: filter 150ms;
}

.derin-eryilmaz:hover {
    filter: brightness(0.8);
}

.name {
    font-size: 35px;
}

.date {
    color: #dddddd;
    font: 18px monospace;
}

.seperator {
    margin-top: -2px;
    background-color: #181818;
    height: 20px;
    width: 100%;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #252525;
}

.text {
    padding: 30px;
    background-color: #181818;
    color: #cccccc;
}

.text p {
    font-size: 18px;
}

.text h2 {
    color: #ffffff;
    font-weight: normal;
    margin-top: 40px;
    font-size: 25px;
}

.text ul {
    list-style-position: inside;
    font-size: 18px;
}

.text pre code {
    background-color: #252525;
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin: 15px 0px;
    white-space: pre-wrap;
}

.text p code,
.text li code {
    background-color: #333333;
    font-size: 15px;
    padding: 1px 3px;
}

.text a {
    color: var(--blue);
    transition: color 300ms;
}

.text a:hover {
    color: var(--purple);
}

.text img,
.text video {
    width: 800px;
    max-width: 100%;
    border: 2px solid #444444;
    margin: 10px 0px;
}

.end-nav {
    background-color: #252525;
    display: flex;
    justify-content: space-around;
    padding: 30px;
}

.end-nav a {
    font-size: 18px;
    color: #cccccc;
    text-decoration-color: var(--purple);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    transition: color 250ms, text-decoration-color 250ms;
}

.end-nav a:hover {
    color: var(--blue);
    text-decoration-color: var(--orange);
}

@media screen and (max-width: 999px) {
    .main {
        padding: 0px;
    }

    .text {
        padding: 10px;
    }

    .text > code {
        font-size: 14px;
    }

    .text li {
        margin: 12px 0px;
    }
}
