:root {
    --text: rgb(236, 236, 236);
    --text-secondary: rgb(168, 168, 168);
    --bg-dark: rgb(27, 27, 27);
    --bg-grey: rgb(44, 44, 44);
    --grey-transparent-dark: rgba(49, 49, 49, 0.295);
    --grey-transparent-light: rgba(97, 97, 97, 0.514);
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

.text-secondary {
    color: var(--text-secondary);
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

h3 {
    font-weight: lighter;
}

header {
    background-color: #333;
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}


/* Responsive Styling für andere Elemente */
section {
    padding: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 10px;
    }
}


/* footer */
footer {
    text-align: center;
    font-weight: lighter;
}
.socials {
    margin: 2rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}
.socials a {
    padding: 0.5rem;
    text-align: center;
    position: relative;
}

.social-text {
    opacity: 0;  /* Versteckt den Text initial */
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
    transition: bottom 0.2s ease, opacity 0.2s ease;
    pointer-events: none; /* Verhindert, dass der Text Hover-Ereignisse blockiert */
}

.socials a:hover .social-text {
    opacity: 1;  /* Zeigt den Text */
    bottom: -1.5rem;  /* Bewegt den Text nach unten */
}

.socials a svg {
    transition: transform 0.2s ease;
}

.socials a:hover svg {
    transform: translateY(-5px);
}

.btn {
    color: var(--bg-dark);
    background-color: var(--text);
    border: none;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    text-decoration: none;
}

.btn:hover {
    cursor: pointer;
    opacity: 0.8;
}

.mail-link {
    color: var(--text);
    text-decoration: none;
}

.mail-link:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    margin: 0 0.3rem;
}

.footer-links a:hover {
    text-decoration: underline;
}
