/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgba(189, 217, 241, 0.877); /* Bluey fallback color */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 15%; /* 25% from the top */
  width: 40%; /* 100% width */
  text-align: left; /* Centered text/links */
  margin-top: 6%; /* 30px top margin to avoid conflict with the close button on smaller screens */
}


/* The navigation links inside the overlay */
.overlay a {
  padding: 5%;
  text-decoration: none;
  font-size: 3vw;
  color:rgba(71, 163, 224, 0.877); 
  display: block; /* Display block instead of inline */
  transition: 0.2s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color:rgb(6, 44, 80);

}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 8%;
  right: 6%;
  font-size: 5vw;
}
/* Hamburger Nav element */
span {
font-size:2em;
visibility: visible;
color: rgb(255, 255, 255); 
margin-left:1%;
margin-top:0%;
display:flex;
margin-right:1%;
}

span:hover{
color:rgb(100, 178, 230); 
transition: 0.2s;
}

head {
 font-family: 'Open Sans', monospace;
}

h4 {
  font-size: 2vw;
  color: black;
  text-align: center;
  padding:0;
  margin: 5% 50% 0% 8%;
  font-family: 'Open sans', monospace;
}

nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}

/* Navigation */
ul {
  display: flex;
  padding: 5%;
  position: sticky;
  z-index: 7;
  width: 100%;
  overflow: hidden;
  font-family: 'Open Sans', monospace;
  font-size: 1.5vw;
  letter-spacing: 0;
  background-color:rgba(131, 205, 240, 0.877); 
}


/* Style the "active" element to highlight the current page */
.topsearch a.active {
  background-color: #2196F3;
  color: rgb(12, 3, 3);
}

/* Style the search box inside the navigation bar */
.topsearch input[type=text] {
  float: right;
  border-radius: 3%;
  padding:3%;
  border-color:black;
  font-size: 1.2vw;
  margin-top:5%;
  margin-right: -10%;
  margin-bottom: 4%;
  font-family: 'Open Sans', monospace;
}

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */
@media screen and (max-width: 600px) {
  .topsearch a, .topsearch input[type=text] {
    float: right;
    text-align: right;
    width: 100%;
    margin: 0;
    padding: 12px;
  }
  .topsearch input[type=text] {
    border: 1px solid rgb(17, 13, 13);
  }
}


li {
float: left;
}

li a {
display: block;
color:rgb(255, 255, 255);
text-align: center;
padding: 14px 16px;
font-weight: bold;
text-decoration: none;
display:block;
}

li a:hover {
background-color:rgba(131, 205, 240, 0.877) ;
}

@media screen and (max-width:600px) {
    span{visibility:visible;}
    nav{visibility:hidden;}
}

@media screen and (max-width:1800px) {
nav{visibility:visible;}
}

body {
  color:white;
}
/* Title on home page */
.h1.home{
  color: black;
font-size: 120px;
font-family: 'Open Sans', monospace;
text-align: left;
padding:5px;
left:0;
margin:0% 0% 0% -4%;
}
/* Title on other pages */
h1{
color: black;
font-size: 8vw;
font-family: 'Open Sans', monospace;
text-align: left;
padding:5px;
margin: 5% 10% 0% 10%;
}


h3{
font-family: 'Open Sans', monospace;
font-size: 3vw;
text-align: left;
margin: 0 12% 0 12%;
color:black;
}
/* Paragraphs */
p {
font-family: 'Open Sans', monospace;
color: black;
text-align: center;
font-size: 2vw;
font-weight: bold;
margin: 5% 50% 15% 6.5%;
}

h2{
  font-size: 3vw;
  font-family: 'Open Sans', monospace;
  float: left;
  position:sticky;
}
/* editing images*/
img { 
  width: 40%;
  float: right;
  position: absolute; 
  top:0;
  right:0;
  overflow: scroll;
  height:auto;
}
.image-container {
  background-image: url("img_nature.jpg"); /* The image used - important! */
  background-size: cover;
  position: relative; /* Needed to position the cutout text in the middle of the image */
  height: 300px; /* Some height */
}
/* 'Do you know your rights' */
.text {
  background-color: rgb(255, 255, 255);
  color: black;
  font-size: 7vw; /* Responsive font size */
  font-family: 'Open Sans', monospace;
  margin: 0 auto; /* Center the text container */
  padding: 5px;
  width: 90%;
  text-align: center; /* Center text */
  position: absolute; /* Position text */
  top: 50%; /* Position text in the middle */
  left: 50%; /* Position text in the middle */
  transform: translate(-50%, -50%); /* Position text in the middle */
  mix-blend-mode: screen; /* This makes the cutout text possible */
}

.books{
  padding:0;
}
/* box within parrallax */
.card {
  width:80%;
  float:left;
  margin:2% 5% 5% 10%;
  height:80%;
  overflow:hidden;
  border-radius: 10px;
}

.card p{
  text-align: center;
  margin: 5% 0 0 0;
  font-weight: bold;
}

.clearfix {
  float:none;
  clear:both;
}

.hover-text{
  width:100%;
  background-color:#ffffffbe;
  position:relative;
  top:-58px;
  display:flex;
}

.hover-text:hover{
  top:-89px;
  transition: ease-in-out 1.5s;  

}
.footer{
  background-color:rgba(131, 205, 240, 0.877);
  width: 100%;
  height:10%;
  color:rgb(255, 255, 255);
}
.footer p{
  color: rgb(255, 255, 255);
  font-family: 'Open Sans', monospace;
  text-align: center;
  margin: 2% 2% 2% 2%;
}

.footer a{
  color:rgb(255, 255, 255);
  font-size:2vw;
  text-decoration:none;
  margin:3% 3% 3% 3%;
}

img.phone{
width: 25%;
margin:15% 10% 30% 40%
}
.a.contact{
  font-family: 'Open Sans', monospace;
  color: black;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 5% 50% 15% 5%;
}

.p.contact{
  font-family: 'Open Sans', monospace;
color: black;
text-align: center;
font-size: 2vw;
font-weight: bold;
margin: 5% 50% 15% 5%;
}

@media screen and (max-width:600px) {
  img{visibility:visible;}
  nav{visibility:hidden;}
}

@media screen and (max-width:1800px) {
nav{visibility:visible;}
}
.homebox{
  margin: -2% -2% 10% -2%;
}
.parallax {
  /* The image used */
  background-image: url("gumboots.jpg");

  /* Set a specific height */
  min-height: 100%;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-article {
 /* The image used */
 background-image: url("school_image.jpeg");
  
 /* Set a specific height */
 min-height: 100%;

 /* Create the parallax scrolling effect */
 background-attachment: fixed;
 background-position: center;
 background-repeat: no-repeat;
 background-size: cover;
}
.article-p{
  margin-bottom:25%;
}
.article-books{
  padding:10px;
}
/* box within parrallax */
.article-card {
  width:80%;
  float:left;
  margin:12% 10% 10% 10%;
  overflow:hidden;
}

.article-card p{
  text-align: center;
  margin: 5% 0 0 0;
  font-weight: bold;
}

.article-clearfix {
  float:none;
  clear:both;
}

.article-hover-text{
  width:100%;
  background-color:rgba(131, 205, 240, 0.788); 
  position:relative;
  top:-58px;
  display:flex;
}

.article-hover-text:hover{
  top:-89px;
  transition: ease-in-out 1.5s;  

}