/* Right column */
aside {
  float: left;
  width: 25%;
  padding-left: 20px;
  margin-top: 20px;
  position:relative;
}

a {
  list-style-type: none;
  text-decoration: none;
}

/* Responsive layout - when the screen is less than 800px wide, 
make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {

  aside {
    width: 100%;
    padding: 0;
  }

}




/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.aside-card {
  background-color: var(--card-color);
  padding: 20px;
  margin-bottom: 20px;
}

/* VERY IMPORTANT FOR CARD APPEARANCE */
/* Clear floats after the columns */
.content:after {
  content: "";
  display: table;
  clear: both;
}


/* Sidebar Tags */

aside .aside-card ul {
  list-style-type: none;
}

aside .aside-card ul li {
  padding: 4px 0;
  transition: transform 0.3s ease;
}

aside .aside-card ul li:hover {
  transform: translateX(10px);
}

aside .aside-card ul li a {
  color: var(--font-color);
  text-decoration: none;
}

aside .aside-card ul li a:hover {
  color: var(--primary-color);
}

.tag-count {
  color: white;
  background-color: var(--secondary-color);
  padding: 0 10px;
  border-radius: 4px;
  font-size: 0.7em;
}

.tags-icon {
  color: var(--primary-color);
  font-size: 0.6em;
}


/* Profile Card */
.profile-card {
  display: flex;
  align-items: center;
  background-color: var(--card-color);
  padding: 20px;
  margin-bottom: 20px;
}
.profile-image img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.profile-info {
  margin-left: 20px;
}
.profile-info h3 {
  margin: 0;
  font-size: 1em;
  color: var(--font-color);
}
.profile-info p {
  margin: 10px 0;
  color: #666;
}
.profile-social {
  margin-top: 10px;
}
.profile-social a {
  margin: 0 5px;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.profile-social a:hover {
  color: var(--secondary-color);
}


/* Media Query for screens with width less than or equal to 320px */
@media (max-width: 1200px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
  }

  .profile-info {
    margin-left: 0;
    text-align: center;
  }

  .profile-info h3 {
    font-size: 1.2em; /* Adjust font size for smaller screens */
  }

  .profile-social a {
    margin: 5px; /* Adjust margin for better spacing on smaller screens */
  }
}
