

/* ============================================= */
/*              Base styles                      */
/* ============================================= */

/* Include the padding and border in an element's total width and height */
* {
  box-sizing: border-box;

}

/* ============================================= */
/*              Hero Imgs - Backgrounds          */
/* ============================================= */

/* ~ Warp ~ */
.fire-ambience {
  background-image: url("../img/fireplace.jpeg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  height: 100%;
}

.ocean-ambience {
  background-image: url("../img/beach.jpeg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  height: 100%;
}

.spaceship-ambience {
  background-image: url("../img/spaceship.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  height: 100%;
}

.stream-ambience {
  background-image: url("../img/stream.jpeg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  height: 100%;
}

.garden-ambience {
  background-image: url("../img/window.jpeg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  height: 100%;
}



/* ============================================= */
/*                Navigation                     */
/* ============================================= */
nav svg {
    height: 1.75em;
    fill: white;
}

nav {
    background-color: black;
    display: flex;
    justify-content: space-around;
    height: 3.75em;
    align-items: center;
    padding: 0 2em;
}

nav svg:hover {
    animation: shake 5s;
}

@keyframes shake {
    0% { transform: rotate(5deg); }
    10% { transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    40% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    60% { transform: rotate(5deg); }
    70% { transform: rotate(-5deg); }
    80% { transform: rotate(5deg); }
    90% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
  }

/* ============================================= */
/*              Title Styles                     */
/* ============================================= */

#title {
  color: white;
  display: flex;
  justify-content: center;
  position: relative;
  margin: auto;
  margin-top: 15%;
  width: 400px;
  font-family: "Cormorant SC", 600, serif;
  font-size: 30px;
  text-shadow: 0px 0px 19px black;
}


/* ============================================= */
/*              Tasklist                         */
/* ============================================= */

/* Remove margins and padding from the list; removing bullet points */
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Style the list items */
ul li {
  cursor: pointer;
  position: relative;
  padding: 10px 4px 10px 40px;
  background: #eee;
  font-size: 15px;
  transition: 0.2s;

  /* make the list items unselectable */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Set all odd list items to a different color (zebra-stripes) */
ul li:nth-child(odd) {
  background: #f9f9f9;
}

/* Darker background-color on hover */
ul li:hover {
  background: #ddd;
}

/* When clicked on, add a background color and strike out text */
ul li.checked {
  background: #888;
  color: #fff;
  text-decoration: line-through;
}

/* Add a "checked" mark when clicked on */
ul li.checked::before {
  content: '';
  position: absolute;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
  top: 10px;
  left: 16px;
  transform: rotate(45deg);
  height: 15px;
  width: 7px;
}

/* Style the close button */
.close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px 16px 12px 16px;
}

.close:hover {
  background-color: #f44336;
  color: white;
}

/* Style the header */
.header {
  background-color: DarkSlateGray;
  padding: 5px 5px;
  color: white;
  text-align: center;
}

/* Clear floats after the header */
.header:after {
  content: "";
  display: table;
  clear: both;
}

/* Style the input */
input {
  margin: 0;
  border: none;
  border-radius: 0;
  width: 75%;
  padding: 10px;
  float: left;
  font-size: 16px;
}

/* Style the "Add" button */
.addBtn {
  padding: 10px;
  width: 25%;
  background: #d9d9d9;
  color: #555;
  float: left;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 0;
}

.addBtn:hover {
  background-color: #bbb;
  cursor: pointer;
}

/* Keep div down to bottom right */

#tasklist {
  position: absolute;
  right: 10px;
  bottom: 0px;
  width: auto;
  height: auto;
  padding: 5px;
  font-family: "Cormorant SC", 600, serif;
}

/* ============================================= */
/*                 Clock                         */
/* ============================================= */

#clock {
  font-family: "Cormorant SC", 600, sans-serif;
  color: white;
  font-size: 42px;
  text-align: center;
  padding-bottom: 5px;
  margin-left: -8px;
  margin-top: -20px;
  letter-spacing: 0px;
  font-weight: bold;
  text-shadow: 0px 0px 5px black;
}

/* ============================================= */
/*                 Audio                         */
/* ============================================= */

#sound,
#stop {
  color: black;
  background: white;
  display: inline;
  position: relative;
  margin-top: 0%;
  margin-left: 5px;
  width: 65px;
  height: 38px;
  border: none;
  opacity: 80%;
  font-family: "Cormorant SC", 600, serif;
  font-weight: bold;
}

#sound-btns {
  margin: 0px auto;
  width: 200px;
  padding: 20px;
  color: white;
}

#sound,
#stop:hover {
  cursor: pointer;
}
