/* Page */
@font-face {
  font-family: Climacons-Font;
  src: url('/assets/fonts/climacons-webfont.woff');
  font-weight: 400;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #e7e7e7;
  font-family: 'Roboto', sans-serif;
}

/* Slider */
#slider {
  width: 384px;
  height: 240px;
  background-color: white;
  overflow: hidden;
}

/* Slide */
.slide {
  width: 384px;
  height: 240px;
}

/* Image-slide */
.slide[data-type='image'] > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom-slide */
.slide[data-type='custom'] {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #486f83;
}
.slide[data-type='custom'] > div.content {
  height: 100%;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  margin: 0 auto;
}

.slide[data-type='custom'] div.current-date {
  font-size: 2.75rem;
  font-weight: bold;
  line-height: 1;
  margin-top: 0.5rem;
}

.slide[data-type='custom'] > div.brand {
  height: 95px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #87afc3;
}

.slide[data-type='custom'] > div.brand > img {
  max-width: 50%;
}

.slide[data-type='custom'] .weather {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.slide[data-type='custom'] .weather .current-time {
  font-weight: bold;
  font-size: 3.75rem;
  margin-left: -2.75rem;
  background: white;
  color: #486f83;
  padding: 0.25rem 0.5rem;
}

.slide[data-type='custom'] .weather-temp {
  font-size: 5rem;
  position: relative;
  font-weight: bold;
}

.slide[data-type='custom'] .weather-temp-unit {
  font-size: 2.5rem;
  position: absolute;
  top: 0;
}
