@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body{
    font-family: 'Press Start 2P', cursive;
    background-color: #000;
    color: #fff;
    padding: 0;
    margin: 0;
    background-image: url('paul-volkmer-qVotvbsuM_c-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    animation: scrollBackground 200s linear infinite;
}
#title{
    font-size: 3rem;
    text-align: center;
    color: yellow;
}
section{
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100vh;
}

.hidden{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.show{
    opacity: 1;
    transform: translateY(0);
}

#photo{
    max-width: 200%;
    max-height: 200%;
    height: 300px;
    width: 400px;
    border-radius: 10%;
    overflow: hidden;
}

#bio{
    max-width: 80%;
    margin: 20px auto;
    line-height: 1.5;
}

a{
    color: yellow;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
    color: yellow;
}
a:visited{
    color: yellow;
}
a:active{
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid yellow;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    min-width: 100px;
}

.social-btn:hover {
    background-color: yellow;
    color: black;
    transform: translateY(-5px);
    text-decoration: none;
}

.social-btn .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.social-btn .text {
    font-size: 0.8rem;
    font-weight: bold;
}

.social-links-small {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn-small {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid yellow;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.social-btn-small:hover {
    background-color: yellow;
    color: black;
    transform: scale(1.1);
    text-decoration: none;
}

.social-btn-small .icon {
    font-size: 1.2rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    #title {
        font-size: 2rem;
        padding: 0 10px;
        text-align: center;
    }
    
    section {
        padding: 20px 15px;
        min-height: 90vh;
        text-align: center;
    }
    
    #photo {
        width: 250px;
        height: 250px;
        max-width: 90%;
        max-height: 90%;
    }
    
    #bio {
        max-width: 95%;
        font-size: 0.7rem;
        line-height: 1.6;
        margin: 15px auto;
        text-align: center;
    }
    
    iframe {
        width: 100% !important;
        max-width: 350px !important;
        height: 200px !important;
    }
    
    .social-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .social-btn {
        min-width: 80px;
        padding: 15px;
    }
    
    .social-btn .icon {
        font-size: 1.5rem;
    }
    
    .social-btn .text {
        font-size: 0.7rem;
    }
    
    .social-links-small {
        gap: 20px;
    }
    
    .social-btn-small {
        width: 35px;
        height: 35px;
        padding: 8px;
    }
    
    .social-btn-small .icon {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 10px;
        text-align: center;
    }
    
    h2 {
        text-align: center;
    }
    
    ul {
        text-align: center;
        list-style: none;
        padding: 0;
    }
    
    li {
        margin: 10px 0;
    }
}

@keyframes scrollBackground {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    #title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    section {
        text-align: center;
    }
    
    #photo {
        width: 200px;
        height: 200px;
    }
    
    #bio {
        font-size: 0.6rem;
        text-align: center;
    }
    
    iframe {
        max-width: 300px !important;
        height: 170px !important;
    }
    
    .social-btn {
        min-width: 70px;
        padding: 12px;
    }
    
    .social-btn .icon {
        font-size: 1.2rem;
    }
    
    .social-btn .text {
        font-size: 0.6rem;
    }
    
    p {
        font-size: 0.7rem;
        text-align: center;
    }
    
    h2 {
        text-align: center;
    }
}