main{
    max-width:1300px;
}
header h1{
    line-height: 50px;
    width: 1000px;
    padding: 0 calc(50% - 605px);
    margin:00 10px; 
    display:inline;
}


.rightcolumn{
    display: flex;
    margin-top: 20px;
}

.slidercolumn{
    margin-right: 70px;
    position: relative;
}
.imageslider{
    display: flex;
    overflow: auto;
    width: 500px;
    height: 550px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 10px 25px -10px hsla(0,0%,0%,0.25);
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.imageslider::-webkit-scrollbar {
  display: none;
}

.imageslider img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    scroll-snap-align: start;
}

.slidernavigation{
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    top: 500px;
    height: auto;
}
.slidernavigation a{
    width: 10px;
    height: 10px;
    margin: 10px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    opacity: 0.65;
    transition: opacity ease 250ms;
}
.slidernavigation a:hover{
    opacity: 1;
}

.productimagelist{
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;     
    gap: 10px; 
    padding-left: 10px;
    margin-bottom: 10px;
}
.productimageitem{
    width: 112px;
    aspect-ratio: 3/4;
}
.productimageitem a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.descriptioncolumn{
    background-color: rgb(252, 242, 242);
    flex: 1;
    padding: 10px 50px;
    border-radius: 10px 10px 0px 0px;
    box-sizing: border-box;
    margin-right: 40px;
}

.descriptioncontainer{
    margin-top: 40px;
}
.descriptioncontainer h2{
    text-align: left;
    padding: 0;
}
.descriptioncontainer p{
    margin-top: 20px;
}
.productprice{
    display: block;
    padding: 15px 0px;
    font-size: larger;
}
.addToCart{
    width: 100px;
    height: 40px;
    font-size: 14px;
}

@media (max-width: 768px) and (pointer: coarse) {
    .leftcolumn {
        margin-bottom: 20px !important;
    }
    .rightcolumn {
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .slidercolumn {
        order: 2;
        width: 100% !important;
        margin-right: 0 !important;
    }

    .imageslider {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4/5 !important;
    }

    .slidernavigation {
        top: 90% !important;
    }

    .productimagelist {
        width: 100% !important;
        padding-left: 0 !important;
        justify-content: center !important;
    }

    .productimageitem {
        width: 80px !important;
    }

    .descriptioncolumn {
        width: 100% !important;
        margin-right: 0 !important;
        padding: 20px !important;
        border-radius: 10px !important;
        order: 1;
        margin-bottom: 20px !important;
    }

    .descriptioncontainer {
        margin-top: 0 !important;
    }

    .addToCart {
        width: 100% !important;
        height: 50px !important;
        font-size: 18px !important;
        margin-top: 10px !important;
    }
}