

/*––––––––––––––––––––––––– To Do –––––––––––––––––––––––––*/

/*

- navi & mobile navi
- rework button style

*/

/*––––––––––––––––––––––––– Global –––––––––––––––––––––––––*/

/*Importing Fonts*/
@import url('https://fonts.googleapis.com/css2?family=DM+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vollkorn&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@900&display=swap');

/*Global Variables: Font-Families & Colors*/
:root {
--main-mono-font: 'DM Mono', monospace;
--main-sans-font:'DM Sans', sans-serif;
--main-serif-font: 'Vollkorn', serif;
--main-title-font: 'Merriweather', serif;;
--main-primary-color: #009D6B;
--main-secondary-color: #FFB93D;
--main-tertiary-color: #8B98FF;
--main-bg-color: #efefef;
--main-text-color: #001E3C;
}

/*Global Text Styles*/
h1 {font-family: var(--main-title-font); font-weight: 700; color: var(--main-primary-color);}
h2 {font-family: var(--main-sans-font); font-weight: 500; color: var(--main-text-color);}
h3 {font-family: var(--main-sans-font); font-weight: 700; color: var(--main-primary-color);}
p  {font-family: var(--main-mono-font);                   color: var(--main-text-color);}

.textBox p  {font-family: var(--main-sans-font); font-weight: 400; color: var(--main-text-color); font-size: 2em; }

/*Global Link Styles*/
a:link {color: #080808; background-color: transparent; text-decoration: none;}
a:visited {color: #080808; background-color: transparent; text-decoration: none;}
a:hover {color: #080808; background-color: transparent; text-decoration: none;}
a:active {color: #fff0e6; background-color: transparent; text-decoration: none;}

h2 a:link {color: var(--main-primary-color); background-color: transparent; text-decoration: underline;}
h2 a:visited {color: var(--main-primary-color); background-color: transparent; text-decoration: underline;}
h2 a:hover {color: var(--main-secondary-color); background-color: transparent; text-decoration: none;}
h2 a:active {color: var(--main-secondary-color); background-color: transparent; text-decoration: none;}

.textBox a:link {color: var(--main-primary-color); font-weight: 400; background-color: transparent; text-decoration: underline;}
.textBox a:visited {color: var(--main-primary-color); font-weight: 400; background-color: transparent; text-decoration: underline;}
.textBox a:hover {color: var(--main-secondary-color); font-weight: 400; background-color: transparent; text-decoration: none;}
.textBox a:active {color: var(--main-secondary-color); font-weight: 400; background-color: transparent; text-decoration: none;}

.guide-card-overview h3 {color: white; background-color: transparent; text-decoration: none;}

/*Body & Header*/
body {margin:0; background-color: var(--main-bg-color);}
* {box-sizing: border-box;}

/*––––––––––––––––––––––––– Navigation (+Responsive) –––––––––––––––––––––––––*/

/*Navigation*/
.navigation {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0; 
    background: white;

    position: fixed;
    width: 100%; 
    z-index: 99;
    padding-left: 20px;
    padding-right: 20px;
    height: 8vh;
    align-items: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}
.navigation a {
    text-decoration: none;
    display: block;
    padding: 10px;
    padding-left: 2em;
    padding-right: 2em;

    color: var(--main-primary-color);
    font-family: var(--main-sans-font);
    border-radius: 5px;
}
.navigation a:hover {background: rgba(255, 209, 114, 0.4);}

.logo {
    background-image: url('assets/logo.svg');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    height: 50px; 
    flex: auto; 
}

/*------- Medium Screens -------*/
@media all and (max-width: 800px) {

  .navigation {
    justify-content: space-around;
    position: fixed;
    padding-right: 0px;
  }
}

/*------- Small Screens -------*/
@media all and (max-width: 600px) {

 .navigation {
    flex-flow: column wrap;
    padding: 0;

    position: relative;
    height: auto;
    align-items: stretch;
  }
  .navigation a { 
    text-align: center; 
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255,0.3); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 


    display: none;

  }
  .navigation li:last-of-type a {
    border-bottom: none;
  }
}

/*––––––––––––––––––––––––– Footer –––––––––––––––––––––––––*/

.footer {
    background-color: #fff;
    width: 100%;
    margin-top: 20px;

    text-align: left;
    padding: 14px 50px;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--main-mono-font);
    box-shadow: 0px -2px 4px 0 rgba(0, 0, 0, 0.1);

    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}



/*––––––––––––––––––––––––– Flex Wrapper –––––––––––––––––––––––––*/

/*Content*/
.wrapper {
    display: flex;  
    flex-flow: row wrap;

    padding-top: 8vh;
    margin: 5%;
    margin-top: 0px; 

    justify-content: space-around;
    align-content: space-around;
}

.wrapper > * {
/*    padding: 10px;*/
}

/*––––––––––––––––––––––––– Flex Content Styling –––––––––––––––––––––––––*/

/*Header*/
.header_left {
    height: 88vh;
    text-align: left;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding-right: 50px;
}

.header_right {
    height: 88vh;

    max-width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}

/*Arrow*/
.arrow {
    background-image: url('https://www.pngrepo.com/png/80156/180/down-arrow.png');
    background-position: center;
    background-size: contain; 
    background-repeat: no-repeat;
    height: 4vh; 

    -webkit-transition: all 0.1s ease;
       -moz-transition: all 0.1s ease;
            transition: all 0.1s ease;
}

.arrow:hover {
       -moz-transform: translate(0px, 3px);
    -webkit-transform: translate(0px, 3px);
            transform: translate(0px, 3px);
}


/*Cards*/

.shadowCard {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    border-radius: 10px;
}

.shadowCard:hover {
    transform: translate(0px, -3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    width: 400px;
    margin: 10% 3% 0 3%; /*top, right, bottom, left*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.card:hover {
    transform: translate(0px, -3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-picture {
    max-width: 100%;
    background-size: cover;
    background-position: center;

    width: 100%;
    height: 250px;
}

.card-title {
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 1%;
    text-align: left;
}

/*Spacer*/
.spacer {
    height: auto;
    width: 100%;
    padding: 40px;
    margin-bottom: 5%;
    background-color: transparent; 
}

/*––––––––––––––––––––––––– Text Box –––––––––––––––––––––––––*/


.textBox {
  display: flex;
  flex-flow: column;
  justify-content: center;
  background-color: white;
  padding: 100px;
  margin-top: 100px;
  border-radius: 10px;
}

.textBox h2 {
  font-family: var(--main-title-font);
  font-size: 2.2em;
  color: var(--main-primary-color);
}


/*––––––––––––––––––––––––– Magic –––––––––––––––––––––––––*/

.header_left  { order: 0; flex: 1 0 25%;}    /*safe*/
.header_right { order: 0; flex: 2 0 40%;}    /*safe*/
.arrow        { order: 0; flex: 1 0 100%;}   /*safe*/
.card         { order: 0; }                  /*safe*/
.spacer       { order: 0; flex: 1 100%;}     /*safe*/

/*------- Medium Screens -------*/
@media all and (max-width: 800px) {
  .arrow {display: initial;}

  .textBox {padding: 32px;}
  .textBox p  {
  	font-family: var(--main-sans-font); 
  	font-weight: 400; 
  	color: var(--main-text-color); 
  	font-size: 1.6em; 
  	line-height: 1.4em;
  	}
}

/*------- Small Screens -------*/
@media all and (max-width: 600px) {

  .wrapper > * {flex: 1 100%;}
  .wrapper {padding-top: 0px;}

  .card {margin: 10% 0 0 0;} /*top, right, bottom, left*/
  .card-picture {height: 200px;}

  .header_left {height: auto; padding-top: 30px;}
  .header_right {height: 40vh;}
  .arrow {display: none}


  .textBox {padding: 20px;}
}


/*––––––––––––––––––––––––– Font Sizes (+Responsive) –––––––––––––––––––––––––*/

h1 {font-size: 4em;}
h2 {font-size: 1.2em;}
h3 {font-size: 1.3em;}
p  {font-size: 1em;}


/*------- Medium Screens -------*/
@media all and (max-width: 800px) {

  h1 {font-size: 3em;}
  h2 {font-size: 1.4em;}
  h3 {font-size: 1.4em;}
}

/*------- Small Screens -------*/
@media all and (max-width: 600px) {

  h1 {font-size: 2em; margin: 0;}
  h2 {font-size: 1.2em;}
  h3 {font-size: 1.3em;line-height: 1em;}
  p  {font-size: 0.9em;}
}





/*–––––––––––––XXXXXXXXXXXX–––––––––––– How Overviews –––––––––––––XXXXXXXXXXXX––––––––––––*/

.guide-card-overview {
  display: flex;
  flex-flow: column;
  justify-content: space-around;

  height: 300px;
  width: 200px;
  margin: 30px;
  order: 1;

  text-align: center;
  font-family: var(--main-sans-font);
  font-size: 1rem;
  font-weight: 500;
  padding: 30px 0 50px 0;
}

.guide-card-overview h3 a{
  color: white;
  font-size: 1em; 
}

.guide-card-overview-icon {
  background-size: contain; 
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100px;
}


.header-subpage {
  height: 300px;
  min-width: 200px;
  background-color: transparent;
  margin: 30px;
}


/*–––––––––––––XXXXXXXXXXXX–––––––––––– How Detail Sliders –––––––––––––XXXXXXXXXXXX––––––––––––*/

.slider-wrapper {
  display: flex;
  flex-flow: row;
  position: absolute; left: 0; right: 0; top: 8vh; bottom: 0;

  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;  
  scroll-behavior: smooth;

  /*overflow-x: auto;*/
  overflow: hidden;
  height: 92vh;
  background-color: var(--main-bg-color);
}

.slider-wrapper > div {
  scroll-snap-align: start;
  opacity: 0;
}

.slider-wrapper > div:target {
  opacity: 1;
  transition: opacity 1s;
  transition-delay: 0.25s;
  transition-timing-function: ease;
}

.page-wrapper {
  width: 100%;
  height: 100%;
  padding: 0 5% 0 5%;

  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;

  flex-shrink: 0;
}

/*––––––––––––––––––––––––– Slider Controls –––––––––––––––––––––––––*/

.slider-control {
  width: 50px;
  height: 50px;
  cursor: pointer; 
  opacity: 0.25;
  background-size: contain; 
  background-position: center;
  background-repeat: no-repeat;
}

.slider-control:hover {opacity: 0.5;}

.previous {background-image: url(assets/arrow-left.svg);}

.next {background-image: url(assets/arrow-right.svg);}


/*––––––––––––––––––––––––– Detail Cards –––––––––––––––––––––––––*/

.guide-card-detail {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  overflow: scroll;
  padding: 30px;

  height: 450px;
  width: 350px;
  margin: 30px;
  
  text-align: center;
  font-family: var(--main-sans-font);
  font-size: 1rem;
  font-weight: 500;
}

.guide-card-detail > *{
  margin-bottom: 30px;
}

.guide-card-wrapper {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
}

.guide-card-photo {
  background-size: contain; 
  background-position: center;
  background-repeat: no-repeat; 
  min-height: 390px;
}

.guide-card-photo-description{

}

/*------- Medium Screens -------*/
@media all and (max-width: 800px) {
  .slider-wrapper {}

  .page-wrapper {align-items: flex-start; padding: 0;}

  .guide-card-wrapper {
    flex-flow: column; 
    justify-content: flex-start;
    overflow: scroll;
    height: 100%;
    width: auto;
  }

  .guide-card-detail {
    margin: 20px;
    flex-shrink: 0;
    height: auto;
    overflow: auto;
  }

  .slider-control { min-width: 25px;}

  #first-control-spacer {min-width: 25px;}

  #last-control-spacer {min-width: 25px;}

  .guide-card-detail:hover{transform: none;}


}

/*------- Small Screens -------*/
@media all and (max-width: 600px) {
.guide-card-detail {
  height: auto;
  width: inherit;
  margin: 0;
}



