*{
    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;
}

h1{
    margin: 1.5rem 0;
    font-size: 2.5rem;
}

main{
    margin-top: 30rem;
}

.titles{
    display: flex;
    padding: 1rem 0;
}

.title{
    width: 20%;
}

.title:nth-of-type(1){
    width: 40%;
}

.cart-header{
    background-color: var(--black);
    height: 10rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cart-header h1{
    font-size: 3rem;
    text-transform: uppercase;
}

.cart-header div{
    display: flex;
    font-size: 1.2rem;
    gap: 0.4rem;
}

.cart-header-nav a, .cart-header-nav i{
    color: white;
    text-decoration: none;
}

.cart-header-nav a:hover{
    text-decoration: underline;
}

.item:nth-of-type(1){
    border-top: 1px solid lightgray;
}

.item{
    display: flex;
    padding:2rem 0;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid lightgray;
}
.item img{
    height: 5rem;
    width: 20%;
    object-fit: contain;
}

.name, .price, .amount, .total-price{
    font-size: 1.8rem;
    color: gray;
    width: 20%;
}

.cart-buttons{
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 8rem;
}

.cart-buttons button{
    padding: 1rem 2rem;
    text-transform: uppercase;
    line-height: 1.8rem;
    letter-spacing: .6px;
    font-weight: 300;
}

.btn-1{
    background-color: black;
    border: none;
    color: white;
}

.btn-2{
    background-color: #ECECEC;
    border: none;
    color: black;
}

.total-section{
    background-color: #f8f8f8;
    display: flex;
}

.left, .right{
    width: 50%;
    padding: 3rem;
}

.left{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.left h2{
    text-transform: uppercase;
    font-size: 2.4rem;
}

.left textarea{
    width: 100%;
    height: 14rem;
    padding: 1rem;
}

.right{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right h2{
    font-size: 2.2rem;
    text-transform: uppercase;
    padding-bottom: 2rem;
}

.totaal-berekening{
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
}

.totaal-berekening div{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid grey;
    padding: 2rem;
}

.totaal-berekening div h3{
    font-size: 1.4rem;
    padding: 1rem;
    width: 50%;
    font-weight: 500;
}

.totaal-berekening div p{
    width: 50%;
    font-size: 1.2rem;
}

div.totaal h3{
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

div.totaal p{
    font-size: 1.6rem;
    text-transform: bold;
    font-weight: 700;
}

.kortingscode{
    width: 100%;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.kortingscode h3{
    font-weight: 500;
}

.kortingscode input{
    padding: 0.8rem;
    width: 50%;
    border: 1px solid gray;
}

.right button{
    background-color: black;
    color: rgba(255, 255, 255, 0.95);
    border: none;
    text-transform: uppercase;
    width: 100%;
    height: 4rem;
}

.right button a{
    color: white;
    text-decoration: none;
}



@media only screen and (max-width: 1220px){

    .item p{
        font-size: 120%;
    }
}

@media only screen and (max-width: 1050px){

    .total-section{
        flex-direction: column;
    }

    .total-section section{
        width: 100%;
    }
}

@media only screen and (max-width: 750px){

    .title{
        font-size: 100%;
    }
}