@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
html,
body {
  height: 100%;
  width: 100%;
}

#main {
  height: 100%;
  width: 100%;
}
#nav {
  width: 100%;
  height: 55px;
  background-color: #161617f9;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

#nav a {
  text-decoration: none;
  color: white;
  font-weight: 300;
  font-size: 14px;
}

#iphone {
  height: 76%;
  width: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/heroes/iphone-17-pro/hero_iphone_17_pro__bknyzxfk2agi_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
  text-align: center;
}

#iphone h2 {
  color: white;
  font-size: 60px;
  font-weight: 600;
}

#iphone p {
  color: white;
  font-size: 30px;
  font-weight: 400;
}

#iphone button {
  padding: 10px 15px;
  font-size: 18px;
  background-color: #0071e3;
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  cursor: pointer;
}

#iphone #buy {
  padding: 10px 15px;
  font-size: 18px;
  background-color: transparent;
  border: 2px solid #0071e3;
  border-radius: 25px;
  color: #0071e3;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  margin-left: 15px;
  &:hover {
    background-color: #0071e3;
    color: white;
  }
}

#air {
  height: 76%;
  width: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/heroes/iphone-air/hero_iphone_air__0gxyavihpiqu_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
  text-align: center;
  margin-top: 10px;
}

#air h2 {
  color: black;
  font-size: 50px;
  font-weight: 500;
}

#air p {
  color: black;
  font-size: 30px;
  font-weight: 400;
}

#air button {
  padding: 10px 15px;
  font-size: 18px;
  background-color: #0071e3;
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  cursor: pointer;
}

#air #buy {
  padding: 10px 15px;
  font-size: 18px;
  background-color: transparent;
  border: 2px solid #0071e3;
  border-radius: 25px;
  color: #0071e3;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  margin-left: 15px;
  &:hover {
    background-color: #0071e3;
    color: white;
  }
}

#seventeen {
  height: 76%;
  width: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/heroes/iphone-17/hero_iphone_17__c5vvimu9a20y_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
  text-align: center;
  margin-top: 10px;
}

#seventeen h2 {
  color: black;
  font-size: 50px;
  font-weight: 500;
}

#seventeen p {
  color: black;
  font-size: 30px;
  font-weight: 400;
}

#seventeen button {
  padding: 10px 15px;
  font-size: 18px;
  background-color: #0071e3;
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  cursor: pointer;
}

#seventeen #buy {
  padding: 10px 15px;
  font-size: 18px;
  background-color: transparent;
  border: 2px solid #0071e3;
  border-radius: 25px;
  color: #0071e3;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  margin-left: 15px;
  &:hover {
    background-color: #0071e3;
    color: white;
  }
}

#container {
  width: 100%;
  height: 80%;
  margin: 10px 0;
  padding: 10px;
  text-align: center;
  gap: 10px;
  display: flex;
}

#container #box1 {
  width: 50%;
  height: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/promos/apple-watch-series-11/promo_apple_watch_series_11__b63hxviqvonm_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
}
#container #box1 h2 {
  color: black;
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
}

#container h2 {
  color: black;
  font-size: 35px;
  font-weight: 500;
}

#container p {
  color: black;
  font-size: 20px;
  font-weight: 400;
  margin-top: 5px;
}

#container button {
  padding: 10px 15px;
  font-size: 18px;
  background-color: #0071e3;
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  cursor: pointer;
}

#container #buy {
  padding: 10px 15px;
  font-size: 18px;
  background-color: transparent;
  border: 2px solid #0071e3;
  border-radius: 25px;
  color: #0071e3;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
  margin-left: 15px;
  &:hover {
    background-color: #0071e3;
    color: white;
  }
}

#container #box2 {
  width: 50%;
  height: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/promos/airpods-pro-3/promo_airpodspro_3__f6xmza7bglei_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
}

#container #box3 {
  width: 50%;
  height: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/promos/education/promo_edu__efkxh2h1luoi_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
}

#box3 h2 {
  color: white;
  font-size: 35px;
  font-weight: 500;
}

#box3 p {
  color: white;
  font-size: 20px;
  font-weight: 400;
  margin-top: 5px;
}

#container #box4 {
  width: 50%;
  height: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/promos/macbook-air/promo_macbook_air__fqowrtnxewqe_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
}

#container #box5 {
  width: 50%;
  height: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/promos/iphone-tradein/promo_iphone_tradein__bugw15ka691e_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
}

#container #box6 {
  width: 50%;
  height: 100%;
  background-image: url(https://www.apple.com/v/home/ch/images/promos/apple-card/promo_apple_card__5cm7draujpey_large.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px;
}
