@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Whisper&display=swap');

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.whisper-regular {
  font-family: "Whisper", cursive;
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Ubuntu", Arial, Helvetica, sans-serif;
}

body {
  width: 100%;
  margin: 0 auto;
  background-color: #e6e6e6;
}

/* custom browser scrollbar */

body::-webkit-scrollbar {
  width: 1%;
}

body::-webkit-scrollbar-track {
  background: whitesmoke;
  border-radius: 10%;
  border: 1px solid silver;
}

body::-webkit-scrollbar-thumb {
  background: thistle;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: silver;
}

body::-webkit-scrollbar-thumb:active {
  background-color: #9e619e;
}

/* sticky header */

header {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: whitesmoke;
  border-bottom: 1px solid #e6e6e6;
}

.fixed {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 555;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
}

/* le header en mobile */

#sticky2 {
  display: none;
}

#logo {
  order: 1;
  width: 10%;
  box-sizing: border-box;
}

#logo img {
  max-width: 100%;
  max-height: 100%;
  width: 100px;
  height: 65.5px;
}

nav {
  order: 2;
  width: 40%;
  box-sizing: border-box;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  padding: 10px 20px;
}

nav a {
  color: silver;
}

/* pour créer un hover qui soit plus grand que l'élément <a> sans bouger les div autour */

nav ul li:hover {
  background: linear-gradient(to bottom, rgba(236, 223, 236, 0.5), transparent);
  border-radius: 10px;
}

.active a {
  border-bottom: 1.5px solid silver;
}

#social-networks {
  order: 3;
  width: 10%;
  box-sizing: border-box;
}

#social-networks ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

#social-networks ul li {
  margin: 0 5px;
}

#social-networks a {
  color: thistle;
}

#social-networks a:hover {
  color: silver;
}

/* content */

.content {
  width: 60%;
  height: 100%;
  margin: 0 auto;
}

.content>section {
  width: 100%;
  height: 100%;
}

main {
  display: flex;
  flex-wrap: wrap;
}

/* HOME */

section#home {
  order: 1;
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  padding-top: 10vh;
}

/* intro */

article#intro {
  order: 1;
  width: 100%;
  height: 80vh;
  display: flex;
  flex-wrap: wrap;
}

#intro1 {
  order: 1;
  width: 50%;
  height: 40vh;
  position: relative;
}

/* polaroid photo */

#photo1 {
  background-color: rgba(255, 255, 255, 0.5);
  width: 80%;
  height: auto;
  padding: 5% 5% 20% 5%;
  box-shadow: 10px 10px 5px silver;
  transform: rotate(7deg);
}

#intro2 {
  order: 2;
  width: 50%;
  height: 40vh;
  position: relative;
}

#intro3 {
  order: 3;
  width: 25%;
  height: 40vh;
  position: relative;
  text-align: center;
}

#intro4 {
  order: 4;
  width: 50%;
  height: 40vh;
  position: relative;
}

#photo2 {
  background-color: rgba(255, 255, 255, 0.5);
  width: 80%;
  height: auto;
  padding: 5% 5% 20% 5%;
  box-shadow: 10px 10px 5px silver;
  transform: rotate(7deg);
}

#intro5 {
  order: 5;
  width: 25%;
  height: 40vh;
  position: relative;
  text-align: center;
}

#intro img {
  max-width: 100%;
  max-height: 100%;
  border: 1px solid black;
  box-sizing: border-box;
  position: relative;
}

#intro p {
  font-size: 2vw;
  position: absolute;
  bottom: 5%;
  background-color: rgba(230, 230, 230, 0.5);
  color: rgba(255, 255, 255, 0.8);
  animation: bgcolorchange 4s infinite alternate;
  font-family: "Whisper", Arial, Helvetica, sans-serif;
  padding: 0 20px;
}

div.hidden {
  display: none;
}

/* parallax */

article#parallax {
  padding-top: 5vh;
  order: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

#parallax1 {
  order: 1;
  width: 100%;
  height: 40vh;
  background: url("../img/parallax1.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#parallax2 {
  order: 2;
  width: 100%;
  height: 40vh;
  background: url("../img/parallax2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#parallax3 {
  order: 3;
  width: 100%;
  height: 20vh;
  background: url("../img/parallax3.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#slidingcolor1 {
  background: linear-gradient(to right,
      rgba(123, 108, 138, 0.5),
      rgba(123, 108, 138, 0));
  width: 0%;
  color: white;
  margin-top: 20%;
  padding: 0 20px;
}

#slidingcolor2 {
  background: linear-gradient(to right,
      rgba(192, 157, 139, 0.5),
      rgba(192, 157, 139, 0));
  width: 0%;
  color: white;
  margin-top: 20%;
  padding: 0 20px;
}

h3 {
  font-size: 40px;
  white-space: nowrap;
  font-family: "Whisper", Arial, Helvetica, sans-serif;
}

/* teasers */

article#teasers {
  order: 3;
  width: 100%;
  height: 140vh;
  display: flex;
  flex-wrap: wrap;
}

@font-face {
  font-family: sheilazain;
  src: url("Sheilazain demo.ttf");
}

/* noms des costumes */

#dressName1,
#dressName2,
#dressName3,
#dressName4 {
  display: none;
  font-family: sheilazain;
  font-size: 6vh;
  text-align: center;
  color: white;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

#vnteaser {
  order: 1;
  width: 50%;
  height: 70vh;
  position: relative;
}

#violetcube {
  background-color: rgba(102, 0, 102, 0.5);
  width: 5%;
  height: 3vh;
  position: absolute;
  top: 25%;
  left: 30%;
  z-index: 5;
}

#jpteaser {
  order: 2;
  width: 50%;
  height: 70vh;
  position: relative;
}

#bluecube {
  background-color: rgba(25, 25, 112, 0.5);
  width: 5%;
  height: 3vh;
  position: absolute;
  bottom: 30%;
  left: 30%;
  z-index: 5;
}

#cnteaser {
  order: 3;
  width: 50%;
  height: 70vh;
  position: relative;
}

#redcube {
  background-color: rgba(139, 0, 0, 0.5);
  width: 5%;
  height: 3vh;
  position: absolute;
  margin-top: 45%;
  margin-left: 30%;
  z-index: 5;
}

#krteaser {
  order: 4;
  width: 50%;
  height: 70vh;
  position: relative;
}

#greencube {
  background-color: rgba(85, 107, 47, 0.5);
  width: 5%;
  height: 3vh;
  position: absolute;
  top: 30%;
  right: 25%;
  z-index: 5;
}

#teasers img.left {
  height: auto;
  width: auto;
  max-width: 50%;
  max-height: 50%;
  top: 5%;
  left: 5%;
  position: absolute;
}

#teasers img.right {
  height: auto;
  width: auto;
  max-width: 50%;
  max-height: 50%;
  bottom: 5%;
  right: 5%;
  position: absolute;
}

/* les quatres carrées séparés en 2 lignes */

.hide-row1,
.hide-row2 {
  opacity: 0;
}

/* PORTFOLIO */

#portfolio {
  margin-top: 10%;
  margin-bottom: 10%;
  order: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#portfolio-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
}

#portfolio-wrapper img {
  max-width: 50%;
  max-height: 100%;
}

#portfolio-link {
  position: absolute;
  background-color: rgba(216, 191, 216, 0.3);
  width: 40%;
  padding: 10px 0;
  border: 1px solid white;
  transition: all 250ms ease-in-out;
  cursor: pointer;
}

h1 {
  font-size: 36px;
  text-align: center;
}

h1 a {
  font-family: "Whisper", Arial, Helvetica, sans-serif;
  color: #fff;
  transition: all 250ms ease-in-out;
}

#portfolio-link:hover h1 a {
  color: silver;
}

h1 a:active {
  color: #fff;
}

#portfolio-link:hover {
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid silver;
}

/* BLOG */

#blog {
  order: 3;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
}

#blog-article {
  order: 1;
  width: 46%;
  height: 400px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid silver;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 250ms ease-in-out;
}

#blog-img {
  order: 1;
  width: 100%;
  height: auto;
  display: flex;
}

#blog-txt {
  order: 2;
  width: 100%;
  height: auto;
}

#blog img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#blog button {
  position: absolute;
  bottom: 5%;
  right: 5%;
}

/* overlay styles et contenu */

#overlay,
#overlay2 {
  position: fixed;
  display: none;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  cursor: pointer;
  overflow-y: auto;
  max-height: 100%;
}

#overlay-content,
#overlay-content2 {
  position: relative;
  background-color: whitesmoke;
  margin: auto;
  padding: 0;
  width: 50%;
  height: auto;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#overlay-content img,
#overlay-content2 img {
  width: 50%;
  height: auto;
  float: left;
}

#overlay-content p,
#overlay-content2 p {
  margin: 10px;
  font-size: 14px;
  line-height: 1.5;
}

#blog button {
  padding: 10px 20px;
  outline: none;
  border-radius: 5px;
  border: 1px solid silver;
  background: white;
  color: silver;
  transition: all 250ms ease-in-out;
}

#blog button:hover {
  border: 1px solid thistle;
  background: white;
  color: thistle;
  cursor: pointer;
}

h5 {
  font-size: 32px;
  color: #9e619e;
  margin: 10px;
  font-family: "Whisper", Arial, Helvetica, sans-serif;
}

#linkBlog {
  font-size: 42px;
  display: block;
  width: 100%;
  order: 3;
  text-align: right;
  margin-top: 20px;
}

#linkBlog a {
  color: thistle;
  transition: all 250ms ease-in-out;
  font-family: "Whisper", Arial, Helvetica, sans-serif;
}

#linkBlog a:hover {
  color: #9e619e;
}

#linkBlog a:active {
  color: whitesmoke;
}

/* ABOUT */

#about {
  padding-top: 10%;
  padding-bottom: 10%;
  order: 4;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

#aboutme {
  position: relative;
}

#about img {
  border: 1px solid black;
  box-sizing: border-box;
  position: relative;
}

#about p {
  white-space: nowrap;
  overflow: hidden;
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
  font-family: "Whisper", Arial, Helvetica, sans-serif;
}

/* CONTACT */

#contact {
  padding-bottom: 5vh;
  order: 5;
  width: 100%;
  height: auto;
  text-align: center;
}

.contact-container {
  background-color: rgba(255, 255, 255, 0.5);
  width: 80%;
  height: auto;
  box-sizing: border-box;
  padding: 5%;
  border: 1px solid #e6e6e6;
  color: silver;
  text-align: center;
  transition: all 250ms ease-in-out;
  display: inline-block;
}

.contact-container:hover {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
}

textarea {
  border: 1px dotted silver;
  height: auto;
  overflow: hidden;
  resize: none;
  margin-bottom: 5%;
  background-color: #f5eff5;
  color: grey;
  width: 80%;
  padding: 10px;
  border-radius: 5px;
}

textarea:focus {
  background-color: white;
  border: 1px solid thistle;
  outline: none;
  overflow: hidden;
  resize: none;
}

.name-container,
.email-container,
.tel-container {
  margin-top: 5%;
  margin-bottom: 5%;
}

input {
  background-color: #f5eff5;
  color: grey;
  border: 0;
  outline: 0;
  border: 1px dotted silver;
  width: 80%;
  padding: 10px;
  border-radius: 5px;
}

input:focus {
  background-color: white;
  outline: none;
}

input#send-button {
  border: 1px solid silver;
  padding: 10px;
  width: 50%;
  cursor: pointer;
}

.send-button {
  margin-top: 10%;
}

#send-button:hover {
  background-color: white;
  color: thistle;
  border: 1px solid thistle;
  transition: all 250ms ease-in-out;
}

/* FOOTER */

footer {
  width: 100%;
  height: 5vh;
  text-align: center;
}

#credits {
  display: inline-block;
  color: silver;
  font-size: 14px;
}

/* petites animations en ccs */

@keyframes bgcolorchange {
  0% {
    color: white;
  }

  100% {
    color: black;
  }
}

@keyframes portfoliogradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* mediaqueries */
@media all and (max-width: 480px) {
  header {
    display: none;
  }

  .fixed {
    display: none;
  }

  #sticky2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: white;
  }

  #logo2 {
    order: 1;
  }

  #logo2 img {
    max-width: 100%;
    max-height: 100%;
    width: 100px;
    padding: 10px 20px;
  }

  #social-networks {
    order: 2;
    width: 120px;
  }

  #nav2 {
    order: 3;
    width: 100%;
  }

  nav ul li {
    padding: 10px;
  }

  section#home {
    padding-top: 5vh;
  }

  article#intro {
    height: 40vh;
  }

  #intro1 {
    height: 20vh;
  }

  #intro2 {
    height: 20vh;
  }

  #intro3 {
    height: 20vh;
  }

  #intro4 {
    height: 20vh;
  }

  #intro5 {
    height: 20vh;
  }

  #intro p {
    font-size: 16px;
    bottom: 20%;
  }

  h3 {
    font-size: 18px;
  }

  article#teasers {
    height: 280vh;
  }

  #vnteaser {
    width: 100%;
  }

  #jpteaser {
    width: 100%;
  }

  #cnteaser {
    width: 100%;
  }

  #krteaser {
    width: 100%;
  }

  h1 {
    font-size: 3vh;
  }

  section#blog {
    display: inline-block;
  }

  #blog-article {
    width: 100%;
    display: block;
    height: 400px;
    margin-bottom: 40px;
  }

  #overlay-content,
  #overlay-content2 {
    width: 80%;
  }

  #about img {
    width: 100%;
  }

  #about p {
    font-size: 14px;
  }

  .contact-container {
    width: 100%;
  }

  .content {
    width: 100%;
  }
}