/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: 'Oswald', sans-serif; /* Oswald font applied globally */
  font-weight: bold; /* Ensure bold weight */
  background-color: #000000;
  color: #333;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main header */
h1 {
  font-size: 2.5rem;
  color: #ffffff00; /* Primary color */
  margin-bottom: 2rem;
  text-align: center;
}

/* Posts container */
#posts {
  width: 100%;
  max-width: 1200px; /* Match the image width */
}

/* Post card */
.post {
  background-color: #000000;
  
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

/* Post title button */
.post-title {
  position: relative;
  width: 100%; /* Full width of container */
  text-align: left;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0);
  text-shadow: ;/* Text readability */
  font-size: 1.5rem; /* Larger font size */
  overflow: hidden;
  transition: all 0.3s ease;

  /* Maintain 1200x388 aspect ratio */
  padding-top: 32.33%; /* 388 / 1200 * 100 */
  background-size: 100% 100%; /* Ensure the image always fits the button size */
  background-position: center; /* Center the image */
  background-repeat: no-repeat;
}

/* Center text inside button */
.post-title span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: inherit; /* Inherit font size from button */
  color: white;
  text-align: center;
}

/* Hover effect for the title */
.post-title:hover {
  filter: brightness(0.3); /* Slight darkening on hover */
}

/* Active state - black background and no image */
.post-title.active {
  background-image: none; /* Remove the background image */
  background-color: black; /* Set background to black */
  color: white; /* Ensure text remains readable */
}

/* Post content */
.post-content {
  display: none; /* Initially hidden */
  padding: 15px;
  background-color: #040404; /* White background for expanded content */
}

.post-content p {
  font-size: 1.125rem;
  color: #eeeeee;
  margin-bottom: 1rem;
}

/* List container */
.post-content .list-container {
  padding-left: 0; /* No indentation */
  margin: 0; /* No margin on the container */
  display: flex;
  flex-direction: column; /* Stack items vertically */
  gap: 0.5rem; /* Add spacing between items */
}

/* List items */
.post-content .list-item {
  font-size: 1.125rem;
  color: #ebebeb;
}

/* Post metadata */
.post-content small {
  font-size: 0.875rem;
  color: #f8f8f8;
  display: block;
  margin-top: 1rem;
}

/* Close button */
.post-content .close-btn {
  background-color: #ac000e;
  color: white;
  font-size: 1rem;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.post-content .close-btn:hover {
  background-color: #8e000c;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .post-title {
    font-size: 1.25rem;
  }

  .post-content p,
  .post-content .list-item {
    font-size: 1rem;
  }

  .post-content small {
    font-size: 0.75rem;
  }

  .post-content .close-btn {
    font-size: 0.875rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  .post-title {
    
  }

  .post-content p,
  .post-content .list-item {
    font-size: 0.875rem;
  }

  .post-content small {
    font-size: 0.75rem;
  }

  .post-content .close-btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-content p,
  .post-content .list-item {
    font-size: 1.25rem;
  }

  .post-content small {
    font-size: 1rem;
  }

  .post-content .close-btn {
    font-size: 1.25rem;
    padding: 12px 18px;
  }
}

/* Image styling within post content */
.post-content .post-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

@import url('https://fonts.googleapis.com/css?family=Fjalla+One');

/* Global Styles */
body {
  
  font-family: 'Fjalla One', sans-serif;
  text-transform: uppercase;
  height: 100vh;
  margin: 0;
}

/* Button Styles */
.btn-slice {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 1.2rem 2.5rem;
  border: 2px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  z-index: 1000;
  text-decoration: none;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn-slice .top,
.btn-slice .bottom {
  position: relative;
  display: block;
}

.btn-slice .top span,
.btn-slice .bottom span {
  position: relative;
}

.btn-slice:hover .top {
  top: -5px;
}

.btn-slice:hover .bottom {
  bottom: -5px;
}

.btn-slice:hover:before {
  width: 130%;
}

.btn-slice:before {
  content: '';
  height: 1px;
  width: 60px;
  background-color: #ffffff;
  position: absolute;
  margin-top: 6px;
  right: -35px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .btn-slice {
    padding: 1rem 2rem;
    font-size: 0.625rem;
  }
}

@media (max-width: 480px) {
  .btn-slice {
    padding: 0.8rem 1.5rem;
    font-size: 0.5rem;
    right: 5px;
    top: 5px;
  }
}








/* Button Styles */
/* General Header Styles */
header {
  position: relative; /* Ensures the button can be positioned relative to the header */
  width: 100%;
  background-color: #000000; /* Optional: Header background color */
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Header shadow */
  z-index: 1000;
}

/* Button Styles */
.home-button {
  position: absolute; /* Keeps the button positioned relative to the header */
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  background-color: #000000;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1000; /* Keeps the button on top of other elements in the header */
}

.home-button:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #fff;
  box-shadow: 0 6px 8px rgba(255, 255, 255, 0.3);
}

.icon {
  width: 160px;
  height: 80px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  filter: invert(0); /* Default color */
}

.home-button:hover .icon {
  filter: invert(1); /* Inverts the icon's colors */
}

.label {
  font-size: 16px;
  margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-button {
    width: 120px;
    height: 120px;
    top: 10px;
    left: 50%; /* Centers the button horizontally */
    transform: translateX(-50%); /* Adjusts position to truly center it */
    right: auto; /* Removes right alignment */ }

  .icon {
    width: 60px;
    height: 45px;
  }

  .label {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .home-button {
    width: 120px;
    height: 120px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%); /* Centers the button horizontally */
    right: auto; /* Removes the right alignment */
  }

  .icon {
    width: 100px;
    height: 60px;
  }

  .label {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .home-button {
    width: 100px;
    height: 100px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%); /* Centers the button horizontally */
    right: auto; /* Removes the right alignment */
  }

  .icon {
    width: 90px;
    height: 50px;
  }

  .label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 50px 20px;
  }
}










