html {
    scroll-behavior: smooth;
  }
  
*{
    margin: 0;
    box-sizing: border-box;
}

:root{
    --soft-blue: hsl(231, 69%, 60%);
    --soft-red: hsl(0, 94%, 66%);
    --grayish-blue: hsl(229, 8%, 60%);
    --very-dark-blue: hsl(229, 31%, 21%);

    --grayish-blue-alpha: hsl(229, 8%, 60%, .5);
    --very-dark-blue-alpha: hsl(229, 31%, 21%, .8);

    --padding-container: 60px 0;

}

img{
    display: block;
}

body{
    font-family: 'Rubik', sans-serif;
}

.container{
    max-width: 1200px;
    overflow: hidden;
    margin: 0 auto;
    padding: var(--padding-container);
}

.nav__{
    width: 90%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    --padding-container: 0;
}

.nav__figure{
    z-index: 100;
}

.nav__hamburguer{
    z-index: 100;
    width: 30px;
    height: 30px;
    position: relative;
}

.nav__button{
    position: absolute;
    inset: 0;
    margin: auto;
}

.nav__container{
    position: absolute;
    inset: 0;
    padding: 70px 0;
    min-height: 600px;
    background-color: var(--very-dark-blue-alpha);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    z-index: 10;

    transform: translate(-100%);
    transition: transform .3s;
}

.nav__container--active{
    transform: translateX(0);
}

.nav__list{
    width: 90%;
    padding: 0;
    list-style: none;
    padding: 0;
}

.nav__element{
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #fff;
}

.nav__link{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    font-weight: 500;
}

.nav__link--last{
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 1rem 0;
}

.nav__social{
    margin: 0 auto;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 2rem;
}

/* Hero */

.hero__main{
    width: 100%;
    --padding-container: 40px 0 60px;

    display: grid;
    grid-template-columns: 5% 1fr 5%;
}

.hero__figure{
    grid-column: 1/4;
    padding: 2rem 0;
    position: relative;
}

.hero__figure::before{
    content: "";
    position: absolute;
    background-color: var(--soft-blue);
    width: 60%;
    max-width: 450px;
    bottom: 30px;
    top: 30%;
    right: 0;

    border-radius: 100px 0 0 100px;
    z-index: -1;
}

.hero__img{
    width: 90%;
    margin: 0 auto;
    max-width: 450px;
}

.hero__texts{
    text-align: center;
    grid-column: 2/3;
}

.hero__title{
    font-size: 2rem;
    color: var(--very-dark-blue);
}

.hero__paragraph{
    color: var(--grayish-blue);
    line-height: 1.5;
    margin: 1.3rem 0;
}

.hero__buttons{
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hero__button{
    background-color: var(--soft-blue);
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    font-weight: 500;
    border-radius: 4px;

    box-shadow: -5px 2px 3px var(--grayish-blue-alpha);
}

.hero__button--white{
    background-color: #fff;
    color: var(--grayish-blue);
}

/* features */

.features{
    display: grid;
    grid-template-columns: 5% 1fr 5%;
}

.features__content{
    grid-column: 2/3;
    text-align: center;
}

.features__title{
    font-size: 1.7rem;
    color: var(--very-dark-blue);
}

.features__paragraph{
    line-height: 1.5;
    color: var(--grayish-blue);
    margin: 1rem auto 2.5rem ;
    max-width: 400px;
}

.features__list{
    padding: 0;
    list-style: none;
}

.features__element{
    border-top: 1.5px solid var(--grayish-blue);
}

.features__element:last-child{
    border-bottom: 1.5px solid var(--grayish-blue);
}

.features__tab{
    display: inline-block;
    padding: 1.5rem 0;
    text-decoration: none;
    color: var(--grayish-blue);
    font-weight: 500;
    border-bottom: 5px solid transparent;

    transition: border-color .7s;
}

.features__tab--active{
    border-color: var(--soft-red);
}

.features__container{
    grid-column: 1/-1;
    display: grid;
    grid-template-areas: "article";
}

.features__article{
    grid-area: article;
    opacity: 0;
    pointer-events: none;

    transition: opacity .6s;
}

.features__article--active{
    pointer-events: unset;
    opacity: 1;
}

.features__figure{
    padding: 3rem 0;
    position: relative;
}

.features__img{
    width: 80%;
    margin: 0 auto;
    max-width: 450px;
}

.features__figure::before{
    content: "";
    position: absolute;
    background-color: var(--soft-blue);

    height: 150px;
    width: 50%;
    max-width: 450px;
    bottom: 0;
    left: 0;
    border-radius: 0 100px 100px 0;

    z-index: -1;
    
}

.features__texts{
    width: 90%;
    margin: 0 auto;
    margin-top: 3rem;
    text-align: center;
}

.features__subtitle{
    color: var(--very-dark-blue);
    font-size: 1.7rem;
}


.features__copy{
    color: var(--grayish-blue);
    line-height: 1.5;
    margin-top: 1.2rem;
}

.features__cta{
    display: none;
    margin-top: 1.2rem;
    padding: 1rem 1.5rem;
    background-color: var(--soft-blue);
    border-radius: 3px;
    text-decoration: none;
    color:#fff;
}

/* download */

.download{
    width: 90%;
    text-align: center;
}

.download__title{
    font-size: 1.7rem;
    color: var(--very-dark-blue);
}

.download__paragraph{
    color: var(--grayish-blue);
    margin: 1rem auto 2.5rem;
    max-width: 400px;
}

.download__container{
    width: 97%;
    margin: 3rem auto 0;
    max-width: 400px;

    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.download__item{
    box-shadow: 0 3px 6px var(--grayish-blue-alpha);
    padding: 2.5rem 0;
    border-radius: 12px;
}

.download__img{
    width: 50%;
    max-width: 120px;
    margin: 0 auto;
}

.download__browser{
    margin-top: 30px;
    color: var(--very-dark-blue);
    font-size: 1.4rem;
}

.download__version{
    margin-top: 1rem;
    padding-bottom: 2rem;
    border-bottom: 6px dotted var(--grayish-blue-alpha);
    color: var(--grayish-blue);
    line-height: 1.5;
}

.download__extension{
    display: block;
    width: 90%;
    background-color: var(--soft-blue);
    margin: 1.3rem auto 0;
    color: #fff;
    text-decoration: none;
    padding: 1rem 0;
    border-radius: 4px;
}

/* article */

.article{
    width: 90%;
    text-align: center;
}

.article__title{
    font-size: 1.7rem;
    color: var(--very-dark-blue);
}

.article__arrow{
    transition: transform .3s;
}

.article__arrow--rotate{
    transform: rotate(180deg);
    filter: hue-rotate(129deg);
}

.article__paragraph{
    color: var(--grayish-blue);
    margin: 1rem auto 2.5rem;
    max-width: 400px;
}

.article__container{
    max-width: 450px;
    margin: 0 auto;
}

.article__question{
    font-size: 1.4rem;
    text-align: left;
    color: var(--very-dark-blue);
    font-weight: 400;
    padding: 1.6rem 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;
}

.article__content{
    display: grid;
    border-bottom: 2px solid var(--grayish-blue);

    grid-template-rows: 0fr;

    transition: grid-template-rows .3s;
}

.article__content--show{
    grid-template-rows: 1fr;
}

.article__show{
    overflow: hidden;
}

.article__anwser{
    padding: 1.3rem;
    text-align: left;
    padding-top: 0;
    color: var(--grayish-blue);

   
}

.article__cta{
    display: inline-block;
    margin-top: 1.5rem;
    background-color: var(--soft-blue);
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
}

/* joined */

.joined{
    background-color: var(--soft-blue);
}

.joined__container{
    max-width: 500px;
    width: 90%;
    color: #fff;
    text-align: center;
}

.joined__paragraph{
    line-height: 1.5;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.joined__title{
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.joined__form{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.joined__input, .joined__submit{
    padding: 1rem;
    font: inherit;
    border-radius: 6px;
    border: none;
}

.joined__submit{
    background-color: var(--soft-red);
    color: #fff;
}

/* footer */

.footer{
    background-color: var(--very-dark-blue);
}

.footer__container{
    width: 90%;
    text-align: center;
}

.footer__logo{
    margin: 0 auto;
}

.footer__list{
    padding: 0;
    list-style: none;
    margin: 1.5rem 0;
}

.footer__link{
    display: inline-block;
    padding: 1rem 0;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer__media{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    place-content: center;
    gap: 2rem;
}

@media (min-width: 768px){
    
    :root{   
        --padding-container: 80px 0;
    }
    
    img{
        display: block;
    }
    

    .nav__hamburguer{
        display: none;
    }
    
    .nav__container{
        position: static;
        padding:0;
        min-height: unset;

        background-color: #fff;
    
        display: block;    
        transform: unset;
        transition:none;
    }

    .nav__list{
        width:unset;
        display: grid;
        grid-auto-flow: column;
        gap: 2rem;
    }
    
    .nav__element{
        padding:0;
        border-top: none;
    }
    
    .nav__link{
        color: var(--very-dark-blue);
        padding: .6rem 0;
    }
    
    .nav__link--last{
        border:none;
        color: white;
        padding: .6rem 1.5rem;
        background-color: var(--soft-red);
        box-shadow: -5px 2px 3px var(--grayish-blue);
    }
    
    .nav__social{
        display: none;
    }
    
    /* Hero */
    
    .hero__main{
        align-items: center;
        grid-template-columns: 5% 1fr 1fr 5%;
    }
    
    .hero__figure{
        grid-column: span 2/-1;
    }
    
    .hero__figure::before{
       bottom: 0;
       width: 70%;
       max-width: 600px;
    }
    
    .hero__img{
      
        max-width: 5000px;
    }
    
    .hero__texts{
        text-align: left;
        grid-row: 1/2;
    }
    
    .hero__title{
        font-size: 2.5rem;
    }
    
    .hero__paragraph{
        margin: 1.5rem 0;
    }
    
    .hero__buttons{
        justify-content: flex-start;
    }
    
    
    
    /* features */
    
    .features{
        grid-template-columns: 5% 1fr 1fr 5%;
    }
    
    .features__content{
        grid-column: 2/4;
       
    }
    
    .features__title{
        font-size: 2.5rem;
    }
    
    
    .features__list{
        display: flex;
        justify-content: center;
        margin: 0 auto;
        width: max-content;
        border-bottom: 2px solid var(--grayish-blue-alpha);
    }
    
    .features__element{
        border-top:none;
    }
    
    .features__element:last-child{
        border-bottom:none;
    }
    
    .features__tab{
        padding: 1.5rem;
        position: relative;
        top: 2px;
    }
    

    .features__article{
        display: grid;
        gap: 1rem;
        align-items: center;
        grid-template-columns: 5% 1fr 1fr 5%;
    }
    
    
    .features__figure{
        grid-column: 1/3;
        display: grid;
    }
    
    .features__img{
        margin: auto;
    }
    
    .features__figure::before{
        top: 40%;
        height: unset;
        width: 70%;
        max-width: 550px;
    }
    
    .features__texts{
        width: 100%;
        margin-top: 0;
        text-align: left;
    }
    
    .features__subtitle{
        
        font-size: 2rem;
    }
    
    
    .features__cta{
        display: inline-block;
    }
    
    /* download */
    
    .download__title{
        font-size: 2.5rem;
    }
    
    
    .download__container{
        width: 100%;
        max-width: unset;
        margin: 4rem auto 0;
        padding: 0 2rem;

        gap: 2rem;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .download__item{
        flex: 1;
    }

    .download__item:nth-child(2){margin-top: 2rem;}
    .download__item:nth-child(3){margin-top: 4rem;}
    
    /* article */
    
    .article__title{
        font-size: 2.5rem;
    }
    
    /* joined */

    .joined__title{
        font-size: 2.5rem;
    }
    
    .joined__form{
       flex-direction: row;
    }
    
    .joined__input{
        flex: 1;
    }
    
    
    /* footer */

    
    .footer__container{
        display: flex;
        align-items: center;
    }
    
    .footer__logo{
        margin: 0 auto;
    }
    
    .footer__list{
        display: flex;
        gap: 1rem;
        margin: 0;
        margin-left: 3rem;
    }
    
    .footer__media{
       margin-left: auto;
    }
}

@media (min-width:1250px) {
    .hero__main{
        width: 90%;
        grid-template-columns: 1fr 1fr;
    }

    .hero__figure{
        grid-column: span 1/-1;
        grid-row: 1/2;
    }

    .hero__texts{
        grid-row: 1/2;
        grid-column: 1/2;
    }

    .features{
        width: 90%;
        grid-template-columns: 1fr 1fr;
    }

    .features__content{
        grid-column: 1/-1;
    }
}





.site-footer
{
  background-color:#26272b;
  padding:45px 0 20px;
  font-size:15px;
  line-height:24px;
  color:#737373;
}
.site-footer hr
{
  border-top-color:#bbb;
  opacity:0.5
}
.site-footer hr.small
{
  margin:20px 0
}
.site-footer h6
{
  color:#fff;
  font-size:16px;
  text-transform:uppercase;
  margin-top:5px;
  letter-spacing:2px
}
.site-footer a
{
  color:#737373;
}
.site-footer a:hover
{
  color:#3366cc;
  text-decoration:none;
}
.footer-links
{
  padding-left:0;
  list-style:none
}
.footer-links li
{
  display:block
}
.footer-links a
{
  color:#737373
}
.footer-links a:active,.footer-links a:focus,.footer-links a:hover
{
  color:#3366cc;
  text-decoration:none;
}
.footer-links.inline li
{
  display:inline-block
}
.site-footer .social-icons
{
  text-align:right
}
.site-footer .social-icons a
{
  width:40px;
  height:40px;
  line-height:40px;
  margin-left:6px;
  margin-right:0;
  border-radius:100%;
  background-color:#33353d
}
.copyright-text
{
  margin:0
}
@media (max-width:991px)
{
  .site-footer [class^=col-]
  {
    margin-bottom:30px
  }
}
@media (max-width:767px)
{
  .site-footer
  {
    padding-bottom:0
  }
  .site-footer .copyright-text,.site-footer .social-icons
  {
    text-align:center
  }
}
.social-icons
{
  padding-left:0;
  margin-bottom:0;
  list-style:none
}
.social-icons li
{
  display:inline-block;
  margin-bottom:4px
}
.social-icons li.title
{
  margin-right:15px;
  text-transform:uppercase;
  color:#96a2b2;
  font-weight:700;
  font-size:13px
}
.social-icons a{
  background-color:#eceeef;
  color:#818a91;
  font-size:16px;
  display:inline-block;
  line-height:44px;
  width:44px;
  height:44px;
  text-align:center;
  margin-right:8px;
  border-radius:100%;
  -webkit-transition:all .2s linear;
  -o-transition:all .2s linear;
  transition:all .2s linear
}
.social-icons a:active,.social-icons a:focus,.social-icons a:hover
{
  color:#fff;
  background-color:#29aafe
}
.social-icons.size-sm a
{
  line-height:34px;
  height:34px;
  width:34px;
  font-size:14px
}
.social-icons a.facebook:hover
{
  background-color:#3b5998
}
.social-icons a.twitter:hover
{
  background-color:#00aced
}
.social-icons a.linkedin:hover
{
  background-color:#007bb6
}
.social-icons a.dribbble:hover
{
  background-color:#ea4c89
}
@media (max-width:767px)
{
  .social-icons li.title
  {
    display:block;
    margin-right:0;
    font-weight:600
  }
}