body {
  margin: 0;
  height: 100vh;
  background-size: cover;
 
  overflow: auto;
  background-image: url("https://cdn.glitch.global/4bf1207c-a3b4-45bb-ba94-66b7502cd72e/xmas.jpg?v=1722510251763");
}

#snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
      transform: translateY(100vh);
  }
}




.heading {
  display: flex;
  justify-content: center;
} 

h1 {
  font-size: 60px;

  padding: 20px;
 
  font-family: 'Montserrat', sans-serif;
  font-weight: 900 bold;
  color:  #ecd3d7 ;
  animation: glitter-animation 2s infinite; 
}
 
  
@keyframes glitter-animation {
  80% {
    text-shadow: 0 5px 10px  rgb(184, 3, 3), 0 0 30px rgba(219, 240, 215, 0.955);

  }
}

h4 {
  color: green;
  text-shadow: 0 0 80px rgba(255, 255, 255, 0.5);
  animation: colorTransition 10s linear infinite;
}

@keyframes colorTransition {
  0% {
    color: rgb(12, 221, 12);
  }

  50% {
    color: green;

  }

  100% {
    color: red;
  }
}

.container {
  box-sizing: border-box;
  display: flex; 
  justify-content: center;

  flex-wrap: wrap;
}

.christmas {
  display: flex;
  justify-content: center;
  background-color: rgba(251, 248, 249, 0.82);

 
  height: 300px;
  width: 200px;
  margin: 30px;
border-radius: 10px;
margin-top: 50px;
  box-shadow: rgba(168, 190, 154, 0.705) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset, rgba(161, 194, 161, 0.815) 0px 5px 15px, rgb(150, 199, 156) 0px 3px 7px;
  
}

.block {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height:10px;
  justify-content: center;

  padding: 10px;

  
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;  
  color: #3f5453 
}

.days, .hours, .minutes, .seconds {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;  
}


.btn{
  display: flex;
  
  justify-content: center;
} 
.glow-on-hover {
 
 position: fixed;

 width: 220px; 
  height: 50px; 
  border: none;
  outline: none;
  font-size: 30px;  
  font-weight: bolder;
  font-family: 'Montserrat', sans-serif;

  color: #3f5453;
  background: #111;

  border-radius: 10px;


box-shadow: rgba(168, 190, 154, 0.705) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset, rgba(161, 194, 161, 0.815) 0px 5px 15px, rgb(150, 199, 156) 0px 3px 7px;



cursor: pointer; position: relative;
z-index: 0;

}

.glow-on-hover:before {
content: '';
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;
top: -2px;
left:-2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowing 20s linear infinite;
opacity: 0;
transition: opacity .3s ease-in-out;
border-radius: 10px;
}

.glow-on-hover:active {
color: #f7f3f3
}

.glow-on-hover:active:after {
background: transparent;
}

.glow-on-hover:hover:before {
opacity: 1;
}

.glow-on-hover:after {
z-index: -1;
content: '';
position: absolute;
width: 100%;
height: 100%;
background: #f8f5f5;
left: 0;
top: 0;
border-radius: 10px;
}

@keyframes glowing {
0% { background-position: 0 0; }
50% { background-position: 400% 0; }
100% { background-position: 0 0; }
}






@media all and (max-width: 820px) {
h1 {
font-size: 60px;
}
h3 {
  font-size: 40px;
  text-align: center;
   }
.glow-on-hover {
  width:210px; 
  height: 60px; 
  padding: 10px;
  margin-top: 20px;
  
 

}

.christmas {
  
  height: 250px;
  width: 220px;

border-radius: 10px;
  margin-top: 90px;

 
}

.block {
  display: flex;
  flex-direction: column;
  line-height:10px;


  }
  .days, .hours, .minutes, .seconds{
    font-size: 50px;
   

}}

@media all and (max-width: 540px) {

  .heading{
    margin-top: 20px;
       }
  


  h1 {
    font-size: 40px;

     text-transform:uppercase;
    padding: 5px;
    text-align: center;
    
  }
  h3 {
    font-size: 20px;
    text-align: center;
     }
  .glow-on-hover {
    width:110px; 
    height: 50px; 
    padding: 10px;
    margin-top: 10px;
    font-size: 20px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  
  }
  .christmas {
    
    height: 130px;
    width: 120px;
  margin: 20px;
  border-radius: 10px;
    margin-top: 70px;
   
  }
  
  .block {
    display: flex;
    flex-direction: column;
    line-height:10px;
  
    }
    .days, .hours, .minutes, .seconds{
      font-size: 30px;
  
  }
 
  }

    

  }





    