:root {
  --font-family: 'Roboto Condensed', Segoe UI, sans-serif;
  --font-family-condensed: var(--font-family);
  --font-family-clock-time: var(--font-family-condensed);
  --font-family-cursive: Great Vibes, Rochester, Sacramento, Sevillana;
}

html {
  font-size: 12px;
  line-height: 1.5;
  font-family: var(--font-family);
  color: rgba(255,255,255,0.95);
  background: #a96148;
}

body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://images.unsplash.com/photo-1477346611705-65d1883cee1e?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjQ0NjE1fQ");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  text-shadow: 0 0 5px rgba(0,0,0,0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.unsplash {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
    xbackground: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/full-lonely.jpg") no-repeat center center;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-blend-mode: darken;
    background-size: cover;
    transition: 3s;
}

.unsplash .description {
    position: absolute;
    bottom: 10px;
    left: 10px;
    text-transform: uppercase;
    max-width: 300px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  background: rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: auto 1fr;
}

.mobile .container {
    display: block;
}

.offine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100;
    background: yellow;
    color: red;
    font-size: 2rem;
}

.clock-weather {
  margin: 40px 40px 4rem;
  min-width: 290px;
}

.quote-calendar {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 300px;
  margin: 30px;
}

.mobile .quote-calendar {
    display: block;
}

.clock {
  xwidth: 64%;
  vertical-align: top;
}

.clock .time {
  font-family: var(--font-family-clock-time);
  font-size: 9rem;
  line-height: 1;
  font-weight: 100;
}

.clock .time .hours,
.clock .time .minutes,
.clock .time .seconds {
  font-family: var(--font-family-clock-time);
}

.clock .time .seconds {    
  position: relative;
  top: -1.1em;
  padding-left: 0.24em;
  font-size: 0.4em;
  font-weight: 100;
}

.clock .date {
  padding-top: 1rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 300;
}

.today-is {
  padding-top: 10px;
  font-size: 3rem;
  font-weight: 300;
}

.weather-container {
    padding-top: 3rem;
}

.mobile .weather-container {
    padding-top: 0;
}

.quote-container {
  height: 100%;
  position: relative;
}

.quote {
  font-size: 3rem;
  font-weight: 300;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  line-height: 1.3;
}

.quote b,
.quote strong {
  font-weight: 600;
}

.quote i,
.quote .cursive {
  font-style: normal;
  font-family: var(--font-family-cursive);
  text-transform: initial;
}

.quote .sans {
  font-family: var(--font-family);
}

.quote .uppercase {
  text-transform: uppercase;
}

.quote .center {
  text-align: center;
}

.quote .x-small {
  font-size: 3rem;
}

.quote small,
.quote .small {
  font-size: 4rem;
}

.quote .medium {
  font-size: 5rem;
  line-height: 1.3;
}

.quote .large {
  font-size: 6rem;
  line-height: 1.1;
}

.quote .x-large {
  font-size: 7rem;
  line-height: 1.1;
}

.quote .xx-large {
  font-size: 8rem;
  line-height: 1.1;
}

.quote .xxx-large {
  font-size: 11rem;
  line-height: 1.1;
}

.quote .lighter {
  font-weight: 100;
}

.quote .light {
  font-weight: 300;
}

.quote u {
  text-decoration: none;
  border-bottom: .5px solid;
}

.quote .quote-author {
  white-space: nowrap;
  opacity: 0.7;
  font-style: oblique;
}


.current-details {
  font-size: 1.7rem;
}

.current-details .icon {
  opacity: 0.5;
}

.current-details .wind {
  display: inline-block;
  padding-right: 20px;
}

.current-details .humidity {
  display: inline-block
}

.current-temp {
  font-size: 6rem;
  font-weight: 300;
}

.current-temp .icon {
  font-size: 83%;
}

.current-temp .temp-type {
  position: relative;
  top: -0.8em;
  left: -0.2em;
  font-size: 0.5em;
}

.current-temp .type {
  font-size: 60%;
  position: relative;
  top: -27px;
}

.current-temp .temp-label {
  position: relative;
  margin-left: -40px;
  display: inline-block;
  width: 100px;
  line-height: 1;
  font-size: 1.2rem;
}

.extended-weather {
  overflow: hidden;
}

.extended-weather .daily-weather {
  float: left;
  width: 30%;
  font-size: 2.5rem;
  text-align: center;
}


.extended-weather .daily-weather .when {
  display: inline-block;
  padding: 0 5px;
  font-size: 1.5rem;
  background: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

.extended-weather .daily-weather .icon {
  opacity: 0.5;
}

.extended-weather .daily-weather span {
  display: block;
}

.moonback {
  fill: black;
  stroke: #fff;
  stroke-width: 1px;
}
.moon {
  fill: #D6D5C0;
}

.news-headline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 60px;
  font-size: 2rem;
  font-weight: 300;
  background: rgba(0,0,0,0.3);
}

.darksky .iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 0;
  width: 100%;
  height: 100%;
    animation-duration: 3s;
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.calendar-container {
  position: relative;
  margin-top: 30px;
}

.calendar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 100%;
}

.mobile .calendar {
    display: block;
}

.calendar .day {
  height: 100%;
  margin: 3px;
  background: rgba(0,0,0,0.09);
  color: inherit;
}

.mobile .calendar .day {
    margin-bottom: 2rem;
}


.calendar .day h3 {
   display: grid;
   padding: 4px 10px;
   margin-bottom: 10px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.31);
   grid-template-columns: 1fr 1fr;
   font-weight: 300;
   font-size: 1.8rem;
   text-transform: uppercase;
 }

 .calendar .today h3 {
   border-color: #fff;
 }

 .calendar .day .weekday {
   font-weight: 500;
 }

 .calendar .day .date {
   text-align: right;
   opacity: 0.6;
 }
 
 .calendar .day ul {
   list-style: none;
   padding: 0 0 0 10px;
   margin: 0;
   text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
   font-size: 1.5rem;
 }

 .calendar li::before {
   content: '●';
   display: inline-block;
   padding-right: 5px;
 }

 .calendar .anniversary::before {
   content: '💖';
 }
 
 .calendar .birthday::before {
  content: '🍰';
}
 
.calendar .xtime::before {
  content: '@';
}

 .calendar .daily-forcast:before {
  display: none;
}

.calendar a {
    color: inherit;
    text-decoration: none;
}

.calendar .daily-weather {
   list-style: none;
   margin-bottom: 1rem;
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   font-size: 2rem;
   font-weight: 100;
   line-height: 1;
 }

 .calendar .daily-weather .when {
  display: none;
 }


 .config {
  font-size: 2rem;
  text-shadow: none;
 }

 .config .toggle-config {
   position: absolute; 
   bottom: 0;
   right: 0;
   width: 5rem;
   height: 5rem;
   z-index: 10;
   text-decoration: none;
   color: rgba(255, 255, 255, 0.5);
   text-align: center;
   line-height: 5rem;
 }

 .config .config-layer {
  position: absolute;
     top: 0;
     left: 0;
  bottom: 0;
  right: 0;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.95);
  z-index: 11;
  color: #000;
     overflow: auto;
 }

 .config .toggle-config-close {
  position: absolute; 
  bottom: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  font-size: 2rem;
  color: inherit;
  text-align: center;
  text-decoration: none;
  line-height: 5rem;
     z-index: 100;
     color: #000;
 }