/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #FFF7D7;
    color: white;
    padding: 10px;
    text-align: center;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
}

.Icon{
    width:30px;
    padding: 10px;
}

/* Search Icon */
.search-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    color: #F3C512;
}

.search-icon:hover {
    color: #d4a20a;
}

/* Search Bar (Hidden by Default) */
.search-bar {
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.hidden {
    display: none;
}

.search-bar input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 250px;
   padding-right: 0;
}

.search-bar  button {
    padding: 8px 16px;
    background-color: #F3C512;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.search-bar button:hover {
    background-color: #d4a20a;
}


.logo {
    margin-left: auto;
    margin-right: 20px;
}

.logo img {
    height: 3.5em;
    width: auto;
}

.navigation {
    background-color: #ffffff;
    padding: 10px;
    text-align: center;
}

.navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.navigation ul li {
    display: inline;
}

.navigation ul li a {
    color: #F3C512;
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
}

.navigation ul li a:hover {
    text-decoration: underline;
}

section ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    position: absolute;
    top: 75px; /* Position from the top */
    left: 10px;
    
}

section li {
    margin-right: 60%;
}

section nav {
   margin: auto;
    margin-right: 20%;
    margin-left: 0%;
    padding: 0%;
    justify-content: space-between; 
    flex-direction: row;
}

section nav li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

h1 {
    color: rgba(243, 197, 18, 1);
    margin-right: 50%;
    width: max-content;
    position: absolute;
    top: 10px; /* Position from the top */
    left: 10px;
}

.main-content {
    background: url('background.png') no-repeat center center;
    background-size: cover; /* Ensures the background image covers the entire container */
    min-height: 700px; /* Use min-height instead of height to allow for content expansion */
    width: 100%;
    color: white;
    padding: 0;
    position: relative;
}

.hgh-list {
    position: absolute; 
    left: 248%;
    padding: 0px;
    color: rgb(255, 255, 255);
}
ol li {
    margin-top: 1em;
    right: 2.5em;
    margin-right: 0em;
    width: max-content;
    list-style-type: none;
  }

footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 10px;
}

@media (max-width: 883px) {
    .search-bar input[type="text"] {
        width: 100%;
        margin-left: -4px;
        width: 58%;
    }
    .main-content {
        background: url('background2.jpg') no-repeat center center;
        min-height: 800px; 
        width: 100%;
    }

    .navigation ul {
        flex-direction: row;
        gap: 10px;
    }
    nav ul{
        flex-direction: column;
        gap: 30px;
    }
    
    
    .header-container {
        flex-direction: row; 
        justify-content: space-between;
    }
    
    .logo {
        margin-left: auto;
        margin-right: 20px;
    }
    
    .logo img {
        height: 3.5em;
        width: auto;
    }
    .search-bar {
        margin-left: -4px;
      }
    .hgh-list {
        position: unset; 
        padding: 10px;
        color: rgb(255, 255, 255);
        margin-left: -113%;
    }
}