* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

@font-face {
    font-family: 'fontum'; /* Font adı */
    src: url('fontum.otf') format('opentype'); /* Modern tarayıcılar için */
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    color: #333;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}


.container {
    width: 100%; /* 100vw yerine 100% kullanın */
    height: 100%;
    margin: 0 auto;
    margin-top: 64px;
    padding: 16px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}


h2 {
    display: flex;
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #444;
    text-align: left;
    align-items: center;
    justify-content: flex-start; /* Yatayda sola yaslama */
}

.item{
    border-bottom: 1px solid #f5f5f5; /* Divider çizgisi */
    align-items: center;
    margin-left: 16px;
    padding: 8px 0; /* Üst ve alt boşluk */
}

.item:last-child {
    border-bottom: none; /* Son öğede divider çizgisini kaldır */
}

.kampanya-header {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 13px;
}

.divider {
    width: 150px;
    height: 1px;
    margin: 10px 4px;
    background-color: #f5f5f5;
    opacity: 0.5;
}
.card-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
    margin-top: 16px;
    padding: 0 0px;
}

.kampanya-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f1f3f4;
    padding: 10px;
    margin-top: 4px;
    border-radius: 8px;
    font-size: 12px;
    color: #5f6368;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
}
.info-metin {
    width: calc(100%);
    display: flex;
    font-size: 12px;
    color: #5f6368;
    text-align: left;
}

.kampanya-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}


.star-rating {
    font-size: 1.5rem; /* Yıldızların boyutunu ayarlayın */
    color: white; /* Yıldızların rengi */
    display: flex;
}

.card {
    position: relative;
    aspect-ratio: 1.585;
    perspective: 1000px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.6s ease;
}

.card-front {
    display: flex;
    background-color: inherit;
}

.card-back {
    background-color: #333;
    transform: rotateY(180deg);
    font-size: 1rem;
    text-align: left; /* Sola hizala */
    padding: 10px;
}

.card-info {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 10px;
    height: 30%;
}

.card-body {
    display: flex;
    flex-direction: column;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}
.card-body-bottom {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}

.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-align: left;
}
.card-body p {
    font-size: 0.9rem;
    text-align: left;
}

.card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-align: left;
}

.card-info p {
    font-size: 0.9rem;
    text-align: left;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6200EE;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

#cookie-banner p{
    color: #fff;
    text-align: left;

}

#cookie-banner .div-button{
    display: flex;
    flex-direction: column;

}
#cookie-banner .cookieButton{
    background: #FFFFFF;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}
#cookie-banner .cookieButton2{
    background: #e8e8e8;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    max-height: 80vh; /* Panelin maksimum yüksekliği ekranın %80’i kadar */
    overflow-y: auto; /* Dikey kaydırma ekleyin */
    z-index: 1000;
    display: none;
    font-family: 'Poppins', sans-serif;
}

#cookie-settings-panel h2 {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

#cookie-settings-panel p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

#cookie-settings-panel label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#cookie-settings-panel input[type="checkbox"] {
    margin-right: 10px;
}

#cookie-settings-panel a {
    color: #6200EE;
    text-decoration: underline;
}

#cookie-settings-panel button {
    background: #6200EE;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel button:hover {
    background: #5e00e0;
}

#cookie-settings-panel button:nth-child(2) {
    background: #ccc;
    color: #333;
}

#cookie-settings-panel button:nth-child(2):hover {
    background: #bbb;
}

@media (max-width: 768px) {

     h1 {
        display: none;
    }

    .navigation{
        position: fixed;
        top: 0;
        left: 0;
        background: #6200EE;
        width: 100%;
        height: 64px;
        padding: 10px 4px;
        position: 0px;
        display: flex;  
        position: fixed;          /* Elemanları yatayda sıralamak için */
        flex-wrap: nowrap;      /* Elemanların satırı aşarak alt satıra geçmesini engeller */
        overflow-x: hidden;  
        overflow-y: hidden;  
        z-index: 9998;
    }

    .navigation span{
        font-size: 10px;
    }
    .nav-buttons-home {
        display: none;
    }
    .nav-buttons {
        height: 48px;
        width: calc(33% - 21px);
        padding: 4px;
        border-radius: 10px;
        background-color: #6200EE;
        border: none;
        color: white;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        flex-direction: column; /* İçeriği dikey hizala */
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0 2px;
        transition: background-color 0.7s ease;
    }
    .nav-buttons:hover {
        outline: none;
        background-color: #eead0e;
    }

    #page-logo {
        margin-left: 8px;
        margin-right: 8px;
        width: 48px;
        height: 48px;
        padding: 10px;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #page-logo:hover {
        outline: none;
        background-color: #eead0e;
        border-radius: 10px;
    }

    .card-container {
        width: 100%;
    }

    .policy-links {
        text-align: center; /* Yatayda ortalar */
        padding: 8px;
        border-top: 1px solid #ddd;
        font-size: 9px; /* Yazı tipini küçültür */
        color: #777; /* Gri renk */
        display: flex; /* Flexbox düzeni */
        flex-wrap: wrap; /* Satır taşması durumunda alt satıra geçer */
        justify-content: center; /* Öğeleri yatayda ortalar */
        gap: 10px; /* Öğeler arası boşluk */
        margin: 0px;
    }

    .policy-links a {
        
        flex: 1 0 calc(33% - 25px); /* En fazla 3 item yan yana */
        box-sizing: border-box; /* Padding ve border'ı dahil eder */
        text-align: center; /* Yazıyı ortalar */
        color: #777; /* Gri renk */
        text-decoration: none; /* Varsayılan olarak altını çizmez */
    }

    .policy-links a:hover {
        text-decoration: underline; /* Üzerine gelindiğinde altını çizer */
    }
}


@media screen and (min-width: 1024px) {

    h1 {
        font-family: 'fontum', sans-serif; /* İlk tercih özel font, ikinci tercih fallback */
        color: white;
        width: 70%;
        text-align: right;
        margin-top: 0px;
        right: 0px;
        margin-right: 24px;
        font-size: 28px;
        margin-bottom: 5px;
    }

    #page-logo {
        display: none;
    }

    .navigation{
        position: fixed;
        top: 0;
        left: 0;
        background: #6200EE;
        width: 100%;
        height: 64px;
        padding: 10px 4px;
        position: 0px;
        display: flex;  
        position: fixed;          /* Elemanları yatayda sıralamak için */
        flex-wrap: nowrap;      /* Elemanların satırı aşarak alt satıra geçmesini engeller */
        overflow-x: hidden;  
        overflow-y: hidden;  
        z-index: 9998;
    }

    .navigation span{
        font-size: 10px;
    }

    .nav-buttons-home {
        height: 48px;
        width: calc(10%);
        padding: 4px;
        border-radius: 10px;
        background-color: #6200EE;
        border: none;
        color: white;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        flex-direction: column; /* İçeriği dikey hizala */
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0 10px;
        transition: background-color 0.7s ease;
    }
    .nav-buttons-home:hover {
        outline: none;
        background-color: #eead0e;
    }

    .nav-buttons {
        height: 48px;
        width: calc(10%);
        padding: 4px;
        border-radius: 10px;
        background-color: #6200EE;
        border: none;
        color: white;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        flex-direction: column; /* İçeriği dikey hizala */
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0 10px;
        transition: background-color 0.7s ease;
    }

    .nav-buttons:hover {
        outline: none;
        background-color: #eead0e;
    }

    .container {
        width: 100%; /* 100vw yerine 100% kullanın */
        height: 100%;
        margin-top: 64px;
        padding: 16px 32px;
        background-color: white;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        
        justify-content: center;
    }
    h2 {
        display: flex;
        width: 100%;
        height: auto;
        margin: 18px 0;
        font-size: 1.5rem;
        color: #444;
        text-align: left;
        align-items: center;
        justify-content: flex-start; /* Yatayda sola yaslama */
    }

    #cookie-settings-panel {
        max-height: 80vh; /* Panelin maksimum yüksekliği ekranın %80’i kadar */
        overflow-y: auto; /* Dikey kaydırma ekleyin */
        width: 60%;

    }


    #cookie-banner {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #6200EE;
        color: #fff;
        padding: 20px;
        text-align: center;
        z-index: 1000;
        display: none;
    }
    #cookie-banner p{
        width: 100%;
        color: #fff;
        left: 24px;
        text-align: left;

    }

    #cookie-banner .div-button{
        width: 520px;
        right: 24px;
        display: flex;
        flex-direction: row;

    }
    #cookie-banner .cookieButton{
        background: #FFFFFF;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        margin-left: auto;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }
    #cookie-banner .cookieButton2{
        background: #e8e8e8;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }

}



                    .card {
                        position: relative;
                        aspect-ratio: 1.585;
                        perspective: 1000px;
                        border-radius: 10px;
                        overflow: hidden;
                        transition: transform 0.3s ease, box-shadow 0.3s ease;
                        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
                        cursor: pointer;
                    }

                    .card-front, .card-back {
                        position: absolute;
                        width: 100%;
                        height: 100%;
                        border-radius: 10px;
                        backface-visibility: hidden;
                        display: flex;
                        align-items: center;
                        justify-content: flex-start;
                        color: white;
                        font-size: 1.2rem;
                        padding: 15px;
                        transition: transform 0.6s ease;
                    }

                    .card-front {
                        background-color: inherit;
                    }

                    .card-back {
                        background-color: #333;
                        transform: rotateY(180deg);
                        font-size: 1rem;
                        text-align: left;
                        flex-direction: column;
                        align-items: flex-start;
                        padding-left: 16px;
                    }

                    .card.flipped .card-front {
                        transform: rotateY(180deg);
                    }

                    .card.flipped .card-back {
                        transform: rotateY(0);
                    }

                    .stars {
                        display: flex;
                        gap: 2px;
                        margin-top: 8px;
                    }

                    .star {
                        width: 18px;
                        height: 18px;
                    }








.container-nav {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
}

.icon {
    width: 24px;
    height: 24px;
}





#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6200EE;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

#cookie-banner p{
    color: #fff;
    text-align: left;

}

#cookie-banner .div-button{
    display: flex;
    flex-direction: column;

}
#cookie-banner .cookieButton{
    background: #FFFFFF;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}
#cookie-banner .cookieButton2{
    background: #e8e8e8;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px 15px; /* Yan ve üst boşluklar optimize edildi */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 95%; /* Mobil görünümde daha fazla genişlik */
    max-width: 600px; /* Genişlik artırıldı */
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    font-family: 'Poppins', sans-serif;
}

#cookie-settings-panel h2 {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

#cookie-settings-panel p {
    font-size: 13px; /* Daha kompakt bir metin görünümü */
    color: #555;
    line-height: 1.6;
    margin: 5px 0; /* Daha dar boşluklar */
    padding: 0;
}

#cookie-settings-panel label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#cookie-settings-panel input[type="checkbox"] {
    margin-right: 10px;
}

#cookie-settings-panel a {
    color: #6200EE;
    text-decoration: underline;
}

#cookie-settings-panel button {
    background: #6200EE;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel button:hover {
    background: #5e00e0;
}

#cookie-settings-panel button:nth-child(2) {
    background: #ccc;
    color: #333;
}

#cookie-settings-panel button:nth-child(2):hover {
    background: #bbb;
}

/* Switch Tasarımı */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #6200EE; /* Ana renginiz */
}

input:focus + .slider {
    box-shadow: 0 0 1px #6200EE;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.switch-label {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
    vertical-align: middle;
}


/* Masaüstü görünüm */
@media screen and (min-width: 1024px) {
    #cookie-settings-panel {
        max-height: 80vh; /* Panelin maksimum yüksekliği ekranın %80’i kadar */
        overflow-y: auto; /* Dikey kaydırma ekleyin */
        width: 60%;

    }

    #cookie-banner {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #6200EE;
        color: #fff;
        padding: 20px;
        text-align: center;
        z-index: 1000;
        display: none;
    }
    #cookie-banner p{
        width: 100%;
        color: #fff;
        left: 24px;
        text-align: left;

    }

    #cookie-banner .div-button{
        width: 520px;
        right: 24px;
        display: flex;
        flex-direction: row;

    }
    #cookie-banner .cookieButton{
        background: #FFFFFF;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        margin-left: auto;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }
    #cookie-banner .cookieButton2{
        background: #e8e8e8;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }


    .mobil-nav-buttons {
        display: none;
    }


    .policy-links {
        text-align: center; /* Yatayda ortalar */
        padding: 8px;
        border-top: 1px solid #ddd;
        font-size: 9px; /* Yazı tipini küçültür */
        color: #777; /* Gri renk */
        display: flex; /* Flexbox düzeni */
        flex-wrap: wrap; /* Satır taşması durumunda alt satıra geçer */
        justify-content: center; /* Öğeleri yatayda ortalar */
        gap: 10px; /* Öğeler arası boşluk */
        margin: 0px;
    }

    .policy-links a {
        
        flex: 1 0 calc(25% - 25px); /* En fazla 3 item yan yana */
        box-sizing: border-box; /* Padding ve border'ı dahil eder */
        text-align: center; /* Yazıyı ortalar */
        color: #777; /* Gri renk */
        text-decoration: none; /* Varsayılan olarak altını çizmez */
    }

    .policy-links a:hover {
        text-decoration: underline; /* Üzerine gelindiğinde altını çizer */
    }
}



