@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&family=Lilita+One&family=Open+Sans:wght@400;700&display=swap');

/* General styles */
body {
    background-color: gold;
    font-family: 'Open Sans', sans-serif; /* Default font for English text */
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100% ;
}
.main-contnet{
    overflow:scroll ;
    background: url('resources/kifback.jpg') no-repeat center center; 
    background-size: cover;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.main-contnet::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.main-contnet {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.flex-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: white;
    color: #196666;
    flex-direction: column;
    font-family: 'Lilita One', cursive; /* Font for header text */
}

.fl-row {
    display: flex;
}

#logo {
    height: 90px;
    margin-right: 65px;
}

nav {
    margin: 20px 0;
    text-align: center;
    nav-link
}

.card {
    max-width: 540px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card img {
    width: auto;
    height: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-radius: 15px 15px 0 0;
}

.card-body {
    padding: 10px;
    font-family: 'Open Sans', sans-serif; /* Default font for English text */
    font-weight: bold;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
}

.arabic-text {
    font-family: 'Tajawal', sans-serif; /* Font for Arabic text */
}

@media (max-width: 576px) {
    .card {
        flex-direction: column;
    }

    .card img {
        width: 100%;
    }
}
.nav-link {
    padding: 5px;
}
.tab-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}
.tab-wrapper {
    border: 2px solid #ddd; /* Add border around the buttons */
    padding: 10px;
    overflow-x: scroll; /* Ensure the scrollbar is always visible */
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}


button.tab {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 20px;
    margin: 5 5px;
    cursor: pointer;
    font-size: 16px;
    flex: 0 0 auto; /* Prevent buttons from shrinking */
}

button.tab:hover {
    background-color: #ddd;
}

.nav .nav-link {
    color: #196666;
    margin-right: -1rem;
}
