@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;400&display=swap');


/*-- Reset Code --*/

	html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
	article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
	ol,ul{list-style:none;padding:0;margin:0;}
	blockquote,q{quotes:none;}
	blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
	table{border-collapse:collapse;border-spacing:0;}
	/* start editing from here */
	a{text-decoration:none;}
	.txt-rt{text-align:right;}/* text align right */
	.txt-lt{text-align:left;}/* text align left */
	.txt-center{text-align:center;}/* text align center */
	.float-rt{float:right;}/* float right */
	.float-lt{float:left;}/* float left */
	.clear{clear:both;}/* clear float */
	.pos-relative{position:relative;}/* Position Relative */
	.pos-absolute{position:absolute;}/* Position Absolute */
	.vertical-base{	vertical-align:baseline;}/* vertical align baseline */
	.vertical-top{	vertical-align:top;}/* vertical align top */
	.underline{	padding-bottom:5px;	border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
	nav.vertical ul li{	display:block;}/* vertical menu */
	nav.horizontal ul li{	display: inline-block;}/* horizontal menu */
	img{max-width:100%;}

/*-- //Reset Code --*/



/*-- Index-Page-Styling --*/

body {
	background: url("../images/background.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	font-family: 'Poiret One', cursive;
	text-align: center;
}

body a {
	transition: 0.5s all;
	-webkit-transition: 0.5s all;
	-moz-transition :0.5s all;
	-o-transition: 0.5s all;
	-ms-transition: 0.5s all;
	text-decoration: none;
}

sub {
    vertical-align: sub;
}

h1 {
	font-size: 50px;
	font-weight: 400;
	color: #F9F9F9;
	font-family: 'Poiret One', cursive;
	letter-spacing: 7px;
	margin-top: 50px;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
}

.container {
	width: 770px;
	margin: 50px auto;
	background-color: rgba(0, 0, 0, 0.65);
	background: url("https://services.swpc.noaa.gov/images/animations/suvi/primary/195/latest.png");
}

.city {
	width: 60%;
	float: left;

	min-height: 500px;
	position: relative;

  	background-image: url(https://pbs.twimg.com/media/DRESFtoX4AEKpOb.jpg);
  	background-size: cover;
  	background-repeat: no-repeat;
}

.city::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background: #000;
}

.title {
	float: left;
	font-family: 'Poiret One', cursive;
	padding: 30px 0 0 30px;
	position: relative;
	text-shadow: 2px 2px 8px #000;
}

.title h2 {
	color: #FFF;
	font-size: 30px;
}

.title h3 {
    font-size: 20px;
    font-weight: 400;
    color: #EEE;
    margin-top: 10px;
    text-align: right;
}

.date-time {
    position: absolute;
    top: 0;
    right: 0;
    color: #FFF;
    width: 50%;
}

.date {
    text-align: right;
    padding-right: 20px;
    font-size: 2em;
    text-shadow: 2px 2px 5px #000;
}

div#txt {
    font-size: 5.5em;
    font-weight: 100;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif;
    text-align: right;
    margin-right: 15px;
    text-shadow: 2px 2px 8px #000;
}

.dmy {
	width: 100%;
	float: left;
	text-align: left;
}

.temperature {
	position: absolute;
    width: 100%;
    bottom: 80px;
    color: #fff;
}

.temperature p {
    font-family: 'Raleway', sans-serif;
    font-size: 8em;
    font-weight: 100;
    text-shadow: 3px 3px 6px #000;
}

.temperature p span {
	font-size: 50px;
	font-weight: 200;
}

.pressure {
		position: absolute;
    width: 50%;
    bottom: 25px;
    color: #fff;
    right: 0;
}

.pressure p {
    font-family: 'Raleway', sans-serif;
    font-size: 3em;
    font-weight: 300;
}

.pressure p span {
	font-size: 0.5em;
	font-weight: 200;
	font-family: 'Poiret One', cursive;
}

.humidity {
  position: absolute;
  bottom: 10px;
  color: #fff;
  left: 20px;
  display: none;
}

.humidity p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 3em;
}

.humidity p span {
  font-size: 0.5em;
  font-weight: 200;
  font-family: 'Poiret One', cursive;
}

.time_measure {
  position: absolute;
  bottom: 5px;
  right: 20px;
  color: white;
}

.forecast {
  width: 40%;
  float: left;
  position: relative;
  /* background-image: url(https://services.swpc.noaa.gov/images/animations/suvi/primary/195/latest.png); */
}

.forecast-icon {
	margin: 0px;
	position: relative;
	height: 200px;
}
.forecast-icon .peity {
	position: absolute;
	top: 0px;
	left: 0px;
}

.forecast h3 {
	font-size: 50px;
	color: #FFF;
	width: 80%;
	margin: 16px auto 15px;
	padding-bottom: 10px;
	border-width: thin;
	border-bottom: 1px solid #EEE;
}

.extremes {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  /* background: #0006; */
  padding: 10px;
  text-align: left;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
}

.extremes span {
  font-size: 20px;
}

div.solar {
	color: #fff;
	font-size: 24px;
}

.kp {
    margin-right: 20px;
}
.sun {
    color: #fff;
    font-size: 22px;
    text-align: left;
    margin: 0 0 0 29px;
}
.sun h4 {
    margin: 0 0 6px 0;
}
.sun span {
    font-weight: 700;
    font-size: 26px;
}
.warn.warning {
    font-size: 24px;
    color: #ffab3f;
}

.warn.safe {
    font-size: 24px;
    color: #43f960;
}

.today-weather ul li {
	width: 74%;
	margin: 0 auto;
	line-height: 39px;
	border-width: thin;
	border-bottom: 1px solid #777;
	color: #EEE;
	font-weight: 600;
	text-align: left;
	padding-left: 20px;
}

.today-weather ul li span {
	float: right;
	padding-right: 10px;
}

.today-weather ul li:nth-child(7) {
	border-bottom: none;
}

.today-weather #forecast span {
    width: 27%;
    line-height: 1.5em;
    border-bottom: 1px solid #555;
    border-width: thin;
    color: #EEE;
	font-weight: 300;
	float: left;
	margin-left: 5%;
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 22px;
}

.today-weather #forecast .temp {
    float: right;
    margin-right: 5%;
    margin-left: 0;
}
.today-weather #forecast .pres {
    color: cyan;
}

.footer {
	padding-bottom: 20px;
}

.copyright p {
	color: #FFF;
}

.copyright p a {
	color: #FFF;
}
/*--w3layouts--*/
/*--agileits--*/
.copyright p a:hover {
	color: #FFEB3B;
}

/*-- //Index-Page-Styling --*/
.tooltipster-show {
	font-family: 'Alegreya Sans SC', sans-serif;
}

.forecast-icon .peity:nth-child(2) {
  top: 0px;
}
.forecast-icon .peity:nth-child(4) {
  top: 110px;
}
.forecast-icon .peity:nth-child(6) {
  top: 130px;
}

.forecast-icon.tooltip.tooltipstered .lineTemperature-10 {
  border-bottom: 1px dotted #ffa700;
  position: absolute;
  display: block;
  height: 1px;
  width: 290px;
  top: 98px;
  left: 0;
  opacity: 0.5;
}
.forecast-icon.tooltip.tooltipstered .lineTemperature0 {
  border-bottom: 1px solid #ffa700;
  position: absolute;
  display: block;
  height: 1px;
  width: 290px;
  top: 80px;
  left: 0;
  opacity: 0.7;
}
.forecast-icon.tooltip.tooltipstered .lineTemperature10 {
  border-bottom: 1px dotted #ffa700;
  position: absolute;
  display: block;
  height: 1px;
  width: 290px;
  top: 62px;
  left: 0;
  opacity: 0.5;
}
.forecast-icon.tooltip.tooltipstered .lineTemperature20 {
  border-bottom: 1px dotted #ffa700;
  position: absolute;
  display: block;
  height: 1px;
  width: 290px;
  top: 45px;
  left: 0;
  opacity: 0.5;
}
.forecast-icon.tooltip.tooltipstered .lineTemperature30 {
  border-bottom: 1px dotted #ffa700;
  position: absolute;
  display: block;
  height: 1px;
  width: 290px;
  top: 27px;
  left: 0;
  opacity: 0.5;
}
.forecast-icon.tooltip.tooltipstered .lineTemperature40 {
  border-bottom: 1px dotted #ffa700;
  position: absolute;
  display: block;
  height: 1px;
  width: 290px;
  top: 10px;
  left: 0;
  opacity: 0.5;
}

.forecast-icon.tooltip.tooltipstered .linePressure1030 {
  border-bottom: 1px dotted white;
  position: absolute;
  display: block;
  height: 1px;
  width: 280px;
  top: 119px;
  left: 0;
  opacity: 0.3;
}
.forecast-icon.tooltip.tooltipstered .linePressure1020 {
  border-bottom: 1px dotted white;
  position: absolute;
  display: block;
  height: 1px;
  width: 280px;
  top: 138px;
  left: 0;
  opacity: 0.3;
}
.forecast-icon.tooltip.tooltipstered .linePressure1010 {
  border-bottom: 1px dotted white;
  position: absolute;
  display: block;
  height: 1px;
  width: 280px;
  top: 155px;
  left: 0;
  opacity: 0.3;
}
.forecast-icon.tooltip.tooltipstered .linePressure1000 {
  border-bottom: 1px solid white;
  position: absolute;
  display: block;
  height: 1px;
  width: 280px;
  top: 172px;
  left: 0;
  opacity: 0.6;
}
.forecast-icon.tooltip.tooltipstered .linePressure990 {
  border-bottom: 1px dotted white;
  position: absolute;
  display: block;
  height: 1px;
  width: 280px;
  top: 189px;
  left: 0;
  opacity: 0.3;
}


.forecast-icon.tooltip.tooltipstered .lineHumidity {
  border-bottom: 1px dashed cyan;
  position: absolute;
  display: block;
  height: 1px;
  width: 295px;
  top: 180px;
  left: 0;
  opacity: 0.5;
}

.tempText {
    position: absolute;
    top: 73px;
    font-size: 11px;
    color: #ffa700;
    right: 5px;
    font-family: sans-serif;
    opacity: 0.75;
}
.pressText {
    position: absolute;
    top: 165px;
    font-size: 11px;
    color: white;
    right: 1px;
    font-family: sans-serif;
    opacity: 0.5;
}
.humidText {
    position: absolute;
    top: 173px;
    font-size: 11px;
    color: cyan;
    right: 5px;
    font-family: sans-serif;
    opacity: 0.5;
}

.value {
  position: absolute;
  right: 5px;
  font-family: sans-serif;
  font-size: 0.8em;
}
.maxTemperature {
  top: 25px;
  color: red;
}
.minTemperature {
  top: 45px;
  color: red;
}
.maxPressure {
  top: 80px;
  color: white;
}
.minPressure {
  top: 97px;
  color: white;
}
.maxHumidity {
  top: 138px;
  color: cyan;
}
.minHumidity {
  top: 155px;
  color: cyan;
}



/*-- Responsive Code --*/



@media screen and (max-width: 1920px) {
	.container {
		/*width: 50%;*/
	}
}

@media screen and (max-width: 1440px) {
	.container {
		/*width: 55%;*/
	}
}

@media screen and (max-width: 1280px) {
	.container {
		/*width: 60%;*/
	}
}

@media screen and (max-width: 1024px) {
	.container {
		/*width: 78%;*/
	}
}

@media screen and (max-width: 966px) {
	.container {
		width: 100%;
	}
	.city {
	  min-height: 610px;
	}
	.temperature {
	  width: 60%;
	  top: 0px;
	  right: 20px;
	}
	.temperature p {
	  font-size: 7em;
	  text-align: right;
	}
	.pressure {
	  top: 100px;
	  right: 20px;
	}
	.pressure p {
	  font-size: 3em;
	  font-weight: 300;
	  text-align: right;
	}
	.date-time {
	  top: auto;
	  bottom: 20px;
	  right: 0;
	  width: 100%;
	}
	div#txt {
	  font-size: 12em;
	  margin-bottom: 27px;
	  text-align: right;
	  margin-right: 15px;
	}
	.forecast h3 {
	  margin: 110px auto 15px;
	}

}

@media screen and (max-width: 853px) {
	h1 {
		font-size: 45px;
	}
	/*--w3layouts--*/
	/*--agileits--*/
}

@media screen and (max-width: 800px) {
	.container {
	    width: 100%;
	    margin: 0;
	    background-color: #000;
	}

	.city::before { 
	  opacity: 0.4; 
	}

	h1 {
		display: none;`
	}

	.dmy {
		padding-top: 0;
	}
	.city {
	    min-height: 440px;
	}
	.forecast-icon img {
		width: 80px;
	}
	.forecast h3 {
    	font-size: 36px;
    }
	.temperature {
	    bottom: 335px;
	    right: 10px;
	    width: 50%;
	}
	.temperature p {
		font-size: 5em;
		font-weight: 100;
	}
	.pressure {
	    right: 10px;
	}
	.pressure p {
	    font-size: 36px;
	}
	.pressure p span {
	    font-size: 25px;
	}
	.humidity {
	  left: 20px;
	  top: 105px;
	  font-size: 0.8em;
	}
	.time_measure {
		bottom: 275px;
    right: 10px;
    font-size: 14px;
    text-align: right;
  }
	.footer {
	    padding: 10px;
	}
	.today-weather ul li {
		font-size: 21px;
	}
	.date-time {
		top: 115px;
		width: 100%;
	}
	div#txt {
	    font-size: 12em;
	    margin-bottom: 0;
	    font-weight: 300;
	}
	.date {
		font-size: 2.5em;
		font-weight: bold;
	}
	.sun h4 {
	    margin: 0 0 3px 0;
	}
	.forecast h3 {
	    margin: 9px auto 8px;
	}
}


@media screen and (max-width: 736px) {
	.temperature p {
		font-size: 9em;
	}
	.dmy {
		padding-top: 10px;
	}
	div#txt {
		font-size: 30px;
	}
	.forecast-icon img {
		width: 100px;
	}
}

@media screen and (max-width: 667px) {
	h1 {
		font-size: 40px;
		margin-top: 30px;
	}
	.container {
		width: 100%;
		margin-top: 0;
	}
	.city {
	    width: 55%;
	}
	.forecast {
	    width: 45%;
	}
	.title {
	    padding: 30px 0 0 20px;
	}
	.temperature {
	    bottom: 335px;
	    right: 0;
	    width: 50%;
	    top: 15px;
	}
	.temperature p {
	    font-size: 54px;
	}
	.dmy {
		padding-top: 35px;
	}
	div#txt {
		font-size: 140px;
	}
	.date {
	    font-size: 1.5em;
	}
}

@media screen and (max-width: 640px) {
	h1 {
		font-size: 30px;
		margin-top: 45px;
	}
	div#txt {
		font-size: 25px;
	}
	/*--w3layouts--*/
	/*--agileits--*/
	.dmy {
		padding-top: 17px;
	}
	.temperature p {
		padding-bottom: 10px;
	}
}


@media screen and (max-width: 525px) {
	h1 {
		font-size: 35px;
	}
	.city {
		width: 100%;
		min-height: 300px;
	}
	.temperature {
		text-align: right;
	}
	.temperature p {
		font-size: 8em;
	}
	.dmy {
		padding-top: 35px;
	}
	.forecast-icon {
		margin: 10px 0;
	}
	.forecast {
		width: 100%;
		padding-bottom: 30px;
	}
	.copyright {
		padding-bottom: 20px;
	}
	.copyright p {
		line-height: 30px;
		font-size: 14px;
	}

	/*--w3layouts--*/
	/*--agileits--*/
	h1 {
		display: none;
	}
	.container {
	    margin-bottom: 20px;
	    width: 100%;
	    margin-top: 0;
	    background-color: rgba(0, 0, 0, 1);
	}
	.forecast-icon {
		margin: 0 auto;
	    float: none;
	    width: 300px;
	}
	.forecast-icon img {
		width: 100px;
	}
	.forecast h3 {
		font-size: 40px;
	}
	.city {
		min-height: 430px;
	}
	.city::before {
	  	opacity: 0.6; 
	}
	.title {
	    padding: 15px 0px 0px 10px;
	}
	.title h2 {
		font-size: 25px;
	}
	.title h3 {
		font-size: 14px;
	}
	.date-time {
		width: 70%;
		padding: 0;
		top: 0;
	}
	.dmy {
		padding: 0;
		text-align: right;
		width: 100%;
	}
	div#txt {
		font-size: 135px;
	}
	.date {
		font-size: 22px;
	}
	.temperature {
		text-align: center;
		width: 100%;
		top: 280px;
		right: 20px;
	}
	.pressure {
	    top: 360px;
	    width: 100%;
	}
	  .time_measure {
        bottom: 10px;
        left: -10px;
        font-size: 12px;
        text-align: right;
        width: 100%;
      }
	.copyright {
		padding: 20px;
	}
	.temperature p {
	    font-size: 4em;
	}
	.temperature p span {
	    font-size: 24px;
	}
	.forecast-icon img {
		width: 65px;
	}
	.forecast h3 {
		font-size: 24px;
	}
	.tempText {
        right: 65px;
    }
    .pressText {
        right: 60px;
    }
	.copyright p {
		line-height: 25px;
		font-size: 13px;
	}
}

/*@media screen and (max-width: 375px) {
	.city {
		min-height: 315px;
	}
	.date {
		font-size: 16px;
	}
}
*/


/*-- //Responsive Code --*/