body
{
	font-family:Century Gothic,Verdana,Tahoma,Arial; 
	font-size:small; 
	color: #158cb0; /* pastel blue; #158cb0; dark blue: #405480; regular blue: #225aca; */ 
  background-color:#f4fcff;
  /*background-image: url("../media/IMG_8057-1line.jpg");*/
  /*#background-image: linear-gradient(to right, #c8d7f4 , #f3fbfe);*/
  /*background-size: 100vw;
  background-repeat: repeat-y;*/
  /*max-width: 920px; */
  width: 100vw;
  text-align:center; 
  padding: 0px;
  position: relative;
  margin: 0px; /*8px 5px;*/
  display: block;
}

header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  width: 98vw;
  background-color: #158cb0 ; /* #c8f2ff;*/
  justify-content: space-between;
  padding: 0 1vw;
  font-size: small;
  display: none;
}
.footer {
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: row-reverse;
  flex-flow: column;
  right: 0px;
  width: 100%;
  z-index: 10;
}

footer {
  right: 0px;
  display: flex;
  justify-content: space-between;

  align-items: center;
  text-align:right; 

  font-size: small;
  padding: 0 5px 0 0;
}

.copyright {
  /*justify-content: right;
   bottom: 20px;*/
   flex-direction: row-reverse;
   background-color: transparent;
}
#copyright {
  font-size: smaller;
}

/*
.footer-nav {
  background-color: #158cb0;
}
*/

a:link, a:visited
{
  text-decoration:none;
  color: #158cb0; /* pastel blue; #158cb0; dark blue: #405480; regular blue: #225aca; */ 
}

a:hover, a:active 
{
  text-decoration:none;
  color: #158cb0; /* pastel blue; #158cb0; dark blue: #405480; regular blue: #225aca; */ 
} 

ul {
  padding: 0 0 0 30px;
}


.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #158cb0;
  float: left;
}

.nav-links a{
  display: block;
  color: white;
  text-align: center;
  padding: 10px 9px;
  text-decoration: none;
}

.nav-links a:hover:not(.active){
  background-color: #0a71a1;
}

.nav-links .active{
  background-color: #f4fcff;
  color: #158cb0;
}

.zoom {
  display: inline-block; /* this is needed for inline elements */
  transition: transform 0.2s ease-in-out;
  margin: 0px 3px;
}

.zoom:hover {
  transform: scale(1.1);
}

.center {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  /*font-size: medium;*/
}

.bgimg { 
  width: 100vw;
  height: auto;
  /*max-height: 380px;*/
  max-height: 95vh;
  /*opacity: 0.3;*/
  object-fit:cover;
  object-position: center 90%;
 /* object-position: 68% bottom;
 object-position: bottom; */
}

.fgimg { 
  width: 25vw;
  height: auto;
  /*opacity: 0.3;*/
}

.top-text {
  z-index:2;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -10%);
  /*color: #225aca;*/
  border-width: 0px;
  border-style: solid;
  margin: 10px;
  font-size: medium;
  min-width: 190px;
  width: 80vw; /*100vw;*/
  text-align: left;
  /*-webkit-text-stroke: 0.2px black;
  text-shadow: -0.2px 0 white, 0 0.2px black, 0.2px 0 white, 0 -0.2px white;*/
}
.softbg {
  z-index: -1;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -10%);
  background-color: white; /* #ede9e8;*/
  opacity: 0.5;
  padding: 1vh 1vw;
  position:absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.5em;
}

#about , #main-div{
  /*background-image: url("../media/IMG_8057-croptop.jpg");*/
  /*background-repeat: no-repeat;
  background-size: 100vw;*/
  min-height: 57vw;
  /*height: 100vh;*/
  vertical-align: bottom;
  position: relative;
}
.main-text{
  /*position: relative;*/
  /*top: 15%; percent has no effect on relative, use absolute numbers like px or em, better use transform for %*/
  /*
  left: 50%;
  transform: translate(-50%, 10%);
  /*color: #225aca;*/
  border-width: 1px;
  border-style: none;
  border-radius: 10%;
  margin: 10px;
  padding: 10px 10vw;
  font-size: medium;
  min-width: 190px;
  width: 80vw;
  text-align: left;
}

.main-text ul {
  padding: 0 0 0 30px;
}
.main-text li {
  padding: 3px;
}

.block {
  display: block;
	border-width: 2px 1px 1px 1px;
	border-style: solid;
	padding: 1px;
	margin: 5px 0px;
}

#nav-bar {
  text-align: left;
  display: flex;
  align-items: center;
}

#nav-links2 {
  width: 100%;
  /* new */
  display: flex;
  justify-content: flex-end;
  /* align-items: center; */
}

.nav-links {
  padding: 0px 0px;
  float: right;
}

img.nav{
  height: 30px;
  position: relative;
  margin: 0;
  padding: 0;
}

/* BURGER */

#burger {
  /* hide by default for laptop / desktop */
  display: none;
}

#burger-menu {
  /*display: block;*/
  transition: transform 0.2s ease-in-out;
  position: fixed;
  bottom: -6px;
  right:0;
  width: 100%;
}
#burger-menu > .nav-links {
  border-top: #d5f1fc solid 0.5px;
}

/* HAMBURGER */

.visuallyHidden {
  display: none;
  margin:0;
}

.hamburger {
  margin: 0 auto;
  /*margin-top: 30px;*/
  width: 30px;
  height: 30px;
  position: relative;
  transform: scale(0.6);
}

.hamburger .bar {
  padding: 0;
  width: 30px;
  height: 4px;
  background-color: white;
  display: block;
  border-radius: 4px;
  transition: all 0.4s ease-in-out;
  position: absolute; 
}

.bar1 {
  top: 0;
}

.bar2,
.bar3 {
  top: 13.5px;
}

.bar3 {
  right: 0;
}

.bar4 {
  bottom: 0;
}

.hamburger .bar4 {
    top: 13.5px;
}

.hamburger .bar5 {
    bottom: 0px;
}

.hamburger .bar {
    transition: all 0.4s ease-in-out; /*add following to turn cross after showing menu:", transform 0.4s ease-in-out 0.4s;" */
}

.hamburger .bar2 {
    width: 1px;
    transform: rotate(90deg);
    left: 13.5px;
}

.hamburger .bar3 {
    width: 1px;
    left: 13.5px;
    
}

.check:checked ~ #burger > label > .hamburger > .bar1{
    top: 13.5px;
    background-color: transparent;
}

.check:checked ~ #burger > label > .hamburger > .bar2{
    left: 0px;
    width: 30px;
    transform: rotate(45deg);
}

.check:checked ~ #burger > label > .hamburger > .bar3{
    left: 0;
    width: 30px;
    transform: rotate(-45deg);
}

.check:checked ~ #burger > label > .hamburger > .bar4{
    background-color: transparent;
}

.check:checked ~ #burger > label > .hamburger > .bar5{
    bottom: 13.5px;
    background-color: transparent; 
}

/*****************************************************/ 
/****** media queries *******/
/*****************************************************/ 

@media only screen and (min-width: 1024px) { 
  /* basically laptop or desktop */
  /* show nav at bottom and hide top nav */
  .footer {
    display: none;
  }
  header {
    display: flex;
  }
}

/*@media only screen and (max-width: 1023px) { 
  /* basically any handheld device */
  /* show nav at bottom and hide top nav */
/*}*/

@media only screen and (max-width: 520px) { /*520px) {  */

  .main-text {
    flex-flow: column;
  }
  
  .bgimg { 
    height: 100vh;
  }
  
  /* hide it when screen is too small:  */
  img.nav{  
    position: relative;
    visibility: hidden;
    width:0;
  }
  
  .zoom {
    margin: 0;
  }
  
  .zoom:hover {
    transform: scale(1);
  }
} 

@media only screen and (max-width: 390px) { /*375px) {*/
  /* for iphone 5/6/7/8 and below (<375) ...and include also galaxys and pixels with similar resolution (<390)*/
  .main-text{
    font-size: small;
  }
  .nav-links a {
    padding: 10px 6px;
  }
  .bgimg{
    /*max-height: 440px;*/
    max-height: 95vh; /*100vh;*/
  }
}

/*@media only screen and (max-width: 375px) { /*375px) {*/
/*}*/

@media only screen and (min-height: 580px) {
  /* for iphone 6/7/8 and higher ...*/
  .bgimg{
    /*max-height: 650px;*/
    max-height: 100vh;
  }
}
@media only screen and (max-width: 342px) and (orientation: portrait) { /* 342 378 360 320px) {*/
  /* for iphone 4/5 and below (<325) ... and include also galaxys and pixels with similar resolution (<360)*/
  .main-text{
    font-size: small;
   /* top: 50%;*/
  }
  .nav-links a {
    padding: 10px 7px;
  }
  header, footer {
    font-size: small; /*x-small;*/
  }

  footer {
    background-color: #158cb0;
  }

  .bgimg{
    /*max-height: 340px;*/
    max-height: 100vh;
  }
  
  #nav-icon1{
    display: block;
  }

  #burger {
    display: contents;
  }

  #burger-menu {
    bottom: -240px;
  }

  #check:checked ~ #burger-menu {
    transform: translate(0, -270px);
    transition: 0.4s;
  }
  #check:checked ~ #burger-menu > #nav-links2 {
    flex-flow: column;
  }

  .zoom {
    margin: 0;
    border-bottom: #efe4ec solid 0.5px;
  }
}

@media only screen and (max-width: 240px) { 
  /* for nokia 8110 4g and devices with similar resolution*/
  .main-text{
    font-size: x-small;
   /* top: 50%;*/
  }
  .nav-links a {
    padding: 5px 1px;
  }
  header, footer {
    font-size: x-small; /*xx-small;*/
  }
    /*  hide it when screen is too small:  */
  img.nav{  
    position: relative;
    visibility: hidden;
    width:0;
  }
}

@media only screen and (orientation: landscape) and (max-height: 375px) {
  /* iphone xs in landscape mode */
  .bgimg{
    /*max-height: 440px;*/
    max-height: 100vh;
  }
}
/* end media queries */

