@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Oswald:wght@200..700&family=Play:wght@400;700&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/satoshi');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Satoshi', sans-serif;
    scroll-behavior: smooth;
}

::selection {
    background-color: white;
    color: black;
}

a,
img,
.button {
    user-select: none;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: white;
}

body {
    background-color: #0e0e0e;
    color: white;
}

.body {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 10vh 20px;
    min-height: 90vh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #202020;
}

::-webkit-scrollbar-thumb {
    background-color: #353535;
    transition: 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #404040;
}

/* Header */
header {
    display: flex;
    max-width: 1000px;
    width: 100%;
    height: 10vh;
    margin: 0 auto;
    align-items: center;
    padding: 0 20px;
}

header a.header-logo {
    flex: 1;
    /* Genişliği otomatik ayarlar */
    text-align: left;
    font-size: 3rem;
    font-family: 'Bebas Neue', sans-serif;
}

header .button-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

/* Footer */
footer {
    background: #111;
    color: #ddd;
    padding: 40px 20px;
    text-align: center;
}

footer .footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

footer .footer-container .footer-box {
    flex: 1;
    min-width: 250px;
}

footer .footer-bottom {
    margin-top: 40px;
    font-size: 14px;
    color: #aaa;
}

/* Loader */
#loader-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.5s;
}

.loader {
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #FFF;
    animation: l2 1.5s infinite linear;
    position: relative;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 #FFFFFF20;
    animation: inherit;
}

.loader:before {
    animation-delay: -0.5s;
}

.loader:after {
    animation-delay: -1s;
}

@keyframes l2 {
    100% {
        box-shadow: 0 0 0 40px #0000;
    }
}

#loader-wrapper.hidden {
    opacity: 0;
    z-index: -1;
}

.swal2-input[type="date"] {
    display: flex !important;
    font-family: 'Satoshi', sans-serif;
    padding: 8px !important;
}

::-webkit-calendar-picker-indicator {
    background-color: transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}

::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Button */
.button {
    font-family: "Josefin Sans", sans-serif;
    background: transparent;
    color: white;
    padding: .5rem 1.2rem;
    border: .1rem solid white;
    border-radius: .5rem;
    transition: .25s ease;
    cursor: pointer;
}

.button:hover {
    background: white;
    color: black;
}

/* Policy Content */
.policy-content {
    max-width: 850px;
    margin: 2.5rem auto;
    background: #181818;
    padding: 40px;
    border-radius: 12px;
    color: #ccc;
    line-height: 1.8;
}

.policy-content h2 {
    color: #fff;
    border-left: 4px solid white;
    padding-left: 10px;
    margin: 30px 0 15px;
}

@media (max-width: 768px) {
    header a.header-logo {
        font-size: 2rem;
    }

    header a.button {
        font-size: .9rem;
        padding: .4rem 1rem;
    }

    .policy-content {
        width: 95%;
        padding: 25px;
    }

    footer .footer-container {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-container .footer-box {
        min-width: 100%;
    }

    .button:hover {
        background: transparent;
        color: white;
    }
}

/* Kar Efekti */
.snow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
    animation: dusus linear infinite;
}

@keyframes dusus {
    0% {
        transform: translateY(-10vh);
    }

    100% {
        transform: translateY(110vh);
    }
}