/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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: #000;
  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;
}

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face{
  font-family: 'Riojana-Black';
  src: url('../fonts/Riojana-Black.otf') format('opentype');
}

@font-face{
  font-family: 'Riojana-Bold';
  src: url('../fonts/Riojana-Bold.otf') format('opentype');
}

@font-face{
  font-family: 'Riojana-BoldItalic';
  src: url('../fonts/Riojana-BoldItalic.otf') format('opentype');
}

@font-face{
  font-family: 'Riojana-Regular';
  src: url('../fonts/Riojana-Regular.otf') format('opentype');
}

@font-face{
  font-family: 'Riojana-SemiBoldItalic';
  src: url('../fonts/Riojana-SemiBoldItalic.otf') format('opentype');
}

/* ==========================================================================
   Styles
   ========================================================================== */

html{

}

body{
  font-family: 'Riojana-Regular';
}

header{
  background-color: #243745;
}

  header div.content{
    width: 88%;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

    header div.content a{
  
    }

    header div.content img{
      max-height: 38px;
    }

main{
  min-height: 100vh;
}

section{
  overflow: auto;
}

  section.green{
    padding-bottom: 3em;
    background-color: #66b32f;
    color: #fff;
  }

  section div.full{
    width: 92%;
    max-width: 1020px;
    margin: 0 auto;
  }

  section div.col{
    width: 78%;
    max-width: 680px;
    margin: 0 auto;
  }

  section h1{
    font-family: 'Riojana-Black';
    /*3em to 4.6em*/
    font-size: calc(48px + (73 - 48) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
    text-align: center;
    color: #243745;
  }

  section h2{
    font-family: 'Riojana-Black';
    /*2.2em to 3.6em*/
    font-size: calc(35px + (57 - 35) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
    text-align: center;
    color: #fff;
  }

  section h3{
    font-family: 'Riojana-BoldItalic';
    /*2em to 3.7em*/
    font-size: calc(32px + (59 - 32) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
    text-align: center;
    color: #66b32f;
  }

  section p{
    font-size: 1.2em;
    color: #243745;
  }

    section.green p{
      color: #fff;
    }

    section p a{
      color: #66b32f;
    }

  section ol{
    margin: 2em 0;
    padding-left: 0;
    list-style-type: none;
    /*1.6em to 2.6em*/
    font-size: calc(25px + (41 - 25) * (100vw - 320px) / (992 - 320));
    letter-spacing: -0.015em;
    text-align: center;
    color: #243745;
  }

    section ol li{
      
    }

  section ul{
    font-size: 1.2em;
    padding-left: 0;
  }

    section ul li{
      
    }

  section strong{
    font-family: 'Riojana-Bold';
    font-weight: normal;
  }

  section img{
    width: 100%;
    margin: 3em auto;
    display: block;
  }

    section img.social-1{
      max-width: 728px;
    }

    section img.social-2{
      max-width: 1020px;
      margin: 0 auto;
    }

    section img.social-3{
      max-width: 1020px;
    }

    section img.social-4{
      max-width: 1020px;
    }

    section img.social-5{
      max-width: 1020px;
    }

    section img.social-6{
      max-width: 730px;
    }

  section #anim{
    width: 100%;
    position: relative;
  }

    section #anim img.text{
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }

  section div.video-wrap{
    width: 100%;
    height: 0;
    margin: 3em 0;
    padding-bottom: 56.25%;
    position: relative;
  }

    section div.video-wrap iframe{
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
    }

footer{
  background-color: #243745;
}

  footer div.content{
    width: 80%;
    margin: 0 auto;
    padding: 26px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

    footer div.content a{
  
    }

    footer div.content img{
      max-height: 48px;
      margin-bottom: 2em;
    }

      footer div.content img.eu{
        max-height: 40px;
        margin-left: 2em;
      }

    footer div.content p{
      color: #fff;
    }

/* ==========================================================================
   Media queries
   ========================================================================== */

@media (min-width: 576px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

  header div.content{
    width: 78%;
    padding: 26px 0;
  }

    header div.content img{
      max-height: 48px;
    }

  section h1{
    font-size: 4.6em
  }

  section h2{
    font-size: 3.6em;
  }

  section h3{
    font-size: 3.7em;
  }

  section ol{
    font-size: 2.6em;
  }

  footer div.content{
    flex-direction: row;
  }

    footer div.content img{
      margin-bottom: 0;
    }

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}

@media (min-width: 1600px) {

}

@media (min-width: 1800px) {

}
