body {
    font-family: 'Poppins', sans-serif;
    background: url('https://cdn.beacons.ai/profile_backgrounds/mads.kadie.jpg?t=1614045269665') no-repeat top center;
    background-size: cover;
    background-attachment: scroll;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    animation: fadeIn 1.5s ease-in-out;
    z-index: 1;
}

.profile-pic {
    width: 120px; 
    height: 120px;
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 1rem; 
    border: 3px solid #000000; 
    display: block;
    margin-left: auto;
    margin-right: auto; 
}


.logo-text {
    width: 40%; 
    height: auto; 
    display: block;
    margin: 0 auto; 
    margin-bottom: 1.5rem;
    animation: slideDown 1s ease-in-out;
}
.toggle-button {
    position: fixed; 
    top: 20px; 
    right: 20px;
    background-color: #444;
    border: none;
    color: white;
    opacity: 40%;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; 
}

.toggle-button:hover {
    background-color: #555;
    opacity: 80%;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.5s ease-in-out, grid-template-columns 0.5s ease-in-out, gap 0.5s ease-in-out;
    align-items: center;
    padding-bottom: 20px; 
}

.links.long-list {
    padding-bottom: 50px; 
}

.links.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    row-gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    justify-items: center; 
    justify-content: center; 
}

.link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background-color: rgba(20, 20, 20, 0.8);
    border: 2px solid #444;
    border-radius: 30px;
    text-decoration: none;
    color: #eaeaea;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    height: 40px; 
    min-width: 220px; 
    width: 100%;
}

.links.two-columns .link {
    min-width: 440px; 
}

.link:hover {
    background: #2e2e2e;
    opacity: 90%;
    border-color: #555;
    color: #fff;
}

.link[data-hover="Accounting TOP 0.07%"]:hover {
    box-shadow: 0 0 15px lightblue; 
    border-color: lightblue;
}

.link[data-hover="Free Accounting"]:hover {
    box-shadow: 0 0 15px lightblue; 
    border-color: lightblue;

}

.link[data-hover="PayPal"]:hover {
    box-shadow: 0 0 15px blue;
    border-color: blue; 

}

.link[data-hover="Tag Me In Your Posts! <3"]:hover {
    box-shadow: 0 0 15px orange; 
    border-color: orange;

}

.link[data-hover="TikTok"]:hover,
.link[data-hover="2nd TikTok Account"]:hover {
    box-shadow: 0 0 15px hotpink; 
    border-color: hotpink;

}

.link[data-hover="📦 P.O. Box 350 Goulburn NSW 2580"]:hover {
    box-shadow: 0 0 15px #ff9900; 
    border-color:#ff9900
}

.link[data-hover="Chat With Me Live!"]:hover {
    box-shadow: 0 0 15px #9146FF; 
    border-color: #9146FF; 
}

.link[data-hover="🌐 Madskadie's Community Discord"]:hover {
    box-shadow: 0 0 15px #7289DA;
    border-color: #7289DA; 

}

.link[data-hover="YouTube"]:hover {
    box-shadow: 0 0 15px red; 
    border-color: red; 

}

.link[data-hover="Instagram"]:hover {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6), 0 0 15px rgba(255, 165, 0, 0.6), 0 0 15px rgba(206, 0, 154, 0.6);
    border-color: rgba(255, 0, 255, 0.6), 0 0 15px rgba(255, 165, 0, 0.6), 0 0 15px rgba(206, 0, 154, 0.6);
}

.link[data-hover="Twitter"]:hover {
    box-shadow: 0 0 15px #1da1f2; 
    border-color: #1da1f2; 

    
}

.link .icon {
    margin-right: 8px; 
    transition: transform 0.3s ease, left 0.3s ease; 
    position: absolute; 
    left: 20px; 
}

.link span {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease, scale 0.2s ease;
    visibility: visible; 
}

.link:hover .icon {
    transform: translateX(30px);
}

.link:hover span {
    transform: translateX(-30px) scale(1.1); 
    visibility: hidden; 
    opacity: 0; 
}

.link:hover::after {
    content: attr(data-hover); 
    visibility: visible;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); 
    font-size: 1rem;
    color: #fff;
    opacity: 1; 
    transition: opacity 0.5s ease, transform 0.5s ease; 
    transform: translate(-50%, -50%) translateX(-20px); 
}

.link::after {
    visibility: hidden; 
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-20px);
}

.link:hover::after {
    transform: translate(-50%, -50%) translateX(0); 
}

.about-tab {
    position: fixed;
    left: 10px;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 15px;
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.about-tab:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.about-me-box {
    position: fixed;
    left: -320px; 
    top: 50%;
    transform: translateY(-50%) translateX(0); 
    background-color: rgba(1, 1, 1, 0.9);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    width: 350px;
    max-height: 80%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
    overflow-y: auto;
    z-index: 999;
}

.about-me-box.show {
    transform: translateY(-50%) translateX(100%);
}

.about-me-box p {
    opacity: 0;
    animation: fadeInText 1s forwards;
}

@keyframes fadeInText {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideDown {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@media screen and (max-width: 768px) {
    .toggle-button {
        display: none;
    }

    .about-me-box {
        display: none;
    }

    .about-tab {
        display: none;
    }

    body {
        background-size: cover; 
        background-position: center center; 
        background-attachment: fixed; 
        background-color: #000000;
        padding: 20px 10px 40px 10px; 
    }

    .container {
        padding: 20px;
        width: 100%;
        max-width: 100%; 
        box-sizing: border-box;
    }

    .links.two-columns .link {
        min-width: 100%; 
    }
}