/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  body, html {    
    margin:0;
    padding:0;
    height: 100%;
    font-family: "Lexend", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 18px;
    overflow:auto;
  }

  .background {
    /* The image used */
    background-image: url('../img/background01.jpg');
    background-attachment: fixed;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* cache le blanc qui apparait sous le background à cause du redimensionnement et du positionnement des blocs */
    overflow-x: hidden;
    height: 100vh;
  }
  .lang {
    position: fixed;
    left:0px;
    top:120px;
    width:72px;
    height:70px;
    margin:auto;
    text-align: center;
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 0 6px 6px 0;
  }
  .lang ul {
    list-style: none;
    margin:0;
    padding:0;
  }
  .lang ul li {
    line-height: 65px;
  }
  .lang ul li img {
    width: 48px;
    height: 48px;
  }
  .bg-logo {
    background-image: url('../img/vipagency02.png');
    background-size: 90px;
    position: fixed;
    left:30px;
    bottom:30px;
    width: 90px;
    height: 90px;
  }
  .bg-facebook {
    background-size: 100px;
    position: fixed;
    right:50px;
    bottom:30px;
    width: 100px;
    height: 100px;
    text-align: center;
  }
  .bg-facebook a {
    color:#FFF;
    font-size: 14px;
  }
  .bg-facebook a:hover {
    font-size: 16px;
    text-decoration: none;
  }
  .bg-facebook img{
    color:#FFF;
    width: 70px;
    height: 70px;
  }

/* ======= first block========== */
  div.first {
    position: relative;
    margin:30px auto 50px;
  }
  div.first > div.left {
    background-image: url('../img/first-left.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  div.first > div.right {
    background-color:#333;
    color:white;
    padding:50px 80px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
  }
  div.first > div.right img {
    width:120px;
    margin-top: -30px;
  }
  div.first > div.right h1 {
    display: inline-block;
    font-size: 60px;
    font-weight: bold;
    margin:30px 0 30px 30px;
  }
  div.first > div.right > p {
    margin:30px 0;
  }
  div.first > div.right > button {
    margin:20px 0 0 0;
    font-weight: bold;
  }

/* ======= second block========== */
  div.second {
    position: relative;
    margin:30px auto 50px;
  }
  div.second > div.right {
    background-image: url('../img/second-right.jpg');
    background-position: top right;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    /*
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    */
  }
  div.second > div.left {
    background-color:#333;
    color:white;
    padding:50px 80px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    /*
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    */
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
  }
  div.second > div.left img {
    width:120px;
    margin-top: -30px;
  }
  div.second > div.left h2 {
    display: inline-block;
    font-size: 50px;
    font-weight: bold;
    margin:30px 0 30px 30px;
  }
  div.second > div.left h3 {
    font-size: 24px;
    display: inline-block;
  }
  div.second > div.left ul {
    list-style:none;
    position: relative;
  }
  div.second > div.left li {
    margin:30px 0 40px;
  }
  div.second > div.left li::before {
    content: counter(list-item);
    display: inline-block;
    position: absolute;
    left: -20px;
    padding:5px 13px;
    background-color:#684c17;
    border:2px solid #775f33;
    border-radius: 3px;
    font-weight: bold;
  }

/* ======= third block========== */
  div.third {
    position: relative;
    margin:30px auto 50px;
  }
  div.third > div.left {
    background-image: url('../img/third-left.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  div.third > div.right {
    background-color:#333;
    color:white;
    padding:50px 80px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
  }
  div.third > div.right img {
    width:120px;
    margin-top: -30px;
  }
  div.third > div.right h2 {
    display: inline-block;
    font-size: 50px;
    font-weight: bold;
    margin:30px 0;
  }
  div.third > div.right > p {
    margin:30px 0;
  }
  div.third > div.right > button {
    margin:20px 0 0 0;
    font-weight: bold;
  }

/* ======= fourth block========== */
  div.fourth {
    position: relative;
    margin:30px auto 50px;
  }
  div.fourth > div.right {
    background-image: url('../img/fourth-right.jpg');
    background-position: top right;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    /*
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    */
  }
  div.fourth > div.left {
    background-color:#333;
    color:white;
    padding:50px 80px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    /*
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    */
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
  }
  div.fourth > div.left img {
    width:120px;
    margin-top: -30px;
  }
  div.fourth > div.left h2 {
    display: inline-block;
    font-size: 50px;
    font-weight: bold;
    margin:30px 0;
  }
  div.fourth > div.left h3 {
    font-size: 24px;
    display: inline-block;
  }
  div.fourth > div.left ul {
    list-style:none;
    position: relative;
  }
  div.fourth > div.left li {
    margin:30px 0 40px;
  }
  div.fourth > div.left li::before {
    content: counter(list-item);
    display: inline-block;
    position: absolute;
    left: -20px;
    padding:5px 13px;
    background-color:#684c17;
    border:2px solid #775f33;
    border-radius: 3px;
    font-weight: bold;
  }

/* ======= fifth block========== */
  div.fifth {
    position: relative;
    margin:30px auto 50px;
    overflow: hidden;
  }
  div.fifth > div.left {
    background-image: url('../img/fifth-left.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  div.fifth > div.right {
    background-color:#333;
    color:white;
    padding:50px 80px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
  }
  div.fifth > div.right a {
    color:white;
    text-decoration: underline;
  }
  div.fifth > div.right h2 {
    display: inline-block;
    font-size: 50px;
    font-weight: bold;
    margin:30px 0;
  }
  div.fifth > div.right > p {
    margin:30px 0;
  }
  div.fifth > div.right > button {
    margin:20px 0 0 0;
    font-weight: bold;
  }
  div.fifth > div.right > h2 span {
    display: none;
    font-size: 40px; 
    color: #ffc107;
  }

/* ======= sixth block========== */
  div.sixth {
    position: relative;
    margin:30px auto 50px;
    background-color:#333;
    color:white;
    padding:50px 80px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
     -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
    backdrop-filter: blur(15px);
    background-color: rgba(20, 20, 20, 0.5);
  }
  div.sixth h2 {
    display: inline-block;
    font-size: 50px;
    font-weight: bold;
    margin:30px 0;
  }
  div.sixth h4 {
    font-size: 24px;
    margin:40px 0 20px;
  }
  div.sixth p {
    margin:20px 0;
  }

  .card { background-color: transparent; }
  .btn-link {
    color: #FFF;
    text-decoration: none;
    font-size: 24px;
  }
  .btn-link:hover {
    color: #ffc107;
    text-decoration: none;
  }
  .btn-link:focus{
    color: #ffc107;
    text-decoration:none;
  }

/* ==========================================================================
   select with images
   ========================================================================== */
.dynamic-select {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  position: relative;
  width: 100%;
  user-select: none;
}
.dynamic-select .dynamic-select-header {
  border: 1px solid #dee2e6;
  padding: 7px 30px 7px 12px;
}
.dynamic-select .dynamic-select-header::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
  height: 12px;
  width: 12px;
}
.dynamic-select .dynamic-select-header.dynamic-select-header-active {
  border-color: #c1c9d0;
}
.dynamic-select .dynamic-select-header.dynamic-select-header-active::after {
  transform: translateY(-50%) rotate(180deg);
}
.dynamic-select .dynamic-select-header.dynamic-select-header-active + .dynamic-select-options {
  display: flex;
}
.dynamic-select .dynamic-select-header .dynamic-select-header-placeholder {
  color: #65727e;
}
.dynamic-select .dynamic-select-options {
  display: none;
  box-sizing: border-box;
  flex-flow: wrap;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  margin-top: 5px;
  padding: 5px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.dynamic-select .dynamic-select-options::-webkit-scrollbar {
  width: 5px;
}
.dynamic-select .dynamic-select-options::-webkit-scrollbar-track {
  background: #f0f1f3;
}
.dynamic-select .dynamic-select-options::-webkit-scrollbar-thumb {
  background: #cdcfd1;
}
.dynamic-select .dynamic-select-options::-webkit-scrollbar-thumb:hover {
  background: #b2b6b9;
}
.dynamic-select .dynamic-select-options .dynamic-select-option {
  padding: 7px 12px;
}
.dynamic-select .dynamic-select-options .dynamic-select-option:hover, .dynamic-select .dynamic-select-options .dynamic-select-option:active {
  background-color: #f3f4f7;
}
.dynamic-select .dynamic-select-header, .dynamic-select .dynamic-select-option {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  font-size: 16px;
  color: #212529;
  background-color: #FFF;
  justify-content: center;
}
.dynamic-select .dynamic-select-header img, .dynamic-select .dynamic-select-option img {
  /*object-fit: contain;*/
  /*max-height: 100%;*/
  /*max-width: 100%;*/
  width: 29px;
  height: 22px;
}
.dynamic-select .dynamic-select-header img.dynamic-size, .dynamic-select .dynamic-select-option img.dynamic-size {
  object-fit: fill;
  max-height: none;
  max-width: none;
}
.dynamic-select .dynamic-select-header img, .dynamic-select .dynamic-select-header svg, .dynamic-select .dynamic-select-header i, .dynamic-select .dynamic-select-header span, .dynamic-select .dynamic-select-option img, .dynamic-select .dynamic-select-option svg, .dynamic-select .dynamic-select-option i, .dynamic-select .dynamic-select-option span {
  box-sizing: border-box;
  margin-right: 10px;
}
.dynamic-select .dynamic-select-header.dynamic-select-no-text, .dynamic-select .dynamic-select-option.dynamic-select-no-text {
  justify-content: center;
}
.dynamic-select .dynamic-select-header.dynamic-select-no-text img, .dynamic-select .dynamic-select-header.dynamic-select-no-text svg, .dynamic-select .dynamic-select-header.dynamic-select-no-text i, .dynamic-select .dynamic-select-header.dynamic-select-no-text span, .dynamic-select .dynamic-select-option.dynamic-select-no-text img, .dynamic-select .dynamic-select-option.dynamic-select-no-text svg, .dynamic-select .dynamic-select-option.dynamic-select-no-text i, .dynamic-select .dynamic-select-option.dynamic-select-no-text span {
  margin-right: 0;
}
.dynamic-select .dynamic-select-header .dynamic-select-option-text, .dynamic-select .dynamic-select-option .dynamic-select-option-text {
  box-sizing: border-box;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

