
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  font-family: "Poppins", sans-serif;
}

:root {
  --main-color: #033a80;
  --bg-color: #fff;
  --text-color: #0f0c27;
  --hover: hsl(260, 100%, 51%);
  --big-font: 3.2rem;
  --medium-font: 1.8rem;
  --p-font: 0.941rem;
}

section {
  padding: 50px 10%;
}

body.active {
  --text-color: #fff;
  --bg-color: #0f0c27;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

*::selection {
  color: var(--bg-color);
  background: var(--main-color);
}

.heading {
  text-align: center;
}

.heading h2 {
  font-size: 30px;
}

.heading span {
  font-size: var(--p-font);
  color: rgb(2, 166, 70);
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #D9D9D9;
  padding: 13px 10%;
  transition: 0.2s;
  box-shadow: 3px 3px 7px #0000ff73,
    2px 2px 5px rgba(94, 104, 121, 0.288);
}

header.shadow {
  box-shadow: 0 0 4px rgb(14 55 54 / 15%);
}

.logo {
  font-size: 1.61rem;
  font-weight: 600;
  color: var(--text-color);
}

.logo span {
  font-size: 1.61rem;
  font-weight: 600;
  color: rgb(0, 30, 197);
}

.navbar {
  display: flex;
}
a::is(:link, :navbar, :visited).active{
  color: #22cf91;
  background-color: #000;
}

.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
  margin-left: 5px;
}

.navbar a:hover {
  color: var(--hover);
  padding: 20px;
  background-color: #02225a;
  color: #fff;
  border-radius: 11px;

}
.navbar a.active {
  color: var(--hover);
  padding: 20px;
  background-color: #02225a;
  color: #fff;
  border-radius: 11px;

}
#menu-icon {
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  display: none;
}

.Acceuil {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 0.2fr 1fr;
  align-items: center;
  gap: 1rem;
  
}

.footer{
  background-color: #d1d8f0e3;
}

.Acceuil-text span {
    font-size: var(--medium-font);
    font-weight: 500;
  }
  
  .Acceuil-text h1 {
    font-size: var(--big-font);
  }
  
  .Acceuil-text h2 {
    font-size: 1.1rem;
    font-weight: 400;
  }
  
  .Acceuil-text p {
    font-size: var(--p-font);
    font-weight: 400;
    margin: 0.7rem 0 1rem;
  }



.Acceuil-img img {
  width: 100%;
}



.social {
  display: flex;
  flex-direction: column;
}

.social a {
  margin-bottom: 1rem;
  font-size: 22px;
  color: var(--text-color);
}

.social a:hover {
  color: var(--hover);
}

.btn {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 0.5rem;
}

.btn:hover {
  background: var(--hover);
}


.apropos-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  justify-content: space-between;
  
}
.apropos{
  background-color: #d1d8f0e3;
}
.apropos-img {
   order: 2;
  }
.apropos-img img {
  width: 100%;
  margin-left: 20%;
  border-radius: 0.5rem;
}

.apropos-text p {
  font-size: var(--p-font);
  font-weight: 400;
  text-align: justify;
}

.information {
  margin: 1rem 0 1.4rem;
}

.information .info-box {
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.information .info-box .bx {
  font-size: 22px;
}

.information .info-box span {
  font-weight: 400;
  margin-left: 1rem;
}





.bars-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

.bars-box h3,
span {
  font-size: 1.1rem;
  font-weight: 500;
}

.light-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: hsla(260, 100%, 44%, 0.4);
  border-radius: 0.5rem;
}

.percent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.5rem;
  background: var(--main-color);
  border-radius: 0.5rem;
}

.html-bar {
  width: 94%;
}

.css-bar {
  width: 84%;
}

.js-bar {
  width: 63%;
}

.react-bar {
  width: 55%;
}
.adobe-bar{
  width: 65%;
}
.angular-bar{
  width: 74%;
}
.projets{
  background-color: #fff7d2e3;
  height: 100vh;
}
.projets-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    gap: 4rem 1rem;
    margin-top: 2rem;
  }
 
  
  .projets-box {
    padding: 0px;
    width: 503px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
   
    box-shadow: #4d4f54 4px 4px 4px 4px;


  }
  .images{

    position: relative;
  }
  .images + img{
  
   display: block;
   margin: auto;
  }
  .contimages{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(92, 102, 164, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
    color: white;
  
  }
  .contimages:hover{
    opacity: 1;
  }
  

  
  .projets-box h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0.7rem 0 0.4rem;
  }

  
  .services{
    height: 100vh;
  }

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  justify-content: center;
  
  gap: 3rem 1rem;
  margin-top: 2rem;
}

.services-box {
  padding: 40px;
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
  border-bottom: 2px solid var(--main-color);
  box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
}

.services-box:hover {
  background-color: #02225a;
}

.services-box h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.7rem 0 0.4rem;
}

.services-box:hover h3 {
  color: #fff;
}

.services-box .bx {
  padding-top: 2rem;
  font-size: 54px;
  color: var(--main-color);
}

.services-box:hover .bx {
  color: #22cf91;
}

.services-box a {
  color: var(--main-color);
  font-size: var(--p-font);
  font-weight: 500;
}

.services-box:hover a {
  color: #8b8a8f;
}

.contact-form {
  display: grid;
  place-items: center;
  margin-top: 2rem;


}
form{
 
  border-radius: 10px;
  border: 4px solid#597bbc;


}
.contact-form form {
  display: flex;
  flex-direction: column;
  width: 650px;
  padding: 15px;
}

form input,
textarea {
  padding: 15px;
  border-radius: 0.5rem;
  width: 100%;
  border: none;
  outline: none;
  background: hsla(260, 100%, 44%, 0.1);
  margin-bottom: 1rem;
  color: var(--text-color);
}

form input::placeholder,
textarea::placeholder {
  color: var(--text-color);
}

form textarea {
  resize: none;
  height: 200px;
}

.contact-button {
  width: 160px;
  cursor: pointer;
  background: #2768d9;
  color: #fff;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 35%;
}

.contact-button:hover {
  background: var(--hover);
}

.footer {
  display: grid;
  place-items: center;
  padding: 20px;
  color: #000;
}

.footer h2 {
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
  color: var(--text-color)
}

.footer-social a i {
  color: rgb(10, 26, 208);
  font-size: 25px;
  margin-left: 10px;
  text-align: center;
  line-height: 40px;
  background-color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.copyright {
  padding: 20px;
  background: var(--main-color);
  text-align: center;
  color: #fff;
}

.copyright a {
  color: #22cf91;
}



/* For Mobile */
@media (min-width: 1000px) and (max-width: 2000px) {
  header {
    padding: 18px 4%;
  }

  section {
    padding: 50px 4%;
  }
  .services-content {
    display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    
    gap: 3rem 1rem;
    margin-top: 2rem;
  }
  
  .services-box {
    padding: 6px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
  }
  .projets-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    justify-content: center;
    gap: 2rem 0.5rem;
    margin-top: 1rem;
  }
  
  
  .projets-box {
    padding: 0px;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
   
    box-shadow: #4d4f54 4px 4px 4px 4px;
  
  
  }
    .contimages{
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      position: absolute;
      background: rgba(92, 102, 164, 0.6);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      opacity: 0;
      transition: 0.6s;
      color: white;
    
    }
    .projets-box h1 {
      font-size: 2rem;
      font-weight: 600;
      margin: 0.7rem 0 0.4rem;
    }
}
@media (max-width: 991px) {
  header {
    padding: 18px 4%;
  }

  section {
    padding: 50px 4%;
  }
  .services-content {
    display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    
    gap: 3rem 1rem;
    margin-top: 2rem;
  }
  
  .services-box {
    padding: 4px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
  }
  .projets-content {
    display: grid;
    grid-template-columns: 1fr 1fr  ;
    justify-content: center;
    gap: 2rem 0.5rem;
    margin-top: 1rem;
  }
  
  
  .projets-box {
    padding: 0px;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
   
    box-shadow: #4d4f54 4px 4px 4px 4px;
  
  
  }
    .contimages{
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      position: absolute;
      background: rgba(92, 102, 164, 0.6);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      opacity: 0;
      transition: 0.6s;
      color: white;
    
    }
    .projets-box h1 {
      font-size: 2rem;
      font-weight: 600;
      margin: 0.7rem 0 0.4rem;
    }
}

@media (max-width: 1000px) and (min-width:881px) {
  :root {
    --big-font: 2.7rem;
    --medium-font: 1.4rem;
  }
  .services-content {
    display: grid;
  grid-template-columns: 1fr 1fr ;
    justify-content: center;
    
    gap: 3rem 1rem;
    margin-top: 2rem;
  }
  
  .services-box {
    padding: 4px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
  }
  .projets-content {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    justify-content: center;
    gap: 2rem 0.5rem;
    margin-top: 1rem;
  }
  
  
  .projets-box {
    padding: 0px;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
   
    box-shadow: #4d4f54 4px 4px 4px 4px;
  
  
  }
    .contimages{
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      position: absolute;
      background: rgba(92, 102, 164, 0.6);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      opacity: 0;
      transition: 0.6s;
      color: white;
    
    }
    .projets-box h1 {
      font-size: 2.5rem;
      font-weight: 600;
      margin: 0.7rem 0 0.4rem;
    }
  
}

@media (max-width: 880px) and (min-Width:400px) {
  :root {
    --big-font: 2.4rem;
    --medium-font: 1.2rem;
  }

  header {
    padding: 11px 4%;
  }

  #menu-icon {
    display: initial;
    color: var(--text-color);
  }

  header .navbar {
    position: absolute;
    top: -500px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
    transition: 0.2s ease;
    text-align: center;
  }

  .navbar.active {
    top: 100%;
  }

  .navbar a {
    padding: 1.5rem;
    display: block;
    background: var(--bg-color);
  }

  #darkmode {
    position: absolute;
    top: 1.4rem;
    right: 2rem;
  }

  .scroll-down {
    display: none;
  }

  .Acceuil {
    grid-template-columns:  3fr 0.5fr;
  }

  .Acceuil-text {
    grid-column: 1/3;
    padding-left: 1.4rem;
  }

  .Acceuil-img {
    order: initial;
  }

  .apropos-container {
    grid-template-columns: 1fr;
  }

  .apropos-img {
    display: flex;
    justify-content: center;
  }

  .services{
    height: 100vh;
  }

.services-content {
  display: grid;
grid-template-columns: 1fr 1fr;
  justify-content: center;
  
  gap: 3rem 1rem;
  margin-top: 2rem;
}

.services-box {
  padding: 4px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
  border-bottom: 2px solid var(--main-color);
  box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
}

.services-box:hover {
  background-color: #02225a;
}

.services-box h3 {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.7rem 0 0.4rem;
}
.projets-content {
  display: grid;
  grid-template-columns: 1fr 1fr ;
  justify-content: center;
  gap: 2rem 0.5rem;
  margin-top: 1rem;
}


.projets-box {
  padding: 0px;
  width: 100%;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
  border-bottom: 2px solid var(--main-color);
  box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
 
  box-shadow: #4d4f54 4px 4px 4px 4px;


}
  .contimages{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(92, 102, 164, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
    color: white;
  
  }
  .projets-box h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0.7rem 0 0.4rem;
  }
  .contact-form form {
    width: 400px;
  }

  .contact-button {
    margin-left: 25%;
  }
}

@media (max-width: 400px) and (min-width:180px) {
  :root {
    --big-font: 1.7rem;
    --medium-font: 1.1rem;
  }

  .Acceuil-text span {
    font-size: 1rem;
  }

  .Acceuil-text h2 {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .information .info-box span {
    font-size: 1rem;
  }

  .contact-form form {
    width: 300px;
  }

  .contact-button {
    margin-left: 25%;
  }
  .projets-content {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    justify-content: center;
    gap: 2rem 0.5rem;
    margin-top: 1rem;
  }
  
  
  .projets-box {
    padding: 0px;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.5rem;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
   
    box-shadow: #4d4f54 4px 4px 4px 4px;
  
  
  }
    .contimages{
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      position: absolute;
      background: rgba(92, 102, 164, 0.6);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      opacity: 0;
      transition: 0.6s;
      color: white;
    
    }
    .projets-box h1 {
      font-size: 0.6rem;
      font-weight: 600;
      margin: 0.7rem 0 0.4rem;
    }
}
/* .services-content {
  display: grid;
grid-template-columns: 1fr 1fr;
  justify-content: center;
  
  gap: 3rem 1rem;
  margin-top: 2rem;
}

.services-box {
  padding: 3px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
  border-bottom: 2px solid var(--main-color);
  box-shadow: 0 2px 7px rgb(14 55 54 / 15%);
} */
