body{
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000000;
}

h1 {
    font-size: 3em;
    color: white;
}

h2 {
    font-size: 2em;
    color: white;
}









.portfolio-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}
.portfolio-item {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
}
.portfolio-item:hover img {
    transform: scale(1.1);
    border-radius: 10px;
}

button{
    border: 2px solid rgb(255, 255, 255);
    background-color: transparent;
    width: 30ch;
    height: 5ch;
    color: white;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    transition: 0.3s;
}
button:hover{
    width: 34ch;
}

select:focus {
    outline: none;
}

option{
    color: #000000;
}

h3 {
    font-size: 1.5em;
    color: white;
    position: absolute;
    display: flex;
    justify-content: center; /* Zentriert das Element horizontal */
    left: 36%;
    top: 140%;
}

#foto img{
    width: 20%;
    padding: 1%;
    height:max-content;
}

#foto{
    position: absolute;
    top: 100%;
}

.portfolio-section{
    margin-top: 84vh;
}












body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: 
        linear-gradient(180deg, rgb(0 0 0 / 58%) 0%, rgba(0, 0, 0, 1) 90%),
        url("https://litael2.ch/img/media.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.burger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu div {
    width: 100%;
    height: 4px;
    background-color: var(--burger-color, rgb(255, 255, 255));
    transition: all 0.3s ease;
    border-radius: 10px;
}

.burger-menu{
    background-color: rgb(0, 0, 0);
    padding: 3ch;
    margin-top: -3ch;
    transition: 0.3s;
    border-radius: 10px;
}

.burger-menu.open{
    margin-left: 20ch;
}

.burger-menu.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--burger-color, white);
}

.burger-menu.open div:nth-child(2) {
    opacity: 0;
}

.burger-menu.open div:nth-child(3) {
    transform: rotate(-45deg) translate(1.5ch, -1.5ch);
    background-color: var(--burger-color, white);
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #000000;
    color: white;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.menu-container.open {
    transform: translateX(0);
}

.menu-content {
    padding: 20px;
    margin-top: 60px;
}

.menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-list a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: 1.5em;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box;
}

.menu-list a:hover {
    background-color: #30303093;
    color: rgb(214, 214, 214);
}

.on{
  background-color: #424242b0;
}

.socials {
    background: #ffffff00;
    color: white;
    font-size: 5ch;
    padding: 0.5ch;
    margin-top: 21ch;
}

.github{
    color: white;
    padding: 0.5ch;
    transition: 0.2s;
}

.youtube{
    color: white;
    padding: 0.5ch;
    transition: 0.2s;
}

.instagram{
    color: white;
    padding: 0.5ch;
    transition: 0.2s;
}

.github:hover{
    color: rgb(206, 206, 206);
    padding: 0.5ch;
}

.youtube:hover{
    color: rgb(206, 206, 206);
    padding: 0.5ch;
}

.instagram:hover{
    color: rgb(206, 206, 206);
    padding: 0.5ch;
}

 @media (max-width: 768px) {
    .socials {
        margin-top: 40vh;
    }

    .insta-btn{
        margin-top: 1vh;
    }

    .portfolio-section{
        margin-top: 80vh;
    }

    button{
        width: 31ch;
        height: 5ch;
        font-size: 19px;
    }
 }