html{
  background-color: black;
}

* {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    background-color: #000;
  }
  
  
  header{
    padding: 30px 10px;
    height: 20%;
    width: 100%;
    font-size: 75px;
    background-color: rgb(10, 10, 10);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: white 2px solid;
    z-index: 10;
    position: fixed;
    top: 0;
    animation: header auto linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 250px;
    animation-range-start: 100px;
    transition: all 1s;
}
.tit1{
    color: white;
    cursor: pointer;
    margin-right: 7px;
}
.tit2{
    background-color: orange;
    border-radius: 5%;
    cursor: pointer;
    box-shadow: 0 0 5px 5px orange;
}

aside{
  height: 100%;
  width: 2%;
  position: fixed;
  top: 0;
  float: left;
  transition: all 2s ease-out;
  background: rgba(255, 166, 0, 0.7);
  z-index: 5;
  box-shadow: 0px 0 20px 0 rgba(255, 166, 0, 0.7);
  text-decoration: none;
  color: #000;
}
aside ul{
  list-style-type: none;
  font-size: 0;
  width: 0;
  opacity: 0;
  top: 30%;
  position: absolute;
  transition: all 2s linear;

}
aside ul li{
  position: sticky;
  width: 0;
  margin: 65px 0 65px 0;
}
aside:hover{
  width: 15%;
  box-shadow: 10px 0 15px 5px rgba(255, 166, 0, 0.7);
  ul{
      font-size: 28px;
      opacity: 100%;
      transition: all 2s linear !important;
      color: #000 !important;
      text-decoration: none !important;
  }
}

  main {
    padding: 20px;
    background-color: #00000079;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px;
    position: absolute;
    top: 20%;
  }
  
  .posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 400px));
    gap: 20px;
  }
  
  .post {
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
  }
  
  .post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  }
  
  .post img {
    width: 100%;
    height: auto;
  }
  
  .post-info {
    padding: 10px;
    background-color: #f5f5f5;
  }
  
  .post-info p {
    margin: 0;
  }
  
  .post-info strong {
    font-weight: bold;
  }
  
  .post-info span {
    margin: 0 5px;
  }
  
  .profile-button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
  }
  
  .profile-button:hover {
    background-color: #45a049;
  }
  .search-bar {
    display: flex;
    align-items: center;
    margin-right: 20px;
  }
  
  .search-bar input[type="text"] {
    width: 300px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
  }
  
  .search-bar input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  }
  .posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  body {
    margin: 0;
    padding: 0;
  }
  
  #stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
  }
  
  .star {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background-color: #fff;
    border-radius: 50%;
    animation: move-star 10s linear infinite;
  }
  
  @keyframes move-star {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    100% {
      transform: translate(100%, 100%) rotate(360deg);
    }
  }
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f1f1f1;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    float: left;
  }
  
  .icons {
    float: right;
  }
  
  .search {
    width: 30px;
    height: 30px;
    background-image: url('search.svg');
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 15px;
    cursor: pointer;
  }
  
  .profile {
    width: 30px;
    height: 30px;
    background-image: url('profile.svg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }

  
  .post {
    background-color: white;
    margin-bottom: 20px;
    position: relative;
  }
  
  .post img {
    width: 100%;
    height: auto;
    cursor: pointer;
  }
  a{
    color: #000;
    text-decoration: none;
  }
  
  .post img.large {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .info {
    padding: 15px;
  }
  
  .post .date {
    font-size: 14px;
    color: #888;
  }
  
  .post .content {
    margin-top: 10px;
  }
  
  .stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
  
  