*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: rgb(240, 233, 233);
}
.navbar{
    height:40px;
    width:100%;
    display: flex;
    gap:35px;
    justify-content: center;
    padding-top: 10px;
    cursor: pointer;
    background-color: rgba(166, 161, 161, 0.807);
}
.navbar h3{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.navbar h3:hover{
    color: #fff;
}
.page1{
    height: 650px;
    width: 100%;
    background: url(https://www.apple.com/v/home/ch/images/heroes/iphone-17-pro/hero_iphone_17_pro__bknyzxfk2agi_medium.jpg);
    background-position: center;
    background-size: cover;
}
.page1 h1{
    color: #fff;
    font-family:Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 50px;
    padding-top: 60px;
    top:30px;
}
.page1 p{
    color: #fff;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 30px;
    line-height: 1.6;
    font-size: 200;
}
.page1-button{
    width: 70%;
    text-align: center;
    margin-top: 20px;
    display: flex;
    gap: 25px;
    padding-left: 35%;
}
.page2{
    background: url(https://www.apple.com/v/home/ch/images/heroes/iphone-air/hero_iphone_air__0gxyavihpiqu_medium.jpg);
    background-position: center;
    background-size: cover;
    height: 600px;
    width: 100%;
}
.page2 h1{
    color: #000;
    font-family:Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 50px;
    padding-top: 60px;
    top:30px;
}
.page2 p{
    color: #000;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 25px;
    font-size: 200;
}
.page2-button{
    width: 65%;
    justify-content: center;
    margin-top: 20px;
    display: flex;
    gap: 30px;
    padding-left: 35%;
}
#box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}

.box1, .box2, .box3, .box4, .box5, .box6{
  background-color: #f5f5f7;
  border-radius: 20px;
  text-align: center;
  flex: 1;
  padding: 40px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box1:hover, .box2:hover, .box3:hover,.box4:hover, .box5:hover, .box6:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.box1 img, .box2 img, .box3 img, .box4 img, .box5 img, .box6 img{
  max-width: max-content;
  border-radius: 10px;
}

h1 {
  font-size: 35px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin-top: 20px;
  color: #1d1d1f;
}

p {
  color: #6e6e73;
  margin: 10px 0 20px 0;
  font-size: 27px;
  font-family: 'Times New Roman', Times, serif;
}
.button-section {
  display: flex;
  justify-content: center;
  gap: 15px;
}

button {
  width: 40%;
  height: 70px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #0071e3;
  background-color: transparent;
  color: #0071e3;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

button.learn:hover {
  background-color: #0071e3;
  color: #fff;
}

button.buy:hover {
  background-color: #0071e3;
  color: #fff;
}
