/* CSS Reset to ensure compatibility */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  font-size: 10px;
  font-family: 'Open Sans', sans-serif;
  background-color: #3fbf76;
}

body {
  width: 900px;
  margin: 0 auto;
  background-color: #d3f7d5;
  padding: 0 20px 20px 20px;
  border: 5px solid black;
}

h1 {
  font-size: 60px;
  text-align: center;
  margin: 0;
  padding: 20px 0;
  color: #3fbfa1;
  text-shadow: 3px 3px 1px black;
}

h2 {
  font-size: 30px;
  text-align: center;
}

p, li {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1px;
}

.wrapper {
  width: 800px;
  margin: 20px auto;
  border: 2px solid #000000;
  background-color: #ffffff;
  padding: 20px; /* Add padding to keep content within the box */
}

/* List Styling */
.wrapper ul, .wrapper ol {
  padding-left: 20px; /* Indent bullets within the box */
  list-style-position: inside; /* Ensures bullets stay within the box */
}

.wrapper ul li, .wrapper ol li {
  margin: 10px 0; /* Adds spacing between list items */
}

img {
  display: block;
  margin: 0 auto;
}

div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Blinking Badge */
.new-item-badge {
  display: inline-block;
  background-color: red;
  color: white;
  padding: 2px 5px;
  border-radius: 5px;
  margin-left: 5px;
  font-size: 0.8em;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Distribute space evenly */
}

.responsive {
  width: 48%; /* Adjust for two videos side by side */
  margin-bottom: 20px; /* Optional: Add space below each video */
}

.gallery {
  position: relative;
  overflow: hidden;
}

.desc {
  padding: 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 14px;
}

