body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom right, #000000, #171839);
  height: 100vh;
}

.topbar {
  text-align: center;
  padding: 20px 10px;
  background: #333;
  color: white;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.taskbar {
  margin-top: 10px;
}

.card-header {
  background-color: #000;         /* siyah zemin */
  color: #fff;                    /* beyaz yazı */
  padding: 8px;
  border-top-left-radius: 20px;   /* üst köşelerle uyumlu */
  border-top-right-radius: 20px;
  font-weight: bold;
  font-size: 0.95rem;
}

.taskbar a {
  margin: 0 10px;
  text-decoration: none;
  color: #ddd;
  font-weight: bold;
}

.content-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 20px;
}

.card {
  width: 220px;
  height: 220px;
  background: rgb(240, 238, 232);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  text-align: left;
}


.card p {
  flex: 1;
  font-size: 0.95rem;
  margin-top: 10px;
}

.card button {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: rgb(240, 238, 232);
  width: 90%;
  max-width: 600px;
  height: 70%;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 45px;
  font-size: 3rem;
  cursor: pointer;
  color: red;
  
  background-color: white;       /* Arka plan rengi */
  border: 2px solid red;         /* Kenarlık */
  border-radius: 8px;            /* Hafif yuvarlatılmış kare */
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); /* Gölge efekti */
}


@media (max-width: 600px) {
  .card {
    width: 90%;
    height: auto;
  }

  .taskbar a {
    display: block;
    margin: 8px 0;
  }
}
