/*
Theme Name: Rolkowy
Theme URI: 
Author: Marcel Litwinowicz
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rolkowy
Tags: 

/*  Navigation Block Breakpoint. Credit: https://wpdocs.io/ */

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

summary {
  cursor: pointer;
  transition: color 0.2s ease;
}

summary:hover {
  color: var(--wp--preset--color--accent-hover);
}

/*  Navigation Block Breakpoint. Credit: https://wpdocs.io/ */
body .wp-block-navigation__responsive-container-open:not(.always-shown) {
  display: block !important;
}

body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
  display: none !important;
}

/* Change the width to the breakpoit of the Nav */
@media (min-width: 999px) {
  body .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none !important;
  }

  body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block !important;
  }
}

header a:hover span,
footer a:hover span {
    color: var(--wp--preset--color--accent-hover);
	transition: all .2s ease;
}


/* Social Links */
.wp-social-link {
	transition: background-color 0.2s ease;
}
.wp-social-link:hover {
	transform: none;
	background-color: var(--wp--preset--color--accent-hover) !important;
}
