/*!
Theme Name: Ceny realit
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ceny-realit
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */

hr {
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,


ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* 400 – Regular */
@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/ceny-realit/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 500 – Medium */
@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/ceny-realit/fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 600 – SemiBold */
@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/ceny-realit/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 700 – Bold */
@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/ceny-realit/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root { 
	
	--background: #050A31;
	--text: #fff;
	--highlight: #B9D230;
}


body {
	background-color: var(--background); 
	color: var(--text);
	font-family: 'Poppins', sans-serif;
	overflow-x: hidden;
	width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay; /* optional for soft blending */
}
a, a:visited, a:active, a:focus,a:hover {
	color: var(--highlight);
}

p.text-error.text-sm.mt-1 {
	margin-bottom:0;
}

::placeholder {
    font-size: 18px;
}

.error404 h1 {
	font-size: 2rem !important;
	line-height: 2.5rem !important;
} 

.btn {
	padding: 0.8125rem 1.75rem;
    width: max-content;
    font-size: 1.125rem;
    border-radius: 9999px;
    line-height: 1.25;
    cursor: pointer;
    background: var(--highlight);
    border: none;
    transition: 400ms;
    min-width: 180px;
		display: block;

}

button {
	transition: 400ms;
}

button:hover, .btn:hover {
	opacity: 0.8;
}

.page-template-default .wp-container {
    align-items: flex-start;
}

.btn-int,.btn-int:hover, .btn-int:focus, .btn-int:visited, .btn-int:active {
	color: var(--background);
	text-decoration: none;
}

.wp-container-wrapper {
	max-width: 1140px;
	margin: auto;
	padding: 0 1.5rem;
	display: flex;
}

#react-app .flex.flex-row.gap-4.items-center p {
	margin: 0;
}

.wp-container {
	max-width: 1140px;
	margin: auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	min-height: 100vh;
	justify-content: center;
		flex-direction: row;
}

h1 {
	font-size: 3.5rem;
	line-height: 4.1875rem;
	font-weight: 500;
}
span {
	color: var(--highlight);
}
.home p {
	font-size: 1.125rem;
	line-height: 1.6875rem;
	max-width: 409px;
}
header {
	padding: 2rem 0 0rem 0;
}
header img {
	width: 280px;
}
.page-content {
	padding: 0 0 2rem 0;
}

.page-template-react-app header, .page-template-home header {
	display: none;
}

.home-intro img {
	width: 660px;
	max-width: 100%; 
}

.home h1 {
	margin-bottom: 0;
}

.home.wp-container {
	flex-direction: column;
}

button:hover {
	opacity: 0.8;
}

.home h1 {
	margin-top: 3.75rem;
}

.wp-container.thank-you {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align:left;
}

.wp-container.thank-you h1 {
	font-size: 87px;
	
}

div#react-app {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-icon-left {
	overflow: hidden;
}
.bg-icon-left svg {
	position: fixed;
	z-index: -9;
	width: 30%;
		height: auto;
  left: 0;
  bottom: 0;
  transform: translate(-50%, 40%);
}

.home .bg-icon-right svg {
		width: 100%;
	 transform: translate(20%, -40%) rotate(180deg);
	 opacity: 0.8;
}

.home .bg-icon-white-bottom svg {
	  transform: translate(40%, 50%);
	  opacity: 0.5;
		width: 50%;
}
.bg-icon-right svg {
	position: fixed;
	right:0;
	top: 0;
  transform: translate(40%, -30%) rotate(180deg);
	width: 1100px;
	height: auto;
		z-index: -9;
}

.bg-icon-black-right svg {
		position: fixed;
	right:0;
	top: 0;
	z-index:-8;
}
.bg-icon-black-right svg {
	width: 670px;
	height: auto;
}

.bg-icon-white-left svg {
	position: fixed;
	top: 0;
	left:0;
  transform: translate(-40%, -70%);
	opacity: 0.8;
	z-index: -9;
	width: 100%;
}

.bg-icon-white-bottom svg {
	position: fixed;
	bottom: 0;
	left:0;
  transform: translate(40%, 80%);
	opacity: 0.8;
	z-index: -9;
	width: 100%;
}


footer .footer-list { 
	padding: 0 15px;
	gap: 0.5rem;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
footer .footer-list a {
		text-transform: uppercase;
	  letter-spacing: 2px;
	  color: var(--text);
	  text-decoration: none;
}
.grecaptcha-badge {
	display: none !important;
}

@media screen and (min-width: 768px) {
	.home.wp-container {
	flex-direction: row;
}

footer {
    transform: translate(50%, 0);
    transform-origin: 100% 0;
    position: fixed;
    right:35px;
    top: 0;
    text-align: center;
    z-index: 2;
	  width: 100vh;
  	transform: rotate(-90deg);
}
	
footer .footer-list {
	gap: 4rem;
	display: flex;
	justify-content: center;
}
footer .footer-list a {
		text-transform: uppercase;
	  letter-spacing: 5.2px;
	  color: var(--text);
	  text-decoration: none;
}
}

footer .sep {
		display: inline-block;
	 color: var(--text);
}
footer .footer-list a:hover {
	text-decoration: underline;
}


#react-app {
	width: 100%;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #050a31; /* match your page background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #283488; /* your main filled color */
  border-radius: 10px;
  border: 2px solid #050a31; /* creates padding effect for modern floating look */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #1f2a7a; /* slightly darker on hover */
  border: 2px solid #050a31;
}

/* Optional: smooth transition */
::-webkit-scrollbar-thumb {
  transition: background-color 0.2s ease-in-out;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #283488 #050a31;
}

@media screen and (max-width: 767px) {
	footer {
		margin: 4rem 0 2rem;
	}
	footer .footer-list {
		justify-content: flex-start;
	}
		.wp-container.home {
		min-height: 75vh;
	}
	.wp-container.thank-you {
		min-height: 65vh;
	}
	
	.wp-container {
		justify-content: flex-start;
		align-items: flex-start;
	}
	#react-app {
		margin-top:2.5rem;
	}
	.page-template-react-app header {
		display: block;
	}
	.home-intro {
		margin-top: 2rem;
	}
	h1.wp-block-heading {
		font-size: 2rem;
		line-height: 2.5rem;
	}
	.home .logo {
		margin:2rem 0 0;
	}
	.home .logo, .logo {
		width: 190px;
		height: auto;
		object-fit:contain;
	}
	.wp-container.thank-you h1, h1 {
		font-size: 2rem;
		line-height: 2.5rem;
	}
	.home h1 {
		margin-top: 2rem;
	}
	.home-intro img {
		max-width: 100%;
		object-fit: contain;
	}
	.home .bg-icon-right, .home .bg-icon-black-right, .bg-icon-right, .bg-icon-black-right  {
		display: none;
	}
	.bg-icon-left svg {
		width: 100%;
	  left: auto;
		right:0;
  	bottom: 0;
  transform: translate(50%, 40%) rotate(270deg);
		
	}
}

