@font-face {
  font-family: Mohave;
  src: url(mohave-light.woff2), url(mohave-light.woff); 
}

@font-face {
  font-family: Mohave;
  font-weight: 700;
  src: url(mohave-bold.woff2), url(mohave-bold.woff); 
}

:root {
  --background: #272727;
  --text-color: #ffffff;
}

body {
	font-family: Mohave;
	font-size: 16px;
	line-height: 1.25;
	
	background-color: var(--background);
	color: var(--text-color);
	margin: 160px auto 80px auto;
	width: 800px;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px 24px 48px;
  
}

h1 {
	font-size: 24px;
	font-weight: 700;
  max-width: 400px;
  background-image: url(temp.svg);
  background-repeat: no-repeat;
  background-position: left center;
  padding: 0 0 0 64px;
}

text {
  fill: var(--text-color);
  text-anchor: end;
}

text.city {
  font-size: 32px;
  font-weight: 700;
}

text.temp {
  text-anchor: middle;
  dominant-baseline: middle ;
  font-size: 18px;
  font-weight:  700;
  opacity: 0;
  transition: 0.25s;
}

circle {
  fill: var(--text-color);
  opacity: 0;
  transition: 0.25s;
}

path {
  stroke: var(--text-color);
  fill:  none;
  stroke-width: 4px ;
  transition: 0.25s;
  /*opacity: 0;*/
  
}

g.data-point:hover circle{
  opacity: 1;
}

g.data-point:hover text{
  opacity: 1;
}

g.data-point:hover path{
  opacity: 0;
}

