body, html {
  font-family: 'Fredericka the Great', cursive, sans-serif;
  margin: 0;
  padding: 0;
  background: url('../assets/img/background.png') no-repeat center center;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
}

.website-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  min-height: 100vh;
}

.navibar {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 80%;
  height: 60px;
  background-color: rgb(50, 56, 55);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}

.navibar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navibar li {
  margin: 0 15px;
}

.navibar li a {
  font-size: 1.5vw;
  display: block;
  color: rgb(178, 169, 145);
  text-align: center;
  padding: 18px 20px;
  transition: 0.3s;
}

.navibar li a:hover {
  background-color: #ddd;
  color: black;
}

.menu-icon {
  display: none;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 10px;
  background: url('../assets/img/menu.png') ;
  background-size: contain;
  cursor: pointer;
  z-index: 10;
}

.sidebar {
  width: 0;
  height: 100%;
  background-color: #333;
  overflow-x: hidden;
  position: fixed;
  transition: 0.5s;
  z-index: 5;
  top: 0;
  left: 0;
  padding-top: 60px;
}

.sidebar a {
  padding: 10px 15px;
  text-decoration: none;
  font-size: 1.5em;
  color:aliceblue;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}


.main-room {
  width: 80vw;
  text-align: center;
  padding: 2vw;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4%;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#poet-figure {
  width: 30vw; 
  max-width: 250px;
  min-width: 100px;
  margin-top: -5%; 
}

h1 { 
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1vw;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1vw;
  color:#333;
}

h2.current-time {
  color: #333;
  font-size: medium;
  letter-spacing: 3px;     
  margin-bottom: 10px;
}

.intro-paragraph {
  color: #333;
  line-height: 1.5;
  margin-bottom: 2vw;
  font-size: 1.8rem;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 40px;
  background: linear-gradient(45deg, #7f3521, #404c49);
  border-radius: 20px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 1rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  text-decoration: none;
  margin: 20px 0;
}
.icon:hover {
  transform: translateY(-5px);
  box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.2);
}
 
@media (max-width: 800px) {
  .navibar{
    display: none;
  }

  .menu-icon{display: block;
  }

  .main-room {
      width: 90%;
  }

  h1 {
      font-size: 2rem;
  }

  .intro-paragraph {
      font-size: 1rem;
  }
}
