body{
    background-color: #D9D9D9;
    padding-top: 60px;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}
.mylogocontainer{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
}
.mylogo{
    height: 10vh;
    width: 10vh;
    animation: mylogo 7s infinite linear;
    margin-left: 1vh;
    margin-right: 1vh;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001; /* Bring logo to the front */
    transition: transform 0.3s; /* Add transition for hover effect */
}
.mylogo:hover {
    transform: scale(2.2); /* Enlarge image on hover */
}
@keyframes mylogo{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

@keyframes rain {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(150px); /* Increased rain drop area */
        opacity: 0;
    }
}

.rain {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 2px;
    height: 10px;
    background: #A9A9A9; /* Dark grey color */
    animation: rain 0.5s linear infinite;
}

.lines hr {
    background-color: black;
    border: none;
    height: 2px; /* Thin line */
    width: 100%; /* Full width */
    margin: 10px 0; /* Adjust spacing */
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
    padding-top: 40px; /* Increased padding-top */
}
.profile-pic {
    border-radius: 50%;
    height: 150px;
    width: 150px;
    margin-bottom: 20px;
}
.about-section p {
    margin: 10px 0;
    padding: 0;
    max-width: 600px;
    font-size: 1.2em; /* Increased font size */
}

.highlight {
    font-size: 4em;
    font-weight: bold;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.cloud {
    position: absolute;
    top: 10px; 
    left: 20px;
    background: #F5F5F5;
    border-radius: 50%;
    box-shadow: -30px -30px 0 -10px #F5F5F5, 30px -30px 0 -10px #F5F5F5, 60px 0 0 -10px #F5F5F5, 90px -30px 0 -10px #F5F5F5, 120px 0 0 -10px #F5F5F5;
    width: 100px;
    height: 60px;
    animation: moveClouds 20s linear infinite;
    z-index: 0; /* Place clouds in the background */
}

.cloud::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    width: 2px;
    height: 10px;
    background: #A9A9A9; 
    animation: rain 0.5s linear infinite;
    animation-delay: 0.2s;
}

.cloud::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 30%;
    width: 2px;
    height: 10px;
    background: #A9A9A9; 
    animation: rain 0.5s linear infinite;
    animation-delay: 0.4s;
}

@keyframes moveClouds {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(200px);
    }
}

.socials {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: row; /* Change to horizontal layout */
    gap: 10px;
    z-index: 1002; /* Bring socials in front of the clouds */
}

.socials a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    transition: color 0.3s;
}

.socials a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.socials a img:hover {
    transform: scale(1.2); /* Enlarge image on hover */
}

.socials a:hover {
    color: #0073e6; /* Change color on hover */
}

.resume-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.resume-img {
    width: 200px; /* Increased size */
    height: 200px; /* Increased size */
    transition: transform 0.3s;
    border: 2px solid #333; /* Added border */
    border-radius: 10px; /* Added border radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added box shadow */
}

.resume-img:hover {
    transform: scale(1.2); /* Enlarge image on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced box shadow on hover */
}

.dev-space-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.dev-space-row h2 {
    font-size: 2em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.content-columns {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding: 20px; /* Added padding */
    padding-top: 40px; /* Added top padding */
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Make columns wrap on smaller screens */
}

.resume-column, .dev-space-column, .certificates-column, .tech-stack-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px; /* Added padding */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
    min-width: 250px; /* Ensure columns don't get too narrow */
}

.resume-column:hover, .dev-space-column:hover, .certificates-column:hover, .tech-stack-column:hover {
    transform: translateY(-10px); /* Slightly lift column on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add box shadow on hover */
}

.dev-space-column h2 {
    font-size: 2em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.dev-link-box {
    border: 1px solid #333; /* Added border for each link box */
    border-radius: 5px; /* Added border radius for each link box */
    padding: 10px; /* Added padding for each link box */
    margin-bottom: 10px; /* Added margin between link boxes */
    text-align: center; /* Centered text */
    width: 200px; /* Increased width */
}

.dev-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dev-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    transition: color 0.3s;
}

.dev-links a:hover {
    color: #fff; /* Change color on hover to white */
}

.certificates-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px; /* Added padding */
}

.certificates-column h2 {
    font-size: 2em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.certificates-link-box {
    border: 1px solid #333; /* Added border for each link box */
    border-radius: 5px; /* Added border radius for each link box */
    padding: 10px; /* Added padding for each link box */
    margin-bottom: 10px; /* Added margin between link boxes */
    text-align: center; /* Centered text */
    width: 200px; /* Set width */
}

.certificates-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.certificates-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    transition: color 0.3s;
}

.certificates-links a:hover {
    color: #fff; /* Change color on hover to white */
}

.tech-stack-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px; /* Added padding */
}

.tech-stack-column h2 {
    font-size: 2em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.tech-stack-link-box {
    border: 1px solid #333; /* Added border for each link box */
    border-radius: 5px; /* Added border radius for each link box */
    padding: 10px; /* Added padding for each link box */
    margin-bottom: 10px; /* Added margin between link boxes */
    text-align: center; /* Centered text */
    width: 200px; /* Set width */
    height: 25px; /* Set height to match My Coding Space */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em; /* Set font size to match My Coding Space */
}

.tech-stack-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.certificates-row, .tech-stack-row {
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.certificates-row:hover, .tech-stack-row:hover {
    transform: translateY(-10px); /* Slightly lift row on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add box shadow on hover */
}

.dev-link-box, .certificates-link-box, .tech-stack-link-box {
    transition: transform 0.7s, box-shadow 0.3s; /* Add transition for hover effect */
}

.dev-link-box:hover, .certificates-link-box:hover, .tech-stack-link-box:hover {
    transform: translateY(-10px); /* Slightly lift box on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add box shadow on hover */
}

.projects-section {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
}

.projects-section h2 {
    font-size: 2.5em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
    margin-bottom: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project {
    padding: 20px;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.project:hover {
    transform: translateY(-10px); /* Slightly lift project on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add box shadow on hover */
}

.project h3 {
    font-size: 1.8em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.project p {
    font-size: 1.2em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.project-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.navbar {
    /* background-color: #D9D9D9;  */
    padding: 20px 0; /* Increased padding to cover the logo */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0; /* Cover the left corner gap */
    z-index: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: 0.4s;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Make nav links wrap on smaller screens */
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.2em;
    transition: color 0.3s;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.nav-links a:hover {
    color: white;
}

.anonymous-text-section {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
}

.anonymous-text-section h2 {
    font-size: 2.5em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
    margin-bottom: 20px;
}

.anonymous-text-section textarea {
    width: 100%;
    max-width: 400px; /* Decreased max-width */
    padding: 10px;
    font-size: 1.2em;
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.anonymous-text-section button {
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.anonymous-text-section button:hover {
    background-color: #555;
}

.anonymous-text-section #response-message {
    margin-top: 10px;
    font-size: 1.2em;
    color: green;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.contact-columns {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding: 20px;
    flex-wrap: wrap; /* Make columns wrap on smaller screens */
}

.email-column, .anonymous-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-width: 250px; /* Ensure columns don't get too narrow */
}

.email-column h2, .anonymous-column h2 {
    font-size: 2.5em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
    margin-bottom: 20px;
}

.email-column input, .email-column textarea, .anonymous-column textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    font-size: 1.2em;
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.email-column button, .anonymous-column button {
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.email-column button:hover, .anonymous-column button:hover {
    background-color: #555;
}

.email-column #email-response-message, .anonymous-column #anonymous-response-message {
    margin-top: 10px;
    font-size: 1.2em;
    color: green;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.contact-rows {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
}

.email-row, .anonymous-row {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #333;
    /* border: none; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.email-row h2, .anonymous-row h2 {
    font-size: 2.0em;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
    margin-bottom: 20px;
    text-align: center;
}

.email-row input, .email-row textarea, .anonymous-row textarea {
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.email-row button, .anonymous-row button {
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.email-row button:hover, .anonymous-row button:hover {
    background-color: #555;
}

.email-row #email-response-message, .anonymous-row #anonymous-response-message {
    margin-top: 10px;
    font-size: 1.2em;
    color: green;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

.contact-link {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add box shadow */
    transition: border-color 0.3s, box-shadow 0.3s; /* Add transition */
    text-align: center; /* Center text */
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    text-align: center; /* Center placeholder text */
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: black; /* Change border color on focus */
    box-shadow: 0 4px 8px rgba(0, 115, 230, 0.2); /* Enhance box shadow on focus */
    outline: none; /* Remove default outline */
}

.submit-button {
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    background-color: black;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s; /* Add transition */
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add box shadow */
}

.submit-button:hover {
    background-color: #005bb5; /* Change background color on hover */
    transform: translateY(-2px); /* Slightly lift button on hover */
}

.response-message {
    margin-top: 10px;
    font-size: 1.2em;
    color: green;
    font-family: 'Nunito', sans-serif; /* Set font to Nunito */
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        margin: 10px 0;
    }

    .socials {
        margin-top: 10px;
    }

    .about-section, .projects-section, .contact-section {
        padding: 10px;
    }

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

    .highlight {
        font-size: 2em;
    }

    .about-section p, .projects-section p {
        font-size: 1em;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project {
        padding: 10px;
    }

    .project h3 {
        font-size: 1.5em;
    }

    .project p {
        font-size: 1em;
    }

    .project-img {
        width: 100%;
        height: auto;
    }
}
