body {
    background-image: url("images/Site_BG.jpg");
    background-size: cover;
    background-color: rgb(20, 40, 60);
    
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: lightgrey;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}

h1 {
    color: #357ee2;
    font-size: 18px;
    text-align: left;
    padding: 5px;
    border-bottom: 1px solid #357ee2;
    display: inline-block;
    width: auto;
}

h2 {
    color: #4ca251;
    font-size: 18px;
}

h3 {
    color: #ffffff;
    font-size: 18px;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
}

p {
    color: lightgrey;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: lightgrey;
    font-size: 1rem;
}

a:hover {
    color: #357ee2;
}

.links li a.active {   
    border-bottom: 2px;
    border-color: #357ee2;
    padding-bottom: 3px;
}

.links li a.selected {
    padding: 3px;
    border-bottom: 3px solid #357ee2;
}

header{
    position: relative;
    padding: 0 1rem;
}

.navbar {
    width: 100%;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    vertical-align: middle;
}

.navbar .title {
    font-size: 2rem;
    font-weight: bold;
    color: #357ee2
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: lightgrey;
    font-size: 1.5 rem;
    cursor: pointer;
    display: none;
}

/*DROPDOWN MENU*/
.dropdown_menu {
    display: none;
    position: absolute;
    right: 5px; 
    top: 15px;
    height: 0;
    width: 180px;
    background-color: rgba(20, 40, 60, 0.7);
    -webkit-backdrop-filter: blur(15px); /* For Safari */
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 180px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: left;
    justify-content: left;
}

/*RESPONSIVE DESIGN*/
@media (max-width: 860px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media (max-width: 500px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}
