@font-face {
    font-family: apple;
    src: url(sf-pro-display_medium.woff2); 
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: apple; 
}
html, body{
    height: 100%;
    width: 100%;
}

#main{
    width:  100%;
    background-color: #f5f5f7;
    padding-top: 45px; 
}
#nav{
    height: 45px;
    width: 100%;
    background-color: #19191a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 37px;
    position: fixed;
    top: 0; 
    z-index: 100; 
}
#nav h4{
    color: #e8e8ed;
    font-weight: 100;
    font-size: 12px;
}
#nav i{
    color: #e8e8ed;
    font-size: 16px;
}

.hero-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    height: 570px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position: center;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.08);
}
.hero-section h1 {
    font-size: 56px;
    font-weight: 400;
    color: #1d1d1f; 
}
.hero-section h5 {
    font-size: 28px;
    font-weight: 400;
    margin-top: 5px;
    color: #1d1d1f; 
}

.links{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.btn-primary{
    background-color: #0071e3;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-size: 17px;
    cursor: pointer;
}
.btn-secondary{
    background-color: transparent;
    color: #0071e3;
    padding: 11px 23px;
    border-radius: 50px;
    border: 1px solid #0071e3;
    font-size: 17px;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: #0071e3;
    color: #fff;
}

#centre{
    background-color: black;
    background-image: url(1.jpg); 
    background-position: bottom;
}
#centre h1, #centre h5 {
    color: #f5f5f7; 
}
#centre .btn-secondary {
    color: #2997ff; 
    border-color: #2997ff;
}
#centre .btn-secondary:hover {
    background-color: #0071e3;
    color: white;
}

#iphone-air {
    background-color: #f5f5f7;
    background-image: url(2.jpg); 
    background-position: bottom;
}
#iphone-17 {
    background-color: #f5f5f7;
    background-image: url(3.jpg); 
    background-position: bottom;
}

.grid-container {
    display: flex;
    width: 100%;
    padding: 7.5px;
    gap: 15px;
}
.grid-item {
    width: 50%;
    height: 580px;
    padding-top: 50px;
    text-align: center;
    background-color: #f5f5f7;
    background-size: cover;
    background-position: center; 
    box-shadow: -4px 4px 5px rgba(0, 0, 0, 0.08);
}
.grid-item h3 {
    font-size: 40px;
    font-weight: 600;
    color: #1d1d1f;
}
.grid-item h4 {
    font-size: 21px;
    font-weight: 400;
    margin-top: 5px;
    color: #1d1d1f;
}

#watch { background-image: url(5.jpg); }
#airpods { background-image: url(6.jpg); }
#macbook { background-image: url(7.jpg); }
#ipad { background-image: url(9.jpg); }
#trade-in { background-image: url(11.jpg); }
#card { background-image: url(13.jpg); }
