@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Work+Sans:ital@0;1&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background-color: #dadada;
    position: relative;
    top: 0;
    overflow-x: hidden;
}


.sidebar-mobile-button{display: none;}

.sidebar{
    position: fixed;
    top: 0;
    width: 18rem;
    background-color: #fff;
    min-height: 100vh;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}
.sidebar .logo img{
    background-color: rgb(255, 255, 255, 0.7);
    border: 1px #f94144 solid;
    border-radius: 99rem;
    width: 100%;
    max-width: 128px;
}
.sidebar .links{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.sidebar .links a{
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: #f94144;
    background: #dadada;
    border: 5px dashed transparent;
    border-radius: 12px;
    padding: 5px 5rem;
    transition: all 0.3s ease-in-out, background 5.3s ease-in-out;
}

.sidebar .links a.active{
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: #dadada;
    background: #f94144;
    border-radius: 12px;
    padding: 5px 5rem;
    transition: color 0.3s ease-in-out;
}
.sidebar .links a:focus{
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: #dadada;
    background: #f94144;
    border-radius: 12px;
    padding: 5px 5rem;
    transition: color 0.3s ease-in-out;
}
.sidebar .links a:hover{
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: #f94144;
    background: #fff;
    border: 5px dashed #f94144;
    border-radius: 12px;
    padding: 5px 5rem;
    transition: color 0.3s ease-in-out;
}

.sidebar footer{
    padding: 12px;
    text-align: center;
}

main{
    margin-left: 18rem;
}

@media (max-width: 900px) {
    main{
        margin-left: 0;
    }
.sidebar-mobile-button{
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 99rem;
    border: none;
    background-color: #f94144;
    color: #fff;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 98;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}
.sidebar-mobile-button:hover{
    opacity: 0.5;
}
.sidebar-mobile-button:active{
    transform: scale(0.9);
    opacity: 1;
}

.sidebar{
    position: fixed;
    left: -18rem;
    z-index: 9999;
}


}

@keyframes menu {
    0%{
        left: -18rem;
        opacity: 0;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        left: 0;
        opacity:1;
    }
}

.topbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(249, 65, 68, 0.884);
    color: #fff;
    font-weight: 800;
    padding: 15px 20px;
    border-radius: 15px;
    margin: 5px;
     backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
   
}
.topbar .filter button{
    background-color: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    border: none;
    transition: all 0.3s ease-in-out;
    
}
.topbar .filter{
    position: relative;
}
.topbar .filter button:hover{
    background-color: #fa9e79;
}
.filter-menu{
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    width: 5rem;
    top: 30px;
    background: #f94144;
    padding: 5px;
    border: 1px solid #fff;
    border-radius: 8px;
    z-index:2;
}

section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
}
section .title {
    font-size: 2rem;
    font-weight: 800;
    position: relative;
}

section .title::before {
    content: "";
    width: 10%;
    height: 5px;
    border-radius: 8px;
    position: absolute;
    bottom: 0px;
    background-color: #f94144;
}

.cards{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px;

}

.card {
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 18rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #000000;
  
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.card .ico{
    display: flex;
    justify-content: center;
    align-items: center;
}
.card .ico img {
  width: 100%;
  max-width: 128px;
  border-radius: 12px;
  object-fit: cover;
}

.card .info h1 {
  font-size: 1.25rem;
  margin: 0;
  color: #f94144;
}

.card .info p {
  font-size: 1rem;
  margin: 0.25rem 0;
  color: #1d1d1d;
}

.card .info span strong{
    color: #f94144;
}
.card .info span {
  display: block;
  font-size: 0.9rem;
  color: #1d1d1d;
  margin-top: 0.5rem;
}

.card .info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.card .info ul li {
  font-size: 0.85rem;
  margin-bottom: 4px;
  padding-left: 1.2rem;
  position: relative;
}
.card .info ul li.compatible{
  color: #4caf50;
}
.card .info ul li.compatible::before {
  content: "✔️";

  position: absolute;
  left: 0;
}
.card .info ul li.incompatible{
  color: #f44336;
}
.card .info ul li.incompatible::before {
  content: "⛔";

  position: absolute;
  left: 0;
}

.card .btns {
  display: flex;
  justify-content: flex-end;
}

.card .btns a {
  background: #f94144;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.card .btns a:hover {
  background: #c92a2a;
}

.no-data {
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem;
  color: #888;
  font-style: italic;
}

