@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chonburi&display=swap');


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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(to bottom, #d5a4f3, #e5d3f8); /* Пример */
}

body{
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
	background-color: #yourBackgroundColor;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url("assets/splashBg.png");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; 
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;

}
::selection{
  color: #fff;
  background: #43AFFC;
}

a {
	color: #20194E;
	z-index: 99;
}

.update {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 4px 10px 5px 8px;
	gap: 4px;
	background: #fff;
	border-radius: 10px;
	text-decoration:none;
	font-weight: 500;
}


.safe--area {
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
  --ion-safe-area-top: 20px;
  --ion-safe-area-bottom: 20px;
}

#image {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.weather-info{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0px 30px 15px 30px;
	gap: 5px;
	z-index: 99;
	position: absolute;
	width: 100%;
	max-width: 900px;
	height: auto;
	bottom: 20px;
	color: #20194E;
	margin:0;
	line-height: 1.4;
    }
 
h1 {
	font-family: 'Chonburi', cursive;
	font-size: 60px;
}

#temp {
	font-family: 'Chonburi', cursive;
}

#feels_like {
	font-family: 'Chonburi', cursive;
}

#degree {
	font-family: 'Chonburi', cursive;
	font-size: 60px;
	font-weight: 200;
}

#city {
    font-size: 19px;
	font-weight: 700;
}

#conditions p {
    font-size: 19px;
	font-weight: 500;
}
#description {
    font-size: 19px;
	font-weight: 500;
	display: none;
}
#output {
    font-size: 19px;
	font-weight: 400;
	margin-bottom: 15px;
}

p::first-letter {
  text-transform: uppercase;
}

.overlay {
	z-index: 90;
	position: fixed;
	height: 400px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}








