/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Description: Twenty Twenty-Four Child Theme
Author: UFO²
Author URI: https://wordpress.org
Template: twentytwentyfour
Version: 1.0
*/

/* Scroll down animation - Homepage */
@keyframes scroll {
  0% {
    opacity: 1
  }

  to {
    opacity: 0;
    transform: translateY(46px)
  }
}

#scroll-top {
  position: fixed;
  z-index: 20;
  bottom: 10px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-image: url(icons/chevron-up-solid.png);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity .3s ease-out,background .3s ease-out,border-color .3s ease-out,transform .3s ease-out;
  opacity: 0;
  transform: scale3d(0,0,0);
  cursor: pointer;
}

#scroll-top.active {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

#scroll-top:hover {
  background-image: url(icons/chevron-up-solid-white.png);
  background-size: 20px;
  background-color: black;
}

header.has-cover {
	position: absolute;
  z-index: 10;
  width: 100%;
	background: linear-gradient(180deg,rgb(255,255,255,1) 0%,rgba(0,0,0,0) 100%);
}

header > div {
  transform: translateY(0%);
  transition: 0.2s ease-in-out;
}

header.is-sticky > div,
header.is-sticky.slide-up > div {
  transform: translateY(0%) !important;
  position: fixed;
  width: 100%;
  top: 0;
}

header.is-sticky.slide-up > div  {
  transform: translateY(-100%) !important;
}

header.is-sticky > div  {
	background: linear-gradient(180deg,rgb(255,255,255,1) 0%,rgba(0,0,0,0) 100%);
}

header:hover > div,
header.has-cover.is-sticky:hover > div  {
  background-color: #fff;
}

header nav button,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  border: none;
  outline: none;
}

.wp-block-navigation__responsive-container.is-menu-open {
  height: fit-content;
}

.wp-block-navigation__responsive-container-close {
  top: 15px;
}

.video-banner-group {
	position: relative;
}

.text-shadow {
  text-shadow: 0px 0 15px black;
}

.scroll-down {
	cursor: pointer;
  position: absolute;
  bottom: 30px;
  right: 50px;
	text-decoration: none;
  z-index: 10;
  color: white;
}

.scroll-down::after {
  content: "";
  width: 1px;
  height: 55px;
  background-color: #bb0000;
  display: block;
  top: 0;
  position: absolute;
  left: -20px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

.wp-block-tiptip-hyperlink-group-block {
	text-decoration: none;
}

.polylang_langswitcher {
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--century-gothic) !important;
  font-size: var(--wp--preset--font-size--small) !important;
  cursor: pointer;
  position: relative;
}

.polylang_langswitcher ul {
  outline: none;
  list-style: none;
  display: none;
  position: absolute;
  margin: 0;
  background: white;
  padding: 0.75em 0.5em;
  left: -8px;
}

.polylang_langswitcher:hover ul,
.show {
  display: block !important;
}

.polylang_langswitcher ul li.current-lang,
.polylang_langswitcher p {
  display: none;
}

.polylang_langswitcher ul li a {
  text-decoration: none;
  outline: none;
}

@media (max-width: 600px) {
  header nav {
    order: 3;
  }

  header > div > div.is-layout-flex {
    flex-wrap: nowrap;
  }

  .wp-block-site-logo {
    width: 60%;
  }

  .wp-block-site-logo img {
    width: 100%;
  }
}

.home :where(.wp-site-blocks) > * {
	margin-block-start: 0;
}