html{
  overscroll-behavior: contain;
  margin: 0;
}

/* POPUP  */

.overlay {
  width: 100%;
  height: 100%;
  background-color: #111111a9;
  top: 0;
  left: 0;
  position: fixed;
  align-content: center;
  justify-content: center;
  display: none;
  z-index: 2;
}
.popup {
  justify-content: center;
  text-align: center;
  align-content: center;
  border: 10px rgba(47, 47, 69, 0.686);
  background-color: rgba(4, 5, 11, 0.531);
  margin-top: 333px;
  padding-top: 50px;
  padding-bottom: 90px;
  border-radius: 8px;
  width: 60%;
  height: 10%;
}
.button1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  border: 1px;
  border-color: rgba(55, 72, 25, 0.7);
  border-radius: 12px;
  background-color: rgba(4, 5, 11, 0.6);
  color: rgba(80, 80, 80, 1);
  width: 20%;
  height: 60%;
}
.button1:hover {
  border-width: 2px;
  width: 21%;
  height: 61%;
  border: 4px;
  border-radius: 10px;
  padding: 5px;
  cursor: pointer;
}
#popupp {
  font-size: 25px;
  font-weight: bold;
  color: rgba(80, 80, 80);
  padding-bottom: 10px;
  padding-top: 0px;
}

/* Mainpage */
.body {
  background-color: #11111169;
  padding: 0px;
  margin: 0px;
  scroll-padding: 20px;

}

nav {
  background-color: #333333d0;
  overflow: hidden;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
}

nav li {
  float: left;
}

nav a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  margin-top: 2px;
  margin-bottom: 2px;
}

nav a:hover {
  background-color: #ddd;
  color: black;
  border: #ddd 1px;
  border-radius: 1px;
  margin: 2%;
  white-space: nowrap;
  cursor: pointer;
}

.backgroundcontainer {
  padding-top: 100px;
  padding-bottom: 400px;
  position: relative;
  height: 50vh;
  background: url(images/duckbackground.jpg) center center fixed;
  background-size: cover;
  background-position-y: bottom;
  overflow: hidden;
  max-width: 100%;
}
.content {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: white;
  text-align: center;
}

.centered {
  align-items: center;
  align-content: center;
  text-align: center;
  display: block;
}
#mainhead {
  border: #11111169;
  background-color: #11111169;
  margin-top: 200px;
  padding-top: 60px;
  padding-bottom: 60px;
  color: #ebe4e46b;
}
#panel {
  z-index: 1;
  border: #2b1919 40px solid;
  padding: 0px 0px;
  margin-top: 270px;
  color: #ebe4e46b;
  background-color: #2b1919;
}
#panel2 {
  border-bottom: #2b1919 300px solid;
  border-top: #2b1919 20px solid;
}
.mainfont {
  color: #ebe4e46b;
  font-family: "Times New Roman", Times, serif;
  text-align: left;
}
.mainbackground {
  background-color: #2b1919;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.search-input {
  border: #2b1919 solid 5px;
  border-radius: 8px;
}
.search-input:focus {
  outline: none;
}
.search-button {
  color: #ebe4e46b;
  background-color: #2b1919;
  border: #ebe4e46b 9px;
  border-width: 2px;
  padding: 6px;
}
.search-button:hover {
  background-color: #ebe4e429;
  border-radius: px;
  cursor: pointer;
}
.search-button:active{
  font-size: 72px;
  background: -webkit-linear-gradient(#eee, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.search-container {
  margin-top: 45px;
  scale: 1.1;
  margin: 50px auto;
  border-radius: 8px;
  width: fit-content;
  border: #ebe4e46b solid 5px;
}
