body{
    margin: 0;
    background-image: url(forest.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Georgia, serif;
}
p{
    text-shadow:
    1px 1px 0 #000,
    -1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;
}
.container{
    display: flex;
    flex-direction: row;
    height: 100dvh;
    width: auto;
    align-items: center;
}
.flex-item{
    font-size: 30px;
}
.item1{
    transform: translate(100.2%);
    flex: 1 1 0;
    opacity: 1;
    transition: opacity 4s;
}
.item1.fade{
    opacity: 0;
}
.item2{
    flex: 1 1 0;
}
.item3{
    text-align: center;
    flex: 1 1 0;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 0.1em 0.5em;
    margin: 0.5%;
}

.flex-item img{
    width: 100%;
    display: block;
    height: 100dvh;
}
footer{
    color: white;
    font-size: 25px;
    text-shadow:
    1px 1px 0 #000,
    -1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;
    font-style: italic;
}
#countdown {
    background-image: url(wood-vertical.png);
    background-repeat: repeat;
    border-radius: 20px;
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    text-align: center;
    flex: 1 1 0;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 0.1em 0.5em;
    margin: 0.5%;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
#years, #months, #years, #monthts,
#days, #hours, #minutes, #seconds{
    opacity: 0;
    transition: opacity 3s;
}
#years.fade, #months.fade, #years.fade, #monthts.fade,
#days.fade, #hours.fade, #minutes.fade, #seconds.fade{
    opacity: 1;
} 
.pulse {
  font-weight: 500;
  color: red;
  font-style: normal;
  animation-name: pulse;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-and-out;
  animation-delay: 0;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  font-size: 25px;
  text-shadow:
  1px 1px 0 #000,
  -1px 1px 0 #000,
  -1px -1px 0 #000,
  1px -1px 0 #000;
}
.flex-count > h1{
    margin: 0;
}
.flex-count > p{
    margin: 0;
}
#audioswitch > img{
    width: 120px;
    height: auto; 
    filter: brightness(0) invert(1);
}
#audioswitch > img:hover{
    cursor: pointer;
}
#audioswitch{
    position: fixed;
    bottom: 2%;
    left: 2%;
    border: 5px groove  white;
}
@keyframes pulse {
  0% {
    font-size: 100px;
  }
  100% {
    font-size: 120px;
  }
}

@media only screen and (min-width: 1024px) {
    #countdown {background-image: url(wood-horizontal.png); flex-direction: row;padding: 5px; }
}
