@import url('https://fonts.googleapis.com/css2?family=Delius&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body{
    margin: 0;
    padding: 0;
    background: url(../img/BG2.webp)no-repeat center center fixed;
    background-size: cover;
    font-family: 'delius';
}

.GV__cart--container{
    max-width: 90%;
    margin: 30px auto;
    padding: 30px;
}

h1{
    font-size: 36px;
    font-weight: bold;
    color: #102910;
    margin: 20px auto;
}

.GV__cart{
    background-color: rgba(97, 160, 85, 0.47);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 15px;
}

.GV__cart--header, .GV__cart--item{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
    align-items: center;
    color: white;
    border-bottom: 1px solid #102910;
    padding: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.GV__cart--header--mobile, .GV__cart--item--mobile{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    align-items: center;
    color: white;
    border-bottom: 1px solid #102910;
    padding: 10px 0;
    font-size: 24px;
    font-weight: bold;
}

.GV__cart--img{
    width: 100px;
    border-radius: 5px;
    margin-left: 100px;
}

.GV__cart--Summary{
    display: flex;
    justify-content: flex-end;
    font-size: 36px;
    font-weight: bold;
    color: white;
}

.GV__cart--Btn{
    display: flex;
    justify-content: flex-end;
    margin-right: 5px;
}

.btn{
    padding: 12px 24px; 
    font-weight: bold; 
    border: none; 
    border-radius: 8px;
    cursor: pointer; 
    font-size: 16px;
    text-align: center;
    text-decoration: none;
}

.continue { 
    background-color: white;
    color: gray;
    border: 1px solid gray;
}

.continue:hover{
    background-color: #96bf6b;
}

.pay{
    background-color: #481919;
    color: white;
}

.pay:hover{
    background-color: #102910;
}

.GV__cart--container--mobile{
    display: none;
}



@media only screen and (max-width: 1200px) {
    .GV__cart--img{
        margin-left: 50px;
    }
}

@media only screen and (max-width: 992px) {
    .GV__cart--img{
        margin-left: 30px;
    }
}

@media only screen and (max-width: 576px) {
    .GV__cart--container{
        display: none;
    }
    .GV__cart--container--mobile{
        display: flex;
        flex-direction: column;
    }
    
    .GV__cart--img{
        width: 80px;
        margin-left: 10px;
    }
    
    .GV__cart--Summary{
        margin-right: 15px;
        font-size: 25px;
    }
    
    .GV__cart--item--mobile{
        font-size: 14px;
        font-weight: 700;
    }
    
    .btn{
        padding: 10px 18px;
        font-size: 16px;
    }
}