:root {
  --font-default: "DM Sans", Arial, Helvetica, sans-serif;
  --font-slab: var(--font-default);
  --modal-duration: 0.8s;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Landing Page */
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-default);
  font-size: 18px;
}

.link_CV4{
    border: 2px solid #b6604f;
    border-radius: 20px;
    display: block;
    margin:5px auto 5px;
    width: 220px;
    height: 50px;
    align-self: center;
    background: linear-gradient(to left,rgba(217, 75, 47, 1) 0%,rgba(210, 42, 9, 1) 100%);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    text-decoration: none;
    /* background: linear-gradient(to left,rgba(214,131,114,0.9) 0%,rgba(214,131,114,0.8) 100%); */
    text-align: center;
}
   

.link_CV4:hover{
  background: linear-gradient(to left,rgba(182, 35, 5, 1) 0%,rgba(159, 36, 11, 1) 100%);
    transform: translatey(1px); 
    box-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.link_CV4:hover:after{
  display:none;
}

.link_CV4 span {
    padding: 8px 10px 10px 8px;
    display: block;
    border-radius: 20px;
    line-height: 30px;
    color: #fff;
    border: 2px solid #b6604f;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
        font-weight: 800;
        font-size: 1.4rem;
        
} 

p {
  margin-bottom: 0;
  padding: 0.5vw;
}

img {
  padding-right: 1rem;
  width: 100%;
  height: 100%;
}
/*création du header*/
.page_header {
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 3.5%;
  margin-bottom:80px;
  padding-right: 20px;
  margin-left: 8%;
  margin-right: 15px;
}

.flex{
display: flex;
}

.nav-ul a:hover,
.nav-ul a:active {
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 5px;
}
/* surlignage dynamique des liens */
.page_header a::after{
      content:"";
      display: block;
      width: 100%;    
      height: 2px;                
      background-color: #fff;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.2s ease;
}   

.page_header a:hover::after,
.page_header a:active::after {
      transform: scaleX(1);
}  

.ul-content{
  list-style: none;
  display: block;
}

.nav-ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-ul a {
  color: #000;
  padding: 8px 14px 5px 14px;
  font-size: 1.5rem;
  text-decoration: none;
  font-size: 20px;
  display: block;
}
/*hamburger menu*/
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  padding: 5px;
  margin-left: auto;
}
.hamburger :first-child {
  /*1ere barre pas de margin top*/
  margin-top: 0;
}
.bar1, .bar2, .bar3 {
  margin-top: 6px;
  width: 30px;
  height: 4px;
  border-radius: 5px;
  background-color: #ff0000;
  transition: all 0.2s;
}
.open .bar1 {
  transform: translateY(250%) rotate(-45deg);
}
.open .bar2 {
  opacity: 0;
  transform: rotate(45deg);
}
.open .bar3 {
  transform: translateY(-250%) rotate(45deg);
}

/**Media Queries**/
@media (max-width: 1050px) {
  .page_header{
    margin-right: 8%;
    padding-right: 0;
    margin-bottom:60px;
  }
  .header-logo{
    width: 140px;
  }
  .hamburger {
      display: flex;  
  }
  nav{
    width: 100%;
  }
  .nav-ul {   
    display: none; 
    flex-direction: column;
    width: 100%;
    position: relative;
    padding-top:10px;  
  }
  /* animation de la mise en croix du hamburger */
  .slide {
      display: block;
      margin-top: 15px;
  }
  .nav-ul a {
    text-align: center;
    padding-top : 5px;
    justify-content: left;
    padding-left: 10px;
    display: inline-block;
  }
  .nav-ul a:hover::after ,
  .nav-ul a:active::after {
    transform: scaleX(1); 
  }
  .nav-ul {
    width: 250px;
    height: 168px;
    border-radius:3px;
  }
  .nav-ul li{
    position: relative;
    display: block;
    width: 240px;
    margin-left: 27px;
    margin-top:-1px;
    text-align: center;
    background-color: #fff; 
  }
  .nav-ul li:nth-child(1){
    padding-top : 5px;
  }
  .nav-ul li:nth-child(4){
    padding-bottom : 5px;
  }
  .nav-ul{
    width: 295px;
    height: 195px; 
    border-radius:3px;
    overflow: hidden;
    position: relative;
    box-shadow: 2px 2px 8px 4px rgba(24, 37, 148, 0.6);   
  }
  .nav-ul::before {
    content: "";
    position: absolute;
    inset: -80px;
    background-image: conic-gradient(#FF0000 10deg,#fff 15deg,#FF0000 20deg,#fff 35deg,#FF0000 36deg,#fff 55deg,#FF0000 56deg,#fff 75deg,#FF0000 76deg,#fff 135deg,#FF0000 137deg,#fff 155deg,#FF0000 157deg,#fff 185deg,#FF0000 187deg,white 220deg,#FF0000 222deg,#fff 255deg,#FF0000 257deg,#fff 305deg,#FF0000 307deg,#fff 325deg,#FF0000 327deg);
    animation: rotate 3s linear infinite; 
  }
  @keyframes rotate {
    to{
        transform: rotate(-360deg);
    }
  }
  /*dragon2*/
   .nav-ul::after {
    content: "";
    position: absolute;
    inset: 1px;
    width: 50px;
    background-image: url(dragon2.gif); 
    background-repeat: no-repeat;
    top : 155px;
    left: 197px;  
    top : 97px;
    left: 2px;  
  }
} 

@media screen and (max-width: 800px) {
  .page_header{
    margin-bottom:10px;
    margin-top: 20px;
  }
}

@media (max-width: 550px) {
  .header-logo{
    width: 120px;
  }
}
@media (max-width: 470px) {
  .header-logo{
    width: 80px;
  }
}
@media (max-width: 430px) {
  .header-logo{
    display: none;
  }
}
/*fin header*/
main {
  font-weight: bolder;
  color: black;
  border-radius: 2rem;
  margin-right:8%;
  margin-left:8%;
}

.hero-content{
  flex-direction: column;
  display: flex;
  justify-content: space-between;
}

.modal-btn:hover,
.btn-close:hover {
  background: #3876ac;
}

/* Modal form */
.button {
  background: #fe142f;
  margin-top: 0.5em;
  padding: 1em;
  color: #fff;
  border-radius: 15px;
  cursor: pointer;
  font-size: 16px;
}

.smFont {
  font-size: 16px;
}

.bground {
  display: none;
  position: fixed;  
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  /* background-color: rgba(26, 39, 156, 0.4); */
  background-color: #Fff;
}

.content {
  margin: 5% auto;
  width: 100%;
  max-width: 550px;
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
  background: #232323;
  border-radius: 10px;
  position: relative; 
  color: #fff; 
  padding-top: 10px;
  box-shadow: 0 10px 8px rgba(8, 9, 13, 0.3);
}

@media (max-width: 980px) {
  .content {
    margin-bottom: 20px;
  }
}

@media (max-width: 550px) {
  .bground{
    background-color: unset;
    position: relative;
  }
  .content {
    margin-bottom: 0;
    margin-top:0;
  }
}

.invisibleForm{
  opacity : 0;
}

.modal-body {
  padding: 15px 8%;
  margin: 15px auto 0;
}

.btn-close{
 margin-bottom: 30px;
 background: #fe142f;
 justify-content: center;
 align-items: center;
 font-size: 16px;
 width: 40%;
 border-radius: 7px;
 padding: 13px 40px;
 color: #fff;
 cursor: pointer;
 border: 0;
}

#messageEnvoi { 
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-direction: column;
  font-weight: bold;
  line-height: 200%;
  height: 65%; 
  max-width: 550px;
  width: 100%;
  font-size: 2.5rem;
  position: absolute;
  z-index : 99;
  top:35%;
}

.formData.locations{
  height:60px;
  margin-bottom: 24px;
}

label {
  font-family: var(--font-default);
  font-size: 16px;
  font-weight: normal;
  display: inline-block;
  margin: 10px 0 5px 0;
}

input {
  padding: 8px;
  border: 0.8px solid #ccc;
  outline: none;
}

.text-control {
  margin: 0;
  padding: 8px;
  width: 100%;
  border-radius: 8px;
  font-size: 20px;
  height: 60px;
}

.formData[data-error]::after {
  content: attr(data-error);
  font-size: 0.8em;
  display: block; 
  margin-top: 4px;
  margin-bottom: 8px; 
  text-align: left;
  line-height: 0.8;
  opacity: 0;
  transition: 0.3s;
}
.formData[data-error].white::after {
  color:white;
  opacity:1;
}
.formData[data-error].red::after {
  color:#ff1e35;
  opacity:1;
}
.formData[data-error].red .text-control {
  border: 2px solid #ff1e35;
} 

.checkbox-label,
.checkbox2-label {
  position: relative;
  margin-left: 36px;
  font-size: 12px;
  font-weight: normal;
}

.checkbox-icon {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #279e7a;
  border-radius: 50%;
  text-indent: 29px;
  white-space: nowrap;
  position: absolute;
  left: -30px;
  top: -1px;
  transition: 0.3s;
}

.colorred{
  border: 2px solid #ff1e35;
}

.checkbox-label .checkbox-icon::after,
.checkbox2-label .checkbox-icon::after {
  content: "";
  width: 13px;
  height: 13px;
  background-color: #279e7a;
  border-radius: 50%;
  text-indent: 29px;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  opacity: 0;
}

.checkbox-input {
  display: none;
}

.checkbox-input:checked + .checkbox-label .checkbox-icon::after,
.checkbox-input:checked + .checkbox2-label .checkbox-icon::after {
  opacity: 1;
}

.checkbox-input:checked + .checkbox2-label .checkbox-icon {
  background: #279e7a;
}

#span-cgu.colorred{
  border : 2px solid #ff1e35;
}

.checkbox2-label .checkbox-icon {
  border-radius: 4px;
  border: 0;
  background: #c4c4c4;
}

.checkbox2-label .checkbox-icon::after {
  width: 7px;
  height: 4px;
  border-radius: 2px;
  background: transparent;
  border: 2px solid transparent;
  border-bottom-color: #fff;
  border-left-color: #fff;
  transform: rotate(-55deg);
  left: 21%;
  top: 19%;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  opacity: 1;
  cursor: pointer;
  transform: scale(0.7);
}

.close:before,
.close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 3px;
  background-color: #fff;
}

.close:before {
  transform: rotate(45deg);
}

.close:after {
  transform: rotate(-45deg);
}

.btn-submit,
.btn-signup {
  background: #fe142f;
  display: block;
  margin: 10px auto 10px;  
  border-radius: 10px;
  padding: 12px 55px;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  border: 0;
}

.btn-signup {
  outline: none;
  text-transform: capitalize;
  font-size: 1.3rem;
  padding: 12px 27px;
  margin: 0;
  width: 200px;
}

/* custom select styles */
/* .custom-select {
  position: relative;
  font-family: Arial;
  font-size: 1.1rem;
  font-weight: normal;
}

.custom-select select {
  display: none;
}

.select-selected {
  background-color: #fff;
}
 */
/* Style the arrow inside the select element: */
/* .select-selected:after {
  position: absolute;
  content: "";
  top: 10px;
  right: 13px;
  width: 11px;
  height: 11px;
  border: 3px solid transparent;
  border-bottom-color: #f00;
  border-left-color: #f00;
  transform: rotate(-48deg);
  border-radius: 5px 0 5px 0;
} */

/* Point the arrow upwards when the select box is open (active): */
/* .select-selected.select-arrow-active:after {
  transform: rotate(135deg);
  top: 13px;
} */

/* .select-items div,
.select-selected {
  color: #000;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-color:  transparent;
  cursor: pointer;
  border-radius: 8px;
  height: 48px;
} */

/* Style items (options): */
/* .select-items {
  position: absolute;
  background-color: #fff;
  top: 89%;
  left: 0;
  right: 0;
  z-index: 99;
} */

/* Hide the items when the select box is closed: */
/* .select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
} */
/* custom select end */

.text-label {
  font-weight: normal;
  font-size: 16px;
}
.hero-section {
  min-height: 93vh; 
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  overflow: hidden;
  box-shadow: 0 10px 8px rgba(8, 9, 13, 0.3);
  margin-bottom: 10px;
}
.hero-content {
  padding: 51px 67px;
  grid-column: span 5;
  background: #232323;
  color: #fff;
  position: relative;
  text-align: left;
  min-width: 360px; 
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: 6rem;

  font-weight: bold;
  white-space: nowrap;
}

.hero-img {
  grid-column: span 7;
}

.hero-img img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
}

.copyrights {
  color: #fe142f;
  padding: 0;
  font-size: 1rem;
  margin: 70px 0 50px;
  font-weight: bolder;
}

.hero-section > .btn-signup {
  display: none;
}

footer {
  padding:0 2vw 10px 2vw;
  margin: 0 20px;
  font-family: var(--font-slab);
}

.hero-text {
  font-size: 1.2rem;
  margin-top: 50px;
  margin-bottom: 50px;
  font-weight: normal;
  padding: 0; 
}

@media screen and (max-width: 1060px) {
  .hero-headline {
    font-size: 4.5rem;
  }
}
@media screen and (max-width: 800px) {
  .hero-section {
    display: block;
    box-shadow: unset;
    min-height: auto;
  }
  .hero-content {
    background: #fff;
    color: #000;
    padding: 20px 0;
  }
  .hero-text {
    margin-top: 40px;
    margin-bottom:0;
  }
  .hero-content .btn-signup {
    display: none;
  }
  .hero-headline {
    font-size: 3.2rem;
    white-space: normal;
  }
  .hero-img img {
    border-radius: 10px;
    margin-top: 30px;
  }
  .hero-section > .btn-signup {
    display: block;
    margin: 32px auto 10px;
  }
  .btn-signup{
    width: 180px;
  }
  .copyrights {
    text-align: center;
    margin-top:30px;
    margin-bottom:30px;
  }
}
@media screen and (max-width: 500px) {
  .formData[data-error]::after {
    font-size: 0.8rem;
    margin-top: 7px;
    margin-bottom: 7px;
    line-height: 0.9;
  }
  .hero-headline {
    font-size: 2.3rem;
  }
  .hero-text {
    font-size: 0.7rem;
  }
  .hero-content {
    min-width: 300px;
  }
}

@keyframes modalopen {
  from {
    opacity: 0;
    transform: translateY(-150px);
  }
  to {
    opacity: 1;
  }
}

