/* 
__________________________________________________________________________

                  Font Family
__________________________________________________________________________ 
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/*
__________________________________________________________________________

                    Reset
__________________________________________________________________________
 */

* {

  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 85, 255, 0.8) #282C34;
}

*::-webkit-scrollbar {
  width: 9px;
}

*::-webkit-scrollbar-track {
  background: #282C34
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(67, 85, 255, 0.8);
  border-radius: 20px;
}


/*
__________________________________________________________________________

                    Header
__________________________________________________________________________ 
 */


header {
  position: fixed;
  width: 100%;
  min-height: 8vh;
  padding: 10px 30px;
  display: flex;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(to bottom, rgb(255, 255, 255), rgb(255, 255, 255));
  box-shadow: 0 0 20px #d4d4d4af;
}

header .Logo-title {
  display: flex;
}

header .menu {
  display: flex;
  text-align: center;
  align-items: center;
}

header .menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

header .menu ul li a {
  color: rgba(67, 85, 255, 0.8);
  font-size: 21px;
  margin: 0 20px;
  border-bottom: 2px solid transparent;
  transition: all 0.8s ease;
  text-decoration: none;
  font-weight: bold !important;
}

header .menu ul li a i {
  margin: 0 3px;
}

header .menu ul li:hover a {
  border-bottom: 2px solid rgba(67, 85, 255, 0.8);
}


header .Logo-title img {
  width: 80px;
}

.wrapper {
  display: inline-flex;
  list-style: none;
}

.wrapper .icon {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: 35%;
  right: -8px;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: 10px;
  right: 60px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
  background: #333333;
  color: #ffffff;
}

.wrapper a {
  text-decoration: none;
  color: #26272b;
}

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(67, 85, 255, 0.8);
  height: 50px;
  margin-top: 30px;
}

.top-nav {
  display: none;
}

.menu>li {
  margin: 0 1rem;
  overflow: hidden;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: rgba(67, 85, 255, 0.8);
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.menu-burger a {
  color: white;
}

@media (max-width: 700px) {

  .top-nav {
    display: block;
  }

  Header div.menu {
    display: none;
  }

  .menu-button-container {
    display: flex;
  }

  .menu-burger {
    position: absolute;
    top: 0;
    margin-top: 85px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  #menu-toggle~.menu-burger li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);

  }

  #menu-toggle:checked~.menu-burger li {
    border: 1px solid rgb(0, 17, 172);
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu-burger>li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    background-color: rgb(67, 86, 255);
  }
}



/* 
___________________________________________________________________________________________

                    Section  Home
___________________________________________________________________________________________
 */


.Home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  position: relative;
  padding: 150px 200px;
}

.Home .text-box {
  width: 30%;
  text-align: start;
}

.Home .text-box h1 {
  color: #0032a0;
  font-size: 90px;
  font-family: 'Poppins';
  font-weight: 500;
}

.Home .text-box h2 {
  color: #0032a0;
  font-size: 50px;
  font-family: 'Poppins';
}

.Home .text-box p {
  color: rgba(85, 98, 207, 0.8);
  font-size: 19px;
  font-family: 'Poppins';
}

.Home .image-box {
  width: 60%;
}


.Home .image-box img {
  width: 100%;
}


@media screen and (max-width: 1500px) {

  .Home {
    min-height: 100vh;
    padding: 150px 100px;
  }
}


@media screen and (max-width: 900px) {

  .Home {
    flex-direction: column;
    padding: 150px 50px;
  }

  .Home .text-box {
    width: 90%;
    text-align: center;
  }

  .Home .image-box {
    width: 95%;
  }
}



/* 
___________________________________________________________________________________________

                     Section  About
___________________________________________________________________________________________
 */


.about {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 100px;
}

.about .container {
  display: flex;
  justify-content: center;
  align-items: center
}

.about .container {
  width: 100%
}

.about .container-text {
  width: 70%
}

.about .container-text h3 {
  color: #0032a0;
  font-size: 30px;
}

.about .container-text p span {
  color: #0032a0
}

.about .container-text p {
  text-align: justify;
  font-size: clamp(15px, 1.7vw, 22px);
  color: rgba(0, 0, 0, 0.8);
  margin-top: 40px;
}


@media screen and (max-width: 1500px) {

  .about {
    padding: 0 0px;
  }

  .about .container-text {
    width: 90%
  }
}


@media screen and (max-width: 900px) {

  .about {
    padding: 0 0px;
  }

  .about .container-text {
    width: 90%
  }


}


/* 
___________________________________________________________________________________________

                     Section  IMC-Calculateur
___________________________________________________________________________________________
 */


.IMC-Calculateur {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 150px 100px;
}

.IMC-Calculateur .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.IMC-Calculateur .container {
  width: 100%
}

.IMC-Calculateur .container-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.IMC-Calculateur h3 {
  text-align: center;
  color: #0032a0;
  font-size: clamp(30px, 4vw, 55px);
}

.container-text {
  width: 70%
}

.IMC-Calculateur .container-text p {
  text-align: justify;
  font-size: clamp(15px, 1.7vw, 22px);
  color: rgba(0, 0, 0, 0.8);
  margin-top: 40px;
}

.IMC-Calculateur .container-text p .span {
  color: #000000;
  font-weight: 500;
}

.IMC-Calculateur .container .container-text h4 {
  color: #0032a0;
  font-size: clamp(15px, 1.7vw, 22px);
  font-weight: bold;
}

.IMC-Calculateur .container-text p.text-imc {
  text-align: center;
}

form .text-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

form button:hover,
form button:focus,
form button:active {
  background: rgb(238, 0, 0);
  color: rgb(17, 0, 255);
  outline: none;
}

form label {
  border-bottom: 1px solid #333;
  display: block;
  font-size: 1.25em;
  margin-bottom: 0.5em;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

form label input {
  background: none;
  border: none;
  line-height: 2em;
  font-weight: 300;
  padding: 0.125em 0.25em;
  width: 100%;
}

form label input:focus {
  outline: none;
}

form label input:-webkit-autofill {
  background-color: transparent !important;
}

form label span.label-text {
  display: block;
  font-size: 0.8em;
  font-weight: bold;
  padding-left: 0.5em;
  text-transform: uppercase;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  margin-top: 50px;
}

.button {
  align-items: center;
  background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
  border: 0;
  border-radius: 18px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 15px 20px;
  text-decoration: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  margin: 50px;
}

.button:hover {
  background-color: transparent;
  border-color: rgb(0, 60, 255);
  transition: all 0.1s ease-in-out;
}

.button-63 {
  align-items: center;
  background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
  border: 0;
  border-radius: 18px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 15px 20px;
  text-decoration: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  margin: 50px;
}

.button-63:active,
.button-63:hover {
  outline: 0;
}

.alert {
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  margin-top: 10px;
  font-size: 16px;
}



@media screen and (max-width: 1500px) {

  .IMC-Calculateur {
    padding: 100px 50px;
  }

  .container-text {
    width: 90%
  }
}


@media screen and (max-width: 900px) {

  .about {
    padding: 100px 0px;
  }

  .container-text {
    width: 90%
  }

  form {
    width: 90%;
  }

  .IMC-Calculateur {
    padding: 50px 50px;
  }


}


/* 
___________________________________________________________________________________________

                      FOOTER
___________________________________________________________________________________________
 */


footer {
  background-color: #26272b;
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
  margin-top: 50px;
}

.footer-links {
  padding-left: 0;
  list-style: none
}

.footer-links li {
  display: block;
  margin-top: 10px;
}

.footer-links a {
  color: #737373
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #3366cc;
  text-decoration: none;
}

.copyright-text {
  margin: 0
}

.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 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
  }
}