body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #292650, #5aaf21);
  color: white;
}

.app {
  display: flex;
}
.sidebar {
  width: 240px;
  height: 100vh;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.sidebar li:hover {
  background: #38bdf8;
  color: black;
}
.main {
  flex: 1;
  padding: 25px;
}

.hidden {
  display: none;
}
.card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.card p{
    font-size: 20px;
    font-weight: 380;
    color: rgb(30, 24, 24);
}
.card h1{
   font-size: 40px;
   font-weight: 550;
   color: rgb(107, 158, 224);
}
#date{
    font-size: 18px;
    font-weight: 550;
    color: rgb(16, 4, 97);
}
#stats{
    color: rgb(39, 2, 77);
    font-weight: 550;
    font-size: 20px;
}
div .stats-box:hover{
    background-color: #6eb63e;
}

.input-group {
  display: flex;
  flex-direction: column;
  color: cornsilk;
}

input, select, textarea {
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  border: solid 3px rgba(255,255,255,0.1);
  outline: none;
  width: 60%;
  height: auto;
}
#effort{
    width: 20%;
}
button {
  padding: 12px;
  border: solid 1px red;
  border-radius: 10px;
  background: #38bdf8;
  cursor: pointer;
  transition: 0.3s;
  width: 20%;
}

button:hover {
  background: #804dd1;
}

.result-box {
  margin-top: 20px;
  white-space: pre-line;
  line-height: 1.6;
  background: rgba(0,0,0,0.4);
  padding: 15px;
  border-radius: 10px;
}

.stats-box {
  margin-top: 10px;
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 10px;
}

.grid-box div {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  margin: 5px 0;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.grid-box div:hover {
  background: #38bdf8;
  color: black;
}

@media (max-width: 768px) {

  .app {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sidebar li {
    margin: 5px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .main {
    padding: 15px;
  }

  .card {
    padding: 15px;
  }

  input, select, textarea {
    font-size: 14px;
  }

  button {
    font-size: 14px;
    padding: 10px;
  }
  .result-box {
    font-size: 13px;
  }
}