@font-face {
    font-family: 'system';
        src: url('fonts/SystemBeta-Eustd-Medium-750.woff2') format('woff2'),
        url('fonts/SystemBeta-Eustd-Medium-750.woff') format('woff');
}

body {
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'system', sans-serif;
    font-feature-settings: "ss02"; /* Enable Stylistic Set 1 */
    font-size: 6.25vw;
    letter-spacing: -0.2vw;
    line-height: 5.2vw;
    padding: 0;
    margin: 0;
    background-color: white;
}

.page-wrapper {
  display: flex;
  flex-direction: column; /* Stack children (center-index and contact-box) vertically */
  min-height: 100vh; /* Ensure it takes the full viewport height */
  overflow: auto; /* Allow scrolling if needed */
}

.row {
    height: 4.6vw;  /* Set row height */
    text-decoration: none;
    color: black;
    display: flex;  /* Make children (columns) flex items */
    width: 99vw;
    justify-content: center;
    align-items: center; /* Centers content vertically in .row */
}

.row:hover {
    color: rgb(197, 197, 197);
    /* transition: color 300ms;
    transition-timing-function: ease 300ms; */
}

.grau:hover {
    color: rgb(197, 197, 197);
}

.col {
    display: flex; 
    align-items: flex-start; /* Center vertically */
    justify-content: flex-start; /* Center horizontally */
    height: 100%; /* Make columns take full row height */
    text-align: left; 
}



.col-1 {
    width: 14.5%;
}

.col-2 {
    width: 50%;
    white-space: normal; /* Ensure text can wrap */
}

.link {
    text-decoration: none;
    color: black;
}

.col-3:hover {
    color: rgb(197, 197, 197);
}


.col-5 {
    width: 85.5%;
}

.col-eindrittel {
    width: 33.3333%;
}

.col-zweidrittel {
    width: 66.66666%;
}

.contact-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center; /* Align content inside the box */
    padding: 16px;
    padding-bottom: 24px;
    width: vw;
    position: relative; /* Allow it to take up space inside the page */
  }

.details-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.6s ease-in-out, visibility 0.6s;
    width: 100vw;
    visibility: hidden;
    /* display: flex; */
    /* align-items: center;
    justify-content: flex-start; */
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    margin-left: -16px; /* Negative margin to counteract the padding */
    margin-right: -16px;
}

.slideshow-container {
    overflow: hidden;
    /* background-color: rgb(0, 0, 0); */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    margin-bottom: 5px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    /* column-gap: 10px;
    background-color: darkgray; */
    /* background-color: black */
}

.slideshow-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look */
}

.about-container {
    padding: 22px;
    padding-bottom: 0px;
    padding-top: 0px;
    display: flex;
    align-items: flex-start;
}

.details-container.open {
    max-height: 69vh; 
    visibility: visible;
    margin-top: 12.5px;
    margin-bottom: 12.5px;
}

.img-container { 
    flex: 0 0 auto; /* Prevent shrinking, maintain fixed size */
    height: 69vh;
    scroll-snap-align: start; /* Ensures smooth snapping */
    background-color: black;
}

.img-container img {
    height: 100%; /* Makes it as tall as the container */
    object-fit: contain;
}

.center-index {
    flex: 1;
    flex-wrap: wrap;
    align-content: flex-start;
    display: flex;
    padding: 16px;
    gap: 0.35vw;
    padding-bottom: 0%;
    max-width: 100vw
}

.kleine-text {
    font-size: 30px;
    letter-spacing: -0vw;
    line-height: 30px;
}

.mehr-container {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease-in-out, visibility 0.3s ease-in-out;
    padding: 22px;
    padding-bottom: 0px;
    padding-top: 0px;
    display: flex;
    align-items: flex-start;
}
.mehr-container.open {
    visibility: visible;
    height: fit-content;
}

button {
    all: unset; /* Resets all styles */
    background: transparent; /* Remove default background */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    font: inherit; /* Inherit font styles */
    cursor: pointer; /* Ensure the cursor is a pointer on hover */
    margin: 0%;
    margin-left: 50%;
    display: block;
  }

.kerned {
    letter-spacing:-0.042em;
}

.contact-box .handle {
    display: inline-block;
    width: 100%; /* make it fill the anchor's width so text wraps inside it */
    white-space: normal;
  }

@media (max-width: 1200px) {
    .kleine-text {
    font-size: 2.55vw;
    letter-spacing: -0vw;
    line-height: 2.55vw;
}

.centerer {
    width:100vw;
}

.centerer img {
    width:100%;
    object-fit: contain;
}

.singlevid {
    width:100vw;
    height: auto;
}

}

/*ahandy*/

@media (max-width: 800px) {
    .col-1 {
        display: none;
    }
    
    .col-5 {
        width: 100%;
    }
    
    body {
        font-size: 7vw;
        line-height: 5.9vw;
    }
    .center-index {
        padding: 9px;
        gap: 0.7vw;
    }

    .details-container {
        margin-left: -9px; /* Negative margin to counteract the padding */
        margin-right: -9px;
    }

    .contact-box {
        padding: 9px;
        padding-bottom: 9px;
      }

    .details-container.open {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .img-container {
       height: 75vh;
       scroll-snap-align: center;
    }

    .about-container {
        padding: 12px;
        padding-bottom: 0px;
        padding-top: 0px;
    }

    .mehr-container {
        padding: 12px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .kleine-text {
        font-size: 22px;
        line-height: 22px;
    }

    .stapler {
        display:block
        
    }

    .ahandyhaub {
        width: 50%;
    }

    .handyganzibreiti {
        width: 100%;
        padding-bottom: 22px;
    }

    .singlevid {
        width:100vw;
        height: auto;
    }

    .handyzoomer {
        width:130vw;
    }

}

/*bhandy*/
@media (max-width: 560px) {

    .bhandyeindrittel {
        width: 33.33333%;
    }

    .bhandyzweidrittel {
        width: 66.666666%;
    }

    .row:hover {
        color: rgb(0, 0, 0);
        /* transition: color 300ms;
        transition-timing-function: ease 300ms; */
    }
    
    .grau:hover {
        color: rgb(0, 0, 0);
    }
}

/*chandy*/

@media (max-width: 460px) {
    .kleine-text {
        font-size: 4.7vw;
        letter-spacing: -0vw;
        line-height: 4.9vw;
}

.handyganzibreiti {
    padding-bottom: 4.9vw;
}


}