/* General Styling */
body {
    background-color: #000;
    color: #fff;
    font-family: 'IBM Plex Mono', 'Syne', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}
html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

h1 {
    font-size: 3rem; /* Increased size for the main heading */
    color: #ffcc66;
    font-weight: bold;
    margin-bottom: 1rem;
}

h2 {
    color: #ffcc66; /* Header color for sections */
    margin-top: 2rem;
}

p {
    font-size: 1.2rem; /* Increased size for paragraph text */
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 600px;
    word-spacing: 0.05rem;
}

/* Nav Styling */
.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-item .nav-link {
    color: rgb(156, 156, 156); /* Your original color */
    text-decoration: none;
    font-size: 16px; /* Adjust font size if necessary */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'IBM Plex Mono', 'Syne', sans-serif; /* Apply your font here */
}

.nav-item .nav-link:hover {
    color: rgb(255, 204, 102); /* Change color on hover */
}

/* Positioning the nav to the right and adding margin */
header {
    margin-bottom: 20px; /* Margin between nav and content */
    background-color: rgb(27, 27, 27);
    border-radius: 10px;
}

/* Image Styling */
img {
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Certificate Styling */
.certificate {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
    width: 600px !important;
    height: auto;
}

.certificate img {
    width: 500px; /* Responsive image */
    border-radius: 10px;
}

/* Social Icons */
.icon i {
    font-size: 2rem;
    color: #ffcc66;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.icon i:hover {
    color: #312d19;
}

/* Button Styling */
section button {
    width: 20%;
    background: linear-gradient(135deg, #e9cd91, #f7d00d); /* Gradient background */
    font-family: 'Syne', sans-serif; /* Change font for buttons */
    font-weight: 700;
    border-radius: 10px;
    border: #000;
    padding: 15px 25px; /* Increased padding for better size */
    border: 2px solid transparent; /* Transparent border for smoother hover */
    height: 50px; /* Increased height */
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

section button:hover {
    background: linear-gradient(135deg, #fde66e, #ffcc66); /* Reverse gradient on hover */
    box-shadow: 0 8px 30px rgba(255, 255, 0, 0.6); /* Stronger shadow on hover */
    transform: translateY(-3px) scale(1.05); /* Slightly larger and lifted effect */
    border: 2px solid #ffcc66; /* Add a border on hover */
}

/* Responsive Media Query */
@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem; /* Adjusted size for smaller screens */
    }

    p {
        font-size: 1rem; /* Adjusted size for smaller screens */
        max-width: 100%;
        padding: 0 1rem;
    }

    img {
        width: 200px;
        height: 200px;
    }

    .btn {
        font-size: 1rem;
        width: 100px !important;
    }

    .icon i {
        font-size: 1.5rem;
    }
}
h3
{
    margin-top: 20px;
}
.up button{
     position: fixed;
      left: 30px; /* Adjust the position based on your needs */
      bottom: 35px; /* Align it at the bottom for a floating effect */
      width: 60px; /* Adjust the size based on your preference */
      height: 60px;
      background-color: #FF3D1F; /* Red background */
      border: none;
      border-radius: 7px; /* Rounded corners */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
}
.up button:hover{
    background-color: #a71600;
}
.up i{
    font-size: 24px;
}