@import url("https://fonts.googleapis.com/css?family=Poppins:wght@300;400;500;600&display=swap");

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

* {
    transition: all 1s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    padding: 10px;
    cursor: var(--cursor) 10 10, auto;
}

.linkpage-page {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

.linktree-page {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    scroll-margin-top: 50px;
}

.header-section {
    width: 100%;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-evenly;
}

.header-section-left {
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: left;
}

.header-section-right {
    flex: 1;
    display: flex;
    justify-content: right;
    align-items: right;
}

.name-section {
    text-align: center;
    margin-top: 225px;
    margin-bottom: 300px;
}

.name-section h1 {
    color: var(--primary-color);
    font-size: 6rem;
    position: relative;
    z-index: 1;
    transition: 0.7s;
}

.name-section h1:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 20px var(--text-color);
}

.linktree-name-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.linktree-name-section h1 {
    color: var(--primary-color);
    font-size: 6rem;
    position: relative;
    z-index: 1;
    transition: 0.7s;
}

.linktree-name-section h1:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 20px var(--text-color);
}

.nav-section {
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.nav-section-center {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 50px;
}

.nav-button {
    width: 15%;
    padding-block: 0.8rem;
    background-color: var(--button-background-color);
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    border-radius: 6px;
    text-align: center;
    margin: 10px;
}

.nav-button:hover {
    background-color: var(--button-background-color-hover);
    border: 1px solid var(--button-border-color-hover);
}

.mode-button {
    width: 30%;
    padding-block: 0.8rem;
    background-color: var(--button-background-color);
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    border-radius: 6px;
    margin: 10px;
}

.mode-button:hover {
    background-color: var(--button-background-color-hover);
    border: 1px solid var(--button-border-color-hover);
}

.link-button {
    width: 35%;
    padding-block: 0.8rem;
    background-color: var(--button-background-color);
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    border-radius: 6px;
    text-align: center;
    margin: 10px;
}

.link-button:hover {
    background-color: var(--button-background-color-hover);
    border: 1px solid var(--button-border-color-hover);
}

footer {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    bottom: 0px;
}

.footer-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-section p {
    color: var(--primary-color);
    margin: 20px;
}

.footer-section a {
    color: var(--primary-color);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

a {
    all: unset;
    transition: 0.25s ease-in-out;
}

i {
    margin-left: 10px;
    margin-right: 10px;
}

hr {
    border: 1px solid var(--button-border-color);
}

span {
    margin: 0 5px;
}

/* Responsives Design */
@media (max-width: 1200px) {

    .name-section {
        margin-top: 200px;
        margin-bottom: 250px;
    }

    .linktree-name-section {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .mode-button {
        width: 40%;
    }

    .nav-button {
        width: 25%;
    }

    .link-button {
        width: 40%;
    }
}

@media (max-width: 850px) {

    .name-section {
        margin-top: 200px;
        margin-bottom: 250px;
    }

    .linktree-name-section h1 {
        font-size: 4rem;
    }

    .name-section h1 {
        font-size: 4rem;
    }

    .mode-button {
        width: 50%;
    }

    .link-button {
        width: 45%;
    }

    .nav-section-center {
        display: none;
    }
}

/* Cursor */
#re {
    cursor: var(--re-cursor) 15 15, auto;
}

#nav {
    cursor: var(--nav-cursor) 15 15, auto;
}

#top {
    cursor: var(--top-cursor) 15 15, auto;
}

#back {
    cursor: var(--back-cursor) 10 10, auto;
}

#theme-toggle {
    cursor: var(--theme-cursor) 10 10, auto;
}



/* Scrollbar */
::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--selection-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::selection {
    background-color: var(--selection-color);
}