/* BoilerPlate and root variables */
:root{
--color-pr-black:#000000;
--color-pr-white:#fff;
--color-se-purple:#4C5FD5;
--color-se-lightp:#dadbf1;
--space-logo:5px;
--space-2:10px;
}

/* Groupe = {p,h1,h2,h3,h4,h5,h6,ul,li,ol,span,i,svg}
 a:has(Groupe) find the parent `<a>` element that has the Groupe as children give it a line-height:0;
 ,then from that parent > * , select all of its direct children and give them line-height:initial;  */
a:has(p,h1,h2,h3,h4,h5,h6,ul,li,ol,span,i,svg){
    line-height: 0;
}
/* cancels the line height:0; only to the direct children of <a> */
a:has(p,h1,h2,h3,h4,h5,h6,ul,li,ol,span,i,svg) > *{
    line-height: initial; 
}
button:focus-visible{
    border: initial;
    outline: initial;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body{
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
}
img{
    margin: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    vertical-align: middle;
    object-fit: cover;
}
input{
    padding-left:1rem ;
}
main{
    flex: 1;
    width: 100%;
}

/* style */
.header ,.footer{
    background-color: var(--color-pr-black);
    width: 100%;
}
.wrapper{
    width: min(1100px,calc(100% - 2rem));
    height: 100%;
    margin-inline: auto;

}
.abstract__logo, .header__abstract,.header .wrapper ,.abstract__link ,.nav{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-pr-white);
}
.header .wrapper {
    justify-content: space-between;
    height: 15dvh;
}
.abstract__logo{
    gap: calc(var(--space-logo) * 1.2);
}
.abstract__logo svg{
    width: clamp(1.75rem, 0.455vw + 1.659rem, 2rem);
}
.hamburger__menu{
    display: none;
    gap: 1rem;
}
.hamburger__menu a{
    color: unset;
}
.logo__name--line{
    /* margin-inline:calc(var(--space-logo) * 2); */
    background-color: var(--color-pr-white);
    width: 2px;
    height:28px; 
    margin:0 var(--space-logo) ;
}
.button__submit, .button__sign{
    padding:1rem 1.5rem;
    border-radius: var(--space-logo);
    border: none;
    color: var(--color-pr-white);
    font-size: large;
}
.button__sign{
    background-color: var(--color-se-purple);
}
.button__submit{
    background-color: var(--color-pr-black);
    border: .1px solid #fff;
}
.nav{
    gap: calc(var(--space-logo) * 2);
}
.hero{
    height: 65dvh;
    background-color: var(--color-se-lightp);
}
.hero .wrapper{
    position: relative;
}
label,input{
  display:flex;
  flex-direction:column;
  justify-content: center;
  text-align: center;
}
input{
    width: 100%;
    margin-top: 1rem;
}
#help{
    width:clamp(18.75rem, 37.037vw + 11.343rem, 43.75rem);
    height:60px;
    text-align: start;
    appearance: none;
    border-radius: var(--space-logo);
}
.arrow{
    text-decoration: none;
    color: var(--color-pr-black);
    position: absolute;
    top: 50%;
    left: 95%;
    transform: translate(-95%, -50%);
}
.arrow:hover{
    color: var(--color-se-purple);
}
.button__help{
    display: flex;
    background-color: var(--color-se-purple);
    color: var(--color-pr-white);
    gap: .5rem;
    position: fixed;
    padding: 1rem;
    border-radius: 25px;
    bottom: 40px;
    right: 40px;
    border: none;
    font-size: larger;
    align-items: center;
}
.hero__searchbar{
    position: relative;
}
.footer{
    min-height: 65dvh;
    color: var(--color-pr-white);
}
.footer__links{
    display: flex;
    margin-inline: auto;
    gap: 2rem;
    flex:1 1 200px ;
    flex-wrap: wrap;
}
.footer .wrapper{
    display: flex;
    padding: 3rem 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer__contact{
    align-self: self-end;
}
.footer__links h3{
    margin-bottom: calc(var(--space-logo) * 2);
}
.link__contact{
    margin: 50% 0 0 0;
}
.abstract__logo:hover{
    opacity: 0.85;
}
.button__sign:hover{
    background-color: var(--color-pr-white);
    color: var(--color-pr-black);
}
.header__abstract{
    font-size: large;
    display: flex;
}
.footer__logo{
    margin-bottom: var(--space-logo);
}
.hero__help{
   font-size: clamp(2.5rem, 1.8846rem + 3.0769vw, 4rem);
}
.hero__form{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.fold{
    display: initial;
}
article{
    display: flex;
    max-width: calc(50% - 2rem);
    width: 100%;
    padding: 1rem;
}
.features .wrapper{
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 20dvh 2rem 1rem 2rem;
}

.features__link{
    text-decoration: none;
    color: var(--color-se-purple);
}
.features__img {
    width: 30%;
    background-repeat: no-repeat;
    background-position: center ;
    background-size: contain;
    margin-right:1rem ;
}
.key{
    background-image: url(preview/key.png);
}
.comment{
    background-image: url(preview/comment.png);
}
.people{
    background-image: url(preview/people.png);
}
.puzzle{
    background-image: url(preview/puzzle.png);
}
.links{
    background-image: url(preview/links.png);
}
.billing{
    background-image: url(preview/icon-billing.png);

}
.features__text{
    flex: 1;
}
.open__btn, .search__btn{
    padding: 0;
    background-color: unset;
    border: unset;
    color: var(--color-pr-white);
}
.nav__form{
    display: none;
}
.nav__form.closed{
    display: flex;
    width: 100%;
    height: 100%;
}
@media screen and (width<=120em){

}
@media screen and (width<=87.5em){
    
}
@media screen and (width<=64em){
    
}
@media screen and (width<=48em){
    .nav{
        display: none;
    }
    .nav.open {
        display: flex ;
        position: fixed;
        left: 0px;
        right: 0px;
        top: 15dvh;
        background-color: black;
        padding: 1.5rem;
        flex-direction: column;
        z-index: 999;
    }
    .closed :nth-child(2){
        display: none;
    }
    .closed{
        background-color: var(--color-pr-white);
    }
    .button__sign, .button__submit{
        background-color: inherit;
        border: inherit;
    }
    .hamburger__menu{
        display:flex;
    }
    .logo__name--line{
        margin-inline:calc(var(--space-logo) * 2);
        width: 100%;
        height:2px;
        margin:var(--space-logo) 0;
    }
    .header__abstract{
        display: flex;
        flex-direction: column;
    }
    .abstract__logo, .abstract__link{
        padding-inline: var(--space-logo);
    }
    article{
    max-width: 100%;
    padding: 0;
    }
    .features__img{
    min-width: 60px;
    }
    /* .footer__links{
        justify-content: center;
    }
    .footer__contact{
        display: flex;
        flex-direction: column;
        align-items: center;
    } */
}
@media screen and (width<=22.5em){

}
@media screen and (width<=20em){

}