@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

a{
    text-decoration: none;
}
ul{
    text-decoration: none;
    list-style-type: none;
}

html, body{
    overflow-x: hidden !important; 
    position: relative;
}

body{
    max-width: 100%;
}

/* navBar styling */

/* navBar styling */

:root {
    --background-color: #C0C0C0;
    --text-color: black;
    --accent-color: #41DCE1;
    --navbar-height: 80px;
}

/* NAVBAR WITH TOGGLE*/

.navbar-section{
    background-color: var(--background-color);
    width: 100%;
}

/* Navbar-Container */
.navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;  
}

header .navbar{
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;  
}

.navbar .nav_menu .nav_link {
    color: black;
    padding: 10px 18px;
    font-size: 10px,18px;
    border-radius: 18px 25px;
    transition: 0.3 ease;
}
.navbar .nav_menu .nav_link:hover {
    color: white;
    background-color: black;

}
/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0px; /* Abstand zwischen Logo und Text */
}

.logo-image {
    width: 110px; /* Logo-Größe */
    height: auto;
    background-color: #C0C0C0;
    filter: brightness(0.75);
}

.logotext {
    font-size: 1.8rem;
    font-weight: 600;
    color: black;
}

.navbar .navlogo .logotext{
    color: black;
    font-size: 2rem;
    font-weight: 600;

}
/* Navigation-Menü */
.nav_menu {
    display: flex;
    gap: 30px;
    margin-right: 100px;
}

.nav_item {
    list-style: none;
}

.navbar .nav_menu .nav_link {
    color: black;
    padding: 10px 18px;
    font-size: 10px,18px;
    border-radius: 18px 25px;
    transition: 0.3 ease;
}
.navbar{
    background-color: #C0C0C0;
}

.nav_link:hover {
    color: white;
    background-color: black;
}

/* Toggle-Button für mobile Ansicht */
nav input[type="checkbox"] {
    display: none;
}

.toggle_button {
    width: 30px;
    height: 23px;
    position: absolute;
    top: 65px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.bar {
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}

.section-content{
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

.social-link i {
    font-size: 20px; /* Instagram-Icon-Größe */
}

/* About us*/

.about-us {
    min-height: 60vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertikale Zentrierung der gesamten Sektion */
}

.main-container {
    margin-top: 0px;
    display: flex;
    justify-content: center; /* Gleiche Verteilung der beiden Teile */
    width: 100%; /* Volle Breite der übergeordneten Sektion */
    max-width: 100%; /* Maximale Breite */
}

.image-container,
.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Zentriert Bild und Text vertikal */
    text-align: left;
    flex: 1;
    margin: 0; /* Entfernt unerwünschte Abstände */
}

.image-container{
    width: 100%;
}
.text-container{
    max-width: 100%;
    background-color: #2c2d30;
}

.image-container img{
    width: 100%; /* Bild füllt den gesamten Container */
    height: auto; /* Verhältnis bleibt erhalten */
    object-fit: cover; /* Passt das Bild an den Container an */
}

.text-container h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color:#ffffff;
    align-self: flex-start;
    text-align: left;
    margin-left: 147px;
}

.text-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 70%;
} 

/* footer*/
.footer-container{
	max-width: 1170px;
	margin:auto;
}
.footer-row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
	background-color: #000;
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #C0C0C0;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #C0C0C0;
	text-decoration: none;
	font-weight: 300;
	color: #C0C0C0;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #C0C0C0;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive*/
@media(max-width: 851px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}

@media (max-width: 1000px) {
    .main-container {
        flex-direction: column; /* Stapelt Bild und Text übereinander */
        gap: 20px;
    }

    .image-container,
    .text-container {
        max-width: 100%; /* Volle Breite für kleinere Bildschirme */
    }

    .text-container {
        padding: 10px; /* Weniger Polsterung auf kleineren Bildschirmen */
    }
    .text-container h1 {
        margin-left: 50px;
    }
    .toggle_button {
        display: flex;
    }
    .nav_menu {
        height: auto;
        width: 100%;
        background-color: #000;
        display: block;
        position: absolute;
        top: 110px;
        left: 0;
        flex-direction: column;
        padding: 0;
        align-items: center;
        transform: translateX(100%); /* Startposition außerhalb des Bildschirms */
        opacity: 0; /* Unsichtbar */
        visibility: hidden; /* Versteckt */
    }
    .navbar-section{
        min-height: 21vh;
    }

    .nav_item {
        width: 100%;
        height: auto;
    }

    .nav_menu a {
        padding: 30px 0;
    }

    #toggle_button:checked ~ .nav_menu {
        opacity: 1; /* Sichtbar */
        visibility: visible; /* Interaktion erlauben */
        transform: translateX(0); /* Gleitet in den sichtbaren Bereich */
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s; /* Keine Verzögerung bei Sichtbarkeit */
    }

    #toggle_button:not(:checked) ~ .nav_menu {
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s; /* Visibility nach der Animation */
    }

    .navbar .nav_menu .nav_link {
        padding: 0 10px; /* Kleinere Padding für mobile Ansicht */
        font-size: 20px; /* Kleinere Schriftgröße für mobile Ansicht */
        border-radius: 0px;
        color: white;
        background-color: #000;
    }

    .nav_menu .nav_item {
        border-bottom: 2px solid #C0C0C0; /* Trennlinie */
    }
    
    /* Entfernt den Border vom letzten .nav_item */
    .nav_menu .nav_item:last-child {
        border-bottom: none; /* Keine Linie für das letzte Element */
    }

    .nav_item {
        height: min-content;
        width: 100%;
        text-align: center;
    }
    .nav_link .social-link{
        padding: 30px 0px;
    }

    .nav_menu .nav_item .nav_link:active,
    .nav_menu .nav_item .nav_link:focus {
        color: #fff;
        background-color: #8a8989;
    }
}
