/*───────────── BASIC ───────────── */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}

/*───────────── BASIC END ───────────── */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 60px;
    padding: 30px;
    
}
.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: white;
  padding: 5px 15px;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 10px;
  font-size: 14px;
  font-weight: bold;
}

.name h3 {
    color: rgb(0, 30, 255);
    font-weight: bold;
    font-size: 30px;
    margin-top: 20px;
    padding: 10px;
}

.name p{
    color: #000000;
    padding: 0 10px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 350px;
    position: relative;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(18, 74, 228, 0.2);
}

.card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.card p {
    margin: 10px 0;
    font-size: 16px;
}

.card p i {
    color: rgb(0, 179, 255);
    margin-right: 10px;
}

.card p span {
    color: red;
    font-weight: bold;
}

.card a {
    text-decoration: none;
    color: white;
}

.card button {
    background-color: #03a7ff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.card button:hover {
    background-color: #019875;
    font-weight: bold;
}

.name p {
    font-size: 20px;
    font-weight: bold;
}

.search-container {
  width: 300px;
  margin: 20px auto;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

#searchBar {
  width: 100%;
  padding: 10px;
  padding-right: 30px;
  font-size: 16px;
  border: 1px solid #555353;
  border-radius: 5px;
}

.dropdown-icon {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 14px;
  color: black;
  user-select: none;
}

.dropdown-list {
  list-style: none;
  padding: 0;
  margin-top: 5px;
  border: 1px solid #000000;
  border-radius: 5px;
  display: none; /* Hide by default */
  background-color: white;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dropdown-list li {
  padding: 10px;
  cursor: pointer;
}

.dropdown-list li:hover {
  background-color: #f0f0f0;
}


@media (max-width: 768px){
    .name h3{
        margin-top: 15px;
    }
}
