body {
    background-color: #f4f4f4;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {font-size: 16px; }

@keyframes waves {
    0% {
      background-position: 0 0;
    }
    50% {
      background-position: 200% 0;
    }
    100% {
      background-position: 400% 0;
    }
  }

.header {
    background: linear-gradient(to right, #005AB5 10%, #009FE0 30%, #009FE0 70%, #005AB5 90%);
    color: white;
    padding: 20px 0;
    text-align: center;
	font-size: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-size: 2000% 4000%;
    animation: waves 20s infinite linear;
}

.content-header {
    text-align: center;
    margin: 20px 0;
}

.content-header h2 {
    font-size: 24px;
}

.navbar {
    background-color: white;
    overflow: hidden;
}

.navbar a {
    float: left;
    display: block;
    color: #009FE0;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background-color: #005AB5;
	color:white;
}

.navbar a.active, .navbar a:hover {
    background-color: #005AB5;
    color: white;
}

.intro-container{
	display: flex;
    align-items: center;
    margin-top: 20px;
    justify-content: center;
}

@keyframes morphingShapeAvatar {
    0% { 
        border-radius: 35% 45% 30% 55% ;
        transform: rotate(10deg) skewX(-10deg) skewY(10deg);
    }
    25% {
        border-radius: 55% 35% 45% 30%;
        transform: rotate(0deg) skewX(10deg) skewY(-10deg);
    }
    50% { 
        border-radius: 30% 55% 35% 45%;
        transform: rotate(-10deg) skewX(-10deg) skewY(10deg);
        
    }
    100% { 
        border-radius: 45% 30% 55% 35%;
        transform: rotate(0deg) skewX(-10deg) skewY(10deg);
    }
}

.irregular-shape-avatar {
    width: 500px;
    height: 500px;
    background: rgb(61,116,0);
    background: linear-gradient(90deg, rgba(61,116,0,1) 0%, rgba(149,228,2,1) 25%, rgba(168,244,0,1) 50%, rgba(249,255,0,1) 75%, rgba(254,255,224,1) 100%);
    border-radius: 35% 45% 30% 55% ;
    transform: rotate(0deg) skewX(-10deg) skewY(10deg);
    margin-bottom: 10px;
    margin-top: 100px;
    margin-left: 30px;
    animation: morphingShapeAvatar 15s infinite alternate ease-in-out;
    position: absolute;
    z-index: 1;
}

.avatar-container {
    position: relative;
}

.intro-avatar {
    width: auto; 
    height: auto;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1080px) {
    .intro-container {
        flex-direction: column;
    }
    .intro-avatar {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.intro {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 1.6;
    background-color: #e7e7e7;
    padding: 20px;
    margin: 10px 10%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
	width: 80%;
	max-width: 700px;
}

.intro:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
	background-color: #ffffff;
}

.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

@keyframes morphingShape {
    0% { 
        border-radius: 40% 50% 40% 30%;
        transform: rotate(90deg) skewX(-10deg) skewY(10deg);
    }
    25% {
        border-radius: 30% 40% 50% 40%;
        transform: rotate(180deg) skewX(10deg) skewY(-10deg);
    }
    50% { 
        border-radius: 40% 30% 40% 50%;
        transform: rotate(270deg) skewX(-10deg) skewY(10deg);
        
    }
    100% { 
        border-radius: 50% 40% 30% 40%;
        transform: rotate(360deg) skewX(-10deg) skewY(10deg);
    }
}

@keyframes stabilizeText {
    0% { 
        transform: translate(-50%, -50%)  rotate(-90deg) skewX(10deg) skewY(-10deg);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-180deg) skewX(-10deg) skewY(10deg);
    }
    50% { 
        transform: translate(-50%, -50%)  rotate(-270deg) skewX(10deg) skewY(-10deg);
    }
    100% { 
        transform: translate(-50%, -50%)  rotate(-360deg) skewX(10deg) skewY(-10deg);
    }
}

.irregular-shape {
    width: 250px;
    height: 250px;
    background: linear-gradient(to top right, #6a11cb 25%, #6828fc, #4f34ff, #0004ff);
    border-radius: 40% 50% 40% 30%;
    transform: rotate(15deg) skewX(-10deg) skewY(10deg);
    margin-bottom: 10px;
    margin-top: 50px;
    animation: morphingShape 20s infinite alternate ease-in-out;
    position: relative;
}

.project-header {
    font-size: 24px;
    color: whitesmoke;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg) skewX(10deg) skewY(-10deg);
    animation: stabilizeText 20s infinite alternate ease-in-out;
}


.project {
    background: #e7e7e7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease-in-out;
    margin: 20px;
    padding: 20px;
    width: 80%;
    max-width: 720px;
    text-align: center;
}

.project:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
	background-color: #ffffff;
}

.dotcool-color { 
	color: #540D6E; 
}

.schluesselkasten-color { 
	color: #89BA17; 
}

.roboter-color { 
	color: #005AB5; 
}

.QuizApp-color { 
	color: #6200ed; 
}

.booking-color { 
	color: #76B900; 
}
/* Button Styles */
.btn {
    padding:20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	color: white;
    margin-top: 8px;
}

/* Dotcool Button */
.dotcool-btn {
    background: #87569a;
    color: #F4ECF8;
}
.dotcool-btn:hover {
    background: #540D6E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 800px){
    .dotcool-btn{
        margin-top: 10px;
    }
}

/* Smart Schlüsselkasten Button */
.schluesselkasten-btn {
    background: #abc965;
    color: #f7ffe6;
}
.schluesselkasten-btn:hover {
    background: #89BA17;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Roboter Button */
.robot-btn {
    background: #007EB1;
    color: white;
}
.robot-btn:hover {
    background: #004E8C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Quiz App Button */
.QuizApp-btn {
    background: #8d3bff;
    color: white;
}
.QuizApp-btn:hover {
    background: #3700b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Quiz App Button */
.more-btn {
    background: #ff4e4e;
    color: white;
}
.more-btn:hover {
    background: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Contact Information */
.contact-info {
    font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 1.6;
	background-color: #ffffff;
    padding: 20px;
    margin: 20px 10%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
	text-align: center;
	color: #000000;
	font-weight: bold;
}

.contact-info:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}

.socials {
    text-align: center;
}

.social-link {
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
    color: #009FE0;
}

.social-icon {
    display: block;
    margin: auto;
    height: auto;
}

.social-icon :hover, social-icon :focus, .social-link:hover{
    transform: scale(1.2);
    filter: brightness(90%);
    transition: all 0.3s ease-in-out;
}

.instagram-icon {
    width: 28px; 
}

.whatsapp-icon {
    width: 35px; 
}

.gmail-icon {
    width: 30px; 
}

.linkedin-icon {
    width: 28px; 
}

.social-link p {
    margin-top: 4px;
    font-size: 14px;
}

.slider-container {
    width: 80%;
    max-width: 700px;
    margin: 40px auto; 
    position: relative;
}

.media-container {
    width: 100%; 
    height: 500px; 
    overflow: hidden; 
    display: flex;
    justify-content: center; 
    align-items: center;
}

.media-container img,
.media-container video {
    max-width: 100%;
    max-height: 100%;
	position: relative;
}

.media-container iframe {
    width: 100%;
    height: 100%;
    border: none; 
}


.slide {
    display: none;
    width: 100%;
    margin: auto; 
}

.active {
    display: block;
}

.arrow {
    cursor: pointer;
    position: absolute;
    bottom: 10px; 
    width: 30px;
    height: 30px;
    background-color: #333;
    color: white;
    border-radius: 15px; 
    display: flex;
    align-items: center;
    justify-content: center;
	opacity: 0.2; 
    transition: opacity 0.3s ease;
}
.slider-container:hover .arrow,
.media-container:hover .arrow {
    opacity: 1; 
}

.prev {
    left: 50%;
    transform: translateX(-60px); 
}

.next {
    right: 50%;
    transform: translateX(60px); 
}

.github {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.github-container {
    text-align: center;
    margin: 40px 0;
	transition: all 0.3s ease-in-out;
	background: #e7e7e7;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	max-width: 700px;
    margin: 20px;
	width: 80%;
    padding: 10px;
}

.github-container:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
	background-color: #ffffff;
}

.github-link {
    display: inline-block; /* Allows for text to be beside the logo */
    text-decoration: none;
    color: #333; 
    font-size: 16px; 
    vertical-align: middle; 
}

.github-logo {
    width: 64px; 
    margin-right: 10px; 
}

.github-text {
    display: inline-block;
    vertical-align: middle; 
    margin-top: 8px; 
    font-weight: bold;
}

.github-link:hover .github-text {
    text-decoration: underline; 
    color: #005AB5; 
}
.centered-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
	column-gap: 100px;
    padding: 20px;
	margin: 20px auto;
	max-width: 1200px; 
}

.skill-logo {
    width: 80px; 
	height: 100px;
    object-fit: contain;
    margin-bottom: 0px;
    cursor: pointer;
}

.skill-logo:hover {
    transform: scale(1.1);
}

.skill-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
    transform: translate(-50%, -50%);
}

.picture-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center; 
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
    transform: translate(-50%, -50%);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dialog-content {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(60, 60, 60, 0.7);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 600px; 
    max-height: 80%; 
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    animation: popIn 0.3s forwards;
}

@keyframes popIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

.skill-dialog .dialog-content h2 {
    color: #005AB5;
}

.skill-dialog .dialog-content p {
    color: #009FE0;
}

.picture-dialog .dialog-image{
    width: 90%;
    max-width: auto;
    max-height: auto;
    object-fit: contain;
    margin: 20px;
    border-radius: 8px;
    display: block;
    animation: fadeIn 0.4s linear;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close-button {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover {
    color: #ff0000; /* Change color on hover */
}

.image-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(220, 220, 220, 0.168);
    padding: 5px 15px;
    border-radius: 50%;
    float: right;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.image-close-button:hover {
    background-color: rgb(235, 235, 235);
    color: #ff0000;
    box-shadow: 0px 0px 10px rgba(149, 121, 121, 0.5);
}

/* Footer */
.footer {
    background-color: #333;
    color: #f8f8f8;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
}

@media (max-width: 768px) {
    .project-container { 
		flex-direction: column; 
	}
	
    .intro, .contact-info {
        margin: 20px 5%;
    }
	
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
