/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

* {
  box-sizing: border-box; }

/*  COLOR */
/* FONTS */
@font-face {
  font-family: 'Montserrat';
  src: url("../fonts/Montserrat-Black.woff2") format("woff2"); }
@font-face {
  font-family: 'Quicksand';
  src: url("../fonts/Quicksand-Regular.woff2") format("woff2"); }
/* TEXT */
h1, h2, h3, p, ul {
  padding: 10px; }

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 7em;
  line-height: 0.7em; }

h2, h3, p, a, ul, span, td, label, input, select, textarea, th, td {
  font-family: 'Quicksand', sans-serif;
  font-size: 1em;
  line-height: 1.5em;
  color: #2f4e4b; }

h2 {
  font-size: 1.7em;
  line-height: 1.2em; }

ul {
  padding-left: 25px; }

li {
  list-style: circle; }

a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: #1CCD88;
  text-underline-offset: 2px;
  transition-duration: 0.3s; }
  a:visited {
    color: #2f4e4b; }
  a:hover {
    color: #1CCD88;
    text-decoration-color: #1CCD88;
    text-underline-offset: 5px;
    transition-duration: 0.3s; }

strong, b {
  font-weight: bold; }

em {
  font-size: 0.8em;
  font-style: italic; }

sup {
  position: relative;
  top: -7px;
  font-size: 0.6em; }

table {
  margin-top: 20px; }

thead {
  background-color: #1CCD88; }

tr {
  text-align: center; }
  tr:nth-child(even) {
    background: rgba(47, 78, 75, 0.1); }

th {
  padding: 5px 15px; }

td {
  padding: 5px 15px; }

/* BUTTON */
.button, .white-button, form input[type=submit] {
  margin-top: 15px;
  padding: 10px 15px;
  font-weight: bold;
  background-color: #1CCD88;
  border: 15px solid white;
  border-radius: 7px;
  transition-duration: 0.5s;
  text-decoration: none; }
  .button:hover, .white-button:hover, form input[type=submit]:hover {
    color: white;
    background-color: #1CCD88;
    border-color: #1CCD88;
    transition-duration: 0.3s; }

.white-button, form input[type=submit] {
  color: white;
  border: 2px solid white; }

/* FORM */
form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
  min-width: 350px;
  padding: 20px; }
  form .h-captcha {
    margin: 10px; }
  form ul li {
    font-size: 0.8em;
    line-height: 1.2em; }
  form p {
    width: 100%; }
    form p span {
      display: inline-block;
      margin-top: 20px;
      font-size: 0.8em;
      line-height: 1.2em; }
    form p label {
      display: flex;
      padding: 10px 10px 10px 5px; }
    form p input[type=text], form p input[type=email], form p input[type=password], form p input[type=number], form p select {
      padding: 10px;
      width: 100%;
      border: 0;
      border-bottom: 1px solid #2f4e4b;
      outline: none;
      color: #1CCD88;
      background-color: inherit; }
      form p input[type=text]:hover, form p input[type=email]:hover, form p input[type=password]:hover, form p input[type=number]:hover, form p select:hover {
        border-bottom: 1px solid #1CCD88; }
    form p input[type="checkbox"] {
      accent-color: #1CCD88;
      margin-right: 10px;
      cursor: pointer; }
    form p textarea {
      padding: 10px;
      width: 100%;
      border: 0;
      border: 1px solid #2f4e4b;
      outline: none; }
      form p textarea:hover {
        border: 1px solid #1CCD88; }
  form input[type=submit] {
    margin: 10px;
    padding: 10px 15px;
    background-color: #2f4e4b;
    cursor: pointer; }

/* FLASH MESSAGE */
.message {
  z-index: 2; }
  .message-success, .message-error {
    display: block;
    position: fixed;
    bottom: -52px;
    padding: 10px;
    width: 100%;
    color: white;
    font-weight: 300;
    text-align: center;
    opacity: 0;
    animation: flashmessage 7s; }
  .message-success {
    background-color: #1CCD88; }
  .message-error {
    background-color: #f73f1e; }

.body {
  background-color: #ffffff; }

.nav {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  padding: 0 20px;
  width: 100%;
  height: 40px;
  background-color: #2f4e4b; }
  .nav-mobile {
    display: none; }
  .nav-left, .nav-right {
    display: flex;
    align-items: stretch;
    height: 100%;
    color: white; }
    .nav-left > a, .nav-right > a {
      padding: 8px 10px;
      height: 100%;
      color: white;
      font-size: 1em;
      text-decoration: none;
      border-bottom: 10px solid #2f4e4b;
      transition-duration: 0.2s;
      font-size: 1em;
      line-height: 1.4em; }
      .nav-left > a:hover, .nav-right > a:hover {
        border-bottom: 2px solid #ffffff;
        transition-duration: 0.2s; }
    .nav-left .title, .nav-right .title {
      color: #96DC93;
      font-family: 'Montserrat', sans-serif;
      font-size: 1em;
      font-weight: 900; }
    .nav-left .fa-language, .nav-right .fa-language {
      margin-top: -5px;
      height: 40px;
      font-size: 1.5rem; }

.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 500px;
  margin-top: 40px;
  background-image: url("../img/yky-trading.avif");
  background-size: cover;
  background-position: center top; }
  .header > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    height: 100%;
    width: 100%;
    background: rgba(28, 205, 136, 0.2); }
    .header > span > h1 {
      color: #2f4e4b;
      text-shadow: 5px 5px 0 #96DC93; }
    .header > span > h2, .header > span h3 {
      padding: 10px;
      color: white; }
    .header > span > h2 {
      font-family: 'Montserrat', sans-serif; }
    .header > span > h3 {
      font-weight: 100; }

.main {
  display: flex;
  flex-direction: column;
  align-items: center; }
  .main-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%; }
    .main-section:nth-child(even) {
      background-color: #f9f9f9; }
    .main-section-article {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 75px 0;
      padding: 20px; }
      .main-section-article > h1 {
        font-size: 2em;
        line-height: 1.2em;
        text-align: center;
        color: #2f4e4b; }
      .main-section-article > h2, .main-section-article h3 {
        padding: 35px 10px 15px 10px;
        max-width: 700px;
        text-align: center;
        color: #1CCD88; }
      .main-section-article > h3 {
        padding: 35px 10px 15px 10px;
        max-width: 700px;
        text-align: center;
        font-size: 1.2em;
        font-weight: bold;
        color: #2f4e4b; }
      .main-section-article > p, .main-section-article ul {
        max-width: 700px;
        text-align: center;
        text-align: justify;
        color: #2f4e4b; }
        .main-section-article > p > a, .main-section-article ul > a {
          color: #2f4e4b;
          text-decoration: underline; }
        .main-section-article > p > span, .main-section-article ul > span {
          color: #1CCD88; }
      .main-section-article-rates {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: space-around; }
        .main-section-article-rates-subscribe {
          display: flex;
          flex-direction: column;
          align-items: center;
          margin: 30px;
          padding: 15px;
          width: 300px;
          border-radius: 10px;
          background-color: white;
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
          .main-section-article-rates-subscribe > h2 {
            max-height: 110px;
            color: #1CCD88;
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            font-size: 5.5em;
            transition-duration: 0.3s; }
            .main-section-article-rates-subscribe > h2 > sup {
              position: relative;
              top: -30px;
              font-size: 0.5em; }
            .main-section-article-rates-subscribe > h2 > sub {
              color: #2f4e4b;
              font-size: 0.25em; }
          .main-section-article-rates-subscribe > p {
            line-height: 1.5em; }
          .main-section-article-rates-subscribe > a {
            font-size: 1.2em; }
          .main-section-article-rates-subscribe:hover > h2 {
            color: #2f4e4b;
            transition-duration: 0.3s; }
      .main-section-article-bold {
        font-family: 'Montserrat', sans-serif;
        font-weight: 900; }
    .main-section-slides {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-content: space-around;
      margin: 75px 0;
      padding: 20px; }
      .main-section-slides-slide {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        margin: 30px;
        width: 275px;
        border-radius: 10px;
        background-color: #f9f9f9;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        overflow: hidden; }
        .main-section-slides-slide-picture {
          width: 100%;
          height: 200px;
          overflow: hidden; }
          .main-section-slides-slide-picture > img {
            display: block;
            height: 100%;
            width: 100%;
            object-fit: cover;
            transform: scale(1);
            transition: transform 0.2s ease-in-out; }
            .main-section-slides-slide-picture > img:hover {
              transform: scale(1.2); }
        .main-section-slides-slide > h3 {
          padding: 25px 25px 20px 25px;
          font-size: 1.5em;
          text-align: center;
          color: #1CCD88; }
        .main-section-slides-slide > p {
          padding: 0 30px 30px 30px;
          color: white;
          color: #2f4e4b;
          font-size: 1em;
          line-height: 1.5em;
          text-align: justify;
          hyphens: auto; }
    .main-section-edito {
      display: flex;
      margin: 75px 0;
      padding: 20px;
      width: 100%;
      flex-wrap: nowrap;
      justify-content: center;
      align-content: space-evenly; }
      .main-section-edito-chapter {
        padding: 10px;
        width: 50%; }
        .main-section-edito-chapter > h2 {
          font-size: 1.2em;
          background-color: grey; }
        .main-section-edito-chapter > p {
          text-align: justify; }
      .main-section-edito-picture {
        width: 50%;
        border-radius: 7px; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  min-height: 40px;
  background-color: white; }
  .footer-left, .footer-right {
    display: flex;
    align-items: baseline;
    height: 100%; }
    .footer-left > a, .footer-right > a {
      padding: 5px 10px;
      height: 100%;
      border-top: 2px solid white;
      border-bottom: 2px solid white;
      text-decoration: none;
      line-height: 13px;
      transition-duration: 0.3s; }
      .footer-left > a:hover, .footer-right > a:hover {
        color: #1CCD88;
        border-bottom: 2px solid #1CCD88;
        transition-duration: 0.3s; }
    .footer-left-mail, .footer-right-mail {
      padding: 5px 10px;
      height: 100%;
      border-top: 2px solid white;
      border-bottom: 2px solid white;
      background-image: url("../img/mail.avif");
      background-size: cover;
      background-position: center;
      transition-duration: 0.3s; }
      .footer-left-mail:hover, .footer-right-mail:hover {
        border-bottom: 2px solid #1CCD88;
        background-image: url("../img/mail-hover.avif");
        transition-duration: 0.3s; }

@media screen and (max-width: 790px) {
  /* NAV */
  .nav-left {
    display: none; }
  .nav-mobile {
    display: flex;
    align-items: stretch;
    height: 100%;
    color: white; }
    .nav-mobile > a {
      padding: 8px 10px;
      height: 100%;
      color: white;
      text-decoration: none;
      border-bottom: 10px solid #2f4e4b;
      transition-duration: 0.3s;
      font-size: 1em;
      line-height: 1.4em; }
      .nav-mobile > a:hover {
        border-bottom: 2px solid #ffffff;
        transition-duration: 0.3s; }
    .nav-mobile .fa-bars {
      margin-top: -5px;
      height: 100%;
      font-size: 1.5rem; }
  .nav .left-enabled {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 40px;
    left: 0;
    height: auto; }
    .nav .left-enabled > a {
      padding: 8px 10px;
      height: 40px;
      color: white;
      border-bottom: 10px solid #2f4e4b;
      transition-duration: 0.3s;
      font-size: 1em;
      line-height: 1.4em;
      background-color: #2f4e4b; }
      .nav .left-enabled > a:hover {
        border-bottom: 2px solid #ffffff;
        transition-duration: 0.3s; }
  .nav .lang {
    left: auto;
    right: 20px; } }
@media screen and (max-width: 685px) {
  /* HEADER */
  .header {
    background-image: url("../img/yky-trading-mobile.avif"); }
    .header > h3 {
      font-size: 2.6em; }
    .header > h1 {
      font-size: 8em;
      margin-bottom: 50vw; }

  /* MAIN */
  .main-article > h2 {
    font-size: 3.5em; }
  .main-article > h3 {
    font-size: 2.2em; } }
@media screen and (max-width: 525px) {
  /* FOOTER */
  .footer-left > a {
    font-size: 0.8em; } }
@media screen and (max-width: 480px) {
  /* BODY */
  .body {
    background-position: center;
    background-size: cover; }

  /* HEADER */
  .header > h3 {
    font-size: 2em; }
  .header > h1 {
    font-size: 6.2em; }

  /* MAIN */
  .main-article > h2 {
    font-size: 2.5em; }
  .main-article > h3 {
    font-size: 1.5em; } }
@media screen and (max-width: 330px) {
  /* HEADER */
  .header > h3 {
    font-size: 1.2px; }
  .header > h1 {
    font-size: 2em; }

  /* MAIN */
  .main-article > h2 {
    font-size: 2em; }
  .main-article > h3 {
    font-size: 1.5em; } }
@keyframes flashmessage {
  0% {
    bottom: -52px;
    opacity: 0; }
  20% {
    bottom: 0;
    opacity: 1; }
  80% {
    bottom: 0;
    opacity: 1; }
  100% {
    bottom: -52px;
    opacity: 0; } }

/*# sourceMappingURL=style.css.map */
