@font-face {
    font-family: "Raleway Light";
    src: url(../fonts/raleway-light.ttf) format("TrueType");
}

@font-face {
    font-family: "Raleway";
    src: url(../fonts/raleway-regular.ttf) format("TrueType");
}

@font-face {
    font-family: "Raleway Medium";
    src: url(../fonts/raleway-medium.ttf) format("TrueType");
}

@font-face {
    font-family: "Garamond Italics";
    src: url(../fonts/GaramondNo8-Ita.ttf) format("TrueType");
}



/*css reset*/

html, blockquote, body, center, div, h1, h2, h3, h4, h5, h6, p, ul, li, img, figure, th {
    margin: 0;
    padding: 0;
    font-weight:normal;
}

article, aside, figure, footer, header, hgroup,
menu, nav, section {
    display: block;
}

:root {
   --primary: #ddd;
   --secondary:#cde6d9;
    --darkgrey: #222;
    --mediumgrey: #777;
    --lightgrey: #bbb;
    --link: #b0582c;
    --current:#000; /*#c44b20;*/
    --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
    --swiper-theme-color: #333;
}




/*
=====================================
TYPOGRAPHY
=====================================
*/

html {
    box-sizing: border-box;
    font-family: "Raleway Medium";
    font-size: 62%;
    background: #fff;
}

@media screen and (min-width: 34em /*544px*/) {
    html {
    font-size: 68%;
   }
}

body {
    color: #222;
}

p, ul {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

@media screen and (min-width: 34em /*544px*/) {p{line-height: 1.5;}}

section {
    margin-top: 4.6rem;
}

ul {
    list-style-image: url(../images/8x8square.jpg);
    line-height: 1.8;
    margin-left: 2em;
}

h1 {
    font-family: "Lato", sans-serif;
    font-size: 2.4rem;
    line-height: 1.4;
    text-align: center;
    margin-top: 3.2rem;
    margin-bottom: 1.8rem;
}

.banner h1  {
    font-family: "Raleway Light", sans-serif;
    font-size: 4.5rem;
    color: #fff;
}

h2 {
     font-family: "Raleway";
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 2.4rem;
   
}

h3 {
     font-family: "Raleway";
    font-size: 1.5rem;
    line-height: 1.5em;
    text-align: center;
    margin-top: .4rem;
    }

.dark_bg {
    background: #bddee9;
    padding: 2rem;
}

.edit p {
    position: absolute;
    background: var(--secondary);
    z-index: 99;
    padding: 0.5rem;
    margin: 0;
}

.centre-text {
    text-align: center;
}

/* Utilities */

.flex {
    display: flex;
}

/*
.container {
    max-width: 1200px;
    margin: 0 auto;
}
*/

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/*
==================================================
HEADER
==================================================
*/

#header {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.98);
    padding: 20px 10px; /* Large padding which will shrink on scroll (using JS) */
    transition: 0.4s; /* Adds a transition effect when the padding is decreased */
    position: fixed; /* Sticky/fixed navbar */
    top: 0; /* At the top */
    z-index: 99;
   box-shadow: 0px 3px 5px #ccc;
}

.header {
    width: 100%;
    height: 140px;
}

#logo{
    display: block;
    margin: 0 auto;
    width: 250px;
    transition: 0.4s;
}

.svg-container {
    
}


#subheading {
    display: block;
    font-size: 1.6em;
    color: #888;
   text-align: center;
  margin: 1em 0;
    transition: 0.4s;
}



/*
==================================================
CONTENT
==================================================
*/

.content {
    max-width: 800px;
    padding: 10px;
    margin: 0 auto;
}


/*
========================================
SLIDER    https://swiperjs.com
========================================
*/

.swiper {
    position: relative;
    width: 100%;
    height: 410px;
    border: solid 1px #eee;
    margin-bottom: 3rem;
     background: url(../images/verge-papier_bg.jpg);
        -webkit-background-size: cover;
        background-size: cover;
        background-position: center;
}

@media screen and (min-width: 36em) /* 576px */ {.swiper {height: 350px;}}

.swiper-slide {
align-items: center;
    
        }

section h2 {
grid-row: 1 / 2;
   justify-self: end;
}

.swiper-slide h3 {
font-size: 1.2rem;
    margin-top: .8rem;
    color: #777;
    height: 30px;
    
}

.swiper-slide p {
    font-family: "Garamond Italics";
    text-align: center;
    line-height: 1.6;
    font-size: 1.8rem;
    margin: 0 16%;
    margin-top: 2.2rem;
   
}

.parallax-bg {
        position: absolute;
        left: 0;
        top: 0;
        width: 130%;
        height: 100%;
   
      }


.swiper-scrollbar {
    visibility: hidden;
}

.swiper-button-prev, .swiper-button-next {
    color: #ddd;
}



/* 
======================================
FOOTER
====================================== 
*/
footer {
    background-color: var(--secondary);
    padding: 1em;
    margin-top: 2rem;
  }

  footer p {
    text-align: center;
    font-size: 1.4em;
}

.grey {
    color: #888;
}


/*
=====================================
IMAGES
=====================================
*/
img {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
}

.card{
    position: relative;
    box-sizing: border-box;
/*    border: 1px solid #e8e8e8;*/
    border-radius: 2px;
    margin-bottom: 20px;
    padding: 10px 30px 20px 30px;
    box-shadow: 0px 0px 14px #e8e8e8;
}

.caption {
    color: #000;
    padding: 6px 0;
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
/*    width: 100%;*/
    padding: 8px 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--current);;
    background: rgba(230,230,230,1);
}

/*
=====================================================================================
 #gallery pertains to the photo viewer on the "photo" page.

 Software used for the photo viewer is FancyBox, see: http://fancyapps.com/fancybox/
=====================================================================================
*/

.gallery {
    width: 315px;                  /* set to 176, 352, 528 or 704= 150(thumbnail width)*3(number of photos in a row)+10(margin)*6+2(padding)*6+1(border)*6 */
    margin: 0 auto;
    
}

.gallery ul {
    list-style: none;
    margin:0;
}

.gallery li {
    margin: 0 auto;
}

.
@media screen and (min-width: 58em ) /* 928px */ {.gallery li {margin: 0;}}


.gallery img {
    display: block;
    

}

.gallery img:hover {
    box-shadow: 0px 0px 24px #777;
}

@media screen and (min-width: 36em) /* 576px */ {.gallery {width: 565px;}}
@media screen and (min-width: 46em ) /* 736px */ {.gallery {width: 565px;}}
@media screen and (min-width: 58em ) /* 928px */ {.gallery {width: 812px;}}

.help p {
    font-size: 1.3rem;
}

/*
=====================================
LINKS
=====================================
*/

a {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    border-bottom: solid 1px transparent;
}

a, a:visited {
    color: var(--mediumgrey);
}

p a, p a:visited {
    color: var(--link);
}

a:hover {
     border-bottom: solid 1px var(--link);

}




/*
=====================================
HELPERS
=====================================
*/
    


