.design-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.header {
    width: 100%;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    background-color: white;
    text-align: center;
    color: var(--magenta);
}
.header h1{
    margin: 0;
    padding-top: 1dvh;
    padding-bottom: 1dvh;
    font-size: 4.3dvh;
}
.preview-holder{
    width: 100%;
    height: 82%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 1vmax;
}
.color-panel.show{
    display: block;
    width: 100%;
    height: 8%;
    opacity: 1;
}
.color-panel{
    display: none;
    height: 0;
    opacity: 0;
    transition: all 0.3s;
}
.color-box.active{
    display: flex;
}
.color-box{
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}
.color-btn-wrapper{
    height: 100%;
    aspect-ratio: 1 / 1;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.color-btn{
    border-radius: 50%;
    width: 100%;
    height: 100%;
}
.krathong-preview{
    display: grid;
    grid-template-columns: 1fr;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    width: 100%;
    height: 100%;
    max-height: 45dvh;
    margin-top: auto;
    margin-bottom: auto;
    transition: all 0.3s;
    text-align: center;
}
.preview-img{
    grid-row-start: 1;
    grid-column-start: 1;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 45dvh;
    place-self: center;
}
.preview-img svg{
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 45dvh;
}
.select-tab{
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    height: 80%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.nav-holder{
    width: 100%;
    height: 12vmax;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: -6vmax;
}
.nav-btn-wrapper{
    max-width: 25vw;
    height: 100%;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: white;
    transition: color 0.1s;
}
.nav-btn-wrapper.active, .nav-btn-wrapper:hover, .nav-btn-wrapper:focus{
    color: var(--magenta);
}
.nav-btn-wrapper svg{
    width: auto;
    max-width: 100%;
    height: 100%;
}
.all-tab-holder{
    width: 100%;
    height: 70%;
    padding: 0.3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.nav-link{
    padding: 0;
}
.main-slide-holder{
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.main-slide-holder.active{
    display: flex;
}
.tab-btn-wrapper{
    width: 13%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.2rem;
}
.tab-btn-wrapper img{
    width: 100%;
    height: auto;
    max-width: 45px;
}
.tab-holder{
    width: 100%;
    height: 100%;
}
.slide-holder{
    width: 100%;
    height: 100%;
}
.slide-page{
    width: 100%;
    height: 100%;
    margin: 0;
    display: none;
    transition: none;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.carousel-item{
    display: none;
    transition: none;
    margin: 0;
}
.slide-page.active, .carousel-item.active{
    display: flex;
    margin: 0;
}
.slide-img-wrapper{
    width: 38%;
    height: 100%;
}
.three-img .slide-img-wrapper{
    width: 30%;
}
.slide-img-wrapper img{
    width: 100%;
    height: auto;
    max-height: 100%;
}
.footer-holder{
    width: 100%;
    height: 35%;
    display: flex;
    justify-content: end;
    flex-direction: column;
}
.footer{
    width: 100%;
    height: 25%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0.3rem ;
}

.p-loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color:var(--magenta) #0000 #fff #0000;
    border-radius: 50%;
    box-sizing: border-box;
    animation: 1s rotate linear infinite;
}
.p-loader:before , .p-loader:after{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    border: 10px solid transparent;
    border-bottom-color:#fff;
    transform: translate(-10px, 19px) rotate(-35deg);
}
.p-loader:after {
    border-color: var(--magenta) #0000 #0000 #0000 ;
    transform: translate(32px, 3px) rotate(-35deg);
}
@keyframes rotate {
    100%{    transform: rotate(360deg)}
}

@media (max-width: 768px) { 
    
    
 }