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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
   color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

body.profile {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body.autobiography {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

h1, h2, h3 {
    margin: 20px 0 10px 0;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

h2 {
    font-size: 1.8em;
}

a {
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    display: inline-block;
    margin: 5px;
    border-radius: 5px;
}

a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

a:hover::before {
    width: 100%;
}

a:hover {
    color: #764ba2;
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 5px;
    z-index: -1;
    transition: all 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

a:hover::after {
    transform: scaleX(1);
}

a[href*="html"] {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
}

a[href*="html"]::before {
    display: none;
}

a[href*="html"]::after {
    display: none;
}

a[href*="html"]:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #fff;
}

a[href*="html"]:active {
    transform: scale(0.98) translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

a[href*="html"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
    display: block;
}

@keyframes ripple {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

a[href="favorites.html"],
a[href="homepage.html"] {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

a[href="favorites.html"]:hover,
a[href="homepage.html"]:hover {
    background: #764ba2;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

a img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

a:hover img {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

u {
    text-decoration: underline;
    text-decoration-color: #f5576c;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

mark {
    background: linear-gradient(120deg, #f5576c 0%, #f5576c 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    animation: highlight 0.5s ease-in-out;  
}

@keyframes highlight {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

ul, ol {
    margin-left: 30px;
    margin-top: 10px;
}

li {
    margin: 8px 0;
    padding: 8px;
    border-left: 3px solid #667eea;
    padding-left: 15px;
    transition: all 0.3s ease;
}

li:hover {
    border-left-color: #764ba2;
    transform: translateX(5px);
    background: rgba(102, 126, 234, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

tr:hover {
    background: rgba(102, 126, 234, 0.08);
    transform: scale(1.02);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.05) rotateY(3deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 30px 0;
}

audio, video {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 20px 0;
    transition: all 0.3s ease;
}

audio:hover, video:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: scale(1.02);
}

label audio,
label video,
audio ~ label,
video ~ label {
    color: #764ba2;
    font-weight: 600;
}

small {
    opacity: 0.8;
    transition: all 0.3s ease;
}

small:hover {
    opacity: 1;
    color: #764ba2;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    a {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    a[href*="html"] {
        padding: 10px 18px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeInUp 0.6s ease-out;
}


.contactfontcolor{
    color: white;
}


.favfontcolor{
    color: black;
}

.autobiography_story{
    background: linear-gradient(120deg, #b78ce2 0%, #ff546b 100%);
    padding: 20px;
    border-radius: 10px;
}

.hobbies-container{
    background: linear-gradient(120deg, #764ba2 0%,  #667eea 100%);
    padding: 20px;
    border-radius: 10px;
}

.goals-container{
    background: linear-gradient(120deg, #764ba2 0%,  #667eea 100%);
    padding: 20px;
    border-radius: 10px;
}

.index{
    background: linear-gradient(120deg, #764ba2 0%,  #667eea 100%);
    padding: 40px auto ;
    border-radius: 10px;
}

.bgcolor-contact:hover{
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
}

a.coming-soon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.coming-soon:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #fff;
}
