
/* Adds rounded corners and padding to the boxes. The colon in front of root specifies the highest level parent element,
so all children are also formatted the same.  */

:root {
    --radius: 5px;
    --padding: 10px;
}
/* Style the grid */
.grid {
	background-color: white;
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto;
	color: white;
	text-align: center;
	grid-gap: 3px;
}

/*Style the headers */
header {
    background-color: rgb(86, 134, 130);
    border-radius: var(--radius);
    padding-top: var(--padding);
    border: double rgb(198, 210, 206) 15px;
	width:94.6%;
	height:88%;
}


#headingfont {
    font-size: min(400%, 5vw);
    font-weight: bold;
    color: white;
    text-align: center;
    padding-bottom: 5%;
}

h1 {
    padding-top: 3%;
}

/* Style the navbar */
.navbar {
	background-color: rgb(91, 151, 104);
	border-radius: var(--radius);
	padding-top: var(--padding);
	text-align: center;
}

/* Highlights menu when hovering over */
nav a:hover{ 
	background-color: #ffffff; 
	color: #000000; 
} 

#nav ul{
    list-style: none; /* Removes bullets */
    position: relative; /* so the submenus can be positioned */
    text-align: center;
    padding-bottom: 2%;
}

#nav ul li:hover > ul {     /* Select ul child of ul element */
    display:block;          /* Display submenu on hover of li element */
}

#nav > ::after{
    content: "";  /* Add empty content to the end of the first ul */
    display: block; /* Display that content as a block element */
    clear: both;  /* Stop the floating of the li elements */
    text-align: center;
}

ul {
    display:flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: space-around;
    padding-top: 1%;
    padding-bottom: 0;
}

li {
    width: 100%;
    text-align: center;
    justify-content: center;
}

a{
    text-decoration: none;

}

/* Styling sidebar */
.sidebar {
    background-color:rgb(171, 215, 213);
    border-radius: var(--radius);
    padding: 0;
}

h3 {
    color: black;
}
#glass {
    color:black
}

#rainer {
    padding-top: 15px;
}



/* Style Main Content */
.content {
    background-color: rgb(122, 171, 122);
    border-radius: var(--radius);
    padding-top: var(--padding);
}

figure{
    float: center;
}

figcaption {
    display: block;
    font-weight: bold;
    padding-top: 2%;
    color: black;
}


.footer {
    background-color: rgb(98, 160, 151);
    border-radius: var(--radius);
    padding-top: var(--padding);
}
 
/* Pages styling */
.underConstruction {
   text-align: center;
}

.constructionpics {
display: block;
margin-left: auto;
margin-right: auto;
}

#besthike {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#bod{
  width:100%;
}

.video {
	max-width: 100%;
}

@media screen and (min-width: 800px) {
	header {
	    grid-column-start: 1;
	    grid-column-end: 3;  
		width: 98%;
	}
	
	.navbar {
		grid-column-start: 1;
		grid-column-end: 3;
		grid-row-start: 2;
		grid-row-end: 3;
	}

	.footer {
	    grid-column-start: 1;
	    grid-column-end: 3;  
	}
}