
body {
    text-align: center;
    background: url("https://source.unsplash.com/category/nature/1600x900/daily") no-repeat center center fixed;
    background-color: rgba(110,143,154,1);
    font-family: Lato, Helvetica;
    background-size: cover;
    color: white;
    text-shadow: 1px 1px 5px darkgray;   
    font-size: 75%;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    position: relative;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?h8p1qu');
  src:  url('fonts/icomoon.eot?h8p1qu#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?h8p1qu') format('truetype'),
    url('fonts/icomoon.woff?h8p1qu') format('woff'),
    url('fonts/icomoon.svg?h8p1qu#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-tornado:before {
  content: "\e901";
}
.icon-tropical-storm:before {
  content: "\e902";
}
.icon-hurricane:before {
  content: "\e903";
}
.icon-severe-thunderstorms:before {
  content: "\e904";
}
.icon-thunderstorms:before {
  content: "\e905";
}
.icon-mixed-rain-snow:before {
  content: "\e906";
}
.icon-mixed-rain-sleet:before {
  content: "\e907";
}
.icon-mixed-snow-sleet:before {
  content: "\e908";
}
.icon-freezing-drizzle:before {
  content: "\e909";
}
.icon-drizzle:before {
  content: "\e90a";
}
.icon-freezing-rain:before {
  content: "\e90b";
}
.icon-shower-drizzle:before {
  content: "\e90c";
}
.icon-shower-rain:before {
  content: "\e90d";
}
.icon-snow-flurries:before {
  content: "\e90e";
}
.icon-light-scattered-snow-showers:before {
  content: "\e90f";
}
.icon-blowing-snow:before {
  content: "\e910";
}
.icon-snow:before {
  content: "\e911";
}
.icon-hail:before {
  content: "\e912";
}
.icon-sleet:before {
  content: "\e913";
}
.icon-dust:before {
  content: "\e914";
}
.icon-fog:before {
  content: "\e915";
}
.icon-haze:before {
  content: "\e916";
}
.icon-smoky:before {
  content: "\e917";
}
.icon-blustery:before {
  content: "\e918";
}
.icon-windy:before {
  content: "\e919";
}
.icon-cold:before {
  content: "\e91a";
}
.icon-cloudy:before {
  content: "\e91b";
}
.icon-mostly-cloudy-night:before {
  content: "\e91c";
}
.icon-mostly-cloudy-day:before {
  content: "\e91d";
}
.icon-partly-cloudy-night:before {
  content: "\e91e";
}
.icon-partly-cloudy-day:before {
  content: "\e91f";
}
.icon-clear-night:before {
  content: "\e920";
}
.icon-sunny:before {
  content: "\e921";
}
.icon-fair-night:before {
  content: "\e922";
}
.icon-fair-day:before {
  content: "\e923";
}
.icon-mixed-rain-hail:before {
  content: "\e924";
}
.icon-hot:before {
  content: "\e925";
}
.icon-isolated-thunderstorms:before {
  content: "\e926";
}
.icon-scattered-thunderstorms:before {
  content: "\e927";
}
.icon-scattered-thunderstorms2:before {
  content: "\e928";
}
.icon-scattered-showers:before {
  content: "\e929";
}
.icon-heavy-shower-snow:before {
  content: "\e92a";
}
.icon-unavailable:before {
  content: "\e92b";
}
.icon-thundershowers:before {
  content: "\e92c";
}
.icon-snow-showers:before {
  content: "\e92d";
}
.icon-isolated-thunderstorms2:before {
  content: "\e92e";
}
.icon-tree-lizard:before {
  content: "\e900";
}
.icon-cog:before {
  content: "\e994";
}
.icon-list:before {
  content: "\e9ba";
}
.icon-cancel-circle:before {
  content: "\ea0d";
}
.icon-checkbox-checked:before {
  content: "\ea52";
}
.icon-checkbox-unchecked:before {
  content: "\ea53";
}
.icon-embed2:before {
  content: "\ea80";
}
.icon-github:before {
  content: "\eab0";
}

/* SETTINGS PANEL */

.settings {
    position: absolute;
    top: 15px;
    left: 10px;
    font-size: 1.5em;
    color: white;
    text-transform: uppercase;
    display: block;
}

#settingIcon {
    float:left;
    margin-right: 10px;
}
.settings .cog {
    font-size: 1.5em;
    color: lightgray;
    display: inline-block;
}

.settings .cog:hover {
    cursor: pointer;
    color: white;
    text-shadow: 0 0 10px white;
}

#settingList {
    display: none;
    float: right;
    height: 1.5em;
}

.settings ul {
    background: rgba(80, 80, 95, 0.5);
    border: none;
    border-radius: 5px;
    margin: 0;
    padding: 5px;
    font-size: 0.8em;
    vertical-align: middle;
    display: inline-block;
}

.settings li {
    font-size: 0.8em;
    display: inline;
    margin: 0 10px;
    cursor: pointer;
}
.settings li:last-child {
  margin-right: 0;
}

/* Weather */

#weatherBox {
 /*   background-color: rgba(130, 160, 126, 0.701961); */
    border-bottom-left-radius: 10px;
    position: absolute;
    top: 0px;
    right: 10px;
    text-align: right;
    font-size: 1.3em;
    color: white;
    text-transform: uppercase;
    z-index: 5;
}

.wicon {
    vertical-align: middle;
}

.weather .wicon {
    font-size: 1.5em;
}


/*
.weather img {
    width: 30px;
    vertical-align: middle;
    top: 0;
    left: 0;
}

*/

.weather p:first-of-type {
    margin-top: 15px;
    
}



.weather p {
    margin: 5px;
}

.weather:hover {
    text-shadow: 0 0 0.1em white;
}

.weatherForecast {
    
    font-size: 0.8em;
    display: none;
    background: rgba(80, 80, 95, 0.5);
    border: none;
    border-radius: 5px;
    padding: 5px;
}

.weatherForecast .wicon {
    font-size: 2em;
}

/*
.weatherForecast img {
    width: 30px;
    vertical-align: middle;
}
*/

.weatherForecast table {
    border-collapse: collapse;
}

.weatherForecast td {
    text-align: center;
    margin: 5px 10px 0 0;
}

.weatherForecast th, td {
    padding: 5px;
    vertical-align: middle;
    text-align: center;
}
.weatherForecast th {
    border-bottom: 1px solid lightgray;
}

.weatherForecast tfoot {
    border-top: 1px solid lightgray;
}
.weatherForecast th:first-child {
    text-align: left;
}
.weatherForecast tbody td:first-child {
    text-align: left;
    display: block;
    margin-right: 5px;
}

.choice {
    font-weight: bold;
}

/* Clock */

.time {
    display: inline-block;
    text-align: center;
    color: white;
/*     margin-top: 17em; */
    cursor: pointer;
}

.clock {
    font-size: 8em; 
    margin: 0.2em 0 0;
}


.ampm {
    vertical-align: middle;
    font-size: 0.3em;
}

.hide {
  /*visibility: hidden;
  height: 0px;
  */
  display: none;
}

.date {
    font-size: 2em;
    margin: 0;
}

/* Main Focus and Goal Prompt */

.todaysGoal {    
    width: 60%;
}

.goalPrompt {
    display: none;
    opacity: 0;
    transition: opacity 1s;
    margin-bottom: 1em;
}

.goalPrompt > p,
.submittedGoalContainer > p {
    font-size: 2em;
    text-align:center;
}

.submittedGoalContainer {
  margin-bottom: 0.2em;
}

.submittedGoalContainer > p {
    margin-bottom: 0.4em;
}

.mainForm {
    width: 500px;
    margin: auto;    
}

.mainForm input,
.to-do .addNote {    
    background: rgba(80, 80, 95, 0.5);
    width: 100%;
    height: 2em;
    color: white;
    font-size: 2em;
    border: none;
    border-radius: 0.5em;
    text-align: center;
}

/*
	change the color of the placeholder text
*/
.mainForm input::-webkit-input-placeholder { 
  color: white;
}

/* 
	override default colors for input field when autofill is used -- NOT NEEDED anymore b/c autocomplete is disabled now
*/

/*
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
}
*/
/*
@-webkit-keyframes autofill {
    to {
    color: white;
    background: rgba(255, 255, 255, 0.5)
    }
}


input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}
*/

.submittedGoalContainer {
    display: none;
    opacity: 0;
    text-align: center;
    transition: opacity 1s;
}

.submittedGoalContainer fieldset {
    border: none;
}

.submittedGoalContainer fieldset p {
  position: relative;
  display: inline-block;
  max-width: 90%;
  font-size: 1.4em;
}

/* Set default opacity for checkbox to 0 to display custom checkbox instead */

.submittedGoalContainer input[type="checkbox"] {
  opacity: 0;
  vertical-align: middle;
  cursor: pointer;
  position: absolute;
  top: 5px;
  left: 0;
}

.submittedGoalContainer input[type="checkbox"] + label {
  cursor: pointer;  
  margin-left: 44px;
}

/* Using ::before and ::after pseudo-elements to customize checkbox appearance */

.submittedGoalContainer input[type="checkbox"] + label::before {
  font-family: icomoon;
  top: 6px;
  position: absolute;
  left: -1px;
  width: 20px;
  height: 20px;
  /* background-color: white; */
  /*border-radius: 5px;*/
  display: inline-block;
  content: "\ea53";
  cursor: pointer;
  /*border: 2px solid white;*/
}

/* unchecked state */
.submittedGoalContainer input[type="checkbox"] + label::after {
    font-family: icomoon;
  position: absolute;
  top: 6px;
  left: 1px;
  width: 16px;
  height: 16px;
  display: inline-block;
  content: "\ea52";
  opacity: 0;  
  cursor: pointer;
  transition: opacity 0.5s;
}

/* checked state */
.submittedGoalContainer input[type="checkbox"]:checked + label::before {
  opacity: 0;
  transition: all 0.5s;
  
}

.submittedGoalContainer input[type="checkbox"]:checked + label::after {
  opacity: 1;
  transition: all 0.5s;
  
}

.submittedGoalContainer input[type="checkbox"]:checked + label > span {
    text-decoration: line-through;
}

.submittedGoalContainer input[type="checkbox"] + label > span {    
    vertical-align: middle;
    font-size: 1.4em;
}

/* Remove default button styling */

button {
  background: inherit;
  border: 0;
  color: black;
  /* cursor: default; */
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  -webkit-appearance: button;
  -webkit-user-select: none;
}

/* Customize button appearance */

.submittedGoalContainer button {
  color: white;  
  /*border-radius: 50%;*/
  cursor: pointer;
  font-size: 1em;
  /*border: 2px solid white;*/  
  color: inherit;
  visibility: hidden;
  position: relative;
  top: 5px;
  right: -18px;
  width: 24px;
  height: 24px;
}
/* Show the button on hover */

.submittedGoalContainer fieldset:hover button {
    visibility: visible;
}


/* remove the default blue outline on focus on the input element */
input:focus{
    outline: none;
}

blockquote {
    text-align: center;
    font-size: 1.3em;
    font-style: italic;
    max-width:50%;      
    border-radius: 1em;
    padding: 0.5em 1em;
    transition: all 0.5s linear;
}

blockquote:hover {
    background-color: rgba(68, 68, 68, 0.8);
    transition: all 0.5s linear;
}

blockquote a:link,
blockquote a:hover,
blockquote a:active,
blockquote a:visited {
    color: white;
    text-decoration: none;
    text-shadow: 0 0 1.4em black;
}
   
blockquote cite {
    font-size: 0.9em;
}


.to-do {
    position: absolute;
    bottom: 6.5em;
    right: 0;
    width: 25em;
    height: 25em;        
    overflow-x: hidden;
    box-sizing: border-box;
    visibility: hidden;
}

.to-do .listContainer {
    width: 95%;
    height: 100%;
    background-color: rgba(80, 80, 95, 0.5);
    position: absolute;
    left: 100%;
    border-radius: 1em;
    box-sizing: border-box;
}

.listContainer form {
    position: absolute;
    bottom: 1em;
    width: 96%;
}

.to-do-list {
    list-style-type: none;
    padding-left: 1em;
    height: 18.6em;
    overflow: auto;
}

.to-do-list button {
    width: 1.5em;
    height: 1.5em;
    font-size: 1.2em;
    vertical-align: middle;
    position: relative;
    top: 4px;
    color: white;
    cursor: pointer;
    visibility: hidden;
}
.to-do-list li:hover button {
    visibility: visible;
}

.showList {
    position: absolute;
    bottom: 0.5em;
    width: 2em;
    height: 2em;
    font-size: 1.5em;
    right: 0.7em;
    color: lightgray;
    border: 2px solid lightgray;
    border-radius: 50%;
    box-sizing: content-box;
    cursor: pointer;    
    transition: right 0.7s;
}

.showList:focus {
    outline:none;
}

.showList:hover {
    color:white;
    border-color:white;
    box-shadow: 0 0 10px white;
    text-shadow: 0 0 10px white;
}


.to-do .addNote {
    font-size: 1.5em;
    width: 100%;
    height: 1.5em; 
    line-height: 1em;
    background: rgba(50, 50, 55, 0.7);
    border-radius: 0;
    text-align: left;
    padding-left: 4%;
}

.to-do-list li {
    position: relative;
    margin-bottom: 0.5em;
}

.to-do-list input[type="checkbox"] {
  opacity: 0;
  cursor: pointer;
}

.to-do-list input[type="checkbox"] + label {
  cursor: pointer;  
  margin-left: 6px;
}

/* Using ::before and ::after pseudo-elements to customize checkbox appearance */

.to-do-list input[type="checkbox"] + label::before {
    font-family: icomoon;
    top: 8px;
    position: absolute;
    left: 1px;
    display: inline-block;
    vertical-align: middle;
    content: "\ea53";
    cursor: pointer;
}


/* unchecked state */

.to-do-list input[type="checkbox"] + label::after {
    font-family: icomoon;
    position: absolute;
    top: 8px;
    left: 1px;
    display: inline-block;
    vertical-align: middle;
    content: "\ea52";
    opacity: 0;    
    cursor: pointer;
    transition: opacity 0.5s;
}

.to-do-list input[type="checkbox"]:checked + label::before {
  opacity: 0;
  transition: all 0.5s;

}

/* checked state */
.to-do-list input[type="checkbox"]:checked + label::after {
  opacity: 1;
  transition: all 0.5s;
  
}

.to-do-list input[type="checkbox"]:checked + label > span {
    text-decoration: line-through;
}

.to-do-list input[type="checkbox"] + label > span {    
    vertical-align: bottom;
    font-size: 1.4em;
    width: 12.5em;
    display: inline-block;
    word-wrap: break-word;
}

.to-do-list::-webkit-scrollbar {
    width: 6px;
}

.to-do-list::-webkit-scrollbar-track {
    background: lightgray;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.to-do-list::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.weather,
td.fahrenheit,
td.celsius {
    cursor: pointer;
}

#credits {
    
    position: absolute;
    bottom: 15px;
    left: 10px;
    color: white;
    text-transform: uppercase;
}
#credits .team {
    margin-bottom: 5px;
    padding: 5px;
    background: rgba(80, 80, 95, 0.5);
    border: none;
    border-radius: 5px;
    display:none;
}
.team p {
    text-align: center;
}
.team p:first-child {
    font-weight: bold;
    text-align: center;
    padding-bottom: 2px;
    border-bottom: 1px solid white;
}
.team a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
}
.creditIcon {
    font-size: 1.5em;
    color: lightgray;
    vertical-align: middle;
    text-align: left;
    padding: 6px;
    
}
.creditIcon:hover {
    color: white;
    border-color: white;
    text-shadow: 0 0 10px white;
    cursor: pointer;
}
