/* 
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
    margin: 0;
}

/*
    3. Allow percentage-based heights in the application
  */
html,
body {
    margin: 0;
    height: 100%;
}

/*
    Typographic tweaks!
    4. Add accessible line-height
    5. Improve text rendering
  */
body {
    line-height: 1.5;
    background: transparent;
}

/*
    6. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/*
    7. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
    font: inherit;
}


p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

body {
    background-color: #c6c6fa;
    padding: 40px 5%;
}

.navbar {
    direction: rtl;

}

.navbar a {
    font-size: 25px;
    color: black;
    text-decoration: none;
    margin-left: 20px;
}

.navbar > .dropdown > a::after {
    font-family: "Font Awesome 5 Free";
    /* Font Awesome */
    content: "\f078";
    /* FontAwesome's chevron-down icon */
    font-weight: 900;
    font-size: 10px;
    vertical-align: middle;
    margin-right: 9px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    /* Initially hide the dropdown content */
    opacity: 0;
    /* Start with the dropdown content fully transparent */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 190px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    transform: translateY(-20px);
    /* Start the dropdown slightly above its final position */
    transition: visibility 0s linear 0.3s, opacity 0.3s linear, transform 0.3s ease-out;
    /* Transition for visibility, opacity and transform */
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    /* Make the dropdown content visible */
    opacity: 1;
    /* Fade in the dropdown content */
    transform: translateY(0);
    /* Dropdown content moves to its final position */
    transition-delay: 0s;
    /* Apply transitions without delay when hovering */
}

.logo {
    margin: 20px auto;
}

.search-input {
    border-radius: 10px;
    box-shadow: none;
    /* Removes inner shadow */
    border: 1px solid #d41a1a;
    height: 35px;
}

.search-bar {
    margin-top: 70px;

}

.search-button {
    border-radius: 10%;
    /* This makes it round */
    box-shadow: none;
    /* Removes inner shadow */
    border: 1px solid #0011a7;
    background-color: #0011a7;
    color: white;
    width: 50px;
    /* Remove padding to maintain the shape */
    /* If you are using text, you might need to adjust the font size to fit the button */
    font-size: 16px;
    /* Example font size, adjust as needed */
    /* If you are using an icon, you may want to include additional styling here */
}

.secondnav {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.main {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.split {
    background-color: #0c08d8;
    height: 10px;
}

.forum-category {
    margin-top: 50px;
    text-align: center;
    color: #0c08d8;
    background-color: white;
    box-shadow: 0 4px 4px 0 rgba(41, 35, 35, 0.2);
    width: 100%;
    /* x-offset, y-offset, blur-radius, spread-radius, color */

}

.forum-category h3 {
    width: fit-content;
    padding: 0 5px;
    font-size: 30px;
    color: white;
    background-color: #0c08d8;
    margin: auto;
    margin-top: 10px;
    font-weight: normal;

}

.forum-category p {
    width: fit-content;
    padding: 0 5px;
    font-size: 25px;
    color: black;
    margin: auto;
    margin-top: 10px;
    font-weight: bold;
}
.forum-category a {
text-decoration: none;
}
.forum-category .more {
    margin-bottom: 10px;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    font-size: 30px;
}

.footer a {
    font-weight: bold;
    color: black;
    text-decoration: none;
}