@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2&family=Dancing+Script&family=Fira+Sans+Condensed&family=Satisfy&display=swap");
*{
    margin: 0;
    padding: 0;
    font-family: 'Fira Sans Condensed', sans-serif;
}
#container1{
    background-image: url(componets/img/img1.svg);
    background-size: cover;
    background-color: #202124;
    background-position: 100%;
    background-repeat: no-repeat;
    height: 280px;
    text-align: center;
}
.deals{
    padding-top: 6rem;
    color: #fff;
    font-size: 64px;
    letter-spacing: 2px;
    font-weight: 700;
}
#lines{
    margin-left: 15rem;
}
#container2{
    display: flex;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
#container2 h2{
    display: flex;
    font-weight: 700;
    font-size: 27px;
    letter-spacing: 1px;
    margin-left: 15rem;
    font-style: bold;
}
#container2 button{
    display: flex;
    font-size: 13px;
    margin-left: 39.8rem;
    cursor: pointer;
    border-top: none;
    border-left: none;
    border-right: none;
    background: none transparent;
}
#main{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    
    width: 72%;
    margin-left: 15rem;
    align-items: center;
    justify-content: center;
    
    
}
#main .main-div1,.main-div2,.main-div3,.main-div4,.main-div5,.main-div6{
    flex-direction: column;
    width: 20rem;
    height: 398px;
    
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 10px;
    margin-bottom: 2rem;
    
}
#main img{
    width: 20rem;
}
#a{
    color: white;
    text-align: center;
    font-size: 30px;
    padding-top: 160px;
    margin-bottom: 0.5rem;
    font-weight: 700;

}
.button1{
    width: 10rem;
    height: 44px;
    background: none;
    border-radius: 200px;
    color: #fff;
    border-color: #fff;
    margin-left: 5rem;
    font-weight: 500;
    font-size: 14px;
    margin-top: 2rem;
    cursor: pointer;
}

.button1:hover, .button2:hover {
    background-color: #f8f7f5;
    color: black;
    font-size: 20px;
}

.main-div2{
    text-align: center;
}
.button2{
    width: 6.5rem ;
    border-radius: 200px;
    text-align: center;
    height: 40px;
    background: transparent;
    border-color: #ffffff;
    margin-top: 2.5rem;
    color: #ffffff;
    cursor: pointer;
}
.main-div2 h3{
    color: #fff;
    text-align: center;
    font-size: 30px;
    margin-top: 4.2rem;
}
#main h2{
    color: #e4002b;
    text-align: center;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 5px;
}
.bg{
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    
}
.button3{
    margin-top: 1.5rem;
}

.button3 .view, .buttons .view{
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    text-decoration: underline;
    cursor: pointer;
    margin-right: 2.8rem;
}
.button3 .redeem, .buttons .redeem{
    background: none transparent;
    border-radius: 200px;
    border-color: #202124;
    color:#202124;
    width: 135px;
    height: 44px;
    cursor: pointer;
}

.view:hover {
    background-color: #d2d6ddb2;
    cursor: pointer;
}

.redeem:hover {
    background-color: #202124;
    color: #f8f7f5;
    cursor: pointer;
    font-size: 20px;
}

.buttons{
    margin-top: .5rem;
}


#v1{
    position: absolute;
    display: none;
    z-index: 1 ;
    width: 40%;
    height: 310px;
    border: 2px solid red;
    margin-left: 30rem;
    margin-top: 20rem;
}
.header{
    display: flex;
    align-items: center;
    justify-content: center;

    
}
.header button{
    width: 24px;
    height: 25px;
    margin-left: 24rem;
}

#v1 section{
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    justify-content: center;
}
#v1 section h3{
    margin-bottom: 2rem;
}
#v1 section p{
    margin-bottom: 2rem;
}
#v1 footer{
    text-align: center;
    justify-content: center;
}