* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.nav-bar {
    height: 44px;
    background-color: rgb(29, 29, 29);
    color: #cccccc;

}

.navbar {
    height: 44px;
    background-color: rgb(29, 29, 29);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 0px 22px;
    opacity: 0.9;
}

.navbar li {
    list-style: none;
    font-size: 13px;
}

.navbar li i {
    font-size: 18px;
}

.section1 {
    height: 580px;
    background-image: url('./assets/1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;
    padding-top: 40px;
    line-height: 40px;
}

.section1 h1 {
    font-weight: bold;
    font-size: 50px;
}

.section1 h4 {
    font-size: 30px;
    font-weight: 300;
}

.leftbtns,
.rightbtns {
    border: 1px solid;
    border-radius: 30px;
    padding: 11px 21px;
    font-size: 17px;
}

.leftbtns {
    background-color: rgb(62, 119, 238);
    border-color: rgb(62, 119, 238);
    color: white;
}

.btn {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.rightbtns {
    border-color: rgb(62, 119, 238);
    color: rgb(62, 119, 238);
}

.rightbtns:hover {
    color: white;
    background-color: rgb(62, 119, 238);
}

.section2 {
    height: 570px;
    background-image: url('./assets/2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: rgb(27, 27, 27);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 15px;
    padding-bottom: 45px;
    line-height: 30px;
}

.secpart {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 20px;

}

.section2 h1 {
    font-size: 50px;
}

.section2 h4 {
    font-weight: 400;
    font-size: 30px;
}

.card {
    display: grid;
    grid-template-columns: auto auto;
    width: 100%;
    padding: 10px;
}

.cards {
    height: 580px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 50px;
}

.cardtext {
    font-weight: 300;
    font-size: 19px;
    line-height: 40px;
}

.cardbtn button {
    border: 1px solid;
    border-color: rgb(62, 119, 238);
    border-radius: 20px;
    padding: 7px 15px;
}

.cardleftbtn {
    margin-top: 10px;
    background-color: rgb(62, 119, 238);
    color: white;
}

.cardrighttbtn {
    color: rgb(62, 119, 238);
}

.ipadair {
    background-image: url('./assets/mac.jpg');
}

.watch {
    background-image: url('./assets/watch.jpg');
}

.ipad {
    background-image: url('./assets/ipad.jpg');
    gap: 9px;
}

.ipad h1,
.macbook p {
    font-size: 36px;
}

.ipad p,
.macbook p,
.trade p {
    font-size: large;

}

.macbook {
    background-image: url('./assets/book.jpg');
}

.macbook p,
.trade p,
.cardsec p {
    text-align: center;
    margin: 10px 0;
    font-weight: 100;
}

.trade {
    background-image: url('./assets/iphone.jpg');
}

.cardsec {
    background-image: url('./assets/card.jpg');
}