/* Background animation */
body {
    font-family: 'Papyrus', fantasy;
    display: flex;
    height: 100vh;
    overflow: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0; 
    background:
        radial-gradient(circle at bottom, #f0f0f0, transparent 80%),
        linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 70%),
        linear-gradient(to bottom, transparent, rgba(50, 50, 50, 0.5) 70%), #000000;
    animation: bg 10s infinite;
}

@keyframes bg {
    0% { background-color: #000000; }
    25% { background-color: #2f003b; }
    50% { background-color: #473447; }
    75% { background-color: #3e3d3d; }
    100% { background-color: #000000; }
}

header {
    background-color: transparent; 
    position: fixed;
    width: 100%;
 

}

nav {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 0 2rem; 
    height: 70px; 
    width: 100%; 
    box-sizing: border-box; 
    background-color: #130202; 
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-brand a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: #fdfeff;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; 
    gap: 1.5rem;
    width: auto;
}

nav a {
    color: #ffffff;
    font-weight: 500;
    padding: 10px 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
}
nav a::before{
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

nav a:hover:before {
    opacity: 1; 
}

h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: absolute;
    width: 800px;
    height: 900px;
    z-index: 3;
    top: 50%;
    left: 50%;
    margin: -100px 0 0 -150px;
}
.QR {
    width: 250px;
    height: 250px;
    position: absolute;
    right: 120%;
    top:10%;
    transform: translateY(-50%);

}
.link{
    width: 250px;
    height: 250px;
    position: absolute;
    text-decoration: none;
    color: black;
    right: 115%;
    top:25%;
}
.link:hover{
    color: #ffffff;
    transition: color 0.3s ease;
}

.scroll-down__btn {
    width: 300px;
    height: 100px;
    position: absolute;
    left: 20%;
    right: 50%;
    bottom: 45%;
    transform: translateX(-50%);
    background: #fffeff;
    padding: 10px 50px;
    border: none;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.scroll-down__btn svg {
    position: absolute;
    top: 10px;
    right: 40px;
}
.scroll-down__btn:hover{
    color: #ff0000;
    transition: color 0.3s ease;

}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

ul li {
    margin: 0 10px;
}

ul li a {
    color: #fff;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

.Aboutme {
    align-items: center;
    max-width: 800px;
    margin: 150px auto 50px auto; 
}

.Aboutme .skills ul li {
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.Aboutme .contact-info a:hover {
    text-decoration: underline;
}

