/*
Theme Name: Bidzan
Theme URI: 
Author: Blu/Art
Author URI: https://blu-art.pl
Description: 
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.6
Version: 1.2.1
License: 
License URI: 
Text Domain: bidzantheme
Tags: 
*/
:root {
  --container--width: 1920px;
  --nav--height: 180px;
  --nav--height--down: 180px;
}
.down {
  --nav--height: 100px;
}
@media (width <= 2200px) {
  :root {
    --container--width: 1360px;
  }
}
@media (width <= 768px) {
  :root {
    --container--width: 100%;
    --nav--height: 180px;
    --nav--height--down: 100px;
  }
}
@media (width <= 425px) {
  :root {
    --nav--height--down: 0;
  }
}
/*/////////////////////// Page ///////////////////////////////////////////////////////*/

.wp-site-blocks {
  overflow: hidden;
}
.hidden {
  overflow: hidden;
  min-height: 100vh;
}
header {
  position: fixed;
  top: 0;
  box-sizing: border-box;
  display: flex;
  padding: 0.625rem 0;
  width: 100%;
  height: var(--nav--height);
  background-color: #fff;
  transition: height 0.2s var(--flow--smooth);
  z-index: 3;
}
main {
  position: relative;
  z-index: 2;
  padding-top: var(--nav--height--down)!important;
  transition: padding 0.2s var(--flow--smooth);
}
footer {
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  background-color: #373738;
  z-index: 1;
}
@media (max-width: 575.98px) {
  header {
    position: relative;
  }
  footer {
    min-height: 100vh;
  }
}

/*/////////////////////// Images Effect ///////////////////////////////////////////////////////*/

img.move {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3s var(--flow--wave);
}
img.move:hover {
  transform: scale(1.08);
}

/*/////////////////////// Scroll to top ///////////////////////////////////////////////////////*/

.scroll_to_top {
  position: fixed;
  z-index: 4;
  right: 25px;
  bottom: 80px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--wp--preset--color--gray);
  transform: translateY(130px);
  transition: transform 0.6s var(--flow--smooth), border 0.6s var(--flow--smooth);
}
.scroll_to_top.up {
  transform: translateY(0);
}
.scroll_to_top svg {
  fill: var(--wp--preset--color--gray);
  width: 26px;
  transition: 0.6s var(--flow--smooth);
}
.scroll_to_top:hover {
  border-color: var(--wp--preset--color--lightgreen);
}
.scroll_to_top:hover svg {
  fill: var(--wp--preset--color--lightgreen);
  transform: scale(1.4);
}
.hidden .scroll_to_top {
  right: -50px;
}
@media (width <= 425px) {
  .scroll_to_top {
    bottom: 110px;
    transform: translateY(180px);
  }
}

/*/////////////////////// Navigation ////////////////////////////////////////////////////*/

.wp-block-navigation-item a {
  text-decoration: none;
}
.wp-block-navigation-item span {
  position: relative;
}
.wp-block-navigation-item span::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #a1d1c5;
  transition: width 0.2s var(--flow--smooth);
}
.wp-block-navigation-item span:hover::before,
.wp-block-navigation-item.current span::before {
  width: 25px;
}
.wp-block-navigation-item.current span::before {
  bottom: -2px;
}
.wp-block-navigation ul {
  column-gap: 1rem;
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 1px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 1px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
