:root{
 --Black: hsl(212, 21%, 14%);
--Grey: hsl(228, 12%, 48%);
--Cream: hsl(30, 38%, 92%);
--White: hsl(0, 0%, 100%);
--Green500: hsl(158, 36%, 37%);
--Green700: hsl(158, 42%, 18%);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--Cream);
    flex-direction: column;
}
.container{
    background-color: var(--White);
    width: 35%;
    height: 30rem;
    border-radius:12px;
    display: flex;
    box-shadow:  5px 5px 20px rgba(0, 0, 0, 0.1);
}
.imgContainer{
    height: 100%;
    width: 50%;
    border-radius: 12px 0 0 12px;
    background-image: url("images/image-product-desktop.jpg");
    background-position: center;
    background-size: cover;
    filter: grayscale(0.) contrast(0.8) brightness(0.8);
    
}
 .container div:nth-child(2){
    height: 100%;
    width: 60%;
}
.container div:nth-child(2) p:first-child{
    padding: 2rem;
    font-weight: 300;
    color: var(--Grey);
    letter-spacing: 5px;
}
.container div:nth-child(2) h1{
    padding: 1rem;
    margin-top: -10%;
    margin-left: 3%;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.container div:nth-child(2) p:nth-child(3){
    color: var(--Grey);
    padding: 1rem;
    margin-left: 2.5%;
    margin-top: -5%;
    letter-spacing: 1px;
    text-align: center;
}
.container div:nth-child(2) .price{
    height: 5rem;
    width: 10rem;
    display: flex;
    margin-left: 2%;
    margin-top: -10%;
}
.container div:nth-child(2) .price p:nth-child(1){
 color: var(--Green700);
 font-size: 30px;
 font-weight: bolder;
 font-family: sans-serif;
}
.container div:nth-child(2) .price p:nth-child(2){
    color: var(--Grey);
    margin-top: 25%;
    text-decoration: line-through;
}
button{
    padding: 0.5rem;
    margin-left: 10%;
    margin-top: 5%;
    width: 80%;
    font-weight: bold;
    background-color: var(--Green500);
    cursor: pointer;
    transition: 0.5s all ease-in-out;
    border: none;
    color: white;
    border-radius: 0.5rem;
}
button img{
    margin-right: 10%;
}
button:hover{
    background-color: var(--Green700);
    scale: 1.1;
}
.theme{
    height: 5%;
    width: 6%;
     position: absolute;
     top: 5%;
    border-radius: 2rem;
    transition: 0.5s all ease-in-out;
   background-color: rgb(66, 228, 228);
}
.button{
    background-color: var(--Black);
    border-radius: 50%;
    height: 90%;
    width: 25%;
    margin-left: 2%;
    cursor: pointer;
    transition: 0.5s all ease-in-out;
    background-color: white;
    position: relative;
    top: 5%;
}
/*Js Toogle added classes*/
.Newtheme{
 background-color: rgb(238, 192, 144);
}
.Newposition{
    transition: 0.5s all ease-in-out;
    margin-left: 70%;
    /*position: relative;
    left: 70%;*/
}
.active{
   /* background-color: hsl(157, 6%, 27%);*/
   background-color: rgb(72, 71, 71);
}
.light{
    box-shadow: 5px 5px 20px rgba(255, 255, 255, 0.3);
}

/*Responsive CSS*/
@media(max-width:375px){
    .container{
        width: 50%;
    }
}