/*
Theme Name: Twenty Twenty-Five Child
Description: Ein Child-Theme für Twenty Twenty-Five
Author: B. Eng. (FH) Ferit Ilci
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
*/

@keyframes fadeIn {
    0% {
        opacity: 0;  /* Anfangs unsichtbar */
        transform: translateY(20px);  /* Optional: Startet leicht nach unten verschoben */
    }
    100% {
        opacity: 1;  /* Ende sichtbar */
        transform: translateY(0);  /* Endposition */
    }
}

.cta-box {
	padding: 10px;
	margin: 10px;
	background: #819E29;
	color: #0D1F12;
	border-radius: 5px;
	opacity: 0;
	animation: fadeIn 1.5s ease-out forwards;
	animation-delay: 0.5s;
	box-shadow: 2px 2px 5px #819E29;
}

.cta-box h3 {
	color: #0D1F12;
}

.cover-button {
	opacity: 0;
	animation: fadeIn 2s ease-out forwards;
	animation-delay: 1s;
}

.cover-text {
	opacity: 0;
	animation: fadeIn 1.5s ease-out forwards;
	animation-delay: 0.5s;
	text-shadow: 2px 2px 5px;
}

.age-overlay{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;

  background: color-mix(in srgb, #0e1f24 85%, transparent);
  backdrop-filter: blur(10px);
}

.age-overlay.is-active{ display: flex; }

.age-overlay__content{
  width: min(560px, calc(100% - 2rem));
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 14px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.age-overlay__logo{
  display: block;
  width: 92px;
  height: auto;
  margin: 0 auto 0.75rem;
  opacity: 0.95;
}

.age-overlay__content h2{ margin: 0 0 0.5rem; }
.age-overlay__content p{ margin: 0 0 1rem; }

.overlay-buttons{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.overlay-buttons button{
  appearance: none;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

#age-yes{
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}

#age-no{
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
}


#age-yes:hover{
  opacity: 80%;
}

#age-no:hover{
  opacity: 80%;
}

.overlay-buttons button:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}