* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    height: 70px;
    width: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.598);
}

.logo a {
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 5px;
}

.navigationlinks {
    list-style: none;
    display: flex;
    gap: 35px;
}

.navigationlinks a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

.navigationlinks a:hover {
    color: #ff6f61;
}

.loginbutton{
    padding: 8px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    cursor: pointer;
}

.loginbutton:hover {
    background: #ffffff;
}

.tutdropdown {
    position: relative; 
}

.tutorialdropdownitems {
    display: none; 
    position: fixed;
    background-color: #000000cc; 
    backdrop-filter: blur(5px);
    border-radius: 5px;
    min-width: 180px;
    box-shadow: 0 4px 8px #00000033; 
    padding-top: 10px;
}

.tutorialdropdownitems li {
    list-style: none;
}

.tutorialdropdownitems li a {
    color: #e0e0e0; 
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tutorialdropdownitems li a:hover {
    background-color: rgba(255, 111, 97, 0.2);
    color: #ff6f61; 
}

.tutdropdown:hover .tutorialdropdownitems {
    display: block;
}


.logincontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    padding: 100px 20px 40px;
}

.container {
    display: none; /* Hide the old container */
}

.loginform {
    background: #1f1f1f;
    padding: 50px 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 6px 20px #00000066;
    text-align: center;
    transition: all 0.3s ease-in-out;
    margin: 0 auto;
}

.loginform:hover {
    box-shadow: 0 10px 30px #00000080;
    transform: translateY(-5px);
}

h2 {
    color: #ff6f61;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.subheading {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 300;
}

.inputs {
    margin-bottom: 25px;
}

.inputs input {
    width: 100%;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 8px;
    background-color: #333;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.inputs input::placeholder {
    color: #777;
}

.inputs input:focus {
    border-color: #ff6f61;
}

.loginbutton1 {
    width: 100%;
    padding: 15px;
    background-color:#ff6f61;
    color: #fff;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s ease;
    margin-top: 15px;
}

.loginbutton1:hover {
    background-color: #ff6f61;
    transform: scale(1.05);
}

.forgotpassword {
    margin-top: 15px;
}

.forgotpassword a {
    color: #bbb;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.forgotpassword a:hover {
    color: #ff6f61;
}

.signup {
    margin-top: 30px;
    font-size: 0.9rem;
}

.signup a {
    color: #ff6f61;
    text-decoration: none;
}

.signup a:hover {
    text-decoration: underline;
}

/* Mobile menu button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-button {
        display: block;
    }
    
    .navigationlinks {
        display: none;
    }
    
    .navigationlinks.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        z-index: 1000;
        gap: 15px;
    }
    
    .tutorialdropdownitems {
        position: relative;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Login form */
    .loginform {
        width: 90%;
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .subheading {
        font-size: 0.9rem;
    }
    
    .inputs input {
        padding: 12px;
    }
    
    .loginbutton1 {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .loginform {
        padding: 25px 15px;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .subheading {
        font-size: 0.8rem;
    }
}
