
body
{
	font-family: "Outfit";
	height: 100%;
	margin-right: 0;
}

input[type="text"] 
{
	width: 100%;
	
  background: transparent;
  border: none;
  
  font-size: 25px;
}

input:focus
{
	outline: none;
}



#container
{
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	
	width: 90%;
	min-height: 200px;
	
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	
}

#search-input
{
	width: 90%;
	padding: 5px 0px 5px 20px;
}

#search-btn
{
	width: 80px; height: 80px;
	
	background: transparent;   /* brak tła */
	border: none;              /* brak ramki */
	padding: 0;                /* bez odstępów */
	cursor: pointer;
	display: flex;             /* centrowanie ikony */
	align-items: center;
	justify-content: center;
}

#search-btn-img
{
	filter: brightness(0.5);
	transition: scale 0.2s;
}

#search-btn-img:hover
{
	scale: 1.05;
	transition: scale 0.2s;
}

#search-bar
{
	display: flex;
	flex-direction: row;
	align-items: center;
	
	margin-top: 5%;
	margin-left: auto;
	margin-right: auto;
	
	width: 90%;
	height: 80px;
	
	/* From https://css.glass */
background: rgba(255, 255, 255, 0.35);
border-radius: 100px;;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8.6px);
-webkit-backdrop-filter: blur(8.6px);
border: 1px solid rgba(119, 119, 119, 0.3);
}


/* boxy */

.box-style
{
	/* From https://css.glass */
background: rgba(226, 226, 226, 0.6);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.5px);
-webkit-backdrop-filter: blur(10.5px);

margin: 10px;

}

.long-box
{
	width: 500px;
	height: 250px;
	
	
}

.square-box
{
	width: 250px;
	height: 250px;
	
	
}
	
.value
{
	display: flex;
	align-items: center;
	justify-content: center;
	
	font-size: 100px;
	font-weight: 900;
	
	height: 85%;
	width: 45%;
	

}

#weather-icon
{
	height: 85%;
	width: 45%;
	
	display: flex;
	align-items: center;
	justify-content: center;
}

#loc-icon
{
		display: flex;
	align-items: center;
	justify-content: center;
}

#weather-description
{
	text-align: center;
	font-size: 20px;
	
	min-height: 20px;
	width: 100%;
}

.value-text
{
	text-align: center; 
	width: 100%; 
	font-size: 20px;
}

/*klasy tła */

#background
{
	background-repeat: repeat-y;
	background-size: cover;
	background-position: center;
	place-items: center;
}

.bg-default
{
	background-image: url("img/background_default.webp");
}

.bg-sun
{
	background-image: url("img/background-sun.webp"); 
	transition: background-image 0.5s;
}

.bg-sun-cloud
{
	background-image: url("img/background-sun-cloud.webp"); 
	transition: background-image 0.5s;
}

.bg-cloud
{
	background-image: url("img/background-cloud.webp"); 
	transition: background-image 0.5s;
}

.bg-rain
{
	background-image: url("img/background-rain.webp"); 
	transition: background-image 0.5s;
}

.bg-snow
{
	background-image: url("img/background-snow.webp"); 
	transition: background-image 0.5s;
}

.bg-moon
{
	background-image: url("img/background-moon.webp"); 
	transition: background-image 0.5s;
}

.bg-moon-cloud
{
	background-image: url("img/background-moon-cloud.webp"); 
	transition: background-image 0.5s;
}

/* KLASY KOLOROW FONTOW */

.color-green
{
	color: green;
}

.color-yellow
{
	color: yellow;
}

.color-red
{
	color: red;
}

.invisible
{
	opacity: 0;
	transition: opacity 0.5s;
}
.visible
{
	opacity: 100;
	transition: opacity 0.5s;
}


@media (max-width: 700px)
{
	input[type="text"] 
	{
		width: 100%;
	
		background: transparent;
		border: none;
  
		font-size: 16px;
	}	

	
	#container
	{
		justify-content: center;
	}
	
	#weather-icon img
	{
		width: 100px;
	}
	
	.value
	{
		font-size: 70px;
	}
	
}



