body, html {
    background: #333333;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    background-size: cover;
    background-position: center center;
    
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.5s;
    
    position: relative;
    text-align: center;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.hidden {
    display: none;
}

#home-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background-color: #ffffffcc;
  color: #333;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
  z-index: 1000;
}

@media (hover: hover) and (pointer: fine) {
  #home-button {
    opacity: 0;
    pointer-events: none;
  }

  body:hover #home-button {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  #home-button {
    opacity: 1;
    pointer-events: auto;
  }
}

.img-background {
    position: fixed;
    top: 50%;
    left: 20%;
    transform: translate(-20%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

input {
    background: none;
    appearance: none;
    border: none;
    font-size: 2.5rem;
    color: white;
    min-width: 500px;
    border-bottom: 0.15rem solid rgba(255, 255, 255);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

input::placeholder {
    color: white;
}

input:focus,
input:active {
    outline: none;
}

#login-input {
    width: 400px;
}

li {
    list-style: none;
    margin-bottom: 1rem;
}

ul span {
    font-size: 2rem;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
}

button {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 1rem;
    color: white;
    font-size: 2rem;
    padding: 0 0.5rem 0 0.5rem;
    
    margin-left: 0.5rem;
    cursor: pointer;
}

#clock {
    font-size: 10em;
    margin-top: 5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#greeting {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#quote {
    font-size: 1.5rem;
    margin-top: 5rem;
    font-style: italic;
    text-align: center;
}

#weather {
    margin-top: 1rem;
    margin-right: 1rem;
    font-size: 1rem;
    text-align: right;
}