*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.wrapper{
    width: 100%;
    background-color: #FFFFFF;
}

.container{
    max-width: 540px;
    margin: auto;
    padding-top: 8rem;
    text-wrap: balance;
}

li{
    list-style: none;
}

a{
    color: #12121266;
    text-underline-offset: 0.2rem;
    font-size: 1rem;
    text-decoration-color: #12121211;
    text-decoration-thickness: 1px;
}

.logo{
    color: #121212;
    font-size: 1rem;
}

.logo:hover{
    color: #12121299;
}

a:hover{
    color: #121212;
}

.light{
    font-size: 14px;
    color: #12121299;
    line-height: 160%;
}

.link{
    color: #121212;
    font-weight: bold;
}

.link:hover{
    text-decoration-color: #121212;
}

.light-child{
    font-size: 14px;
    color: #12121299;
    line-height: 160%;
    margin-bottom: 1.2rem;
}

.flex-container {
  display: flex;
  justify-content: space-between;
  border-bottom-color: #12121266;
  border-bottom-style: solid;
  border-bottom-width: 0.01em;
  width: 100%;

}

.left-aligned {
  width: 40%;
  text-align: left;
}

.right-aligned {
  width: 60%;
  text-align: right;
}

.flex-container-imprint {
  display: flex;
  justify-content: space-between;
  width: 100%;

}

.left-aligned-imprint {
  width: 80%;
  text-align: left;
}

.right-aligned-imprint {
  width: 20%;
  text-align: right;
}

#grey {
    filter: grayscale(100%);
}

#no_image {
  max-width: 540px;
  height: 303px;
  background-color: #12121266;
  border-style: solid;
  border-color: #12121211;
  border-width: 0.01em;
}

/* ********** intro ******** */

.intro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    color: #12121299;
}

.intro>:first-child{
    color: black;
    font-size: 1rem;
    font-weight: 500;
}

.intro>p{
    line-height: 1.5rem;
    font-size: 16px;
}

.intro>ul{
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

/* ********** header ******** */

.header{
    margin-top: 6rem;
}

.header>p{
    font-weight: 400;
    color: #121212;
    line-height: 1.6rem;
}

.header>img{
    width: 100%;
    margin-top: 0rem;
}

/* ********** headline ******** */

.headline{
    margin-top: 6rem;
}

.headline>p{
    font-weight: 400;
    color: #121212;
    line-height: 1.6rem;
}

.headline>img{
    width: 100%;
    margin-top: 0rem;
}

/* ********** projects ******** */

.projects{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.projects>div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.projects>p{
    color: #12121299;
    line-height: 160%;
    font-size: 16px;
}

.projects>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.projects>img{
    width: 100%;
    margin-top: 2rem;
}

/* ********** projects-last ******** */

.projects-last{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 6rem;
    width: 100%;
}

.projects-last>div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.projects-last>p{
    color: #12121299;
    line-height: 160%;
    font-size: 16px;
}

.projects-last>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.projects-last>img{
    width: 100%;
    margin-top: 2rem;
}

/* ********** products ******** */

.products{
    margin-top: 6rem;
}

.products>p{
    font-weight: 400;
    color: #121212;
    line-height: 1.6rem;
}

.products>img{
    width: 100%;
    margin-top: 0rem;
}

.products-projects{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    width:100%;
    margin-top: 1.5rem;
    margin-bottom: 4rem;

}

.products-projects>div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.products-projects>p{
    color: #12121299;
    line-height: 160%;
    font-size: 16px;
}

.products-projects>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.products-projects>img{
    width: 100%;
    margin-top: 2rem;
}
         
/* ********** personal projects ******** */

.personal-projects{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
}

.personal-projects>div>a{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.personal-projects>div>a:hover{
    text-decoration-color: #121212;
}

.personal-projects>div>p{
    color: #12121299;
    line-height: 160%;
}

.personal-projects>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}


/* ********** technical description ******** */


.technical-description{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
}

.technical-description>div>a{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.technical-description>div>a:hover{
    text-decoration-color: #121212;
}

.technical-description>div>p{
    color: #12121299;
    line-height: 160%;
}

.technical-description>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

/* ********** archive ******** */

.archive-projects{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
}

.archive-projects>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.archive-projects>div{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.archive-projects>p{
    color:#12121299;
    line-height: 160%;
}

.archive-projects>img{
    width: 100%;
    margin-top: 2rem;
}



/* ********** archive ******** */

#archive{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
}

#archive>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

#archive>div{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#archive>p{
    color:#12121299;
    line-height: 160%;
}

#archive>img{
    width: 100%;
    margin-top: 2rem;
}

/* ********** imprint ******** */

#imprint{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

#imprint>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

#imprint>div>a:hover{
    text-decoration-color: #121212;
}

#imprint>div>p{
    color: #12121299;
    line-height: 160%;
}

/* ********** interaction ******** */

#imprint {
  display: none;
}

/* Zeigen Sie den Text an, wenn die Klasse 'expanded' vorhanden ist */
#imprint.expanded {
  display: flex;
}

/* ********** responsiveness ******** */

@media screen and (max-width: 580px)  {
    .container{
        padding-left: 1.0rem;
        padding-right: 1.0rem;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape){
.wrapper, .container, .header, .headline, .intro, .carousel, .workinprogress, .projects, .prodcuts, .archive, .footer, .personal-projects, .products-projects, .archive-projects, .footer-projects, .imprint, .projects-end, .projects-last {
display: none;
}
}

/* ********** footer ******** */

.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    color: #12121299;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.footer>:first-child{
    color: black;
    font-size: 1rem;
    font-weight: 500;
}

.footer>p{
    line-height: 1.5rem;
    font-size: 16px;
}

/* ********** footer ******** */

.footer-projects{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
    width: 100%;
}

.footer-projects>div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-projects>p{
    color:#12121299;
    line-height: 160%;
}

.footer-projects>div>:first-child{
    color: #121212;
    font-weight: 500;
    line-height: 160%;
}

.footer-projects>img{
    width: 100%;
    margin-top: 2rem;
}

/* ********** summary ******** */

summary:focus {
    outline: none;
}

details>summary {
   list-style: none;
 }

summary::-webkit-details-marker {
   display: none;
 }
summary::after {
   content: ' +';
   color:#12121299;
 }

details[open] summary:after {
   content: " -";
 }

details>img{
    width: 100%;
    margin-bottom: 1rem;
}

/* ********** button ******** */

.button {
  background-color: white;
  color: #12121299;
  border-color: #12121266;
  border-style: solid;
  border-width: 0.01em;  
  width: 100%;
  padding: 6px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.button:hover {
  background-color: #12121266;
  border-color: white;
  border-style: solid;
  border-width: 0.01em;
  color: white;
}
 
/* ********** paypal ******** */

#paypal {
  background-color: white;
  border-color: #0079C1;
  border-style: solid;
  border-width: 0.01em
  color: #0079C1;
  padding: 3px;
  width: 100%;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

#paypal:hover {
  background-color: #0079C1;
  color: white;
}

/* ********** ebay ******** */

#ebay {
  background-color: white;
  border-color: black;
  border-style: solid;
  border-width: 0.01em;
  color: black;
  padding: 3px;
  width: 100%;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

#ebay:hover {
  background-color: black;
  color: white;
}

/* ********** carousel ******** */

.carousel{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    width: 100%;
    margin-top: 3.5rem;
}

.carousel>div{    
    width: 100%;
}

.carousel>p{
    color: #12121299;
    line-height: 160%;
}

.mySwiper .swiper-wrapper{
    height: auto;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ********** test ******** */

.product-card {
  max-width: 540px;
  background-color: white;
  color: #12121299;
  border-color: #12121266;
  border-style: solid;
  border-width: 0.01em; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0px; /* Adjust margin as needed */
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  margin-top: 6rem;
  margin-bottom: 4rem;
}

.product-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.product-card-content {
  line-height: 160%;
  padding: 24px;
}

.product-card-title {
  color: #121212; 
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 0 0;
}

.product-card-description {
  font-size: 16px;
  color: #12121299; 
  margin: 15px 0 15px 0;
  line-height: 160%;
}

.product-card-price {
  color: #121212;
  font-size: 20px;
  font-weight: 700;
  line-height: 160%;
  display: block;
  margin-bottom: 20px;
}

.product-card-button {
  width: 45%;
  padding: 10px;
  background-color: #0070BA; /* PayPal button */
  color: #ffffff;
  border: none;
  border-radius:40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.product-card-button:hover {
  background-color: #0079C1; /* Slightly lighter on hover */
}



