:root{
    --background-color:#0c0a11;
    --primary:#2bb4f3;
    --footer:#7c87f2;
    --link:#0ea3e6;
    --success:#2fd0ba;
    --error:#f170b1;
    --nav:#21da83;
    --button:linear-gradient(120deg, #939dfb 0%, #575af5 100%);
    --grad:linear-gradient(60deg,#f87c6b,#647eff, #7812fd);
    --DM-font: Satoshi,sans-serif;
    --mouse-x: 0deg;
    --mouse-y: 0deg;
      --rotation: calc(15deg - (var(--mouse-y) / 100) + (var(--mouse-x) / 150));
}

html{
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--background-color);
    /* background-image: url("/static/img/pattern.png"); */
    /* background-repeat: repeat;       
    background-position: center center;  */
    /* background-size: cover;   */
    color:rgb(255, 255, 255);
    overflow-x: hidden;
    font-family: var(--DM-font);
}
@keyframes slideIn {
    0% {
      transform: translateY(10px);
    }
    100% {
      transform: translateY(0px);
    }
}
.text-center{
    text-align: center;
}

header{
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    margin-top:0;
    background: #212529;
    padding: 0.6rem 0;
    font-family: var(--DM-font);
    z-index: 50;
}

.nav-container {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:0 2rem 0 2rem;
}
  
.nav-left .logo img {
    height: 20px;
}
  
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}



.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
}
.nav-menu a:hover {
    color: whitesmoke;
    border-bottom:2px solid var(--primary); 
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle-checkbox {
    display: none;
}


.nav-toggle-label {
    display: none;  
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle-label span {
    display: block;
    width: 25px; height: 3px;
    background: #fff;
    border-radius: 2px;
}

.mobile-menu-wrapper {
    display: none;
    flex-direction: column;
    background: #212529;
    transition: opacity 0.4s ease-in-out;
}

.nav-menu-mobile {
    position: absolute;
    top: 100%; 
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 2rem;
    background: #212529;
    z-index: 100;
}

.nav-right-mobile{
    display: none;
    justify-content: center;
    align-items: center;
    gap:1rem;
}



/* .nav-toggle-checkbox:checked ~ .nav-menu-mobile {
  display: flex;
}

.nav-toggle-checkbox:checked ~ .nav-right-mobile {
  display: flex;
} */



.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
  

.nav-avatar-default {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #624db0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
  
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
}
/* .drop-container{

    display: inline-block;

} */
.user-text {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 0.9rem;
}
.user-name {
    font-weight: 600;
}
.user-email {
    font-size: 0.8rem;
    opacity: 0.8;
}
  
.btn {
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

.signup-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.signup-btn:hover {
    background: #fff;
    color: #111;
}

.login-btn {
    background: #fff;
    color: #111;
}
.login-btn:hover {
    background: #eee;
}
  
.center-row {
  width: 40%;
  display: flex;
  gap: 2rem;
  padding: 0 5rem;
  align-items: center;
}


.profile-btn,
.profile-btn:hover{
    color:none;
    border:none;
    text-decoration: none;
    background-color: transparent;
    outline: none;
}

/* animation all pages */
@keyframes slideIn {
    0% {
      transform: translateY(10px);
    }
    100% {
      transform: translateY(0px);
    }
}

.nav-dropdown {
    display:none;
    position:absolute;
    right: 0;
    top: 100%;                  
    background: #222; 
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    min-width: 10rem;
    padding: 1rem 0;
    z-index: 50;
}

.user-info:hover .nav-dropdown {
  display: block;
}


.nav-dropdown a,
.nav-dropdown .dropdown-logout {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-family: var(--DM-font);
  overflow: hidden;
}

.nav-dropdown a:hover{
  background: rgba(255,255,255,0.1);
  width: 80%;
}

.dropdown-logout:hover {
background: rgba(255,255,255,0.1);
  cursor: pointer;
  width: 100%;
}

footer{
    bottom: 0;
    left: 0;
    width: 99%;
    margin-top:0;
    background: #212529;
    padding: 0.6rem 1rem 0 1rem;
    font-family: var(--DM-font);
    display: flex;
    justify-content: space-between;

}
.footer-center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.socialmedia{
    display: flex;
    justify-content: space-between;
    gap:1rem;
}


.footer-center img{
    width: 2rem;
}
.right-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.socialmedi-a,
.right-footer a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
}
