/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
}

/* Home */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 20px;
}

.block-link {
    display: block;
    /* Makes the link take full width, stacking vertically */
    margin-bottom: 8px;
    /* Optional spacing between links */
}


/* Sections */
section {
    padding: 30px 10px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 500px;
    margin: auto;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

form textarea {
    height: 120px;
}

form button {
    background: #00ffcc;
    color: #121212;
    padding: 12px;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #008f9b;
    transform: scale(1.05);
}

/* Skills */
.skills-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
}

.skill img {
    width: 50px;
    height: 50px;
    max-width: 15vw;
    max-height: 15vw;
}

.skill:hover {
    transform: scale(1.15);
}

/* Fade-in effect */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buy Me a Coffee Button */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

#bmc-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #FFDD00;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounce 2s infinite;
}

#bmc-button img {
    width: 50px;
    height: 50px;
    max-width: 10vw;
    max-height: 10vw;
}

#bmc-button:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }

    .skill {
        font-size: 0.9rem;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.9rem;
    }

    form input,
    form textarea,
    form button {
        font-size: 0.95rem;
        padding: 10px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .skill img {
        width: 40px;
        height: 40px;
    }
}