/* Import the font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/* General Styles */
body{
  background: #f0ede5;
  font-family: 'Poppins', sans-serif;
}

main{
  max-width: 900px;
  margin: 30px auto 30px auto;
  background: #fcfcf8;
  border-radius: 10px;
  padding: 40px;
}

@media(max-width:550px){
  main{
    padding: 30px 20px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

.button{
  display: block;
  text-align: center;
  text-decoration: none;
  background: #22252d;
  color: #e6e9ea;
  padding: 16px 0;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: .9rem;
  transition: all .2s;
}

.button:hover{
  background: #e46035;
  color: #e6e9ea;
}

/* Header Styles */
main>header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
}

main>header>h1{
  margin: 0;
  padding: 0;
  font-weight: 300;
}

main>header>h1 img{
  max-width: 50px;
  vertical-align: middle;
}

main>header nav>a{
  display: inline-block;
  margin-left: 10px;
  text-decoration: none;
  color: #000;
  font-weight: 300;
  font-size: 1rem;
  padding: 10px;
  border-radius: 5px;
  background: #fcfcf8;
  transition: 0.2s;
}

@media(max-width:550px){
  main>header nav>a{
    margin-left: 0;
  }
}

@media(max-width:470px){
  main>header nav>a{
    font-size: .9rem;
    padding: 8px;
  }
}

@media(max-width:415px){
  main>header nav>a{
    font-size: .9rem;
    padding: 5px;
  }
}

@media(max-width:395px){
  main>header nav>a{
    font-size: .8rem;
    padding: 4px;
  }
}

main>header nav>a:hover{
  background: #22252d;
  color: #e6e9ea;
}

@media(max-width:850px){
  main>header{
    flex-direction: column;
  }

  main>header>h1{
    margin-bottom: 20px;
  }
}

/* Hero Styles */
#hero{
  margin-bottom: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media(max-width:650px){
  #hero{
    flex-direction: column-reverse;
  }
}

#hero .text{
  max-width: 400px;
}

#hero h2{
  font-size: 4rem;
  font-weight: 700;
  color: #22252e;
  margin:0;
}

#hero h3{
  color: #22252e;
}

#hero img{
  max-width: 350px;
}

/* Tech Styles */
#tech{
  margin-bottom: 200px;
}

#tech h3{
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
}

.tech-step{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
}

@media(max-width:650px){
  .tech-step{
    flex-direction: column;
  }
}

.tech-step .image{
  max-width: 350px;
  height: auto;
  border-radius: 10px;
}

.tech-step .image img{
  max-width: 100%;
  border-radius: 10px;
}

.tech-step .text{
  max-width: 350px;
}

.tech-step p{
  line-height: 1.4rem;
}

.tech-step h4{
  font-size: 2rem;
  margin: 0;
}

/* Charge Styles */
#charge{
  margin-bottom: 200px;
}

#charge>h3{
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  margin: 0;
}

#charge>p{
  text-align: center;
  margin-bottom: 50px;
}

.packages{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}

@media(max-width:850px){
  .packages{
    grid-template-columns: 1fr 1fr;
  }
}

.package h5{
  margin: 0;
  margin-bottom: 4px;
}

.package .price{
  display: block;
  font-size: 2rem;
  font-weight: 300;
}

.package p{
  font-size: .9rem;
  line-height: 1.4rem;
  margin-bottom: 40px;
}

.package .feature{
  display: block;
  font-size: .8rem;
  color: #22252e;
  margin-bottom: 20px;
}

.package .feature svg{
  vertical-align: middle;
  color: #22252d;
  width: 20px;
}

.package a{
  display: block;
  text-align: center;
  text-decoration: none;
  background: #22252d;
  color: #e6e9ea;
  padding: 16px 0;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: .9rem;
  transition: all .2s;
}

.package a:hover{
  background: #e46035;
}


/* Charge Styles */
#now{
  margin-bottom: 200px;
}

#now>h3{
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  margin: 0;
  margin-bottom: 20px;
}

@media(max-width:600px){
  #now>h3{
    font-size: 2rem;
  }
}

#app{
  min-height: 400px;
}

#app .title{
  display: block;
  text-align: center; 
}

@keyframes loading{
  from{transform: rotate(0deg);}
  to{transform: rotate(360deg);}
}

#app .loading{
  display: block;
  text-align: center;
  margin-top: 50px;
  font-size: 5rem;
  transform-origin: center center;
  animation-name: loading;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#confirmation{
  display: none;
  max-width: 600px;
  margin: 50px auto 0 auto;
  text-align: center;
  font-size: 1.6rem;
}

#confirmation .button{
  margin-top: 50px;
}

#mobile-error{
  display: none;
  max-width: 600px;
  margin: 50px auto 0 auto;
  text-align: center;
  font-size: 1.6rem;
  color: red;
}

#start{
  display: none;
  max-width: 600px;
  margin: 50px auto 0 auto;
  text-align: center;
  font-size: 1.6rem;
}

/* Contact Styles */
footer h3{
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  margin: 0;
}

footer>p{
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: .9rem;
  line-height: 1.3rem;
}

#social{
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
}

@media(max-width:650px){
  #social{
    flex-direction: column;
    text-align: center;
  }
}

#social a{
  text-decoration: none;
  color: #22252d;
}

#social a:hover{
  color:#e46035;
}

#social .icon{
  display: block;
  text-align: center;
}

#social .value{
  display: block;
  font-size: .9rem;
}

#copyright, #joke{
  margin-bottom: 0;
}