:root {
    --static: rgba(225, 225, 225, 0.5);
    --static4: rgba(225, 225, 225, 0.2);
    --static3: #ffffff;
    --static2: #0f0f0f;
    --primary: #000000;
    --secondary: #ffffff;
    --primbuttn: #4685FF;
    --secbuttn: #F2F2F2;
    --accent: #FFB084;

}

* {
    box-sizing: border-box;
    scroll-padding-top: 3em;
}

body {
    /* font */
    font-family: 'Inter', sans-serif;

    /* color */
    color: var(--primary);
    background-color: var(--secondary);
    
}

/* text styles */
h1 {
    font-size: 48px;
    letter-spacing: -2px;
    font-weight: 700;
    margin: 0;
}

h2 {
    font-size: 32px;
    letter-spacing: -2px;
    font-weight: 700;
    margin: 0;
}

h3 {
    font-size: var(--subtitle);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    font-size: 18px;
    letter-spacing: normal;
    line-height: 150%;
}

::selection {
    background-color: var(--accent);
}

.subtitle {
    font-size: var(--subtitle);
}

.sub {
    font-size: var(--sub);
}


nav  {
    display: flex; 
    justify-content: space-between;  
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}


.logo{
   left: 5px;
   display: flex;
   justify-content: center;
   flex-direction: row;
   text-align: center;
}

.logo img{
    width: 40px;
    height: 40px;
    margin: 1rem;
    transform: rotateX(0);
}

.logo:hover >
.logoface{
    transform: rotatey(360deg);
    transition: all ease-in-out 0.4s; 
}

nav .menu{
   
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2em;
    
} 
.menu-item {
    font-size: 18px;
    transition: transform ease 0.2s;
}

.sitename{
    margin-top: 1rem;
}

.menu-item{
    transition: transform ease 0.2s;
}

.menu-item:hover{
    color: var(--accent);
    text-decoration: underline;
}

/* buttons */

.primary-button {
    padding: 1em 2em;
    background-color: var(--primbuttn);
    color: var(--secondary);
    border-radius: 6px;
    transition: transform ease 0.2s, box-shadow ease 0.2s;
    display: inline-block;
    font-size: 18px;
    z-index: 2;
}

.primary-button:hover {
    transform: translate(0, -3px);
    box-shadow: 0 20px 80px -10px var(--primbuttn);
}


.secondary-button {
    padding: 1em 2em;
    background-color: var(--secbuttn);
    color: var(--primary);
    border-radius: 6px;
    transition: transform ease 0.2s, box-shadow ease 0.2s;
    display: inline-block;
    font-size: 18px;
    z-index: 1;
}

.secondary-button:hover {
    transform: translate(0, -3px);
}

.image-squere{
    width: 700px;
    height: 500px;
    margin-top: 5rem;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.squere{
  border: solid 1px var(--primary);
  padding: .5em;
  margin: 3px;
  border-radius: 3px;
  /* background: yellowgreen; */
  border: 3px solid var(--static2);
}

.image-squere > div:nth-child(odd) {
    width: 10%;
    background-color: var(--primary);
    }
  .image-squere > div:nth-child(even) {
    width: 25%;
    background-color: var(--primbuttn);
    }
  .image-squere > div:nth-child(2),
  .image-squere > div:nth-child(4),
  .image-squere > div:nth-child(9) {
    width: 60%;
    background-color: var(--accent);
    }  

.form-circle{
    width: 40rem;
    height: 40rem;
    opacity: 22%; 
    border-radius: 50%;
    margin-left: 4rem;
    background-color:var(--accent) ;
    position: relative;
}

.form-circle2{
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background-color:var(--accent) ;
    position: absolute;
    top: 107rem;
}

.form-circle3{
    width: 30rem;
    height: 30rem;
    opacity: 30%; 
    border-radius: 50%;
    background-color:var(--accent);
    position: absolute;
    top: 103rem;
}
.container{
    width: 70%;
    margin: 5rem auto;
    text-align: center;
}
.hero{
  display: flex;
  flex-direction: row;
  margin-top: 5rem;
}

.hero-text{
  margin: 5rem 2rem;

}
 .main-card{
    margin-top: 5rem;
    display: flex;
    flex-direction: row; 
    gap:1   
}
.card{
    width: 18rem;
    height: 25rem;
    background-color: var(--accent);
    margin-right: 2.5rem;
    border: solid 5px var(--primary);
    border-style: double;
}

.card-img img{
  width: 18rem;
  height: 12rem; 
}

.card-img{
    position: absolute;
    margin-top: -20px;
    margin-left: -20px;
}

.card-text{
    margin-top: 70%;
    padding: 0 1rem 0 3rem;
}
.about-content{
    display: flex;
}
 
.separateur{
    height: 200px;
    background-color: var(--accent);
}

.product-content{
    margin-top: 5rem;
   display: flex;
   flex-direction: row;
}

.product-card{
    width: 30rem;
    height: 40rem;
    margin-right: 2rem;
border: solid 3px var(--static4);  
}

/* FAQ */

#faq {
    max-width: 50rem;
    margin: auto;
    padding: 0 15px;
    text-align: center;
  }
  
  section.faq {
    padding-top: 2em;
    padding-bottom: 3em;
  }
  
  #faq ul {
    text-align: left;
  }
  .transition, p, ul li i:before, ul li i:after {
    transition: all 0.3s;
  }
  
  #faq .no-select, #faq h2 {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
  }
  
  #faq h1 {
    color: var(--primary);
    margin-bottom: 30px;
    margin-top: 0;
  }
  
  #faq h2 {
    color: var(--accent);
    font-family: 'hm_light', sans-serif;
    font-size: 20px;
    line-height: 34px;
    text-align: left;
    padding: 15px 15px 0;
    text-transform: none;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
    margin: 0;
    cursor: pointer;
    transition: .2s;
  }
  
  #faq p {
    color: var(--static2);
    text-align: left;
    font-family: 'hm_light', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    position: relative;
    overflow: hidden;
    max-height: 250px;
    will-change: max-height;
    contain: layout;
    display: inline-block;
    opacity: 1;
    transform: translate(0, 0);
    margin-top: 5px;
    margin-bottom: 15px;
    padding: 0 50px 0 15px;
    transition: .3s opacity, .6s max-height;
    hyphens: auto;
    z-index: 2;
  }
  
  #faq ul {
    list-style: none;
    perspective: 900;
    padding: 0;
    margin: 0;
  }
  #faq ul li {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    /*padding-bottom: 4px;*/
    /*padding-top: 18px;*/
    background: var(--secbuttn);
    box-shadow: 0 3px 10px -2px var(--static2);
    -webkit-tap-highlight-color: transparent;
  }
  #faq ul li + li {
    margin-top: 15px;
  }
  #faq ul li:last-of-type {
    padding-bottom: 0;
  }
  #faq ul li i {
    position: absolute;
    transform: translate(-6px, 0);
    margin-top: 28px;
    right: 15px;
  }
  #faq ul li i:before, ul li i:after {
    content: "";
    position: absolute;
    background-color: var(--accent);
    width: 3px;
    height: 9px;
  }
  #faq ul li i:before {
    transform: translate(-2px, 0) rotate(45deg);
  }
  #faq ul li i:after {
    transform: translate(2px, 0) rotate(-45deg);
  }
  #faq ul li input[type=checkbox] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    touch-action: manipulation;
  }
  #faq ul li input[type=checkbox]:checked ~ h2 {
    color: var(--primary);
  }
  #faq ul li input[type=checkbox]:checked ~ p {
    /*margin-top: 0;*/
    max-height: 0;
    transition: .3s;
    opacity: 0;
    /*transform: translate(0, 50%);*/
  }
  #faq ul li input[type=checkbox]:checked ~ i:before {
    transform: translate(2px, 0) rotate(45deg);
  }
  #faq ul li input[type=checkbox]:checked ~ i:after {
    transform: translate(-2px, 0) rotate(-45deg);
  }


  /* tool */
  .toolbar {
    position: fixed;
    top: 10em;
    left: .2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--static);
    padding: 6px;
    border-radius: 6px;
    gap: 6px;
    z-index: 9999;
}

.option {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    cursor: pointer;
    gap: 0.5em;
    border-radius: 4px;
    user-select: none;
    position: relative;
}

.randomize {
    padding: 1.1em 2em;
}

.export {
    padding: 1.1em 2em;
}

.colorpicker {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    height: 60px;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    visibility: hidden;
    position: absolute;
}

.colorpicker::-webkit-color-swatch {
    border-radius: 4px;
    border: none;
}

.colorpicker::-moz-color-swatch {
    border-radius: 4px;
    border: none;
}

label {
    cursor: pointer;
    text-align: center;
    padding: 1.3em 2em;
    margin:0;

}



  .prim {
    background-color: var(--secondary);
    color: var(--primary);
}

.sec {
    background-color: var(--secondary);
    color: var(--primary);
}

.primbuttn {
    background-color: var(--primbuttn);
    color: var(--secondary);
}

.secbuttn {
    background-color: var(--secbuttn);
    color: var(--primary);
}

.accent {
    background-color: var(--accent);
    color: var(--primary);
}

.export {
    color: var(--static2);
    background-color: var(--static3);
}

.randomize {
    color: var(--static2);
    background-color: var(--static3);
}


/* toolbar animation after clicking Get Started */

.toolbar.highlighted {
    animation-name: highlight;
    animation-duration: 0.4s;
}

@keyframes highlight {
    0%, 100% {transform: translate(0, 0px) scale(1); transition: all 0.4s cubic-bezier(.47,1.64,.41,.8);}

    25% {transform: translate(0, -15px) scale(1); transition: all 0.4s cubic-bezier(.47,1.64,.41,.8);}

    50% {transform: translate(0, 0px) scale(1); transition: all 0.4s cubic-bezier(.47,1.64,.41,.8);}

    75% {transform: translate(0, -7px) scale(1); transition: all 0.4s cubic-bezier(.47,1.64,.41,.8);}
}


/* footer */
.footer-container{
    width: 70%;
    margin: 6rem auto;
    margin-top: 5rem;
    background-color: var(--primary);
    padding: 4rem;
}
.footer-container .sitename{
    color: var(--secondary);
}
.footer-col{
    margin-top: 4rem ;
    display: flex;  
    flex-direction: row;
    justify-content: space-between;
}

.footer-container p {
    color: var(--secondary);
}
  
 .contact-section{
    background-color: var(--accent);
    padding: 5rem;
 }

 .screen {
    position: relative;
    background: var(--static2);
    border-radius: 15px;
  }
  
  .screen:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    z-index: -1;
  }
  
  .screen-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .screen-header-left {
    margin-right: auto;
  }
  
  .screen-header-button {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-radius: 8px;
    background: white;
  }
  
   .screen-header-button.close {
    background: var(--accent);
  }
  
  .screen-header-button.maximize {
    background: var(--primbuttn);
  }
  
  .screen-header-button.minimize {
    background: var(--static3);
  } 
  
  .screen-header-right {
    display: flex;
  }
  
  .screen-header-ellipsis {
    width: 3px;
    height: 3px;
    margin-left: 2px;
    border-radius: 8px;
    background: #999;
  }
  
  .screen-body {
    display: flex;
  }
  
  .screen-body-item {
    flex: 1;
    padding: 50px;
  }
  
  .screen-body-item.left {
    display: flex;
    flex-direction: column;
  }
  
  .app-title {
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--accent);
    font-size: 26px;
  }
  
  .app-title:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 25px;
    height: 4px;
    background: var(--accent);
  }
  
  .app-contact {
    margin-top: auto;
    font-size: 8px;
    color: #888;
  }
  
  .app-form-group {
    margin-bottom: 15px;
  }
  
  .app-form-group.message {
    margin-top: 40px;
  }
  
  .app-form-group.buttons {
    margin-bottom: 0;
    text-align: right;
  }
  
  .app-form-control {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--static4);
    color: var(--secbuttn);
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s;
  }
  
  .app-form-control::placeholder {
    color: var(--static4);
  }
  
  .app-form-control:focus {
    border-bottom-color: var(--secbuttn);
  }
  
  .app-form-button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 14px;
    cursor: pointer;
    outline: none;
  }
  
  .app-form-button:hover {
    color: var(--accent);
  }
  
  .credits {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #ffa4bd;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: normal;
  }
  
  .credits-link {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-weight: bold;
    text-decoration: none;
  }
  
  .dribbble {
    width: 20px;
    height: 20px;
    margin: 0 5px;
  }

  .product-icon {
    font-size: 4rem ;
    margin-top: 1rem;
    color: var(--accent);
  }
  
  
  @media screen and (max-width: 520px) {
    .screen-body {
      flex-direction: column;
    }
  
    .screen-body-item.left {
      margin-bottom: 30px;
    }
  
    .app-title {
      flex-direction: row;
    }
  
    .app-title span {
      margin-right: 12px;
    }
  
    .app-title:after {
      display: none;
    }
  }
  
  @media screen and (max-width: 600px) {
    .screen-body {
      padding: 40px;
    }
  
    .screen-body-item {
      padding: 0;
    }
  }

  @media screen and (max-width: 900px) {
    .hero{
      display: block;
    }
    .container{
      margin-left: .5rem;
      margin-right: .5rem;
    }

    nav{
      max-width: 98%;
    }

    .logo h2{
      font-size: 20px;
    }

    .contact-section {
      background-color: var(--accent);
      padding: .5rem;
  }

  * {
    box-sizing: border-box;
    scroll-padding-top: .2em;
}

.footer-container {
  width: 99%;
  margin: 1rem auto;
  margin-top: 1rem;
  background-color: var(--primary);
  text-align: center;
}

.container {
  width: 98%;
  margin: 1rem auto;
  text-align: center;
}

.main-card {
  margin-top: 1rem;
  display: block;
 
}

.card {
  width: 20rem;
  height: 25rem;
 margin-right: auto;
 margin-left: auto;
 margin-bottom: 2rem;
  border-style: double;
}

.first_col {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.second_col {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.third_col {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.last_col {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

nav .menu {
  display: block;
  float: right;
  width: 40%;
  background: var(--static3);
  padding: 2rem;
  display: none;
}

.image-circle{
  display: none;
}

.product-content {
  margin: 2rem;
  display: block;
  
}

.product-card {
  width: 20rem;
  height: 40rem;
  border: solid 3px var(--static4);
  margin: 2rem auto;
}

.image-squere {
  width:98%;
  height: 500px;
  margin-top: 5rem;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.toolbar {
  position: fixed;
  top: 50%;
  left: 0.2rem;
  display: flex; 
  flex-direction: column;
  background-color: var(--static);
  border-radius: 6px;
  gap: 2px;
  z-index: 9999;
}

label {
  cursor: pointer;
  text-align: center;
  padding: .3em .2em;
  margin: 0;
}

.colorpicker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  height: 10px;
  cursor: pointer;
  border-radius: 4px;
  border: none;
  visibility: hidden;
  position: absolute;
}


  }

  @media screen and (max-width: 600px) {
    .footer-col {
      margin-top: 1rem;
      display: block;
  }
  }
  
  
  
  
  
  
  
  
  
  
  