body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('images/background.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  padding: 20px;
  min-height: 100vh;
}

a {
  color: #CBCF99;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #7DAC71;
}

a:active {
  color: #4A986E;
}

.contentcontainer {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.headercontainer {
  /* background: rgba(0,0,0,0.5); */
  /* padding: 10px;
  margin-bottom: 15px; */
  height: 300px;
  padding: 0;
  display: flex;
  margin-bottom: 0;
  justify-content: center;
  /* border-radius: 15px; */
  
}

.banner {
  width: fit-content;
  height: 100%;
  padding: 0;
  padding: 10px;
}

.banner img {
  width: inherit;
  height: inherit;
}


/* #butterflypic {
  max-width: 300px;
  height: auto;
} */

.menubar {
  background: rgba(0,0,0,0.5);
  border: 1px solid #000;
  border-radius: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 10px 0;
}

.menubar ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  gap: 1px;
}

.menubar li {
  position: relative;
  padding: 0 15px;
}

.menubar li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: #727964;
}

.maincontainer {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
  flex-direction: row;
  background: rgba(0,0,0,0.7);
  border: 1px solid #000;
  border-radius: 5px;
}

.footercontainer {
  padding: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer {
  display: flex;
}

.leftside, .rightside {
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.leftside {
    flex: 1;
}

.middlepart {
  display: flex;
  align-items: center;
  flex: 2;
}

#mainimg {
  max-width: 700px;
}

.rightside {
    flex: 1;
}

.text-box {
  padding: 15px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: 1px solid #000;
  border-radius: 5px;
  font-family: 'Monaco', monospace;
  line-height: 1.5;
  word-wrap: break-word;
}

.title {
    color: white;
    font-family: 'Monaco', monospace;
    font-size: 25px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
}

.teenylink {
  font-family: 'Monaco', monospace;
  font-size: 10px;
  font-style: italic underline;
  color: #CBCF99;
}


.heading2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
}


#takemeback {
  margin: 0;
  font-size: smaller;
}

/* about page specific */
#abtimg {
  max-width: 400px;
  display: flex;
  margin: auto;
}






/* Responsive adjustments */
@media (max-width: 768px) {
  .menubar ul {
    justify-content: center;
  }
  
  .maincontainer {
    flex-direction: column;
  }
  
  .leftside, .rightside {
    min-width: 100%;
  }
}