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

/* Шрифти: Orelega One замість Suez One, Roboto лишився */

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

body, html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	background-color: #fafafa;
	font-family: Trebuchet MS, Helvetica;
	background-color: #e5e5e5;
    background-image: url('images/Background_Coolsky_logos.jpg');
    background-repeat: no-repeat;
    background-size: cover;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex-grow: 1;
	width: 100%;
	max-width: 700px;
	padding-top: 120px; /* Відступ зверху для уникнення перекривання header */
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

header {
	width: 100%;
	background: transparent;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	background-color: #000;
	border-bottom: 1px solid silver;
	display: flex;
	align-items: center; /* Вирівнює елементи по вертикалі */
	padding: 0 20px; /* Відступи справа та зліва */
	box-sizing: border-box;
	height: 86px; /* Висота header така сама, як висота логотипа */
}

.logo_top{
	padding: 5px;
	max-width: 100%;
	box-sizing: border-box;
	height: 66px;
	text-align: left;
	margin-left: 40px;
	margin-right: 5px;
}

header #logo {
	color: #fff;
	cursor: pointer;
}

header #logo span {
	font-size: 1.7em;
	line-height: 45px;
	margin-left: 40px;
	font-family: 'Orelega One', serif;
}

header #logog {
	color: #fff;
	cursor: pointer;
	margin-bottom: 0px;
}

header	#logog a {
	font-size: 1.7em;
	line-height: 45px;
	margin-left: 0px;
	font-family: 'Orelega One', serif;
	text-decoration: none;
}

@media (min-width: 701px) {
	#logog {
		float: left;
		width: 30%;
		font-size: 1.1em;
	}

	#about_g {
		float: right;
		width: 67%;
	}
}

@media (max-width: 700px) {
	#logog {
		margin-top: 15px;
		width: 100%;
		font-size: 1.5em;
	}

		#about_g {
		float: left;
		width: 100%;
	}
}

#about_g {
	text-align: center;
	font-size: 1em;
	line-height: 40px;
	margin-bottom: 10px;
	padding-top: 6px;
}

#about_g > a {color: #fff;}

#about_g > a:hover {
	color: #b0b0b0;
	text-decoration: underline;
}

#about_g > a:not(:last-child) {
	margin-right: 7%;
}


.calculator-container {
	width: 100%;
	background-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	overflow: hidden;
}

.header {
	background: linear-gradient(90deg, #6e8efb 0%, #a777e3 100%);
	color: white;
	padding: 15px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.header:hover {
	background-color: #4a5bcb;
}

.calculator {
	padding: 20px;
	display: flex;
	flex-direction: column;
	grid-column-gap: 20px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.inputs {
	background-color: #f9f9f9;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.input-group label {
	flex: 1;
	color: #333;
}

.input-group input {
	width: 120px;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
}

.square {
	position: relative;
	background-color: #dcdcdc;
	border: 2px solid #b0b0b0;
	border-radius: 8px;
	box-sizing: border-box;
	cursor: nwse-resize;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
	margin-left: 80px;
	max-width: 500px;
    max-height: 2500px;
}

.square:hover {
	background-color: #c0c0c0;
}

.square::after {
	content: attr(data-area) ' м²';
	color: #333;
	font-weight: bold;
	font-size: 1.1rem;
}

.options {
	background-color: #f9f9f9;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.options label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	color: #333;
}

.options input[type="number"] {
	width: 80px;
}

.results {
	background-color: #f9f9f9;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	font-size: 1.1rem;
}

.results p {
	margin: 5px 0;
}

.total {
	font-weight: bold;
	font-size: 1.2rem;
}

.profile-cost {
	display: none;
	font-size: 1rem;
	font-weight: bold;
	margin-top: 10px;
}

/* Footer */

footer {
	width: 100%;
	background-color: #000;
	padding: 25px 0;
	text-align: center;
	position: relative;
	margin-top: 30px;
}

footer a {
	color: white;
	font-size: 1.2em;
	margin-left: 10px;
	text-decoration: none;
}

footer p {
	color: white;
	text-align: center;
	margin-bottom: 0px;
}

.graficlogo {
	padding: 5px;
	max-width: 100%;
	box-sizing: border-box;
	height: 80px;
}

.social img {
	margin-left: 10px;
	margin-bottom: 10px;
}

.social img:hover {
	background-color: #494949;
	border-radius: 50%;
}

.nomers {
	display: inline-block;
	color: white;
	width: 70%;
	text-align: right;
}

.logo_f {
	display: inline-block;
	text-align: left;
}

.cont h2 {
	margin-right: 100px;
}

.thiscal{
	display: block;
	color: white;
    text-align: center;
	width: 70%
	justify-content: center;
	margin-bottom: 10px;
}
