/*!
* DefconExpanded, Created by...
* KezzaMcFezza - Main Developer
* Nexustini - Server Managment
*
* Notable Mentions...
* Rad - For helping with python scripts.
* Bert_the_turtle - Doing everthing with c++
* 
* Inspired by Sievert and Wan May
* 
* Last Edited 18-12-2024 
*/

.mod-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.mod-item {
  flex: 1 1 490px;
  position: relative;
  display: flex;
  max-width: 492px;
  min-width: 492px;
  flex-direction: column;
  background-color: #1a1a1a;
  border-radius: 10px;
  min-height: 250px;
  overflow: hidden;
}

.report-dropdown {
  right: 40px;
  bottom: 50px;

}

.mod-header .like-button,
.mod-header .favorite-button {
  position: absolute;
  top: 10px;
  right: 46px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease;
}


.mod-header .favorite-button {
  right: 10px;
}

.mod-interaction {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.like-button,
.favorite-button {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.like-button:hover,
.favorite-button:hover {
  transform: scale(1.1);
}

.like-button.liked {
  color: #4CAF50;
  margin-right: 5px;
}

.favorite-button.favorited {
  color: #FFD700;
}

.like-count,
.favorite-count {
  margin-left: 5px;
  font-size: 14px;
}

.mod-header {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: white;
  padding: 10px 0px 20px 20px;
  position: relative;
  overflow: hidden;
}

.mod-header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}

.mod-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.50);
  background-blend-mode: overlay;
}

.mod-title-container {
  position: relative;
  z-index: 1;
  text-shadow: 0px 0px 5px #2b2b2b;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.release-date {
  color: #a0a0a0;
}

.file-size {
  color: #7289da;
  margin-top: 5px;
  margin-bottom: 15px;
  font-weight: bold;
}

.mod-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  align-self: left;
  margin-bottom: 10px;
}

.mod-title {
  margin: 0;
  letter-spacing: 2px;
  font-size: 27px;
  color: #4a9eff;
}

.mod-author {
  margin: 0;
  font-size: 18px;
  color: rgb(255, 196, 0);
}

.mod-subtitle {
  margin-top: auto;
  font-size: 15px;
  font-weight: bold;
  color: #f5f5f5;
  letter-spacing: 1px;
}

.mod-info {
  padding: 15px;
  background-color: rgb(12 12 12 / 50%);
}

.mod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #a0a0a0;
}

.mod-meta span {
  display: flex;
  align-items: center;
}

.mod-meta i {
  margin-right: 5px;
  width: 16px;
  text-align: center;
}

.mod-categories {
  margin-bottom: 15px;
}

.category {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-right: 5px;
  background-color: #3a3a3a;
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
}

.category i {
  margin-right: 5px;
}

.download-btn {
  display: flex;
  padding: 4px 16px;
  background-color: #0067b8;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s;
  align-items: center;
  justify-content: flex-end;
  max-width: 80px;
  margin-right: 10px;
  margin-left: auto;
}

.download-btn i {
  margin-right: 5px;
}

.download-btn:hover {
  background-color: #3a8eff;
}

.content-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  width: 700px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.sort-container {
  display: flex;
  align-items: baseline;
}

#sort-select {
  margin-left: 5px;
  padding: 5px;
}