/* Général */
@font-face {
  font-family: Ailerons;
  src: url("/font/Ailerons-Typeface.woff") format("woff");
}

html {
  scroll-behavior: smooth;
}

.center {
  position: absolute;
  transform: translate(-50%, -50%);
}

.text-center .fa-moon {
  margin-top: 18px;
  margin-left: -22px;
  font-size: 20px;
  color: rgb(132, 149, 223);
}

.text-center .fa-sun {
  margin-top: 16px;
  margin-left: -22px;
  font-size: 25px;
  color: rgb(155, 165, 13);
}

input[type="checkbox"] {
  position: relative;
  width: 40px;
  height: 20px;
  -webkit-appearance: none;
  background: #555555;
  outline: none;
  border-radius: 25px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
  margin-top: 10px;
}

input:checked[type="checkbox"] {
  background: #c7c7c7;
}

input[type="checkbox"]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  left: 0;
  background: radial-gradient(#ffffff, #929292);
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.81);
  transition: 1s;
}

input:checked[type="checkbox"]:before {
  left: 40px;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Roboto", sans-serif;
}

h2 {
  font-size: 2em;
  color: #fff;
  font-family: Ailerons, sans-serif !important;
}

h1 {
  text-align: center;
  margin-top: 80px;
  font-size: 5em;
  font-family: Ailerons, sans-serif;
  font-weight: 700;
}

h3,
h4,
h5,
p {
  font-family: "Roboto", sans-serif;
}

.container {
  max-width: 1080px;
}

#titre {
  margin: 7% 175px auto;
  max-width: 80%;
  border-radius: 25px;
}

.pb-3 {
  padding-top: 1rem;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

#fiche {
  margin-left: 80px;
  margin-right: 70px;
  margin-bottom: 20px;
}

.card {
  margin-bottom: 40px;
}

.card-body img {
  margin-top: -50px;
}

#pao {
  max-width: 436px;
  margin: auto;
  padding: 15px;
}

#frontend {
  max-width: 436px;
  margin: auto;
  padding: 15px;
}

#soft {
  margin-top: 10px;
}

#soft p {
  /* margin-left:-35px ; */
  margin-right: 50px;
}

#iconsoft {
  padding-top: 20px;
margin-right: 15px;
  height: 100%;
  border-radius: 25px;
}

#iconsoft h4 {
  text-align: center;
  font-size: 0.9rem;
}

#iconsoft img {
  width: 80%;
  height: 80%;
}

.nav-link {
  color: #ffffff;
  font-weight: bold;
}

.nav-link:hover {
  color: rgb(153, 201, 255) !important;
  font-weight: bold;
}

.navbar-toggler-icon {
  color: #ffffff !important;
}

.bg-dark {
  background: transparent !important;
  transition: 1s ease;
}

.bg-dark.scrolled {
  border-radius: 0% 0% 25px 25px;
  opacity: 0.7;
}

.navbar-dark .navbar-toggler {
  background-color: transparent !important;
  background-image: none;
  border: 1px solid transparent !important;
  opacity: 1;
}

button:focus {
  outline: none;
}

a {
  color: #ffffff !important;
  opacity: 1;
  margin: 0 15px 0 15px;
}

.navbar-dark .navbar-toggler {
  border-color: transparent;
}

.navbar-brand {
  font-size: 25px;
  font-family: sans-serif;
}

#navbarCollapse a {
  font-size: 20px;
  text-align: right;
}

#bgindex {
  position: relative;
  bottom: 10px !important;
  min-height: 100%;
  background-size: 75%;
  justify-content: center;
  background-image: url("../img/headerImg.png");
  background-position: center top 30%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  text-align: center;
  color: #ffffff;
  border-radius: 0% 0% 25px 25px !important;
}

blockquote {
  font-size: 1em;
  color: #000000;
  font-weight: bold;
}

cite {
  font-size: 0.8em !important;
  color: rgb(0, 0, 0);
}

.text-intro {
  padding-top: 200px;
  padding-bottom: 200px;
}

.preTxt {
  font-size: 40px;
}

/* Icons */
#home-icons {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid #000000;
}

/* Call to action */
#start {
  position: relative;
  min-height: 200px;
  background-image: url("../img/start.jpeg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  text-align: center;
  color: #ffffff;
}

#start h2 {
  font-size: 40px;
  color: #f1f1f1;
}

/* fiche */

.fab {
  font-size: 3rem;
}

.fab:active {
  color: #535353;

}

/* ********************** */

.animated-icon2 {
  width: 25px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.animated-icon2 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.animated-icon2 span {
  background: #e3f2fd;
}

.animated-icon2 span:nth-child(1) {
  top: 2px;
}

.animated-icon2 span:nth-child(2),
.animated-icon2 span:nth-child(3) {
  top: 11px;
}

.animated-icon2 span:nth-child(4) {
  top: 19px;
}

.animated-icon2.open span:nth-child(1) {
  top: 11px;
  width: 0%;
  left: 50%;
}

.animated-icon2.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.animated-icon2.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.animated-icon2.open span:nth-child(4) {
  top: 11px;
  width: 0%;
  left: 50%;
}

#GW {
  -webkit-animation-direction: reverse;
  -webkit-transition: 0.25s ease-in-out;
}

.img-fluid {
  border: #222130;
  border-style: solid;
  border-width: 10px;
}

#txtLaptop1
{
  margin: 30px 4% 20px 4%;
  padding: 20px;
  border-radius: 20px;
}
#txtLaptop2
{
  margin: 30px 4% 20px 4%;
  padding: 20px;
  border-radius: 20px;
}


#contact {
  border-radius: 50px;

  margin: 15px;
  color: rgb(95, 255, 95) !important;
  text-shadow: rgb(5, 87, 22) 1px 0 6px;
}

#contact:active {
  color: rgb(95, 255, 95);
  text-shadow: rgb(5, 87, 22) 1px 0 6px;
  border-radius: 50px;
}

#cv {
  width: 150px;
  border-radius: 50px;
  margin: 15px;
  color: rgb(95, 255, 95) !important;
  text-shadow: rgb(5, 87, 22) 1px 0 6px;
}

#cv:active {
  width: 150px;
  border-radius: 50px;
  background: #c7c6c6;
  box-shadow: 10px 10px 20px #a9a8a8, -10px -10px 20px #e5e4e4;
  margin: 15px;
  color: rgb(95, 255, 95) !important;
  text-shadow: rgb(5, 87, 22) 1px 0 6px;
}

#contact {
  color: rgb(95, 255, 95) !important;
  text-shadow: rgb(5, 87, 22) 1px 0 6px;
}

.card {
  border-radius: 50px;
  border: none;
}

#skill {
  margin-bottom: 15px;
  margin-left: -30px;
  margin-right: 0px;
  padding-left: 14%;
}

footer {
  font-size: 1em;
  border-radius: 25px 25px 0 0;
  color: #ffffff;
  background: #15142b;
  box-shadow: inset 10px 10px 20px #121125, inset -10px -10px 20px #181731;
  margin-left: 5px;
  margin-right: 5px;
}

/* Media queries */

@media screen and (max-width: 768px) {
  header {
    height: 60vh;
  }

  .container {
    max-width: 768px;
  }


  .text-intro {
    padding-top: 200px;
  }

  .preTxt {
    font-size: 30px;
  }

  h2 {
    font-size: 1.2em;
  }

  h1 {
    font-size: 3.5em;
  }

  blockquote {
    font-size: 0.8em;
  }

  cite {
    font-size: 0.8em !important;
  }


}

@media screen and (max-width: 500px) {
  body {}

  div .p-4 {
    padding: 0.9rem !important;
  }

  .p-2 {
    padding: 0 !important;
    width:50%;

  }

  #to-flex-in-mobile {
    flex-direction: column !important;
    width: 200%;
  }

  input[type="checkbox"] {
    position: relative;
    width: 30px;
    height: 15px;
    -webkit-appearance: none;
    background: #555555;
    outline: none;
    border-radius: 25px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
    margin-top: 10px;
  }

  input:checked[type="checkbox"] {
    background: #c7c7c7;
  }

  input[type="checkbox"]:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    top: 0;
    left: 0;
    background: radial-gradient(#ffffff, #929292);
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.81);
    transition: 0.5s;
  }

  input:checked[type="checkbox"]:before {
    left: 40px;
  }

  .text-center .fa-moon {
    margin-top: 17px;
    font-size: 15px;
    color: rgb(255, 255, 255);
  }

  .text-center .fa-sun {
    margin-top: 14px;
    font-size: 20px;
    color: rgb(255, 255, 255);
  }

  #titre {
    margin: 15% auto;
    max-width: 90%;
  }

  #fiche {
    margin-top: -315px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .text-intro a {
    transform: scale(0.8);
  }

  .preTxt {
    font-size: 20px;
  }

  h2 {
    font-size: 1em;
    margin-top: 10px;
  }

  h1 {
    font-size: 2.5em;
  }

  .pt-5,
  .py-5 {
    padding-top: 2rem !important;
  }

  .p-4 {
    padding: 0.5rem;
    margin: 0;
  }

  blockquote {
    font-size: 1em;
  }

  cite {
    font-size: 0.8em !important;
  }

  #homes-icons {
    padding-top: 80px;
    padding-bottom: 60px;
  }



  #bgindex {
    position: relative;
    background-size: cover;
    width: 100%;
    min-height: auto;
    background-image: url("../img/headerImg.png");
    background-size: 100%;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;
    color: #ffffff;
  }

  #skill {
    margin-left: -28px;
    margin-bottom: 15px;
  }

  #soft {}

  #soft p {
    margin-right: 0px;
  }

  #iconsoft {
    padding-top: 20px;
  }

  .row {
    max-width: 414px;
  }

  footer {
    font-size: 0.8em;
    max-width: 98%;
  }
}