
/**
 * Copyright © Raphaël Castello - 2021
 * -> web site www.sns.pm
 * -> Contact contact@sns.pm
 * Script name : api.css
 */

/* Document root VARS */
:root {
  --yel: #f0ea68;
  --blue-back: #346148;
  --white-neon: #f0f9ff;
  --black: #24313c;
	--color-title: #edcb49;
	--text-black: #070707;
}

.splash {
    background: #22313b;
    height: 110vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    color: var(--color-title);
}
/*  API GEN CSS  */
html {
  background-color: var(--blue-back);
	scroll-behavior: initial;
	background: url(../img/back.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

html, body {
	min-height: 100%;
	height: auto;
  width: 100%;
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
}

body {
    z-index: 1;
    padding: 0;
    position: relative;
    text-rendering: optimizeLegibility;
		overflow-x: hidden;
		overflow: hidden;
}

/* Document root VARS */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: var(--black) !important;
}

/* scroll bar  */
/* width */
::-webkit-scrollbar {
  width: 12px;
  background: #f1f1f1;
  border-radius: 4px;
}

/* thumb */
::-webkit-scrollbar-thumb {
  background: #314047;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #4c575d;
  cursor: grab;
}

/* Track */
::-webkit-scrollbar-track {
  background: #b4b4b4;
}

/* END scroll bar  */

/* AOS invisible */

/*  resets API  */
.fw300 {
  font-weight: 300;
}

.fw500 {
  font-weight: 500;
}

.inline-block {
  display: inline-block;
}

.underline {
  text-decoration: underline;
}

ul {
  margin: 0 auto;
  padding: 0;
}

li {
  list-style-type: none;
}

a:hover {
  text-decoration: none;
}

.far, .fas {
  /* vertical-align: top; */
}
.center {
	text-align: center;
}
.bkg_text {
    background: rgb(255 255 255 / 82%);
    padding: 4% 6% 5%;
    margin: 10vh auto;
    border-radius: 6px;
    box-shadow: 0px 1px 4px 1px rgb(0 0 0 / 24%);
}
button {
	cursor: pointer;
}
.btn_head {
    float: right;
    font-size: 1.2em;
    margin: 0 0 0 3%;
}
/* END  resets API  */

main {
	max-width: 900px;
	margin: 0 auto;
	z-index: 10;
}


header {
  background-color: #24313c;
  padding: 1% 2% 1%;
  top: -800px;
	z-index: 50;
}

header.header_fixed {
  position: sticky;
  top: 0;
  transition: top 0.6s cubic-bezier(0, 0, 0.2, 1);
}

header a, header span {
  vertical-align: top;
}

header .little_title {
    font-family: 'Great Vibes', cursive;
    color: var(--color-title);
    font-size: 1.4em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.header_icons {
  color: var(--white-neon);
  cursor: pointer;
}

.header_icons:hover {
  text-shadow: 0px 0px 4px rgb(20 20 20 / 65%);
}

#plateform_link {
  float: right;
  text-decoration: none;
  color: orange;
  /* background: #24313c; */
  background-color: rgb(40 45 50 / 85%);
  font-size: 0.8em;
  margin: 0 5% 0 0;
  padding: 3px 14px 3px;
  display: inline-block;
  vertical-align: top;
  letter-spacing: 0.5px;
  font-weight: 400;
}

#plateform_link:hover {
  background: rgb(36 49 60 / 55%);
  box-shadow: 0px 0px 2px 0px #242e38;
}

#menu_btn {
  float: right;
}

#menu {
  position: fixed;
  right: -600px;
  padding: 1.5% 2% 0.5%;
  margin: 1% 1.5% 0 0;
  background: var(--black);
  box-shadow: 2px 1px 8px 2px rgb(10 46 77 / 80%);
  border-radius: 4px;
  transition: right 0.3s ease-out;
}

.show_menu {
  right: 0 !important;
  transition: right 0.3s cubic-bezier(0.65, 0.05, 0.36, 1) !important;
  z-index: 10;
}

#menu .nav_btns {
  font-size: 0.8em;
  padding: 8px 14px;
  white-space: normal;
}

.block_title_gen {
    height: 47vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}

h1#title_gen {
	font-family: 'Great Vibes', cursive;
	color: var(--color-title);
	font-size: 4em;
	text-align: center;
	text-shadow: 2px 1px 3px rgb(20 20 20 / 56%), 4px 2px 10px rgb(20 20 20 / 25%);
	margin: 0;
	letter-spacing: 2px;
	font-weight: 600;
	z-index: 10;
}

#block_title_gen strong {
  color: var(--text-black);
  font-size: 1em;
  margin: 10% 0 0;
}

h2 {
    color: var(--text-black);
    font-size: 1.4em;
    font-weight: 500;
    margin: 1% auto 7%;
    text-align: center;
    /* text-shadow: 0 0 2px #193954; */
}

/*  END API GEN CSS  */
/* Pages */
section {
    padding: 3% 3% 4%;
    color: var(--text-black);
    background: rgb(255 255 255 / 82%);
}

section h1 {
    margin: 0 0 8%;
    font-size: 1.4em;
    font-weight: 400;
    color: var(--text-black);
    line-height: 50px !important;
}

section h2 {
  font-size: 1.3em;
  font-weight: 500;
  color: var(--text-black);
  margin: 8% 0 0;
  text-align: center;
  text-shadow: inherit;
}

section p {
  margin: 6% 0 0;
  font-size: 1em;
  font-weight: 400;
}

section a.btns_section {
    background: #f1cb57;
    font-size: 0.85em !important;
    font-weight: 500 !important;
    margin: 0 0 1.5em;
    padding: 8px 14px !important;
}

section a.section_links {
  color: var(--text-black);
}

section em {
  color: var(--text-black);
  font-size: 1em;
  margin: 4% 0 4%;
  font-style: italic;
}

section strong {
  font-size: 1em;
  font-weight: 500;
  color: var(--text-black);
}

section i {
  vertical-align: unset;
}

section code {
  font-family: 'Arial', sans-serif;
  font-weight: 400;
  font-size: 0.94em;
  color: var(--text-black);
  display: inline;
}

section h1,
section h2,
section p,
section a,
section em,
section strong,
section code {
  letter-spacing: 0.5px;
  line-height: 32px;
}

#slider-images {
  text-align: center;
  margin: 0 auto;
}

#slider-images img {
  width: 47%;
  margin: 4% 1% 2%;
}

/* END Pages */
/* Lists  */
ul.ul_nav {
  text-align: left;
  max-width: 500px;
}

ul.ul_nav li {
  margin: 0 0 4%;
}

.button_more {
    background: rgb(255 255 255 / 80%);
    color: #6f8443;
    font-size: 1.2em;
    border-radius: 6px;
    padding: 12px 30px 12px;
    border: 1px solid #adadad;
    box-shadow: 0px 1px 4px 1px rgb(0 0 0 / 24%);
}
.button_more:hover {
    background-color: rgb(255 255 255 / 85%);
  	box-shadow: 0px 1px 4px 3px rgb(0 0 0 / 24%);
}
.nav_btns {
    text-decoration: none;
    background: var(--color-title);
    border-radius: 6px;
    padding: 10px 14px;
    display: inline-block;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-black);
    white-space: nowrap;
    box-shadow: 2px 2px 6px 2px rgb(20 20 20 / 25%);
    transition: box-shadow 0.5s, background 0.5s, color 0.5s;
    cursor: pointer;
}

.nav_btns:hover {
    box-shadow: 1px 1px 2px 0px rgb(20 20 20 / 38%);
    background: rgb(34 49 59);
    transition: box-shadow 0.4s, background 0.4s, color 0.4s;
    color: #f1cb57;
}
/* END Lists  */
/* Form Contact */
form.form_contact {
  margin: 4% auto 0;
}

.small_form_fields {
  display: inline-block;
  width: 47%;
  margin: 0 auto 15px;
}

.small_form_fields, .form_fields {
  margin: 0 2% 15px 0;
}

.form_contact input, .form_contact textarea {
  font-family: 'Arial', sans-serif;
  font-weight: 400;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  font-size: 0.95em;
  color: var(--text-black);
  margin: 8px 0 20px;
  outline: none !important;
  box-shadow: 1px 1px 4px 1px rgb(20 20 20 / 25%);
}

.form_contact input:focus, .form_contact textarea:focus {
  box-shadow: none;
}

.form_contact input {
  width: 95%;
  height: 35px;
  padding: 3px 0 3px 10px;
}

.form_contact textarea {
  resize: vertical;
  width: 95%;
  padding: 10px;
}

.orange {
  color: orange;
}

.green {
  color: lightgreen;
}

#render_contact_error {
  display: none;
  margin: 0 0 2%;
}

/* Form Contact */
/* FOOTER  */
.footer-dark {
    margin: 10% auto 0;
    padding: 2% 2%;
    color: var(--white-neon);
    background-color: rgb(40 45 50 / 85%);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.footer-dark .item {
  width: 33%;
}

.footer-dark h4 {
  margin: 0 5% 10% 0;
  font-weight: 500;
  font-size: 0.9em;
  border-bottom: 4px solid #d89c2d;
  line-height: 32px;
  padding: 0 0 0 2px;
}

.footer-dark p {
  margin: 0;
}

.footer-dark a, .footer-dark p {
  font-size: 0.85em;
}

.footer-dark a {
  color: var(--white-neon);
  font-size: 0.85em;
  display: inline-block;
  margin: 0 0 5%;
  vertical-align: top;
}

.fa_links {
  font-size: 0.8em;
}

.footer-dark .copyright {
  text-align: center;
}

/* FOOTER  */
/* TO TOP BTN  */
#to_top {
  left: -50px;
  bottom: 10px;
  position: fixed;
  text-align: center;
  padding: 9px 12px 9px;
  font-size: 1em;
  line-height: 1;
  white-space: nowrap;
  color: var(--white-neon);
  border: 2px solid var(--white-neon);
  border-radius: 6px;
  background: #24313c;
  cursor: pointer;
}

/* TO TOP BTN  */
/**
   *
   *
   *
   * Media queries
   *
   *
   *
   */
/* Media queries - Mobile */
@media all and (max-width: 796px) {
  header {
    padding: 2% 2% 2% 3%;
  }

  header .little_title {
    font-size: 0.85em;
    font-weight: 500;
    vertical-align: text-bottom;
  }

  header .far, header .fas {
    vertical-align: text-top;
  }

  #menu {
    margin: 0 3% 0 0;
    width: 94%;
    padding: 5% 0 0;
  }

  #menu .ul_nav li {
    display: block;
    margin: 0 auto 5%;
    width: 90%;
  }

  #menu .nav_btns {
    font-size: 0.7em;
  }

  .show_menu {
    top: 10vmax;
    bottom: 0;
    overflow-y: auto;
  }

  #plateform_link {
    float: none;
    clear: both;
    margin: 15px 0 0 0;
    font-size: 0.7em;
  }

  strong i {
    margin: 6px 0 0 0;
  }

  #block_title_gen {
    max-width: 75%;
  }

  h1#title_gen {
    font-size: 3em;
    line-height: 70px;
  }

  #block_title_gen strong {
    font-size: 0.9em;
  }

  #block_nav {
    max-width: 90%;
    margin: 0 auto;
  }

  h2 {
    font-size: 0.82em;
    margin: 8% auto 8%;
    text-align: left;
  }

  ul.ul_nav {
    margin: 0 auto;
  }

  ul.ul_nav li {
    display: block;
    margin: 0 0% 5% 0%;
  }

  .nav_btns {
    font-size: 0.7em;
    line-height: 20px;
  }

  .footer-dark {
    padding: 4% 5%;
  }

  .footer-dark .item {
    display: block;
    width: 100% !important;
    margin: 0 0 10%;
  }

  .footer-dark h4 {
    margin: 0 0 3%;
  }

  /* Pages */
  section {
    padding: 6% 6% 0;
  }

  section h1 {
    margin: 0 0 10%;
    font-size: 1em;
    line-height: 32px !important;
  }

  section h2 {
    font-size: 0.9em;
    margin: 12% 0 0;
    text-align: left;
  }

  section p {
    margin: 10% 0 0;
    font-size: 0.8em;
  }

  section a.btns_section {
    margin: 0 0 0.8em;
  }

  section a.section_links {
    color: var(--white-neon);
  }

  section em {
    color: var(--yel);
    font-size: 0.9em;
    margin: 4% 0 4%;
    font-style: italic;
  }

  section strong {
    font-size: 1em;
    font-weight: 500;
    color: var(--yel);
  }

  section i {
    vertical-align: unset;
  }

  #slider-images img {
    width: 45%;
    margin: 4% 1% 1%;
  }

  [data-fancybox-prev], [data-fancybox-next] {
    display: none;
  }

  [data-fancybox="images"]{
    letter-spacing: 0;
    line-height: 0;
    text-decoration: none;
    cursor: inherit;
  }
  /* Pages */

  /* Form */
  #render_contact_error {
    font-size: 0.85em;
  }

  .small_form_fields {
    display: block;
    width: 100%;
  }

  .form_contact label {
    font-size: 0.85em;
  }

  .form_contact input, .form_contact textarea {
    margin: 10px 0 0px;
    font-size: 0.85em;
  }

  .form_contact .nav_btns {
    font-size: 0.8em;
    padding: 8px 14px;
  }
  /* Form */


  /* footer */
  .footer-dark h4, .footer-dark a, .footer-dark p {
      font-size: 0.8em;
  }


}
/* END Media queries - Mobile */
/**
   * Media queries
   */
