@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

#wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(255deg, #eaf4f4, #e0e1dd, #778da9);
    padding: 2rem 0;
}

.content{
    width: 70%;
    height: auto;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 1.5rem;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #0d1b2a;
}

header{
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: #0d1b2a;
    color: #e0e1dd;
}

header h1{
    font-size: 2rem;
}

.getValues{
    width: 100%;
    background-color: #778da975;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    padding: 1.5rem;
    border-bottom: 1px solid #0d1b2a;
}

.filterWrapper{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: 0.3s all ease-in-out;
}

.filterWrapper:hover{
    background: linear-gradient(255deg, #e0e1dd, #778da9);
    transition: 0.3s all ease-in-out;
}

.filterWrapper label{
    border-bottom: 1px solid #0d1b2a;
    padding-bottom: 0.1rem;
    font-weight: 600;
}

.filterWrapper span{
    background-color: #e0e1dd;
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    font-weight: 300;
    cursor: pointer;
}

.filterWrapper input, select{
    width: 100%;
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    font-weight: 400;
    outline: none;
    border: 1px solid #0d1b2a;
}

.productWrapper{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background-color: #f3f3f3;
}

.productWrapper .productImage{
    width: 55%;
    height: 100%;
}

.productImage > img{
    width: 100%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 0.8rem;
    object-fit: contain;
}

.productWrapper .orderDetails{
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 0.4rem;
    margin-left: 1.5rem;
    color: #0d1b2a;
}

.orderDetails h3{
    font-size: 1.8rem;
    border-bottom: 1px solid #0d1b2a;
    padding-bottom: 0.1rem;
    margin-bottom: 1rem;
}

.orderDetails span{
    font-size: 1.2rem;
}

.finalDetail{
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.totalDetail{
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

.totalDetail>span#totalHeading{
    border-bottom: 1px solid #0d1b2a;
    padding-bottom: 0.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.totalDetail #total{
    font-size: 1.5rem;
    font-weight: 600;
}

button#completeOrderButton{
    width: 100%;
    padding: 0.4rem 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 0.4rem;
    outline: none;
    border: none;
    background-color: #fff;
    color: #0d1b2a;
    border: 1px solid #0d1b2a;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}

button#completeOrderButton:hover{
    background-color: #0d1b2a;
    color: #fff;
}

span.selected{
    color: #f3f3f3;
    background-color: #0d1b2a;
}

@media only screen and (min-width:650px) and (max-width:770px){
    .content{
        width: 90%;
    }
    header h1{
        font-size: 1.5rem;
    }
    header{
        padding: 1rem;
    }
    .getValues{
        gap: 0.8rem;
        padding: 1rem;
    }
    .orderDetails h3{
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    .orderDetails span{
        font-size: 1rem;
    }
    .finalDetail{
        margin: 1rem 0;
    }
    button#completeOrderButton{
        font-size: 1rem;
    }
}

@media only screen and (max-width:645px){
    .productWrapper{
        flex-direction: column;
    }
    .content{
        width: 90%;
    }
    header h1{
        font-size: 1.5rem;
    }
    header{
        padding: 1rem;
    }
    .getValues{
        width:100%;
        gap: 0.8rem;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }
    .filterWrapper{
        width: 80%;
    }
    .fabricQualityWrapper{
        display: flex;
        gap: 0.2rem;
        flex-direction: column;
    }
    .orderDetails h3{
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    .orderDetails span{
        font-size: 1rem;
    }
    .finalDetail{
        margin: 1rem 0;
    }
    button#completeOrderButton{
        font-size: 1rem;
    }
    .productWrapper .orderDetails{
        width: 80%;
    }
    .productWrapper .productImage{
        width: 90%;
    }
}
