/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body, html{
	overflow-x:hidden;
}
/* Add your custom styles here */

.floating-item {
  animation-duration:6s;
  animation-name:ba-float-vertical;
  animation-iteration-count:infinite;
  animation-timing-function:ease-in-out
}

@keyframes ba-float-vertical {
  0% {
	transform:translatey(0);
	-webkit-transform:translatey(0);
	-moz-transform:translatey(0);
	-ms-transform:translatey(0);
	-o-transform:translatey(0)
  }
  50% {
	transform:translatey(-20px);
	-webkit-transform:translatey(-20px);
	-moz-transform:translatey(-20px);
	-ms-transform:translatey(-20px);
	-o-transform:translatey(-20px)
  }
  100% {
	transform:translatey(0);
	-webkit-transform:translatey(0);
	-moz-transform:translatey(0);
	-ms-transform:translatey(0);
	-o-transform:translatey(0)
  }
}

/* Style for the leaf */
.leaf {
  position: absolute;
  animation: windAndFloat 8s ease-in-out infinite; /* Infinite animation with smooth transitions */
  opacity: 0.8;
}

/* Combined wind and float keyframes with a different return path */
@keyframes windAndFloat {
  0% {
	transform: translate(0, 0) rotate(0deg); /* Start at initial position */
  }
  25% {
	transform: translate(100px, 30px) rotate(15deg); /* Float to the right and slightly down */
  }
  50% {
	transform: translate(200px, -20px) rotate(-10deg); /* Float further right and up */
  }
  75% {
	transform: translate(150px, 60px) rotate(30deg); /* Return at a different point, further down */
  }
  100% {
	transform: translate(0, 0) rotate(0deg); /* Back to a slightly different position from the start */
  }
}

/* Gift box style */
.gift-box {
  animation: shake 5s ease-in-out infinite;
}

.animate-image {
  animation: shake 3s ease-in-out;
}

/* Keyframes for the shake animation */
@keyframes shake {
  0%, 100% {
	transform: translate(0, 0) rotate(0deg); /* Start at the normal position */
  }
  10% {
	transform: translate(5px, -5px) rotate(5deg); /* Slight movement */
  }
  20% {
	transform: translate(-5px, 5px) rotate(-5deg); /* Opposite movement */
  }
  30% {
	transform: translate(5px, -5px) rotate(5deg); /* Repeat movement */
  } 
}

/* Wind waves image */
.wind-waves {
  animation: waveExpand 3s ease-in-out infinite;
}

/* Keyframes for the scaling and moving effect */
@keyframes waveExpand {
  0% {
	transform: scale(1) translateX(0); /* Start at the normal size */
  }
  50% {
	transform: scale(1.05) translateX(10px); /* Slightly expand and move right */
  }
  100% {
	transform: scale(1) translateX(0); /* Return to the original size */
  }
}

.login-box{
  font-family: "Aestetico", Sans-serif;
}
.login-box h3{
  margin:0;
  padding:0;
  font-size: 60px;
  font-weight: bold;
  letter-spacing: -1.5px;
  color: #E0BA5B;
}
.login-box h4{
  margin:0;
  padding:0;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.login-box .title_premiu{
  margin:0;
  padding:0;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
  padding-bottom:10px;
}
.login-box .disclaimer-general{
  margin:0;
  padding:0;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #E0BA5B;
}
.login-box .descriere_premiu{
  margin:0;
  padding:10px 0px;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #E0BA5B;
}
.login-box .cod_voucher{
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-transform: uppercase;
}
.left-form-disclaimer{
  font-size: 14px;
  font-weight: normal;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #E0BA5B;
  width: 300px;
  max-width: 100%;
  padding-top:30px;
}
#zona-cadouri .elementor-widget-shortcode{
  width: 100%;
}

.container-cadouri {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns */
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 5 / 8; /* Maintain 5x8 layout proportions */
}

.container-cadouri .item {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  aspect-ratio: 1 / 1; /* Makes every item a square */
}

.container-cadouri .item span{
  /* background: #007BFF; */
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  /* border-radius: 5px; */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.container-cadouri .item:nth-child(1) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-1.png");
}
.container-cadouri .item:nth-child(2) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-2.png");
}
.container-cadouri .item:nth-child(3) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-3.png");
}
.container-cadouri .item:nth-child(4) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-4.png");
}
.container-cadouri .item:nth-child(5) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-5.png");
}
.container-cadouri .item:nth-child(6) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-6.png");
}
.container-cadouri .item:nth-child(7) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-7.png");
}
.container-cadouri .item:nth-child(8) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-8.png");
}
.container-cadouri .item:nth-child(9) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-9.png");
}
.container-cadouri .item:nth-child(10) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-10.png");
}
.container-cadouri .item:nth-child(11) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-11.png");
}
.container-cadouri .item:nth-child(12) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-12.png");
}
.container-cadouri .item:nth-child(13) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-13.png");
}
.container-cadouri .item:nth-child(14) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-14.png");
}
.container-cadouri .item:nth-child(15) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-15.png");
}
.container-cadouri .item:nth-child(16) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-16.png");
}
.container-cadouri .item:nth-child(17) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-17.png");
}
.container-cadouri .item:nth-child(18) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-18.png");
}
.container-cadouri .item:nth-child(19) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-19.png");
}
.container-cadouri .item:nth-child(20) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-20.png");
}
.container-cadouri .item:nth-child(21) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-21.png");
}
.container-cadouri .item:nth-child(22) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-22.png");
}
.container-cadouri .item:nth-child(23) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-23.png");
}
.container-cadouri .item:nth-child(24) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-24.png");
}
.container-cadouri .item:nth-child(25) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-25.png");
}
.container-cadouri .item:nth-child(26) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-26.png");
}
.container-cadouri .item:nth-child(27) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-27.png");
}
.container-cadouri .item:nth-child(28) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-28.png");
}
.container-cadouri .item:nth-child(29) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-29.png");
}
.container-cadouri .item:nth-child(30) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-30.png");
}
.container-cadouri .item:nth-child(31) span{
  background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-31.png");
}

/* Snow Container for the Snow Effect */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow interaction with the underlying page */
    z-index: 1000; /* Place it on top of everything */
}

/* Snowflakes */
.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 1em;
    opacity: 0.8;
    animation: fall linear infinite;
}

/* Snowfall Animation */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

@keyframes subtle-present-shake {
    0% { transform: rotate(0) translateY(0); }
    25% { transform: rotate(-2deg) translateY(-1px); }
    50% { transform: rotate(2deg) translateY(1px); }
    75% { transform: rotate(-2deg) translateY(-1px); }
    100% { transform: rotate(0) translateY(0); }
}

/* Spanned items */
.container-cadouri .item.span-col {
  grid-column: span 2; /* Spans 2 columns */
  grid-row: span 1;
  aspect-ratio: 2 / 0.98; /* 2x wide and 1x high */
}

.container-cadouri .item.span-row {
  grid-column: span 1;
  grid-row: span 2; /* Spans 2 rows */
  aspect-ratio: 1 / 2.05; /* 1x wide and 2x high */
}

.container-cadouri .item.past-day{
  opacity:0.5;
}
.container-cadouri .item.future-day span{
  mix-blend-mode: difference;
  filter: grayscale(30%);
}
.container-cadouri .item.current-day{
  cursor:pointer;
  animation: subtle-present-shake 1.5s ease-in-out infinite; /* Longer duration for subtlety */
  transition: transform 0.2s ease;
}

.container-cadouri .item.current-day span{
  background-blend-mode: screen;
  background-color:#AC1C1C;
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .container-cadouri {
    grid-template-columns: repeat(3, 1fr); /* Adjust to 3 columns */
  }

  .container-cadouri .item {
    aspect-ratio: 1 / 1; /* Keep square shape on mobile */
  }

  .container-cadouri .item.no-span-mobile {
    grid-column: span 1; /* Still span 2 columns */
    aspect-ratio: 1 / 1; /* Adjust to stay proportional */
  }
  
  .container-cadouri .item:nth-child(31) span{
    background-image: url("/wp-content/themes/hello-theme-child-master/cadouri/cadou-31-mobile.png");
  }

}