/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1e1e1e, #282828);
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Header Styling with Gradient */
header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    padding: 50px;
    margin-bottom: 50px;
    animation: slide-down 1s ease-out;
}

h1 {
    font-weight: 600;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}

header p {
    font-weight: 300;
    font-size: 1.2rem;
    color: #f0f0f0;
}

section {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #fff;
}

p, ul, li {
    font-weight: 300;
    font-size: 1.1rem;
    color: #cccccc;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.skill-list li {
    margin-bottom: 10px;
}

/* Pop-out menu styles */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background-color: #1a1a1a;
    border-radius: 3px;
    padding: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.menu-toggle:hover {
    background-color: #333333;
    color: white;
}

.popout-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-x: hidden;
    transition: width 0.5s ease;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.popout-menu.open {
    width: 250px;
    padding-left: 30px;
    padding-right: 30px;
}

.popout-menu a, .menu-button {
    padding: 12px 16px;
    text-decoration: none;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 15px;
    transition: color 0.3s;
    display: block;
    text-align: left;
}

/* Button styling for the pop-out menu (TLD) */
.menu-button {
    background-color: transparent;
    border: 2px solid #555555; /* Grey border */
    color: #555555; /* Grey text */
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.menu-button:hover {
    background-color: #555555; /* Grey background on hover */
    color: white; /* White text on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    color: white;
}

/* GitHub Section */
.github-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#github-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#github-pic:hover {
    transform: scale(1.1);
}

.minimal-link {
    text-decoration: none;
    color: #3498db;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.minimal-link:hover {
    color: #e74c3c;
}

/* Minimalistic Buttons */
.minimal-button {
    background-color: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(0);
    white-space: nowrap;
}

.minimal-button:active {
    transform: translateY(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.minimal-button:hover {
    background-color: #3498db;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.minimal-button span {
    display: inline-block;
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 0.9rem;
    font-weight: 300;
    color: #777;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .popout-menu {
        max-width: 100%;
    }

    .menu-button {
        font-size: 1.15rem;
        padding: 10px 15px;
    }
}
