/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    background-color: #F9F9FC;
    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: #ddd;
    text-shadow: none;
}

::selection {
    background: #ddd;
    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: #f1f1f1;
    color: #000;
    padding: 0.2em 0;
}

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

html {
  min-height: 100%;
  width: 100%;
}

body {
    height: 100%;
    width: 100%;

    box-sizing: border-box;
    padding: 4% 5.25%;
    padding: 4vw 5.25vw;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    body {
        padding: 3%;
    }
}

h1, h2, h3, p  {
    font-family: 'EB Garamond', Garamond, Gentium Basic, serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0em;
    margin-bottom: 0; /*2.5em; */
    margin-top: 0;
}

@media screen and (min-width: 700px) {
  h1, h2, h3, p {
    font-size: calc(48px + (80 - 48) * ((100vw - 700px) / (1920 - 700)));
  }
}

@media screen and (min-width: 1920px) {
  h1, h2, h3, p  {
    font-size: 80px;
  }
}



@media screen and (max-width: 699px) {
  h1 {
    font-size: 48px;
    margin-bottom: 1.1em;
  }
  /* .info__tl {
    position: fixed;
    top: 3vw;
    left: 3vw;
  } */
}
@media screen and (max-width: 374px) {
  h1 {
    font-size: 36px;
  }
}
@media screen and (min-width: 700px) {
    .info__tl {
        position: fixed;
        top: 3vw;
        left: 4vw;
    }
    .info__tr {
        position: fixed;
        top: 3vw;
        right: 4vw;
    }
    .info__br {
        position: fixed;
        bottom: 3.5vw;
        right: 4vw;
    }
    .info__bl {
        position: fixed;
        bottom: 3.5vw;
        left: 4vw;
    }
}

.circle {
    border-radius: 50%;
    border: 3px solid #002691;
    width: calc(60vh + 60vw);
    height: calc(60vh + 60vw);
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.circle {
    border: 3px solid #002691;
    width: calc(160vh + 160vw);
    height: calc(160vh + 160vw);
    top: 20%;
    left: -30%;
    transform: translate(0);
}

@media screen and (max-width: 374px) {
    .cirle {
        border: 2px solid #002691;
    }
}

@media screen and (max-width: 700px) {
    .circle {
        border: 3px solid #002691;
        width: 150vh;
        width: calc(120vh + 50vw);
        height: 150vh;
        height: calc(120vh + 50vw);
        top: 20%;
        left: -14%;
        transform: translate(0);
    }
    /* .footer {
        position: fixed;
        bottom: 2%;
        left: 4%;
    } */
}

@media screen and (min-width: 1220px) {
    .circle {
        border: 4px solid #002691;
        width: 300vh;
        width: calc(170vh + 170vw);
        height: 300vh;
        height: calc(170vh + 170vw);
        top: 14%;
        left: -40%;
        transform: translate(0);
    }
}

a, a:visited {
    color: #000;
    text-decoration: none;
}

a:link,
a:focus,
a:hover,
a:active {
    color: #000;
}

span.line {
  display: inline-block;
}


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

@font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/eb-garamond-v13-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/eb-garamond-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/eb-garamond-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/eb-garamond-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/eb-garamond-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/eb-garamond-v13-latin-regular.svg#EBGaramond') format('svg'); /* Legacy iOS */
  }
  

/* ==========================================================================
   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:
     * 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;
    }
}
