/* de basics */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --white: #fff;
    --black: #212121;
    --dark-gray: #333;
    --light-gray: #9b9b9b;;
    --pink: #DBB7C0;
    --pink-hightlights: #e09c8c;
    --pink-light: #f4e4dc;
    --salmon: #e2c7b5;
}

html{
    font-size: 65.5%;
    font-family: 'Montserrat', sans-serif;
}

main{
    height: 100%;
    margin-top: 25rem;
}

.product-individual{
    width: 100%;
    height: 100%;
}

.product-variations{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

figure.images{
    width: 50rem;
    height: 100%;
}

.product-variations img{
    width: 35rem;
    height: 35rem;
    padding: 4rem;
    object-fit: contain;
}

.choises{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.titel{
    font-size: 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin: 2rem 0;
}

.variations{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.variation{
    font-size: 1.4rem;
    color: black;
    font-weight: 300;
    
    padding: 0.8rem 1rem;
    background-color: transparent;
    border: 1px solid black;
}

.active{
    color: white;
    background-color: #333;
}

.price{
    margin: 4rem 0;
    font-size: 2.5rem;
    font-weight: 500;
}

.add-to-cart-btn{
    display: flex;
    height: 100%;
    align-items: flex-end;
    
}

.add-to-cart-btn > button{
    text-transform: uppercase;
    padding: 1rem 3rem;
    background-color: black;
    color: white;
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    border-radius: 0;
    border: 1px solid;
    font-family: inherit;
}

.product-description{
    margin-top: 10rem;
    width: 80%;
    line-height: 2.4rem;
}

.product-description h2{
    font-weight: 600;
    font-size: 3rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.product-description div{
    margin: 3rem 0;
}

.product-description h3{
    font-weight: 600;
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 0.6rem;
}

.product-description p{
    font-size: 1.4rem;
    color: var(--dark-gray);
}

.popup {
    font-size: 1.6rem;
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    background-color: var(--pink-light);
    transform: translate(-50%, -50%);
    width: 30rem;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.6);
    z-index: 1000;
  }

  @media only screen and (max-width: 1050px){

    main{
        margin-top: 10rem;
    }

    .product-variations{
        flex-direction: column;
    }

    .choises{
        width: 100%;
    }
  }