@font-face {
    font-family: lanefont;
    src: url(/content/main/tripsans.woff);
  }
body {
    font-family: lanefont;
    margin: 0;
    padding: 0;
}

a {
    color: black;
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: #fff;
    text-align: center;
    background-color: #fff; 
    z-index: 1000; /* Header'ın diğer elemanların üzerinde görünmesini sağlar */
}

.header img {
    max-width: 200px;
    height: auto;
}

.button {
    background-color: #2171f1;
    color: white;
    padding: 8px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.content {
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 90px;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#search-btn {
    background-color: #4285f4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    position: absolute;
    right: 22px; /* İstediğiniz pozisyon */
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

#search-icon {
    width: 24px; /* İstenilen genişlik */
    height: auto; /* Otomatik yükseklik */
    position: absolute;
    left: 25px; /* İstediğiniz pozisyon */
    cursor: pointer;
}

#search {
    padding: 15px;
    width: 850px;
    border: 1px solid #ccc;
    border-radius: 25px;
    margin: 0 10px;
    padding-left: 50px; /* Resim genişliği + margin sol */
    font-size: 16px;
    font-weight: bold;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.breadcrumbs {
    margin-bottom: 20px;
    text-align: center; /* Breadcrumbs'ı ortala */
}

.country-list {
    list-style: none;
    width: 60%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    margin: 0 auto; /* Bu satır eklenerek yanlamasına ortala sağlanır */
}

.country-list li {
    margin: 10px;
}

.country-list a {

    text-decoration: none;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    
}

.country-list h2 {
    font-size: 30px;
    position: relative;
    bottom: 4rem;
    color: white;
    font-weight: 600;
}

.country-list h3 {
    font-size: 20px;
    position: relative;
    bottom: 4rem;
    color: white;
    font-weight: 600;
}

.country-list img {
    width: 230px;
    max-height: 230px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    filter: brightness(70%) contrast(80%); 
    border-radius: 10px;
}

 .slick-slide {
    margin: 0 5px; /* İstenilen boşluk miktarını ayarlama */
    height: 50px;
    height: auto !important; /* Slaytın yüksekliğini otomatik ayarla */
 }

.country-list img:hover{
    opacity: 0.9;
}

.hidden {
    display: none;
 }
 .list-container {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: center; /* Listeyi yatayda ortala */
}

.list-container li {
    margin: 10px;
    width: calc(25% - 20px); /* Dört sütunlu düzen için hesaplama */
    position: relative;
}


.list-container li a {
    text-decoration: none;
    color: #0D47A1; /* Kapalı mavi renk */
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumbs a {
    text-decoration: none;
    color: black;
}

.card-list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 70%; /* Adjust as needed */
    margin: 0 auto;
    text-align: center;
}

.card-row {
    display: flex;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px; /* Adjust as needed */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.card img {
    width: 70%; /* Adjust as needed */
    height: auto;
    border: 1px solid transparent;
    border-radius: 10px;
}

.card-col {
    flex: 0 0 auto;
    margin-top: 5%;
    width: 30%; /* Adjust as needed */
    scroll-snap-align: start;
}

.card-text {
    font-family: lanefont;
    width: 70%;
    position: relative;
    bottom: 1rem;
    margin: 0 auto;
    max-width: 100%;
    background-color: whitesmoke;
    border: 1px solid transparent;
    border-radius: 1px 1px 10px 10px;
    overflow: hidden;
    text-align: center;
    padding: 10px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-text h5 {
    font-size: 14px; /* Adjust the font size as needed */
    text-decoration: none !important; /* Ensure text-decoration is not overridden */
    margin: 0.5rem 0; /* Adjust the margin as needed */
    white-space: normal; /* Alt satıra geçmesini sağlar */
}

.card-link h6 {
    font-size: 16px; /* Önerilen bir font boyutu, ihtiyaca göre ayarlayabilirsiniz */
    font-weight: bold;
    color: #1E90FF; /* Link rengi, ihtiyaca göre ayarlayabilirsiniz */
    margin-top: 10px; /* İhtiyaca göre ayarlayabilirsiniz */
    cursor: pointer;
    transition: color 0.3s; /* Görsel bir geçiş ekler */
}

.card-link h6:hover {
    color: #004080; /* Hover durumunda rengi değiştirin, ihtiyaca göre ayarlayabilirsiniz */
}

.card-link h6::after {
    content: '\2192'; /* Unicode karakteri */
}


.card-text h3 {
    font-size: 18px; /* Adjust the font size as needed */
    margin: 0.2rem 0; /* Adjust the margin as needed */
}

.card-col:not(:last-child) {
    margin-right: 2%;
}

.card-row::-webkit-scrollbar {
    display: none;
}


.pagination {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    white-space: nowrap; /* Prevent pagination from wrapping to the next line */
    overflow-x: auto; /* Enable horizontal scrolling if needed */
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 17px;
    border-radius: 10px;
}

.pagination a.active {
    background-color: #1E90FF;
    color: #fff;
}

.pagination a.number {
    display: inline-block;
}

#top {
    margin: auto;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: bold;
    padding: 10px;
}

.ads {
    background-color: #ffffff;
    color: #333333;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    width: 60%;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.ads p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: 20px;
}
.ads h1 {
    color: #007bff;
    font-size: 40px;
}

@media only screen and (max-width: 723px) {
    #search {
    width: 350px;
    }
    h1 {
    font-size: 50px;
    }
    .header img {
    max-width: 140px;
    height: auto;
    cursor: pointer;
    }
    .button {
    padding: 5px 15px;
    }
    .country-list {
        width: 100%;
    }
    .country-list h2 {
        font-size: 24px;
        position: relative;
        bottom: 3rem;
        color: white;
    }
    .country-list h3 {
        font-size: 15px;
        position: relative;
        bottom: 3rem;
        color: white;
    }
    .country-list img {
        width: 150px;
    }
    .list-container li {
        margin: auto;
        width: 40%;
        margin-top: 1rem;
        margin-left: 10px;
        display: flex;
    }

    .card-list-container {
        max-width: 100%; /* Adjust as needed */
        margin: 0 auto;
    }
    
    .card-row {
        width: 100%;
        margin-bottom: 10px; /* Adjust as needed */
    }
    
    .card img {
        width: 80%;
    }
    
    .card-col {
        flex: 0 0 auto;
        margin-top: 5%;
        width: 50%; /* Adjust as needed */
    }

    .card-text h3 {
        font-size: 14px; /* Adjust the font size as needed */
        width: 100%;
        margin: auto;
        font-weight: bold;
    }
    
    .category-card h5 {
        font-size: 12px; /* Adjust the font size as needed */
        white-space: normal; /* Alt satıra geçmesini sağlar */
    }

    .card-text {
        width: 80%;
    }
    .header {
        padding: 12px;
        width: 100%;
    }
    .ads {
        width: 90%;
        font-size: 14px;
    }
    .ads h1 {
        color: #007bff;
        font-size: 18px;
    }

 }