body {
    background-image: radial-gradient(circle, rgba(60, 146, 179, 0.95) 0%, rgba(60, 146, 179, 0.8)), url('secim.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    max-width: 100vw;
    overflow-y: hidden;
    overflow-x: hidden;
    margin-top: 14%;
    height: 200%;
}

h1 {
    text-align: center;
    color: white;
    font-family: PFDinTextCondPro-Bold;
    font-size: 80px;
    font-weight: 700;
    margin-left: 20px;
    margin-right: 10px;
    height: auto;
    line-height: 0;
}

h2 {
    letter-spacing: 5px;
    text-align: center;
    color: white;
    font-family: PFDinTextCondPro-Regular;
    font-size: 40px;
    font-weight: 400;
}

h3 {
    letter-spacing: 1px;
    text-align: center;
    color: white;
    font-family: PFDinTextCondPro-Regular;
    font-size: 12px;
    font-weight: 400;
    width: calc(100% - 16px);
    margin: 0;
    padding: 8px;
}

#countdown-text {
    text-align: center;
}

.red-text {
    padding-right: 10px;
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #c5161d;
    height: 40px;
    text-align: center;
    color: white;
    font-family: PFDinTextCondPro-Bold;
    font-size: 80px;
    line-height: 35px;
    font-weight: 700;
}

.big-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
    text-align: center;
    color: white;
    font-family: PFDinTextCondPro-Bold;
    font-size: 80px;
    line-height: 35px;
    font-weight: 700;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.big-text div  {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media only screen and (max-width: 1100px) {
    .big-text  {
        flex-direction: column;
    }
}

#countdown {
    padding-right: 30px;
}

@font-face {
    font-family: 'PFDinTextCondPro-Regular';
    font-style: normal;
    font-weight: normal;
    src: local('PFDinTextCondPro-Regular'), url('PFDinTextCondPro-Regular.woff') format('woff');
}


@font-face {
    font-family: 'PFDinTextCondPro-Bold';
    font-style: normal;
    font-weight: normal;
    src: local('PFDinTextCondPro-Bold'), url('PFDinTextCondPro-Bold.woff') format('woff');
}

#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}

#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 146, 179, 0.8);
    z-index: -1;
}

#unmute-button {
    color: white;
    background-color: #c5161d;
    font-family: PFDinTextCondPro-Regular;
    font-size: 16px;
    border-radius: 4px;
    border: 1px white solid;
    margin-bottom: 6px;
    font-weight: 700;
    cursor: pointer;
}

@keyframes firework {
    0% {
        transform: translate(var(--x), var(--initialY));
        width: var(--initialSize);
        opacity: 1;
    }

    50% {
        width: 0.5vmin;
        opacity: 1;
    }

    100% {
        width: var(--finalSize);
        opacity: 0;
    }
}

.firework,
.firework::before,
.firework::after {
    --initialSize: 2vmin;
    --finalSize: 40vmin;
    --particleSize: 0.3vmin;
    --color1: yellow;
    --color2: khaki;
    --color3: white;
    --color4: lime;
    --color5: gold;
    --color6: mediumseagreen;
    --y: -30vmin;
    --x: -50%;
    --initialY: 100vmin;
    content: "";
    animation: firework 2s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, var(--y));
    width: var(--initialSize);
    aspect-ratio: 1;
    background:
        /* top left */
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 50% 0%,
        radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 100% 50%,
        radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 50% 100%,
        radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 0% 50%,

        /* bottom right */
        radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 80% 90%,
        radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 95% 90%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 90% 70%,
        radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 100% 60%,
        radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 55% 80%,
        radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 70% 77%,

        /* bottom left */
        radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 22% 90%,
        radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 45% 90%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 33% 70%,
        radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 10% 60%,
        radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 31% 80%,
        radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 28% 77%,
        radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 13% 72%,

        /* top left */
        radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 80% 10%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 95% 14%,
        radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 90% 23%,
        radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 100% 43%,
        radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 85% 27%,
        radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 77% 37%,
        radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 60% 7%,

        /* top right */
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 22% 14%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 45% 20%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 33% 34%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 10% 29%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 31% 37%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 28% 7%,
        radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 13% 42%;
    background-size: var(--initialSize) var(--initialSize);
    background-repeat: no-repeat;
}

.firework::before {
    --x: -50%;
    --y: -50%;
    --initialY: -50%;
    transform: translate(-50%, -50%) rotate(40deg) scale(1.3) rotateY(40deg);
}

.firework::after {
    --x: -50%;
    --y: -50%;
    --initialY: -50%;
    transform: translate(-50%, -50%) rotate(170deg) scale(1.15) rotateY(-30deg);
}

.firework:nth-child(2) {
    --x: 30vmin;
}

.firework:nth-child(2),
.firework:nth-child(2)::before,
.firework:nth-child(2)::after {
    --color1: pink;
    --color2: violet;
    --color3: fuchsia;
    --color4: orchid;
    --color5: plum;
    --color6: lavender;
    --finalSize: 40vmin;
    left: 30%;
    top: 60%;
    animation-delay: -0.25s;
}

.firework:nth-child(3) {
    --x: -30vmin;
    --y: -30vmin;
}

.firework:nth-child(3),
.firework:nth-child(3)::before,
.firework:nth-child(3)::after {
    --color1: cyan;
    --color2: lightcyan;
    --color3: lightblue;
    --color4: PaleTurquoise;
    --color5: SkyBlue;
    --color6: lavender;
    --finalSize: 30vmin;
    left: 70%;
    top: 60%;
    animation-delay: -0.4s;
}

.rain {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    overflow: hidden;
}

.emoji {
    position: absolute;
    display: block;
    color: red;
    animation: rain 3s linear infinite;
    font-size: 8rem;
    opacity: 0.2;
}

@keyframes rain {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(150vh);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
}


#upper-text {
    animation: typing 2s steps(40, end);
    overflow: hidden;
    white-space: nowrap;
    padding-right: 6px;
}

#upper-most-text {
    margin-bottom: -30px;
}

/*#region 2024*/

#wand {
    width: 10vmin;
    aspect-ratio: 1 / 10;
    background: linear-gradient(
      to right, 
      rgb(26 24 28) 10%, 
      rgb(42 40 44) 45% 55%, 
      rgb(26 24 28) 90%
    );
    position: absolute;
    left: 5%;
    top: 20%;
    translate: -50%;
    rotate: -3deg;
    z-index: 100;
    border-radius: 3vmin;
    box-shadow: 0vmin 1vmin 4vmin rgb(0 0 0 / 80%);
    overflow: hidden;
  }

  #wand > .cap {
    height: 20%;
    width: 100%;
    background: linear-gradient(
      to right, 
      rgb(212 221 236) 10%, 
      rgb(255 255 255) 45% 55%, 
      rgb(212 221 236) 90%
    );
    writing-mode: vertical-rl;
    font-weight: 800;
    font-family: PFDinTextCondPro-Bold;
    font-size: 2.5vw;
    line-height: 2;
    text-align: center;
  }
  
  .tile {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-width: 100%;
    overflow: hidden;
  }

  
  .tile > img {
    height: 100%;
    min-width: 100%;
    overflow: hidden;
    image-rendering: optimizeSpeed; 
    position: absolute;
    left: 0px;
    top: 0px;
    object-fit: cover;
    opacity: var(--opacity);
    filter: blur(calc(var(--blur) * 10px));
  }

.overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 100% !important;
    height: 100%;
    top: 0;
    position: absolute;
    z-index: 90;
    background: linear-gradient(to top, rgba(82, 82, 82, 0.6) , rgba(82, 82, 82, 0));
}

#countdown-2024 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: red !important;
}

.split {
    height: 100%;
    width: 50%;
    position: fixed;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
  }
  
  .left {
    left: 0;
    background-color: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .right {
    right: 0;
    background-color: rgb(97, 164, 230);
  }

  @media (any-pointer: coarse) or (max-width: 1000px){
    .split {
        height: 50%;
        width: 100%;
        position: fixed;
        z-index: 1;
        left: 0;
        overflow-x: hidden;
      }
      
      .left {
        top: 50%;
      }
      
      .right {
        bottom: 0;
        background-color: rgb(97, 164, 230);
      }

      #countdown-2024 {
        flex-direction: column;
        height: 160px;
      }

      .overlay {
        justify-content: center;
        background: linear-gradient(to bottom, transparent, transparent, rgb(0, 0, 0) , transparent, transparent);
      }

      .overlay h3{
        position: absolute;
        bottom: 0;
      }

      .overlay h3::before {
        content: "Bu sitenin sadece bilgisayarda çalışan bir özelliği var, denemelisin 😉";
      }
  }
/*#endregion 2024*/