body {
  font-family: "Helvetica";
  align-items: center;
  text-align: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 1);
  color: white;
  text-decoration: none;
  margin: 0;
  padding: 14px;
  min-height: 100vh;
  background: url("https://wallpapers.com/images/hd/night-sky-background-a8b0ia6v7vmd3qs5.jpg");
  background-color:rgba(10,10,10,100);
  background-repeat: no-repeat;
  background-size: fit;
  background-position: center top -50px; 
}

main{
  padding-top:90px;
}


.profile-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #BDC3C7;
  border: 4px solid #FFC107;
  margin: 100px auto;
  cursor: pointer;
  overflow: hidden;
}

.profile-circle img {
  position: absolute;
  bottom: 0;
  outline: none;
  color: transparent;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 120px;
}

h1 {
    font-size: 2em;
    color: white;
    margin-bottom: 46px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: fadeIn 30s infinite;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

h2 {
    font-size: 2em;
    color: White;
    margin-bottom: 46px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: fadeIn 30s infinite;
}


@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.profile-pic {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: #ccc;
  overflow: hidden;
  cursor: pointer;
}

#profileInitial {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 2rem;
  color: white;
}

#profileImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input[type="text"] {
  padding: 0.5rem;
  width: 80%;
  margin-bottom: 1rem;
  border: none;
  border-bottom: 2px solid gray;
  padding: 10px;
  background: transparent;
  color: white;
  font-size: 18px;
}

.greeting-text {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.clock-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

button {
  background: linear-gradient(90deg, #8e44ad 0%, #9b59b6 100%);
  border-radius: 25px;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

label, .form-label {
  font-weight: 600;
  color: #e3d9ff;
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

form {
  background: rgba(32,24,60,0.65);
  padding: 32px 32px 24px 32px;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(80,40,120,0.09);
  margin: 24px auto;
  max-width: 420px;
}

select {
  background: linear-gradient(90deg, #241842 60%, #8f7cc3 100%);
  color: #fff;
  border: 2px solid #a084e8;
  border-radius: 12px;
  padding: 10px 38px 10px 14px;
  font-size: 1rem;
  margin: 10px 0;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(142, 68, 173, 0.10);
  transition: border 0.2s, box-shadow 0.2s;
  appearance: none; /* Remove default arrow, for custom one */
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

/* Custom arrow using a background SVG */
select {
  background-image:
    linear-gradient(90deg, #241842 60%, #8f7cc3 100%),
    url("data:image/svg+xml;utf8,<svg fill='white' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: left, right 12px center;
  background-size: 100%, 18px 18px;
}

select:focus {
  border-color: #fff0ae;
  box-shadow: 0 0 0 2px #a084e8a0;
}

/* Style the dropdown "open" list (only works in some browsers) */
select option {
  background: #1a1a2e;
  color: #fff;
}

/*background music*/

#mute-btn {
  background: #6748b1;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  font-size: 1rem;
  
  box-shadow: 0 2px 8px rgba(80,40,120,0.09);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
#mute-btn:hover {
  background: #8f7cc3;
  transform: scale(1.05);
}


/* The navigation bar */
.navbar{
  text-decoration: none;
  color: #7952B3;
  list-style: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  margin-right: 10px;
  position:fixed;
  z-index:3;
}

nav {
  background-color: #7952B3;
  border-radius: 10px;
  height: 80px;
  width: 100%;
  position:fixed;
  z-index:2;
}

nav ul {
  float: right;
  margin-right: 20px;
}

nav ul li{
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 20px 12px;
  border-radius: 10px;
}

a.active, a:hover {
  background: #664796;
  transition: .5s;
}

.checkbutton {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  line-weight: 50px;
  margin-right: 30px;
  padding: 0 10px;
  cursor: pointer;
  display: none;
}

#chc {
  display: none;
}

@media (max-width: 1050px){
  nav ul li a {
    font-size: 16px;
  }
}

@media (max-width: 500px){
  .checkbutton {
    display: block;
  }
  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #7952B3;
    border-radius: 13px;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    z-index: 5;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a{
    font-size: 20px;
  }
  a:hover, a.active{
    background: none;
    color: #202d3b;
  }
  #chc:checked~ul {
    left: 0;
  }
}
