@import url("../css/pages/team.css");

.site-main{
    /*display: inline-flex;
    align-items: top;
    flex-direction: column;  
    align-items: center;*/
    max-width: fill-available;
    max-width: -webkit-fill-available;
    max-width: -moz-available;
    width: 100%;
}

.title-container{
    text-align: center;
    max-width: 50vw;
    margin: auto;
    display: flex;
    justify-content: center;
}

.title-container span{
    padding: 2vh 1vw 2vh 1vw;
    background-color: var(--ghost-accent-color);
    border-radius: 25px;
    color: #F9F3EF;
    width: 100%;
    max-width: 30vmax;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}

.page-content-container{
    margin-top: 2vh;
    width: fill-available;
    width: -webkit-fill-available;
    width: -moz-available;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-content{
    margin-top: 0;
    width: 100%;
    height: 100%;
    /*display: inline-grid;*/
    display: -ms-inline-grid;
    display: -moz-inline-grid;
    justify-items: stretch;
    text-align: justify;
}

.page-content > div:has(.kg-product-card){
    flex-direction: row;
    scroll-snap-type: x mandatory;
    overflow-y: scroll;
    max-width: 100%;
    scroll-snap-align: center;
    display: flex;
    float: left;
    justify-content: flex-start;
    /* align-items: center; */
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    left: 0;
    position: relative;
}

.SlideStyle{
    /*display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;*/

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
}

/*.page-content > div:has(.kg-product-card) > .kg-product-card:first-child{
    margin-left: 50%;
}
.page-content > div:has(.kg-product-card) > .kg-product-card:last-child{
    margin-right: 50%;
}
.page-content > div:has(.kg-product-card)::after{
    content: '.';
}*/

.kg-product-card{
        width: 95% !important;
        scroll-snap-align: start;
        flex: none;
        float: left;
        margin-right: 5vw;
        background-color: rgb(255 255 255 / 40%);
        border-radius: 25px;
        text-align: center;
        box-shadow: 0 0 5px 1px var(--darker-accent-color);
        margin: 15px;
        scroll-snap-align: center;
        flex: none;
        justify-content: start;
}

.kg-product-card-container {
    display: flex !important;
    flex-direction: column;
    scroll-snap-align: center;
    box-shadow: none !important;
    height: 100%;
    align-content: space-between;
}

.kg-product-card-container img {
    border-radius: 50%;
    width: 25vmin;
    aspect-ratio: 1/1 ;
}


.kg-product-card-title {
    font-size: 5.5vmin !important;
}

.kg-product-card-description{
    text-align: justify;
}

.kg-product-card-button{
    margin-top: auto;
}

@media only screen and (min-width: 800px) {
    .page-content{
        margin-top: 4vh;
    }
    .page-content-container{
        /*align-items: center;
        flex-direction: row;*/
        display: flex;
        flex-direction: row;
        /* align-content: center; */
        align-items: center;
    }

    .kg-product-card-title {
        font-size: 1.5em !important;

    }
    .kg-product-card-title span {
        white-space: nowrap !important;
        
    }
}

@media not (pointer: coarse) {
    .page-content > div:has(.kg-product-card){
        overflow: hidden;
        justify-content: center;
    }
    .page-content > div:has(.kg-product-card) > .kg-product-card{
        max-width: 30%;
        padding: 0 3vh 0 3vh;
        min-width: 30%;
    }
    .page-content > div:has(.kg-product-card) > .kg-product-card:first-child{
        margin-left: 0;
    }
    .page-content > div:has(.kg-product-card) > .kg-product-card:last-child{
        margin-right: 0;
    }
    .page-content > div:has(.kg-product-card)::after{
        content: '';
    }
    .SlideStyle{
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
    }
  }