.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1a3a2a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
    z-index: 99999;
    overflow: hidden;
}

.wings-container {
    position: relative;
    width: 600px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.65); /* Scale to look nice */
}

.wing {
    position: relative;
    width: 280px;
    height: 380px;
}

.left-wing {
    transform-origin: right center;
    animation: leftFlap 0.8s ease-in-out infinite alternate;
}

.right-wing {
    transform-origin: left center;
    animation: rightFlap 0.8s ease-in-out infinite alternate;
}

@keyframes leftFlap {
    0% { transform: rotate(15deg); }
    100% { transform: rotate(-25deg); }
}

@keyframes rightFlap {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(25deg); }
}

.feather {
    position: absolute;
    border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%;
    transform-origin: bottom center;
}

.feather-outer {
    background-color: #0d0d0d;
    width: 28px;
    height: 180px;
    bottom: 20px;
}

.feather-inner {
    background-color: #f5f5f5;
    width: 24px;
    height: 140px;
    bottom: 15px;
}

/* Left Wing Outer Feathers */
.left-wing .feather-outer.f1 {
    left: 140px;
    bottom: 25px;
    transform: rotate(-75deg);
    height: 170px;
}

.left-wing .feather-outer.f2 {
    left: 130px;
    bottom: 30px;
    transform: rotate(-65deg);
    height: 185px;
}

.left-wing .feather-outer.f3 {
    left: 120px;
    bottom: 35px;
    transform: rotate(-55deg);
    height: 195px;
}

.left-wing .feather-outer.f4 {
    left: 110px;
    bottom: 40px;
    transform: rotate(-45deg);
    height: 200px;
}

.left-wing .feather-outer.f5 {
    left: 100px;
    bottom: 45px;
    transform: rotate(-35deg);
    height: 205px;
}

.left-wing .feather-outer.f6 {
    left: 90px;
    bottom: 50px;
    transform: rotate(-25deg);
    height: 200px;
}

.left-wing .feather-outer.f7 {
    left: 80px;
    bottom: 55px;
    transform: rotate(-15deg);
    height: 190px;
}

.left-wing .feather-outer.f8 {
    left: 70px;
    bottom: 60px;
    transform: rotate(-5deg);
    height: 175px;
}

.left-wing .feather-outer.f9 {
    left: 60px;
    bottom: 65px;
    transform: rotate(5deg);
    height: 160px;
}

.left-wing .feather-outer.f10 {
    left: 50px;
    bottom: 70px;
    transform: rotate(15deg);
    height: 145px;
}

.left-wing .feather-outer.f11 {
    left: 42px;
    bottom: 75px;
    transform: rotate(25deg);
    height: 130px;
}

.left-wing .feather-outer.f12 {
    left: 35px;
    bottom: 80px;
    transform: rotate(35deg);
    height: 115px;
}

/* Left Wing Inner Feathers */
.left-wing .feather-inner.fi1 {
    left: 155px;
    bottom: 20px;
    transform: rotate(-70deg);
    height: 130px;
}

.left-wing .feather-inner.fi2 {
    left: 148px;
    bottom: 22px;
    transform: rotate(-60deg);
    height: 140px;
}

.left-wing .feather-inner.fi3 {
    left: 140px;
    bottom: 24px;
    transform: rotate(-50deg);
    height: 145px;
}

.left-wing .feather-inner.fi4 {
    left: 132px;
    bottom: 26px;
    transform: rotate(-40deg);
    height: 150px;
}

.left-wing .feather-inner.fi5 {
    left: 124px;
    bottom: 28px;
    transform: rotate(-30deg);
    height: 148px;
}

.left-wing .feather-inner.fi6 {
    left: 116px;
    bottom: 30px;
    transform: rotate(-20deg);
    height: 142px;
}

.left-wing .feather-inner.fi7 {
    left: 108px;
    bottom: 32px;
    transform: rotate(-10deg);
    height: 135px;
}

.left-wing .feather-inner.fi8 {
    left: 100px;
    bottom: 34px;
    transform: rotate(0deg);
    height: 125px;
}

.left-wing .feather-inner.fi9 {
    left: 92px;
    bottom: 36px;
    transform: rotate(10deg);
    height: 115px;
}

.left-wing .feather-inner.fi10 {
    left: 84px;
    bottom: 38px;
    transform: rotate(20deg);
    height: 105px;
}

.left-wing .feather-inner.fi11 {
    left: 76px;
    bottom: 40px;
    transform: rotate(30deg);
    height: 95px;
}

.left-wing .feather-inner.fi12 {
    left: 68px;
    bottom: 42px;
    transform: rotate(40deg);
    height: 85px;
}

/* Right Wing Outer Feathers */
.right-wing .feather-outer.f1 {
    right: 140px;
    bottom: 25px;
    transform: rotate(75deg);
    height: 170px;
}

.right-wing .feather-outer.f2 {
    right: 130px;
    bottom: 30px;
    transform: rotate(65deg);
    height: 185px;
}

.right-wing .feather-outer.f3 {
    right: 120px;
    bottom: 35px;
    transform: rotate(55deg);
    height: 195px;
}

.right-wing .feather-outer.f4 {
    right: 110px;
    bottom: 40px;
    transform: rotate(45deg);
    height: 200px;
}

.right-wing .feather-outer.f5 {
    right: 100px;
    bottom: 45px;
    transform: rotate(35deg);
    height: 205px;
}

.right-wing .feather-outer.f6 {
    right: 90px;
    bottom: 50px;
    transform: rotate(25deg);
    height: 200px;
}

.right-wing .feather-outer.f7 {
    right: 80px;
    bottom: 55px;
    transform: rotate(15deg);
    height: 190px;
}

.right-wing .feather-outer.f8 {
    right: 70px;
    bottom: 60px;
    transform: rotate(5deg);
    height: 175px;
}

.right-wing .feather-outer.f9 {
    right: 60px;
    bottom: 65px;
    transform: rotate(-5deg);
    height: 160px;
}

.right-wing .feather-outer.f10 {
    right: 50px;
    bottom: 70px;
    transform: rotate(-15deg);
    height: 145px;
}

.right-wing .feather-outer.f11 {
    right: 42px;
    bottom: 75px;
    transform: rotate(-25deg);
    height: 130px;
}

.right-wing .feather-outer.f12 {
    right: 35px;
    bottom: 80px;
    transform: rotate(-35deg);
    height: 115px;
}

/* Right Wing Inner Feathers */
.right-wing .feather-inner.fi1 {
    right: 155px;
    bottom: 20px;
    transform: rotate(70deg);
    height: 130px;
}

.right-wing .feather-inner.fi2 {
    right: 148px;
    bottom: 22px;
    transform: rotate(60deg);
    height: 140px;
}

.right-wing .feather-inner.fi3 {
    right: 140px;
    bottom: 24px;
    transform: rotate(50deg);
    height: 145px;
}

.right-wing .feather-inner.fi4 {
    right: 132px;
    bottom: 26px;
    transform: rotate(40deg);
    height: 150px;
}

.right-wing .feather-inner.fi5 {
    right: 124px;
    bottom: 28px;
    transform: rotate(30deg);
    height: 148px;
}

.right-wing .feather-inner.fi6 {
    right: 116px;
    bottom: 30px;
    transform: rotate(20deg);
    height: 142px;
}

.right-wing .feather-inner.fi7 {
    right: 108px;
    bottom: 32px;
    transform: rotate(10deg);
    height: 135px;
}

.right-wing .feather-inner.fi8 {
    right: 100px;
    bottom: 34px;
    transform: rotate(0deg);
    height: 125px;
}

.right-wing .feather-inner.fi9 {
    right: 92px;
    bottom: 36px;
    transform: rotate(-10deg);
    height: 115px;
}

.right-wing .feather-inner.fi10 {
    right: 84px;
    bottom: 38px;
    transform: rotate(-20deg);
    height: 105px;
}

.right-wing .feather-inner.fi11 {
    right: 76px;
    bottom: 40px;
    transform: rotate(-30deg);
    height: 95px;
}

.right-wing .feather-inner.fi12 {
    right: 68px;
    bottom: 42px;
    transform: rotate(-40deg);
    height: 85px;
}
