/* 
	Default font size - 16px
*/

/* HTML Selectors */
body {
	background-color: #f2d2a2;
  background-image: url("https://codecraftworks.dev/web/cxjzMBrDyeAtJosbbnF5/assets/sand.jpg");
  background-size: 100%;
}

h1 {
	text-shadow: 3px 3px 10px gray;
}

h1,
h2 {
	text-align: center;
  font-family: "Cinzel", serif;
}

p {
	font-family: "Roboto", sans-serif;
  font-size: 1rem;
}

ul,
ol {
	display: inline-block;
}

video,
img {
	max-width: 100%;
}

footer {
	text-align: center;
  font-weight: bold;
  background-color: white;
}

details {
	cursor: pointer;
}

/* IDs */
#intro,
#nasa {
	border: 2px solid black;
}
#aquatic {
	border: 2px solid blue;
  background-color: #a5edff;
  background: -webkit-linear-gradient(180deg,rgba(165, 237, 255, 1) 37%, rgba(116, 169, 207, 1) 83%);
  background: -moz-linear-gradient(180deg,rgba(165, 237, 255, 1) 37%, rgba(116, 169, 207, 1) 83%);
  background: linear-gradient(180deg,rgba(165, 237, 255, 1) 37%, rgba(116, 169, 207, 1) 83%);
  filter: progid:DXImageTransform.Microsoft.gradient(
    startColorstr="#A5EDFF",
    endColorstr="#74A9CF",
    GradientType=0
  );
}
#aquatic h2 {
	background: linear-gradient(0deg,rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
  background-clip: text;
  color: transparent;
}
#aquatic h2:before,
#aquatic h2:after {
	content: "🌊";
}
#aqua-content {
	text-align: left;
}
#aqua-content img {
	float: right;
  padding: 1em;
}


#forest {
	border: 2px solid green;
  background-color: #c4ffa5;
  background: -webkit-linear-gradient(180deg,rgba(196, 255, 165, 1) 37%, rgba(143, 207, 112, 1) 83%);
  background: -moz-linear-gradient(180deg,rgba(196, 255, 165, 1) 37%, rgba(143, 207, 112, 1) 83%);
  background: linear-gradient(180deg,rgba(196, 255, 165, 1) 37%, rgba(143, 207, 112, 1) 83%);
  filter: progid:DXImageTransform.Microsoft.gradient(
    startColorstr="#C4FFA5",
    endColorstr="#8FCF70",
    GradientType=0
  );
}
#forest h2:before,
#forest h2:after {
	content: "🌲";
}
#forest-content {
	text-align: left;
}
#forest-content img {
	float: left;
  padding-right: 1em;
}
#forest aside {
	background-color: #6dc13f;
  border-radius: 0.5em;
  padding: 0.2em;
}

#btt {
	background-color: white;
  padding: 0.5em;
  display: inline-block;
  border-radius: 1em;
  border: 2px solid black;
  position: fixed;
  right: 10px;
  bottom: 50px;
}

#ng {
	font-weight: 800; 
  text-decoration: underline overline;
  color: black;
}

/*
#nav {
	background-color: #a08436;
  margin-bottom: 1em;
  position: sticky;
  top: 5px;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
#nav p {
  margin: 0.5em;
}
#nav a {
	background-color: #e2c576;
  padding: 0.5em 2em;
  border: 2px #a88d45 solid;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.1em;
  color: black;
}
#nav a:hover {
	background-color: #a88d45;
  border: 2px #e2c576 solid;
  color: white;
}
#nav a:active {
	background-color: white;
  color: black;
}
*/

#nav {
	width: 100%;
  background-color: #a08436;
  margin-bottom: 1em;
}
#navitems {
	display: flex;
}
#navitems a {
	flex-grow: 1;
  flex-basis: 0;
  padding: 10px;
  text-decoration: none;
  text-align: center;
  background-color: #e2c576;
  color: black;
  border: 2px #a88d45 solid;
  text-transform: uppercase;
  box-sizing: border-box;
  display: block;
  width: 100%;
}
#navitems a:hover {
	background-color: #a88d45;
  border: 2px #e2c576 solid;
  color: white;
} 
#navitems a:focus {
	outline: 2px dashed blue;
  border-radius: 3px;
}

#nasa a:link {
	color: #3856c1;
}
#nasa a:visited {
	color: red;
}

#biomes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 20px;
  flex-direction: column;
}

#nav label { 
  display: inline-block;
  color: black;
  background: #e2c576;
  font-style: normal;
  font-size: 1.2em;
  padding: 10px;
  cursor: pointer;
}
#mobile {
	display: none;
}
#navitems { 
  display: none;
}
#nav input:checked ~ #navitems {
  display: block;
}

/* Classes */
.box {
	background-color: white;
  text-align: center;
  padding: 0.5em;
  margin-bottom: 1.5em;
  border-radius: 1em;
  box-shadow: 2px 2px 5px black;
  flex: 0 0 calc(50% - 10px);
  box-sizing: border-box;
}

.clearfix:after {
	content: "";
  clear: both;
  display: table;
}

.sr-only {
	position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sr-only:focus {
	position: static;
  width: auto;
  height: auto;
}
.blue {
	color: blue;
}

/* 
	Media Query 

	Recommended Breakpoints
	• Mobile ~ 576px
	• Tablet ~ 768px or 992px
	• Small Desktop/Laptop ~ 1200px
	• Large Desktop ~ 1400px
*/
@media screen and (min-width: 576px) {
  body {
  	color: red;
  }
  #navitems {
  	display: flex;
  }
  #nav label {
  	display: none;
  }
}
@media screen and (min-width: 768px) {
  body {
  	color: green;
  }
  #biomes {
  	flex-direction: row;
  }
}