/* File: ./assets/css/viewContent.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: white;
}

.wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 90px;
  /* border: 2px solid red; */
}

.container {
  display: flex;
  justify-content: space-between;
  margin: 0px auto 50px;
  width: 90%;
  /* border: 2px solid red; */
  flex-direction: column;
  /* gap: 30px; */
}

.text-content {
  flex: 1; /* Take the remaining space */
  /* padding-right: 20px;  */
  line-height: 30px;
  /* border: 2px solid red; */
}
.text-content h1 {
  color: #000042;
  font-family: Montserrat-Medium;
  /* margin: 40px 0px 30px; */
  line-height: 45px;
}

.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6 {
  color: black;
  font-family: Montserrat-SemiBold;
  margin-bottom: 10px;
}

.text-content p,
.text-content strong,
.text-content li,
.text-content ol {
  color: #636363;
  font-family: Montserrat-Regular;
}

.text-content li {
  /* list-style-position: inside; */
}

.image-container {
  position: relative;
  height: 400px;
  /* border: 2px solid red; */
  overflow: hidden;
}
.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with transparency */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
}

.title-wrapper {
  position: absolute;
  top: 50%; /* Vertically center */
  left: 50%; /* Horizontally center */
  transform: translate(-50%, -50%); /* Adjust the center position */
  width: 100%;
  padding: 0px 20px;
  z-index: 2;
  color: white;
}
.title {
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
  text-align: left;
}
.author,
.date {
  display: inline-block;
  margin-right: 10px;
  margin-top: 15px;
  text-transform: capitalize;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); */
  color: white;
}
.author i,
.date i {
  margin-right: 5px;
  color: #007bff;
}
.author i:hover,
.date i:hover {
  color: #007bff;
}

.back-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.back-button:hover {
  background-color: #0056b3;
}
.share-options {
  width: 100%;
  /* margin: 0px auto 20px; */
  /* position: absolute; */
  /* top: 120px; */
  text-align: right;
  /* border: 2px solid red; */
  padding: 20px 0px;
}
.share-options i {
  font-size: 34px;
  margin-left: 10px;
  color: #007bff;
}
i:hover {
  color: #0056b3;
}
@media screen and (max-width: 768px) {
  .title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 489px) {
  .container {
    display: flex;
    justify-content: space-between;
    margin: 0px auto 50px;
    /* width: 100%; */
    padding: 10px;
    /* border: 2px solid red; */
  }
 
}
