:root {
    --main-color: #0059ff;
    --secondary-color: #008cff;
    --accent-color: #ffdb0c;
    --background-color: #eeeeee;
    --text-color: #333333;
    --gray: #d1d1d1;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
    background-color: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.copy-ip {
    cursor: pointer;
}

[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--text-color);
    border-radius: 0;
    padding: 15px 20px;
    margin: 0;
    position: relative;
    line-height: 1;
    box-sizing: border-box;
    font-weight: bold;
}

[class*="btn"]::before,
[class*="btn"]::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    pointer-events: none;
}

[class*="btn"]::before {
    top: 0px;
    background: var(--btn-light);
}

[class*="btn"]::after {
    bottom: 0px;
    background: var(--btn-shadow);
}

[class*="btn"]:hover {
    filter: brightness(0.9);
}

[class*="btn"]:active {
    filter: brightness(1);
    border: 3px solid white;
}

.btn-clicked {
    filter: brightness(0.8);
}

.btn-default {
    color: var(--text-color);
    background-color: var(--gray);
    --btn-light: #e4e4e4;
    --btn-shadow: #a0a0a0;
}

.btn-yellow {
    background-color: var(--accent-color);
    --btn-light: #fff4a3;
    --btn-shadow: #e6c700;
}

.btn-purple {
    color: var(--background-color);
    background-color: #6c2dff;
    --btn-light: #7f48ff;
    --btn-shadow: #5018d3;
}

.btn-pink {
    background-color: #ff2da3;
    --btn-light: #ff4db3;
    --btn-shadow: #d3157a;
}

.btn-green {
    background-color: #acff27;
    --btn-light: #e0ffad;
    --btn-shadow: #7aaf25;
}

.btn-red {
    color: var(--background-color);
    background-color: #ff2727;
    --btn-light: #ff4d4d;
    --btn-shadow: #d31515;
}

a[class*="btn"] {
    text-decoration: none !important;
}

a[class*="btn"]:hover {
    color: unset !important;
}

main {
    margin: 0 auto;
    margin-top: 100px;
    width: 60%;
    flex: 1;
}

.split-section {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin: 40px 0;
}

.split-element {
    width: 45%;
}

.split-section img {
    width: 100%;
    border: 3px solid var(--text-color);
}

.split-reversed {
    flex-direction: row-reverse;
}


details {
    display: block;
    margin: 20px 0;
    background-color: var(--gray);
    border: 3px solid var(--text-color);
}

summary {
    cursor: pointer;
    display: block;
    outline: none;
    font-weight: bold;
    padding: 10px 20px;
}

summary::-webkit-details-marker {
    display: none;
}

.custom-arrow {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s;
}

details[open] .custom-arrow {
    transform: rotate(90deg);
}

details[open] .content {
    padding: 0 20px;
}

#cookie-notice {
    background-color: #141414;
    color: #d3d3d3;
    z-index: 30;
    width: 400px;
    padding: 0 10px 10px 20px;
    position: fixed;
    right: 0;
    bottom: 30px;
}

#cookie-notice a {
    text-decoration: underline;
    color: white;
}

#cookie-notice button {
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 900px) {
    main {
        width: 90%;
    }

    .split-section {
        flex-direction: column-reverse;
    }

    .split-element {
        width: 100%;
    }

    .split-element h1 {
        margin: 5px 0px;
    }
}