*{
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

body{
    font-size: 16px;
}
h3{
    font-weight: 600;
}

.container{
    width: 100vw;
    overflow: hidden;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 100;
}
.navbar{
    /* width: 100%; */
    padding: 5px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #556ee6;
    color: white;
    transition: all .3s ease;
    /* position: sticky;
    top: 0;
    left: 0; */
}
.sticky + .hero {
    /* padding-top: 60px; */
  }

.purple{
    color: #556ee6;
}
.gray{
    color: hsl(233 8% 62%);
}
nav ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 14px;
}

nav button{
    background: white;
    border: none;
    font-weight: 500;
    transition: all .3s ease;
}

nav button:hover{
    transform: scale(0.95);
    color: #556ee6;
    font-weight: 600;
}

nav a:hover{
    color: black;
    font-weight: 600;
}

.logo{
    height: 60px;
}

button{
    padding: 0.5rem;
    cursor: pointer;
    width: max-content;
}

a{
    text-decoration: none;
    color: inherit;
}

.hero{
    padding: 10%;
}

.hero article{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.2;
}
.hero article h1{
    width: 50%;
    font-size: 3rem;
    font-weight: 600;
}
.hero-text{
    line-height: 1.4 !important;
    color: hsl(233 8% 62%);
    width: 70%;
}

.about{
    padding: 3rem 10%;
    background: hsl(220 16% 96%);
}

.about section{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 2rem;
    /* align-items: end; */
}
.about section article{
    background: white;
    /* box-shadow: ; */
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.about section article div{
    padding: 1rem;
}
.about section article h3{
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: hsl(233 26% 24%);
}
.about section ul{
    list-style: none;
    font-size: 14px;
    color: hsl(233 8% 62%);
}
.about section p{
    font-size: 14px;
    color: hsl(233 8% 62%);
}
.image-box{
    width: 100%;
    aspect-ratio: 1/0.5;
    padding: 0 !important;
    background-color: white;
}
.image-box img{
    width: 100%;
}
.googleplay{
    display: flex;
    gap: 5px;
    align-items: center;
    background-color: black;
    color: white;
    width: max-content;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: small;
    cursor: pointer;
}
.googleplay span{
    font-size: smaller;
}
.flex-btns{
    display: flex;
    gap: 5px;
    margin-top: 2rem;
}
.how{
    border-radius: 5px;
    border: none;
    background-color: #556ee6;
    color: white;
    padding: 0 1rem;
}
footer{
    text-align: center;
    width: 60%;
    margin: 2rem auto;
}
footer .googleplay{
    margin: 2rem auto;
    padding: 0.5rem 2rem;
    gap: 10px;
    font-size: medium;
}
.screenshots{
    display: flex;
    justify-content: center;
    margin: 3rem;
}
.screenshots img{
    max-width: 200px;
    border-radius: 10px;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px; */
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}
.screenshots img:first-child{
    transform: rotate(-10deg);
    margin-top: 2rem;
}
.screenshots img:last-child{
    transform: rotate(10deg);
    margin-top: 2rem;
}
.what-text{
    margin-top: 1rem;
    width: 80%;
}
.benefits{
    padding: 2rem 10%;
    background: hsl(220 16% 96%);
}
.grid-benefits{
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
}
.grid-benefits article{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* justify-content: space-between; */
}
.grid-benefits h3{
    /* font-size: medium; */
    color: hsl(233 26% 24%);
    font-weight: 500;
}
.grid-benefits p{
    font-size: 14px;
    color: hsl(233 8% 62%);
}
.dashboard{
    max-width: 70%;
    margin: 3rem auto;
    text-align: center;
}
.dashboard img{
    margin: auto;
    width: 100%;
}
#contact{
    background-color: #2a3042;
    color: rgba(255, 255, 255, 0.548);
    text-align: center;
    padding: 2rem 1rem;
}

/* responsiveness */
@media screen and (max-width: 600px) {
    body{}
    p{
        font-size: 14px;
    }
    nav ul{
        display: none;
    }
    .flex-btns{
        margin-top: 1rem;
    }
    .logo{
        height: 40px;
    }
    .hero{
        padding: 100px 1rem 3rem 1rem;
    }
    .hero p, footer{
        width: 100%;
    }
    .hero article h1{
        font-size: 2rem;
        width: 100%;
    }
    .about,.benefits{
        padding: 2rem 1rem !important;
    }
    .about section, .grid-benefits{
        grid-template-columns: 1fr;
        margin: 1rem;
        gap: 1rem;
    }
    .grid-benefits{
        margin:1rem 0;
    }
    .grid-benefits h3{
        font-size: 16px;
    }
    .dashboard{
        margin: 1.5rem auto;
        max-width: 95%;
    }
    .screenshots{
        margin: 1rem;
    }
    .screenshots img{
        max-width: 200px;
    }
    .screenshots img:first-child{
        /* transform: rotate(-10deg); */
        transform: translateX(30%) rotate(-10deg);
        margin-top: 2rem;
    }
    .screenshots img:last-child{
        transform: translateX(-30%) rotate(10deg);
        margin-top: 2rem;
    }
    footer h1{
        padding: 1rem;
    }
}

@media screen and (max-width: 600px) {
    .screenshots img:first-child,
    .screenshots img:last-child{
       display: none;
    }
}