*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
:root{
  --clr--grayish-blue: hsl(201, 11%, 66%);
  --clr-dark-grayish-blue: hsl(210, 10%, 33%);
  --clr-strong-cyan: hsl(171, 66%, 44%);
  --clr-light-blue: hsl(233, 100%, 69%);
}
body{
  background-image: url(images/bg-header-desktop.png);
  background-repeat: no-repeat;
  font-size: 18px;
  font-family: 'Bai Jamjuree' Courier, monospace;
  font-weight: 400
}
main{
  padding-left: 20px;
  padding-right: 20px;
}
h1{
  color: var(--clr-dark-grayish-blue);
  font-weight: 600;
}
h2{
  color: var(--clr-dark-grayish-blue);
  font-weight: 600;
}
h4{
  color: var(--clr-dark-grayish-blue);
  font-weight: 600;
}
p{
  color: var(--clr-dark-grayish-blue);
  font-weight: 400;
}

.iOS{
  background-color: var(--clr-strong-cyan);
  color: white;
  border: 1px solid var(--clr-strong-cyan);
  border-bottom: 4px solid  var(--clr-strong-cyan);
  padding: .7rem 2.5rem;
  border-radius: 20px;
  margin-right: 10px;
  cursor: pointer;
}
.iOS:hover{
  border-color: var(--clr-strong-cyan);
  box-shadow: 1px 3px 7px var(--clr-strong-cyan);
}

.Mac{
  background-color: var(--clr-light-blue);
  color: white;
  border: 1px solid var(--clr-light-blue);
  border-bottom: 4px solid  var(--clr-light-blue);
  padding: .7rem 2.5rem;
  border-radius: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.Mac:hover{
  border-color: var(--clr-light-blue);
  box-shadow: 0 1px 5px var(--clr-light-blue);
}
.header{
  width: 100%;
  margin-bottom: 5%;
  text-align: center;
  margin-top: 5%;
}
.header h1{
  margin-top: 2rem;
  margin-bottom: 2%;
}
.header p{
  width: 50%;
  margin: 0 auto;
  margin-bottom: 2%;
  text-wrap: balance;
}
.section-header{
  width: auto;
  text-align: center;
  margin-top: 10%;
}
.section-header h2{
  margin-bottom: 3%;
}
.section-header p{
  width: 50%;
  margin: 0 auto;
  margin-bottom: 5%;
}
.mid-header{
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 7%;
}
.mid-header .img img{
  margin-right: 2rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.mid-div{
  margin-left: 4rem;
}
.mid-div h2{
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.section-body{
  margin-top: 4rem;
  text-align: center;
}
.section-body p{
  width: 50%;
  margin: 0 auto;
}
.section-body img{
  width: 100%;
  margin-top: 4rem;
}
.section{
  margin-top: 40px;
  text-align: center;
}
.section .black{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-self: center;
  text-align: center;
  margin-top: 5%;
}
.black div{
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.black div img{
  margin-bottom: 2rem;
}
.black h3{
  margin-bottom: 15px;
  color: var(--clr-dark-grayish-blue);
}
.black p{
  margin-top: 5px;
  text-wrap-mode: wrap;
}
.google{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 5%;
}
.google img{
  width: 10%;
}
.section-footer{
  text-align: center;
  margin-top: 5%;
}
.section-footer h2{
  margin-bottom: 3%;
}
.section-footer p{
  width: 50%;
  margin: 0 auto;
  margin-bottom: 3%;
  text-wrap: balance;
}
footer{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding-top: 2%;
  margin-top: 5%;
  background-color: hsl(204, 14%, 93%);
}

footer .link a{
  display: block;
  text-decoration: none;
  color: var(--clr-dark-grayish-blue);
  padding-bottom: 2%;
}
footer .link a:hover{
  color: var(--clr-strong-cyan);
}
footer .img{
  width: 5%;
}
footer .icons{
  padding-top: 1.5%;
}
footer .icons{
  padding-right: 2rem;
}
footer .icons:hover{
  color: var(--clr-strong-cyan);
}
@media screen and (max-width: 720px) {
  .header p{
    width: 100%;
  }
  .section-header p{
    width: 100%;
  }
  .section-body p{
    width: 100%;
  }
  .section-footer p{
    width: 100%;
  }
  .btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
  }
  .mid-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .mid-header .mid-div .div1{
    margin-bottom: 2rem;
  }
  .mid-header .mid-div .div2{
    margin-bottom: 2rem;
  }
  .mid-header .mid-div .div3{
    margin-bottom: 2rem;
  }
  .mid-div{
    margin-left: 0px;
  }
  .mid-div h2{
    margin-bottom: 2rem;
  }
  .section .black{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .google{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
  }
  .google img{
    padding-bottom: 2rem;
    width: 20%;
  }
  footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  footer .link a{
    text-align: center;
    padding-bottom: 1rem;
  }
  footer .img{
    width: 15%;
    padding-bottom: 1rem;
  }
  footer .icons{
    padding-top: 2rem;
  }
  footer .icons img{
    padding-right: 2rem;
  }
}