/*
Theme Name: Twentytwentyfive-Child
Template: twentytwentyfive
Theme URI: https://studioanomalia.com.pl/
Author: https://studioanomalia.com.pl/
Author URI: https://studioanomalia.com.pl/
Description: 
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: https://studioanomalia.com.pl/
License URI: https://studioanomalia.com.pl/
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}
/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	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: 4px;
}
/* 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;
}

/* Custom CSS */
:root {
    --font-size-small: 16px;
    --font-size-medium: 1vw;
    --font-size-large: 17.28px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
}
    
    @media screen and (max-width: 1440px) {
        :root {
            --font-size-medium: 16px;
        }
}
    
    @media screen and (min-width: 1728px) {
        :root {
            --font-size-medium: 17.28px;
        }
}
html {
    scroll-behavior: smooth;
}
/* Custom header and footer */
header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%
}
.wp-block-navigation__container a:hover {
    color: var(--wp--preset--color--contrast-4) !important;
}
.wp-block-navigation__container a {
    transition: .4s ease;
}
.nav .navi,
.nav .info{
    transition: all 0.3s ease-out !important;
}
.null-menu-link > a {
  pointer-events: none !important;
  cursor: default !important;
  color: inherit !important;
  text-decoration: none !important;
}
.wp-block-navigation__submenu-container {
    border-radius: 10px !important;
}
.scrolled .navi {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.gmap iframe {
    border-radius: var(--wp--preset--spacing--5) !important;
}
.menu-logo img {
    width: 200px !important;
    height: auto !important;
}
.no-line-no a{
    text-decoration: none !important;
    transition: all 0.3s ease-out;
}
.no-line a{
    text-decoration: none !important;
    transition: all 0.3s ease-out;
}
.no-line a:hover {
    text-decoration: underline !important;
}

/* Custom images */
.icon-percent img {
    min-width: 80px !important
}

.icons {
    min-width: 35px;
}

.wp-block-button.is-style-outline .wp-block-button__link.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--accent-5) !important;
    color: var(--wp--preset--color--contrast) !important;
}

/* Custom animated text */
.text-animation {
  opacity: 0;
}
.text-animation span {
  position: relative;
  top: 10px;
  left: 10px;
  opacity: 0;
  animation: fade 3000ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes fade {
  0% {
    top: 0px;
    left: 0px;
    opacity: 0;
  }
  100% {
    top: 0px;
    left: 0px;
    opacity: 1;
  }
}

.img-button img {
    transition: all 0.3s ease-out !important;
}
.img-button:hover img {
    transform: scale(1.05) !important;
}

/* Custom timeline */
@media screen and (max-width: 781px) {
    .timeline-arrow {
        text-align:start !important;
        position: relative !important;
        left: -5px !important
    }
    .timeline {
        border-left-color: var(--wp--preset--color--contrast);
        border-left-width: 2px;
        border-right-color: none !important;
        border-right-width: 0 !important;
        border-left-style: solid !important;
    }
    .timeline p,
    .timeline h2 {
        text-align: start !important;
    }
    .druga-kolumna {
        display: none !important;
        height: 0px !important;
    }
}
@media screen and (min-width: 782px) {
    .tytul-na-telefonie {
        display: none !important;
    }
}

