@font-face {
    font-family: Railway;
    src: url(./font/Raleway-Regular.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Railway;
}

html,
body {
    height: 100%;
    width: 100%;
}

#main-cont {
    width: 100%;
    height: 1250px;
    padding: 20px 40px;
    max-width: 1400px;
    box-sizing: border-box;
    margin: 0 auto;
}
#main-cont>h1{
    margin-top: 20px;
}
#nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}
#left img{
    height: 20px;
}
#center{
    display: flex;
    gap: 20px;
}
#center a{
    text-decoration: none;
    color: #111;
    font-size: 16px;
    font-weight: 700;
}
#right{
    display: flex;
    align-items: center;
    gap: 20px;
}
#right input {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    border: 1px solid #ddd;
}
#right i{
    font-size: 25px;
}
#allcards{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    margin: 40px 0px;
    flex-wrap: wrap;
}
.card1,
.card2,
.card3,
.card4{
    border:1px solid #222;
    width: 300px;
    height: 500px;
    border-radius: 15px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-shadow: 5px 10px 25px rgba(0, 0, 0, 0.22);
}
.card1 img,
.card2 img,
.card3 img,
.card4 img{
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.info{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    line-height: 1.5;
}
.info h3{
    color: #4842c1;
    font-size: 20px;
}
.price-cont{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.purchase{
    display: flex;
    gap: 5px;
}
.purchase button{
    padding: 10px;
    cursor: pointer;
}
.purchase button:nth-of-type(1){
    background-color: transparent;
    color:#4842c1;
    border: 1px solid #4842c1;
    border-radius: 10px;
}
.purchase button:nth-of-type(2){
    background-color: #4842c1;
    color: white;
    border: none;
    border-radius: 10px;
}
.purchase button:nth-of-type(2):hover{
    background-color: transparent;
    color: #4842c1;
    border: none;
    border-radius: 10px;
    border: 1px solid #4842c1 ;
}
.purchase i{
    font-size: 18px;
}

