
@import url('common.css');

#content{
    width: 100%;
    text-align: center;
    margin-top: 7rem;
}

#bio {
    color: white;
    max-width: 45rem;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5rem;
    margin-right: 5rem;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.6;
    }
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Initial hidden states */
#content {
    margin-top: 9.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

#photoDiv {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4rem;
    margin-right: 4rem;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.4s forwards;
}

#bio {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
}

#bio h2 {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#bio h3 {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 1s forwards;
    color: #a0a0a0;
}

#bio p {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 1.2s forwards;
    color: #a0a0a0;
    line-height: 1.6;
}

#photo {
    border-radius: 1rem;
    width: 22rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#photo:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.button-squashhub {
    display: inline-flex;
    font-size: 1rem;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.button-squashhub:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.659);
}

.button-container > * {
  margin: 1rem;
}

.logo-squashhub {
    width: 1rem;
    border-radius: 100%;
}