/*! 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: 'Outfit-Bold';
  src: url('../fonts/Outfit-Bold.ttf') format('truetype');
}

@font-face{
  font-family: 'Outfit-ExtraBold';
  src: url('../fonts/Outfit-ExtraBold.ttf') format('truetype');
}

@font-face{
  font-family: 'Outfit-Regular';
  src: url('../fonts/Outfit-Regular.ttf') format('truetype');
}

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

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

:root {
  --red: #ffcfc2;
  --green: #d6e6c6;
  --blue: #d4eaf4;
  --yellow: #fff466;
}

html{

}

body{
  
}

header{

}

  header div.content{
    width: 92%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: left;
  }

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

    header div.content a{
  
    }

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

#slide{

}

  #slide img{
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

main{
  min-height: 100vh;
}

  .red{
    background-color: var(--red);
  }

  .green{
    background-color: var(--green);
  }

  .blue{
    background-color: var(--blue);
  }

  .yellow{
    background-color: var(--yellow);
  }

section{
  overflow: auto;
}

  section.hide-small{
    display: none;
  }

  section.blocks{
    display: flex;
    flex-direction: column;
  }

  section.center{
    text-align: center;
  }

  section div.full{
    width: 92%;
    max-width: 1140px;
    margin: 5em auto;
  }

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

  section h1{
    margin: 0.7em 0 0.4em;
    font-family: 'Outfit-ExtraBold';
    /*2.2em to 6.4em*/
    font-size: calc(35px + (102 - 35) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
  }

    section h1 span{
      font-size: 0.82em;
      line-height: 1.2;
      display: block;
    }

  section h2{
    margin: 0;
    font-family: 'Outfit-ExtraBold';
    /*2.2em to 5em*/
    font-size: calc(35px + (80 - 35) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
  }

  section h3{
    margin-top: 0;
    font-family: 'Outfit-Bold';
    /*2.2em to 3.9em*/
    font-size: calc(35px + (62 - 35) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
    text-align: center;
  }

  section h4{
    font-family: 'Outfit-ExtraBold';
    /*1.4em to 2.2em*/
    font-size: calc(22px + (35 - 22) * (100vw - 320px) / (992 - 320));
    line-height: 1;
    font-weight: normal;
  }

  section p{
    font-family: 'Outfit-Regular';
    font-size: 1.3em;
    line-height: 1.3;
  }

    section p b{
      font-family: 'Outfit-ExtraBold';
      font-weight: normal;
    }

  section ul{
    padding-left: 0;
    list-style-type: none;
    font-family: 'Outfit-Regular';
    font-size: 1.3em;
    line-height: 1.3;
  }

    section ul li{
      
    }

    section ul li b{
      font-family: 'Outfit-ExtraBold';
      font-weight: normal;
    }

  section img{
    width: 100%;
    display: block;
  }

    section img.margin{
      margin: 3em auto;
    }

  section div.blocks{
    display: flex;
  }

    section div.blocks img{
      width: 88%;
      margin: 3em auto;
      display: block;
    }

footer{

}

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

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

    footer div.content p{
      font-family: 'Riojana-Regular';
      color: #09275d;
    }

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

@media (min-width: 576px) {

}

@media (min-width: 768px) {

  header div.content{
    padding: 26px 0;
    flex-direction: row;
  }

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

  section.hide-small{
    display: block;
  }

  section.hide-wide{
    display: none;
  }

}

@media (min-width: 992px) {

  section h1{
    font-size: 6.4em;
  }

  section h2{
    font-size: 5em;
  }

  section h3{
    font-size: 3.9em;
  }

  section h4{
    font-size: 2.2em;
  }

  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) {

}
