html {
    scroll-behavior: smooth;
}

body {
    background: #3A3A53;
    font-family: 'Poppins', 'Arial', sans-serif;
    max-width: 1500px;
	color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

h1 {
    text-transform: uppercase;
    font-size: 2.5em;
    margin: 0;
}

::selection {
    background: var(--main-color);
    color: #fff;
}

hr {
    border: 0;
    border-top: 3px solid var(--main-color);
    margin: 20px 0;
}

strong {
	color: #ffffff;
}

header {
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    user-select: none;
}

header nav {
    display: flex;
    align-items: center;
}

header .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

header .menu i {
	color: white;
    font-size: 2.0em;
}

header .menu li a {
    cursor: pointer;
    font-weight: bold;
    color: black;
    text-decoration: none;
    padding: 10px 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 150px 20px;
    color: white;
    user-select: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.hero * {
    position: relative;
    z-index: 3;
}

.button {
    background-color: transparent;
    color: #ffffff;
    border: solid 2px var(--main-color);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.button:hover {
    background-color: var(--main-color);
    color: white;
}

main {
    background-color: #181828;
    padding: 20px;
    text-align: center;
}

main .intro {
	text-align: left;
    padding: 20px;
    padding-bottom: 40px;
    border-radius: 8px;
    margin: 20px;
}

main .main-content {
    text-align: left;
    padding: 0 20px;
    margin: 20px auto;
}

main .main-content p {
    font-size: 1.1em;
}

.adresse {
  background-color: #4a4a63;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: normal;
  line-height: 1.6;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.link {
    cursor: pointer; 
    color: #ffffff;
    text-decoration: none;
    padding: 5px 0;
	font-weight: 600;
    border-bottom: solid 2px transparent;
    transition: all 0.3s;
}

.link:hover {
    color: var(--main-color);
}

.regions {
    text-align: center;
    padding: 0 20px 50px 20px;
}

.regions h2 {
    margin-bottom: 30px;
    font-size: 2em;
}

.region-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.region-box {
	background-color: #23233a;
    border-radius: 8px;
    padding: 20px;
    width: 220px !important;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.region-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.region-box h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.region-box p {
    margin-bottom: 15px;
    font-size: 1em;
	color: #fff;
}

.region-box img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    user-select: none;
}

footer {
    background-color: #4a4a63;
    color: #ffffff;
    padding: 10px 20px;
    user-select: none;
}

footer .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .footer-top div {
    text-align: center;
    min-width: 200px;
    flex: 1;
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

footer .footer-bottom .social-media a {
    font-size: 1.0em;
    background-color: #3A3A53;
    border-radius: 50%;
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
    margin: 7px;
    transition: all 0.3s, color 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

footer .footer-bottom .social-media a:hover {
    color: #ffffff;
    background-color: #23233a;
}

footer .copyright {
    font-size: 0.7em;
    color: #ffffff;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 15px;
}

footer ul li a {
    cursor: pointer; 
	color: #fff;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: solid 2px transparent;
    transition: all 0.3s;
}

footer ul li a:hover {
    color: #ffffff;
    border-bottom: solid 2px #ffffff;
}

.wsr {
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
    text-align: center;
    background-color: #181828;
    color: #ffffff;
}

#back-to-top {
	z-index: 1000;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--main-color);
    color: white;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    color: #fff8;
}

.slide-in {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: #e4e6ef;
	color: #23233a;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 1s ease;
    z-index: 1100;
    padding: 5px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    user-select: none;
}

.slide-in.open {
    right: 0;
}

.slide-in ul {
    padding-left: 0;
}

.slide-in li {
    list-style: none;
    margin: 0;
}

.slide-in a {
    cursor: pointer;
    font-weight: bold;
    color: var(--main-color);
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s;
}

.slide-in a:hover {
    color: black;
}

.slide-in hr {
    border: none;
    border-top: 1px solid gray;
    margin: 10px 0;
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.slide-header .close-btn {
    background: none;
    border: none;
    font-size: 2.0em;
    color: black;
    cursor: pointer;
    transition: color 0.3s;
}

.slide-header .close-btn:hover {
    color: var(--main-color);
}

/* Contact Styles */
.contact-container {
	text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.contact-details {
	height: 100%;
    flex: 1;
    min-width: 300px;
    padding: 5px 20px;
    background-color: #23233a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
    margin-bottom: 15px;
}

.contact-details p {
    margin: 10px 0;
    font-size: 16px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

/* Contact Form Styles */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    width: 100%;
    padding: 12px;
	color: #fff;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
	transition: all 0.3s ease;
    margin-bottom: 15px;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: var(--main-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--main-color);
    outline: none;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contact-form select {
    cursor: pointer;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #23233a;
    color: #ffffff;
    appearance: none;
    transition: all 0.3s ease;
}

.contact-form select:hover {
    border-color: var(--main-color);
    background-color: #23233a;
}

.contact-form select:focus {
    border-color: var(--main-color);
    outline: none;
}

.contact-form optgroup {
    font-style: normal;
    font-weight: bold;
}

.team {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 32px 0 24px 0;
}

.team-card {
    position: relative;
    width: 300px;
    height: 500px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-info {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 20%;
    min-height: 200px;
    background: linear-gradient(to top, var(--main-color) 0%, rgba(226,85,85,0.0) 80%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px 16px 8px 16px;
    box-sizing: border-box;
}

.team-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.team-role {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 25px;
}


.discord-card-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.discord-card {
	width: 350px;
	border-radius: 12px;
	background-color: #23233a;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.banner {
	width: 100%;
	height: 120px;
	background-image: url('https://radiogruppe.de/discord/bot/bot-banner.png');
	background-size: cover;
	background-position: center;
}

.profile-section {
	padding: 16px;
	position: relative;
}

.profile-pic {
	width: 80px;
	height: 80px;
    user-select: none;
	border-radius: 50%;
	border: 4px solid #23233a;
	position: absolute;
	top: -45px;
	left: 16px;
	background-color: #23233a;
}

.user-info {
	margin-top: 50px;
	text-align: left;
	padding-left: 0px;
}

.username {
	margin: 0;
	font-size: 20px;
	font-weight: bold;
}

.about-me {
	background-color: #3A3A53;
	padding: 0.1px 15px;
    border-radius: 5px;
	margin: 8px 0;
	font-size: 14px;
}

.command-boxes {
    display: flex;
    gap: 8px;
    margin: 10px 0 15px 0;
    flex-wrap: wrap;
}

.command-box {
    background-color: #3A3A53;
    user-select: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: default;
    transition: background 0.2s;
}

.command-box:hover {
    background-color: #4a4a63;
}

/* Dashboard Styling */
.dashboard-wrapper {
	margin: auto;
}

.dashboard-wrapper h2 {
	color: #D0006F;
	margin-bottom: 20px;
}

/* Button neues Popup */
.add-link-btn {
	background-color: var(--main-color);
	font-family: 'Poppins', Arial, sans-serif;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 15px;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s,
}

/* Tabelle */
.table-wrapper table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.table-wrapper table th, .table-wrapper table td {
	padding: 10px;
}

.table-wrapper table th {
	background-color: var(--main-color);
	color: #ffffff;
}

.cbtn {
	font-family: 'Poppins', Arial, sans-serif;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 15px;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s,
}

/* Popup/Modal */
.modal-overlay {
	position: fixed;
	top:0; left:0;
	width:100%; height:100%;
	background: rgba(0,0,0,0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-content {
	background: #3A3A53;
	padding: 30px;
	border-radius: 10px;
	max-width: 500px;
	width: 100%;
	position: relative;
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modal-close:hover {
	color: var(--main-color);
}

.message { margin-top: 15px; font-weight: bold; }
.message.error { color: red; }
.message.success { color: green; }

/* Accordion */
.accordion-section .container {
    width: 100%;
	margin: 0 auto;
}

.accordion {
	border-radius: 10px;
	overflow: hidden;
	background: transparent;
	box-shadow: none;
}

.accordion-item {
	border-top: 1px solid rgba(0,0,0,0.06);
}

.accordion-item:first-of-type {
	border-top: 0;
}

.accordion-header {
    font-family: 'Poppins', 'Arial', sans-serif;
    background-color: #3a3a53;
	width: 100%;
	padding: 1.1rem 1rem;
	border: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 600;
    color: #ffffff;
	cursor: pointer;
	outline: none;
}

.accordion-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.25rem;
	min-width: 28px;
}

/* Body hidden by default; transition via max-height */
.accordion-body {
	padding: 0 1rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 300ms ease, padding 300ms ease;
    background: #4a4a63;
}

.accordion-body p {
	margin: 0.9rem 0 1.2rem;
	line-height: 1.5;
}

/* Open state */
.accordion-item.open .accordion-body {
	padding: 1rem;
	max-height: 400px;
}

/* Notification */
.notification {
	background: #4a4a63;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	border-left: 5px solid var(--main-color);
	text-align: left;
}