/*
Theme Name: Vancoufur 2026
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Template: twentytwentyfive
Author: Vancoufur, LinuxPony
Author URI: https://vancoufur.org/
Description: WordPress Theme for Vancoufur 2026. Released under the GPL.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
Text Domain: vancoufur
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.vf-hero {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
	color: #fff;
}

body.ios .vf-hero {
  background-attachment: scroll;
  
}

.vf-page-header {
  background-attachment: fixed;
  background-size: cover;
  background-position: top center;
	background-image: url('https://vancoufur.org/wp-content/uploads/2025/08/alice_png.jpg') !important; 
}

body.ios .vf-page-header {
  background-attachment: scroll;
  
}

img.vf-border, .vf-border img {
    min-height: 30px;
    object-fit: cover;
}

main .vf-border, main .vf-border * {
	width: 100%;
}

.hero-title-img img {
	width: 600px;
}

.hero-character figure {
  transform: translateY(2rem);
  animation: bob 2.4s ease-in-out infinite
}

.hero-character img {
  transform: scale(1.5) translateX(1vw) rotate(2deg);
  animation: sway 3.1s ease-in-out infinite;
  transform-origin: center;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(2rem);
  }
  50% {
    transform: translateY(3rem);
  }
}

@keyframes sway {
  0%, 100% {
    transform: scale(1.5) translateX(1vw) rotate(2deg);
  }
  50% {
    transform: scale(1.5) translateX(1vw) rotate(-2deg);
  }
}

.countdown-wrapper {
	max-width: 100%;
	width: 400px;
	margin: 0 auto;
}
.news-wrapper .news-container {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
	text-align: center;
}
@media screen and (max-width: 1000px) {
	.news-wrapper .news-container {
		flex-direction: column;
	}
}
.news-wrapper .news-container img {
	max-width: 100%;
	width: 250px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.news-wrapper .news-container .news-item {
	width: 33%;
	display: flex;
	flex-direction: column;
}
@media screen and (max-width: 1000px) {
	.news-wrapper .news-container .news-item {
		width: 100%;
		padding: 0.5rem 0;
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
}
.news-wrapper .news-container .news-item .news-content {
	max-width: 100%;
	width: 250px;
	margin: 0 auto;
	text-align: left;
}
.news-wrapper .news-container .news-item .news-content .news-date {
	font-weight: bold;
}
.news-wrapper .news-container .news-item .news-content h3 {
	margin-top: 0.5rem;
}
.news-wrapper .news-container .news-item .news-content .news-button {
	border-radius: 25px;
}
.social-links {
  list-style: none;
  padding-left: unset;
}
.social-links li {
  display: inline-block;
}
.social-links a {
  padding: 1rem;
  font-size: 2rem;
}
#return-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 9999;
}
#return-to-top:hover {
  background-color: #555;
}
#return-to-top.show {
  opacity: 1;
  visibility: visible;
}
