section {
  display: none;
}
section.active {
  display: block;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  text-align: center;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

html {
    background-color: #333333;
}

.card {
    flex-basis: 30%; 
    background-color: rgb(235, 245, 255);
    margin: 3ex; 
    padding: 1ex; 
    border: 2px solid black;
    margin-left: auto;
    margin-right: auto;
}

.artefact-image {
    width: 200px;
    height: 150px;
    object-fit: cover; /* crop to fit */
    border-radius: 8px; /* optional styling */
    float: right;
}

.calendar {
    flex-basis: 30%; 
    background-color: rgb(235, 245, 255);
    margin: 3ex; 
    padding: 1ex; 
    border: 2px solid black;
    margin-left: auto;
    margin-right: auto;
}

.addToCalendarBtn {
    float: right;
    height: 50%;
}

h1 {
    padding-top: 100px;
    text-align: center;
    font-size: 300%;
}

#navbar {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 50px;
}

main section {
  scroll-margin-top: 50px;
  background-color: #fefefe;
  padding-bottom: 20px;
}

ul {
  list-style-type: none;
  overflow: hidden;
  top: 0px;
  background-color: #333333;
  margin: 0;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}

body {
  margin: 0;
  /* background-color: #ffda90; */
}

#about {
    width: 80%;
    margin: auto;
    text-align: justify;
    font-size: x-large;
}

#searchInput {
    margin-left: 20%;
    width: 60%;
    height: 50px;
    font-size: larger;
    text-align: center;
}

#registerDiv {
    width: 60%;
    margin: auto;
    padding-top: 20px;
    text-align: center;
}

label {
    margin-left: 20%;
    float: left;
}

#username, #password, #usernamecmt, #passwordcmt {
    width: 60%;
    height: 30px;
    margin: auto;
}

#signUpButton {
    width: 60%;
    height: 30px;
    margin: auto;
}

#commentsSection {
    width: 80%;
    margin: auto;
}

#commentDiv {
    width: 80%;
    height: 200px;
    margin: auto;
}

#commentInput {
    width: 100%;
    height: 80%;
}

#commentBtn {
    float: right;
    height: 20%;
    border-style: inset;
}

button {
    background-color: rgb(208, 231, 254);
}

button:hover {
    background-color: rgb(109, 156, 203);
    cursor: pointer;
}

#guestbookFrame {
    margin-top: 20px;
    width: 100%;
    background-color: rgb(217, 229, 241);
}

#visitsTable, #visitsGraph {
    margin: 1%;
    
}