main {
  max-width: 90vw;       /* takes 90% of viewport width */
  width: 100%;
  max-width: 1000px;     /* but never exceeds 1000px */
  margin: 0 auto;
  padding: 1rem;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header, footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}

iframe {
  display: block;
  margin: 1rem 0;
}

.fancy-list {
  list-style: none;          /* remove default bullets */
  padding: 0;
  margin: 1.5rem 0;
}

.fancy-list i {
  color: #444;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.fancy-list li {
  background: #f8f8f8;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #333;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fancy-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Style the tab */
.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}