@font-face {
    font-family: 'Montserrat'; /* A name you choose to use later in your CSS */
    src: url("../../main/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}
@font-face {
    font-family: 'Labor Union'; /* A name you choose to use later in your CSS */
    src: url("../../main/fonts/LaborUnion-Regular.otf") format("truetype");
}

h3, p, .filters .button {
  font-family: 'Montserrat';
}

::selection {
  background-color: #ff400c;
  color: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #0f0f0f;
  color: #fff;
  font-family: sans-serif;
}

.mobile-nav {
  display: none;
}

.logo img {
  width: 100%;
}

.app {
  display: flex;
  /* height: 100vh; */
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 260px;
  background: #121212;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 24px;
  margin-bottom: 30px;
}

.tab {
  text-decoration: none;
  text-align: center;
  font-family: 'Montserrat';
  padding: 12px;
  margin-bottom: 10px;
  background: #333;
  border: none;
  color: #fff;
  cursor: pointer;

  transition: 0.3s ease-out, transform 0.3s ease-out; 
}
.selector {
  font-family: "Labor Union";
}

.tab:hover {
  background: #555;
}

.tab.active {
  background: #f39c12;
}

.filters {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters a {
  background: transparent;
  border: 1px solid #555;
  color: #aaa;
  padding: 6px 10px;
  cursor: pointer;
  text-decoration: none;

  transition: 0.3s ease-out, transform 0.3s ease-out; 
}

.filters a:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.filters a.active {
  border-color: #f39c12;
  color: #f39c12;
}

.content {
  flex: 1;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header h1, .group-title {
  font-family: 'Labor Union';
}

.group-title {
  padding: 20px 0 20px 0;
}

.content h1:first-of-type {
  padding: 0 0 20px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #1a1a1a;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-info {
  padding: 10px;
}

.card-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.card-info p {
  color: #aaa;
}

@media (max-width: 1020px) {
  .sidebar {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-nav {
    display: grid;
    padding: 0 10px 0 10px;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
  }
}