.header {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
}

body {
    margin: 0px;
}

main {
    margin-left: 20px;
    margin-right: 20px;
}

h1 {
    font-family: Aovel;
    padding-left: 20px;
    justify-self: start;
    margin-top: 60px;
}

.Title {
    justify-self: start;
}

.navbar ul {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

.navbar ul li {
    margin-left: 3px;
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
}

.navbar a {
    font-size: 22px;
    color: rgb(8, 56, 202);
    font-family: Aovel;
    font-weight: bold;
    text-decoration: none;
    padding: 15px;
    display: block;
}

.navbar a:hover {
    background-color: rgb(190, 180, 180, 0.1);
}

.navbar ul li img {
    width: 16px;
    height: 16px;
}

#login a {
    color: rgb(107, 104, 104);
    font-size: 15px;
}

.areadrop {
    display: inline-block;
}

.areadrop button {
    background-color: grey;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

.areadrop a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px 15px;
}

.areadrop .areas {
    display: none;
    position: absolute;
    background-color: gray;
    min-width: 100px;
    box-shadow: 2px 2px 5px black;
}

.areadrop:hover .areas {
    display: block;
}

.areadrop:hover button {
    background-color: darkgray;
}

.areadrop a:hover {
    background-color: lightgray;
}

.businesses {
    background-color: lightgrey;
    border: 2px;
    height: 200px;
    overflow: scroll;
}

.circle-icon {
    position: absolute;
    top: 15px;
    right: 60px;
    /* Change from right to left */
    width: 40px;
    height: 40px;
    background-color: #007bff;
    /* Blue color, you can change it */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    /* White color for the icon */
}

.subtitle {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 30px;
}

p {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    ;
    font-size: 20px;
}

.extra {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
}

/*Custom Font (Dealerplate California)*/
@font-face {
    font-family: "California";
    src: url(Fonts/dealerplate\ california.ttf) format('truetype')
}

@font-face {
    font-family: "Aovel";
    src: url(Fonts/AovelSansRounded-rdDL.ttf) format('truetype')
}
/* Dark mode styles */
body.dark {
    background-color: #222;
    color: #f4f4f4;
}
body.dark a {
    color: #9fd4ff;
}
body.dark .navbar a {
    color: #9fd4ff;
}
body.dark .navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
body.dark .header {
    background-color: #333;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('bg.jpg') center/cover;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1.5s ease-in;
}
.hero h2 {
    font-family: California;
    font-size: 36px;
    margin-bottom: 10px;
}
.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #0056b3;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
