*, body, html {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

.pacifico-regular {
    font-family: "Pacifico", serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.ui.button {
    border-radius: 0 !important;
    border: none !important;
}

.ui.primary.button {
    color: #000 !important;
    background-color: #fcecbb !important;
}

.ui.primary.button:hover {
    background-color: #eedeaf !important;
}

.yellow-letter, a {
    color: #cbaa46 !important;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
  
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.page {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 100vh;
}

.spacer {
    width: 100%;
}

.spacer#start-spacer {
    height: 7vh;
}

.darker {
    position: absolute;
    z-index: -1;
    background-color: #000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
}

#start-button-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7%;
    width: 100%;
}

#arrow-down-btn-wrapper {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 1em;
    left: 0;
    background-color: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-down-btn {
    font-size: 2.7em;
    color: #fff !important;
    background: none;
    border: none;
    outline: none;
    transition: 0.2s;
}

.arrow-down-btn:hover {
    color: #fcecbb !important;
    cursor: pointer;
}

#about {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#desktop-about,
#mobile-about {
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-box {
    display: flex;
    justify-content: space-between;
    background-color: none;
    /*padding: 0.5em;*/
    height: auto;
    width: 90%;
    /*border-top: 5px solid #fcecbb;
    border-bottom: 5px solid #fcecbb;*/
}

#about-box img {
    width: 30%;
    max-height: 100%;
}

#about-box #about-img {
    background-image: url("../images/Dina.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#about-box #about-text {
    padding: 1em;
    padding-left: 0;
    padding-right: 2em;
    background: none;
    width: 70%;
    height: auto;
    float: right;
}

#about-box #about-text h1 {
    font-size: 4em;
    line-height: 0.8em;
    padding-top: 1rem;
}

#about-box #about-text h2 {
    font-size: 1.5em;
    line-height: 1em;
}

#about-box #about-text p {
    font-size: 1em;
    color: #000;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

#about-box #about-text .ui.grid {
    padding-top: 1rem;
}

#about-box #about-text ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 1em;
}

#about-box #about-text ul li {
    display: inline;
    padding: 0;
}

#about-box #about-text ul li:first-of-type {
    padding-right: 2px;
}

#about-box #about-text ul li:last-of-type {
    padding-left: 2px;
}

#about-box #about-text ul li button {
    width: calc(50% - 4px);
    padding: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    outline: none;
    border: none;
    background-color: #434343;
    color: #fff;
    font-family: 'Montserrat';
}

#about-box #about-text ul li button:hover {
    background-color: #636363;
}

#angebote {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

#angebote .card {
    background-color: #fff;
    width: 28%;
    min-height: 80vh;
    position: relative;
    transition: background-color 0.3s;
}

#angebote .card .card-image {
    height: 45vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: border-box;
}


#angebote-cards {
    justify-content: center !important;
    margin: 0 !important;
}

#angebote-cards .angebot-card {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#angebote-cards .angebot-card .card-image {
    border-radius: 0 !important;
}

#angebote-cards .angebot-card .content {
    border-top: none !important;
}

#angebote-cards .angebot-card .content .header {
    padding-top: 0.7rem;
}

#angebote-cards .angebot-card .extra.content .ui.primary.button {
    width: 100% !important;
    margin: 0 !important;
}

#angebote .card .card-image#image0 {
    background-image: url("../images/image_1.jpg");
    background-position-y: 85%;
}

#angebote .card .card-image#image1 {
    background-image: url("../images/image_5.jpg");
    background-position-y: 62%;
}

#angebote .card .card-image#image2 {
    background-image: url("../images/image_9.jpg");
    background-position-y: 10%;
}

#angebote .card h2 {
    padding: 15px;
    padding-top: 0;
    font-size: 2em;
}

#angebote .card p {
    padding: 15px;
    padding-top: 0;
    font-size: 1.1em;
}

#angebote .card .hover-background {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-color: black;
    opacity: 0;
    transition: opacity 0.3s;  
}

#angebote .card:hover .hover-background {
    opacity: 0.75;  
}

#angebote .card .hover-content {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s; /* add transition to opacity */  
}

#angebote .card .hover-content button {
    padding: 12px 20px;
    font-size: 1.2rem;
    color: #fff;
    border: 2px solid #fff;
    border-radius: none;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#angebote .card .hover-content button:hover {
    color: #000;
    background-color: #fff;
}

#angebote .card .hover-content p {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    font-size: 2em;
    color: white;
}
    
#angebote .card:hover .hover-content {
    opacity: 1;  
}

#meine-projekte {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#meine-projekte #slideshow-header {
    width: 80%;
    height: 15vh;
    background-color: #fcecbb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#meine-projekte #slideshow-header .heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#meine-projekte #slideshow-header .heading h2 {
    font-size: 2rem;
    padding: 0.5rem;
}

#meine-projekte #slideshow-header .heading button {
    font-size: 1.3rem;
    border: none;
    outline: none;
    background: none;
    color: #000;
    cursor: pointer;
}

#meine-projekte #slideshow-header .heading button:hover {
    color: #717171;
}

#meine-projekte .slideshow {
    width: 80%;
    height: 70vh;
}

#meine-projekte .slideshow .slide {
    display: none;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: border-box;
}

#meine-projekte .slideshow .slide#slide0 {
    background-image: url("../images/lieblingsstuecke/image_2.jpg");
}

#meine-projekte .slideshow .slide#slide1 {
    background-image: url("../images/lieblingsstuecke/image_6.jpg");
}

#meine-projekte .slideshow .slide#slide2 {
    background-image: url("../images/lieblingsstuecke/image_7.jpg");
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 5px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 30%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
  
.active, .dot:hover {
    background-color: #717171;
}

.gallery-wrapper {
    padding: 6rem;
    padding-top: 3.8rem;
    padding-bottom: 1rem;
}

.gallery-wrapper:last-of-type {
    padding-bottom: 6rem;
}

.gallery-wrapper h1 {
    text-align: center;
    font-size: 2.5em;
    line-height: 1.5em;
}

.gallery-row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}
  
/* Create four equal columns that sits next to each other */
.gallery-column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.gallery-image-wrapper {
    position: relative; /* Ensures the hover text is positioned relative to the image */
    overflow: hidden;
}
  
.gallery-column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    overflow: hidden;
    object-position: center;
    transition: transform 0.1s ease, filter 0.1s ease; /* Add smooth hover transitions */
}
  
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .gallery-column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .gallery-column {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
}

/* Hover effect on images */
.gallery-column img:hover {
    /* filter: brightness(50%);*/ /* Darken the image */
}

/* Hover text styling */
.gallery-image-hover-text {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0); /* Semi-transparent background */
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease, visibility 0.1s ease;
}

/* Show hover text on hover */
.gallery-image-wrapper:hover .gallery-image-hover-text {
    opacity: 1;
    visibility: visible;
}

.gallery-image-hover-text button {
    cursor: pointer;
}