/* Body */
/* 
* {
    font-family: 'Kanit', sans-serif;
}

body {
    background-color: #000;
} */


/* Nav Bar */
.navbar {
    background-color: #f8f2f2;
    width: calc(100vw - 2rem);
    margin: 0 3rem;
    height: 3rem;
    position: fixed;
    top: 1;
    left: 0;
    right: 0;
    border-bottom: 5px solid #2d84ee; 
    border-radius: 10px; 
    z-index: 1000;
    transition: background 0.3s ease;
    top: 5%;    
    transform: translateY(-50%);
}

.navbar li {
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
}

.navbar a:hover {
    color: #2d84ee;
    font-weight: 600;
}

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

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

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
}

.navbar .nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
}

.navbar .menu {
    color: #000000;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    margin-right: 30px;
}

.navbar .highlight {
    display: block;
    margin-left: 0;
    margin-right: 1rem;
}

.navbar .highlight:hover {
    color: #fff;
    background-color: #0c5aba;
}

.highlight {
    background-color: #2d84ee;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2s ease;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.highlight:hover {
    transform: scale(1.05);
    color: #ffffff;
}

.highlight:active {
    transform: scale(0.95);
}

.dropdown-menu {
    position: absolute;
    top: 60px;
    width: 250px;
    height: 0;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(55px);
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

.dropdown-menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;

}

.dropdown-menu .highlight {
    width: 80%;
    display: flex;
    justify-content: center;
}

.dropdown-menu.open {
    height: 325px;
    width: 100%;
    max-width: 100%;
    left: 0; 
    right: 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  background-color: transparent;
}

/* Nav Bar Ends */

/* Responsive */

@media (max-width: 992px) {
    .navbar .nav ul {
        display: none;
    }
    
    .navbar .menu {
        display: flex;
    }
    
    .navbar .menu i {
        display: inline-block;
    }
    
    .navbar .highlight {
        display: none;
    }
    
    .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu .highlight {
        display: block;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        border-bottom-width: 3px; /* Adjust border thickness for smaller screens */
    }
}

@media (max-width: 576px) {
    .navbar {
        border-bottom-width: 2px; /* Further adjust border thickness for even smaller screens */
    }
}
