@font-face {
    font-family: Mont-Light;
    src: url(MessagingAppUpdated/Assets/fonts/Mont-ExtraLightDEMO.otf);
}

@font-face {
    font-family: Mont-Heavy;
    src: url(MessagingAppUpdated/Assets/fonts/Mont-HeavyDEMO.otf);
}

@keyframes glowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body{
    color: white;
    background: linear-gradient(135deg, #0e2148, #1a2b6c, #3245a6, #1e63cb);
    /*background: linear-gradient(135deg, #0e2148 0%, #1a2b6c 40%, #3245a6 70%,  100%);*/
    background-attachment: fixed;
    background-size: 200% 200%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: large;
    animation: glowShift 10s ease infinite;
}

nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;            
    padding: 1% 1%;
    background-color: rgba(0,   0, 0, 0.9);
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.1); 
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

nav h1 {
    position: absolute;
    left: 20px;
    font-family: Mont-Heavy;
    margin: 0;
    font-size: x-large;
}

.links-right {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 20px;
}

.nav-links{
    margin-right: 50px;
    text-decoration: none;
    color: rgb(230, 230, 230);
    font-weight: bold;
}

.nav-links:hover {
    color: rgb(141, 162, 255);
}

.login-button {
    padding: 8px 16px;
    background-color: white;
    color: rgb(28, 28, 28);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: rgb(180, 180, 180);
}

article{
    width: 75%;
    margin: auto;
    justify-self: center;
}

.hero {
    text-align: center;
    padding: 10rem 2rem 5rem;
    font-family: Mont-Heavy;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #87cefa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero p {
    font-family: Mont-Light;
    font-size: 1.2rem;
    color: #ddd;
    max-width: 600px;
    margin: auto;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Features */
#features {
    padding: 6rem 2rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h2 {
    font-family: Mont-Heavy;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    font-family: Mont-Light;
    font-size: 1rem;
    color: #cdd4ff;
}

/* About */
#about {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

#about h2 {
    font-family: Mont-Heavy;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#about p {
    font-family: Mont-Light;
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
    color: #d0d0d0;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    color: #aaa;
    font-family: Mont-Light;
    font-size: 0.9rem;
    margin-top: 4rem;
}

footer a{
    color: white;
    text-decoration: none;
}

#modal{
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5);
    color: black;
}

