/* CSS pour projet designcardinal */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@500&family=Tilt+Neon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Mono&display=swap');

/* Animation de départ */

.loading-anim {
  animation-play-state: paused !important;
}

.txtTitle1 {
  opacity: 0;
  transform: translateY(-30px);
  animation: apparition 0.8s 0.2s ease-out forwards;
}

.txtTitle2 {
  opacity: 0;
  transform: translateY(-30px);
  animation: apparition 0.8s 0.4s ease-out forwards;
}

.btn-trapezoid-outline-mobile {
  opacity: 0;
  animation: fadeIn 0.8s 0.8s ease-out forwards;
}

.btnAccueil {
  opacity: 0;
  animation: fadeIn 0.8s 1s ease-out forwards;
}

#bigLogo {
  opacity: 0;
  animation: fadeIn 0.8s 0.4s ease-out forwards;
}

.down-arrow {
  opacity: 0;
  animation: fadeIn 0.8s 1.3s ease-out forwards;
}

#header {
  opacity: 0;
  transform: translateY(-30px);
  animation: apparition 0.8s 1s ease-out forwards;
}

.textHomeContent {
  opacity: 0;
  animation: fadeIn 0.8s 0.3s ease-out forwards;
}

.welcomingImage-content {
  opacity: 0;
  animation: fadeIn 0.8s 0.6s ease-out forwards;
}

/* Animation A propos */

.imgSelfPicture {
  opacity: 0;
}

.imgSelfPicture.in-view {
  transform: translateX(-40px);
  animation: apparition 0.8s 0.3s ease-out forwards;
}

.prenomNom {
  opacity: 0;
}

.prenomNom.in-view {
  animation: fadeIn 0.8s 0.3s ease-out forwards;
}

.descriptionApropos {
  opacity: 0;
}

.descriptionApropos.in-view {
  opacity: 0;
  transform: translateY(-30px);
  animation: apparition 0.8s 0.4s ease-out forwards;
}

.carteAPDIQ {
  opacity: 0;
}

.carteAPDIQ.in-view {
  animation: fadeIn 0.8s 0.4s ease-out forwards;
}

.appContainer {
  opacity: 0;
}
.appContainer.visible {
  transform: translateY(20px);
  animation: apparition 0.8s 0.4s ease-out forwards;
}

@keyframes apparition {
  100%{
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  100% {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
  }
}

/* CSS de base */

* {
  font-family: 'Roboto Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: fit-content;
}

footer {
  margin-top: -200px;
  bottom: 0;
  font-family: 'Roboto Mono', monospace;
  padding: 5px;
  color: black;
  background: rgba(150, 149, 147, 0.574);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: auto;
}

header#header {
  display: inline-block;
  position: absolute;
  width: 100%;
  z-index: 1000;
}

header#header2 {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 1000;
}

div#part1 {
  display: block;
  color: #000000;
  padding-top: 15px;
  margin-bottom: -15px;
  justify-content: space-between;
  align-items: center;
  font-size: medium;
  width: 100%;
  z-index: 1000;
  font-family: 'Roboto Mono', monospace;
}

div#part-mobile {
  display: none;
  color: #000000;
  padding-top: 15px;
  margin-bottom: -15px;
  justify-content: space-between;
  align-items: center;
  font-size: medium;
  width: 100%;
  z-index: 1000;
  font-family: 'Roboto Mono', monospace;
}

.mobileBlurNavbar {
  transition: all 0.5s ease-in-out !important;
  position: absolute;
  top:0;
  width: 100%;
  height: 5em;
  background: rgba(150, 149, 147, 0.51);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.3px);
  -webkit-backdrop-filter: blur(7.3px);
  -moz-backdrop-filter: blur(7.3px);
}

div#part2 {
  color: #000000;
  padding-bottom: 15px;
  padding-top: 15px;
  justify-content: space-between;
  align-items: center;
  font-size: medium;
  width: 100%;
  z-index: 1000;
  font-family: 'Roboto Mono', monospace;
}

.blurNavbar {
  background: rgba(150, 149, 147, 0.51);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.3px);
  -webkit-backdrop-filter: blur(7.3px);
  -moz-backdrop-filter: blur(7.3px);
}

.blurGlass {
  padding: 1em;
  background: rgba(150, 149, 147, 0.51);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  -moz-backdrop-filter: blur(3px);
  border-radius: 16px;
}

.background-container {
  background-image: url('Images/rendu_chambre_v3.png');
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40em;
  margin-top: 100px;
  /* Adjust this margin to match the header height */
}

.mainLogo {
  transition: all 0.3s ease-in-out !important;
  -webkit-transition: all .3s ease-in-out !important;
  -moz-transition: all .3s ease-in-out !important;
  background-image: url('../Images/dc-bold.png');
  height: 65px;
  width: 100px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.mainLogo:hover {
  transition: all 0.3s ease-in-out !important;
  -webkit-transition: all .3s ease-in-out !important;
  -moz-transition: all .3s ease-in-out !important;
  background-image: url('../Images/old-dc.png');
  height: 65px;
  width: 100px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.mainLogoLink {
  font-size: 2em;
  padding-left: 1em;
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.navLinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}

.navLinks li {
  margin-right: 5vw;
  margin-left: 5.5vw;
}

.navLinks a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: white;
  font-size: 1em;
}

.navLinks a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0) !important;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out !important;
}

.navLinks a:hover:after {
  text-decoration: none;
  color: white;
  font-size: 1em;
  transform: scaleX(1) !important;
  transform-origin: bottom left;
}

/* NAVLINKS SUR MOBILE */
.navLinksMobile {
  top: 0;
  left: 0;
  position: absolute;

  background: rgba(150, 149, 147, 0.51);
  backdrop-filter: blur(7.3px);
  -webkit-backdrop-filter: blur(7.3px);
  -moz-backdrop-filter: blur(7.3px);

  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -100%;
  transition: all 0.5s ease !important;
}

.navLinksMobile ul { 
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navLinksMobile li {
  list-style: none;
  white-space: nowrap;
}

.navLinksMobile a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: white;
  font-size: 3.5dvh;
}

.navLinksMobile ul li {
  margin: 40px 0;
  font-size: 4em;
  text-shadow: -3px 4px 9px #1A1A1A;
}

#burger-menu {
  position: absolute;
  top: 18px;
  right: 20px;
}

#logoMobile {
  position: absolute;
  top: 23px;
  left: 50%;
  transform: translateX(-50%) !important;
}

/* ------------------------------------- */

.headerContent {
  display: flex;
  align-items: center;
  justify-content: center;
}

.headerContentMobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 20px;
}

.iconLink {
  font-family: 'Tilt Neon', cursive;
  text-decoration: none;
  color: #e0e0e0;
}

.iconLink:hover,
.alignInputText:hover {
  color: #99a1a7;
}

body {
  margin: 0;
  background-color: rgb(250, 249, 248);
  color: black;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  min-height: 100%;
}
/*
body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}*/

.button-27 {
  appearance: none;
  background-color: #000000;
  border: 2px solid #1A1A1A;
  border-radius: 10px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 20px;
  min-width: 0;
  outline: none;
  padding: 8px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1) !important;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 20em;
  will-change: transform;
}

.button-27:disabled {
  pointer-events: none;
}

.button-27:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px) !important;
}

.button-27:active {
  box-shadow: none;
  transform: translateY(0) !important;
}

#navbar {
  z-index: 1001;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

div.down-arrow {
  cursor: pointer;
  transition: transform 250ms !important;
  transform: translateY(5px) !important;

  &:after {
    content: '';
    float: left;
    position: relative;
    border-width: 0 1vmin 0 0;
    border-style: solid;
    border-color: #ffffff;
  }

  &:hover::after {
    border-color: rgb(255, 255, 255);
  }

  &:hover::before {
    border-color: rgb(252, 251, 249);
  }

  &:not(:hover) {
    border-color: rgb(252, 251, 249);
    transform-origin: center;
    transition: .2s ease-in-out !important;
    transform: translateY(-2px) !important;
  }

}

div.sloganText {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

div.down-arrow {
  cursor: default;
  transition: transform 250ms !important;
  height: fit-content;
  -webkit-filter: drop-shadow(-2px -2px 10px #fff) drop-shadow(2px -2px 10px #fff) drop-shadow(-2px 2px 10px #fff) drop-shadow(2px 2px 10px #fff);
  filter: drop-shadow(-2px -2px 10px #fff) drop-shadow(2px -2px 10px #fff)
}

a.down-arrow {
  width: fit-content;
  height: fit-content;
  align-items: center;
  justify-content: center;
}

a.down-arrow :hover {
  transform-origin: center;
  transition: .2s ease-in-out !important;
  transform: translateY(2px) !important;
}

.gradientOverlay {
  margin:0;
  padding:0;
  background: linear-gradient(to bottom, rgba(250, 249, 248, 0) 0%, rgba(250, 249, 248, 0) 75%, rgb(250, 249, 248) 100%);
  background-size: 100% 100%;
  object-fit: cover;
  overflow: hidden;
  z-index: 100;
}

.welcomingImages-container {
  position: relative;
  width: 100%;
  height: 912px;
  object-fit: cover;
  overflow: hidden;
}

.welcomingDiv1 {
  display: flex;
  flex-direction: column;
}

.welcomingDiv2 {
  display: flex;
  flex-direction: row;
}

.texte {
  font-size: 1vw;
}

.imgReseau {
  height: 50px;
  width: 50px;
}
/*
@media only screen and (min-width: 599px) {
  .carteEtudiant {
    display: none;
  }
}*/

@media only screen and (max-width: 1920px) {
  * {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth !important;
  }
  
  html, body {/*
    width: 100%;
    height: 100%;*/
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* pour éviter le débordement horizontal */
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: absolute;
  }
  
  main {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

@media only screen and (max-width: 599px) {
  div#part2 {
    display: none;
  }
  div#part1 {
    display: none;
  }
  .texte {
    font-size: 4vw !important;
}
  .imgReseau {
    height: 100px;
    width: 100px;
    padding-left: 1em;
    padding-right: 1em;
  }
  .button-27 {
    padding: 19px 24px;
    width: 99%;
  }
  .headerContentMobile {
    display: flex;
  }
  div#part-mobile {
    padding-top: 18px;
    display: block;
    position: fixed;
    top: 0;
  }
  header#header { 
    display: none;
  }

  header#header2 { 
    display: inline-block;
  }

  .aPropos {
    flex-direction: column !important;
    margin-left: 0 !important;
  }

  .selfPicture {
    margin-left: 13%;
  }

  .navLinksMobile.mobile-menu {
    margin-left: 0;
  }
  
  .mainLogo {
    width: 60px;
  }
}