/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;

}

.header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

.header .menu a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.header .menu a:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Content Section */
.content-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.content-block {
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.content-block img {
  width: 100%;
  height: auto;
  display: block;

  background: url('images/preview.jpg') center/cover no-repeat;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  height: 40%;/*300px; /* Adjust height as needed */

}

/* Grid Section */
.grid-section {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  width: 100%;
}

.grid-item {
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
}

/* Footer */
.footer {
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.footer a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive Images */
@media (max-width: 600px) {
  .header {
    padding: 10px;
  }
  .content-block img {
    width: 100%;
  }
  .grid-item {
    padding: 15px;
  }
}
