html, body {
  margin: 0;
  padding: 0;
}

.titlebar {
  background-color: #f1f1f1;
  padding: 0px;
  /* justify-self: center; */
  /* width: 40%; */
}
.titlebar nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.titlebar a {
  
  background-color: #f1f1f1;
  /* border: 1px solid rgba(0, 0, 0, 0.236); */
  padding: 5px;
  margin-left: 2px;
  margin-right: 2px;
  border-left: 2px solid #f1f1f1;
  border-right: 2px solid #f1f1f1;
  font-size: 24px;
  text-align: center;
  width: 150px;
  color: black;
  text-decoration: none;
}

.card_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.card{
  background-color: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.236);
  padding: 10px;
  width: 300px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card_gradient{
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/300x200');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.titlebar a:hover {
  background-color: #ddd;
  cursor: pointer;
  border-left: 2px solid #6a6868;
  border-right: 2px solid #6a6868;
}

.titlebar a:visited {
  color: black;
}

.sidebar {
  grid-area: menu;
  grid-template-rows: auto; 
  background-color: #f1f1f1;
  padding: 0px;

  padding: 5px;
  flex: 0 0 250px; 
}

.content {
  grid-area: content;
  grid-template-rows: auto; 
  background-color: #f1f1f1;
  padding: 20px;
  flex: 1 1 700px;
}

.content p{
    white-space: pre-wrap;
}

.footer {
  grid-area: footer;
  grid-template-rows: auto; 
  background-color: #f1f1f1;
  padding: 0px;
  place-content: center;
  text-align: center;
}

.container {
  display: grid;
  grid-template-areas:
    "header"
    "main"
    "footer";
  grid-template-columns: auto;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  grid-gap: 10px;
  padding: 0px;
  grid-gap: 2px
}

.main {
  display: flex;
  width: min(100%, 1250px);
  margin-inline: auto;
  gap: 2px;
}

.textbox {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-container {
  padding-right: 20%;
  padding-left: 20%;
  padding-top: 20px;
}

@media (max-width: 1000px) {
  .sidebar {
    display:none
  }
}