/*
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
*/
@font-face {
  font-family: Ailerons;
  src: url("/font/Ailerons-Typeface.woff") format("woff");
}

html {
  scroll-behavior: smooth;
}

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,
p {
  font-family: "Roboto", sans-serif;
}

.container {
  max-width: 1080px;
}

#titre {
  margin: 7% 175px auto;
  padding: auto;
  max-width: 80%;
  border-radius: 25px;
}

.pb-3 {
  padding-top: 1rem;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

/********** NAV **********/
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;
}

.navbar-toggler-icon {
  color: #ffffff !important;
}

.bg-dark {
  background: transparent !important;
  transition: 1s ease;
}

.bg-dark.scrolled {
  background: #2c2c2c !important;
  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: none;
}

.navbar-brand {
  font-size: 25px;
  font-family: sans-serif;
}

#navbarCollapse a {
  font-size: 20px;
  text-align: right;
}

.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: #c7c6c6;
  border-style: solid;
  border-width: 10px;
}

#txtLaptop1 {
  margin: 30px 4% 20px 4%;
  padding: 20px;
  border-radius: 25px;
}
#txtLaptop2 {
  margin: 30px 4% 20px 4%;
  padding: 20px;
  border-radius: 25px;
}

/********** PICS **********/


#alignPics {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-right: 0px;
  margin-left: 0px;
}

#alignPics .column {
  flex: 25%;
  width: auto;
  overflow: hidden;
  padding: 4px 4px;
  height: 100%;
}

#alignPics .column img {
  margin: 6px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  filter: blur(2px);
  border-radius: 5px;
  transition: 2s linear;
}

#alignPics .column img:hover {
  filter: grayscale(0) brightness(1);
}

/* MODAL */

.modal {
  display: none;
  /* changed to inline-flex using javascript */
  position: fixed;
  z-index: 10;
  padding: 5px 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  border: 2px solid #2c2c2c;
  width: 90%;
  max-width: 1200px;
  border: none;
  background-color: transparent;
  z-index: 10;
}

.my-slides {
  text-align: center;
}

.numbertext, .numbertext2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  border-radius: 10px;
  padding: 20px;
  margin: 0 45px;
  border-top: 0px solid rgb(255, 0, 0);
  text-align: center;
  letter-spacing: 0.05em;
  word-spacing: 0.05em;
  font-family: "Roboto", sans-serif;
}

.landscape-image {
  width: 100%;
}

/********** close button **********/
.close {
  color: rgb(255, 255, 255);
  position: absolute;
  bottom: 10px;
  right: 25px;
  font-size: 48px;
  font-weight: bold;
  transition: 0.3s ease;
  z-index: 100 !important;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
}

/* next and previous button */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  font-weight: bold;
  font-size: 3em;
  transition: 0.6s ease;
  border-radius: O 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none !important;
}

/*position the nex button to the right */
.prev {
  color: rgb(128, 0, 0);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  transform: rotate(180deg);
  color: rgb(9, 110, 0);
}

/* hovering effect for previous and next button */
.next:hover,
.prev:hover {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

footer {
  font-size: 1em;
  border-radius: 25px 25px 0 0;
  margin-left: 5px;
  margin-right: 5px;
}

/*************************/

@media only screen and (max-width: 880px) {
  #alignPics .column {
    flex: 50%;
  }

  .portrait-image {
    max-height: 90vh;
  }

  .landscape-image {
    max-width: 90vw;
  }

  header {
    height: 20vh;
  }

  .container {
    max-width: 768px;
  }

  .text-intro {
    padding-top: 200px;
  }

  .preTxt {
    font-size: 30px;
  }

  h2 {
    font-size: 1.2em;
  }

  h1 {
    font-size: 3.5em;
  }

  main {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 500px) {
  div .p-4 {
    padding: 0.9rem !important;
  }

  main {
    margin-top: 0px;
  }

  h2 {
    font-size: 1em;
    margin-top: 10px;
  }

  h1 {
    font-size: 2.5em;
  }

  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;
  }

  #titre {
    margin: 15% auto;
    padding: auto;
    max-width: 90%;
  }

  #alignPics .column {
    flex: 100%;
  }

  #alignPics .column img {
    filter: grayscale(0) brightness();
  }

  .portrait-image {
    max-width: 90vw;
  }

  .landscape-image {
    max-width: 90vw;
  }

  footer {
    font-size: 0.8em;
    max-width: 98%;
  }
}