﻿
body {
  background: linear-gradient(90deg, #55534f 0%, #4e4e4d 30%, #696866 70%, #807e7b 100%);
    height: 100vh; /* Optional: Make the gradient fill the entire viewport height */
    margin: 0; 
}
/*HOME PAGE*/
.navbar {
  position: fixed; /* Keep it at the top even when scrolling */
  top: 0;          /* Position at the very top */
  right: 0;        /* Position at the right corner */
  background-color: transparent; /* Make background transparent so it blends with the page*/
  padding: 10px;      /* Add some padding for visual spacing */
  z-index: 1000;     /* Ensure it's always on top of other content */
}

/* Unordered List Styling */
.navbar ul {
  list-style-type: none; /* Remove bullet points */
  margin: 0;           /* Remove default margins */
  padding: 0;           /* Remove default padding */
  display: flex;        /* Use flexbox for horizontal layout */
  justify-content: flex-end; /* Align items to the right */
}

/* List Item Styling */
.navbar li {
  margin-left: 20px;    /* Add spacing between list items */
}

/* Link Styling */
.navbar li a {
  display: block;      /* Make the entire list item clickable */
  color: black;        /* Text color (adjust as needed) */
  text-decoration: underline; /* Remove underlines */
  font-size: 16px;     /* Adjust font size */
  font-weight: bold;    /* Make the text bold*/
  transition: color 0.3s ease; /* Smooth color transition on hover */
}

.navbar li a:hover {
  color: blue;       /* Change color on hover (adjust as needed) */
}

/* Style for the active link (if you use aria-current="page") */
.navbar li a[aria-current="page"] {
  color: darkblue;
  /* Add other styles to visually indicate the active link */
}

h1 {
    font-size: large;
    color: wheat;
    padding-left:30px;
    padding-top:70px;
}
h4{
    font-size: x-large;
    font-weight: 200;
    color: wheat;
    padding-left: 200px;
    padding-top: 75px;
}
h3{
    font-size: x-large;
    font-weight: 200;
    color:wheat;
    padding-left: 200px;
   margin-bottom: 0px;
}
.container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.text-container{
    flex: 1;
}
.text-container p{
    font-size: 19px;
    font-style: oblique;
    color: wheat;
   margin-top: 2px;
    padding-left: 180px;
}
.image-container{
  width: 300px;
  height: 300px;
  border-radius: 50%;
  padding-left: 830px;
  margin-top: -260px;
}
.image-container img{
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  padding-left: 0px;
}
  /*About me*/
.bi{
    font-size: 27px;
    color: wheat;
    padding-left: 30px;
    margin-top: 80px;
  }
.history{
    padding-left: 90px;
    margin-top: -20px;
    font-size: 17px;
    font-style: inherit;
    color: wheat;
}
.elu{
    padding-left: 90px;
    padding-top: 20px;
    font-size: 17px;
    font-style: inherit;
    color: wheat;
}
.ee{
   padding-left: 90px;
    padding-top: 20px;
    font-size: 17px;
    font-style: inherit;
    color: wheat;
}
.pro{
  font-size: large;
  color: wheat;
  padding-left: 90px;
}
.pro li a{
  font-style: italic;
  color: aqua;
}
/*new about*/
.hist{
  font-size: large;
  color: wheat;
  padding-top: 10px;
}
/*Skills*/
.container {
  display: flex;
  justify-content: space-between;  /* Or space-around, space-evenly */
  align-items: flex-start;
  padding: 20px;  /* Add padding around the container */
}
.section {
  width: 48%; /* Adjust as needed, consider adding a gap */
  box-sizing: border-box;
  margin-top: 80px;
  width: 620px;
  height: 423px; /* Important to include padding and border in width */
  padding: 0px;/* Important to include padding and border in width */
  border: 2px solid wheat;
  font-size: large;
  color: wheat; /* Add padding inside the sections */
}
p{
  margin-left: 5px;
}
h2{
   margin-top: 5px;
   margin-left: 230px;
  font-size: 24px;
  color: wheat; /* Remove default top margin from headings */
}
ul {
  list-style: circle; /* Remove default bullet points */
  /* Remove default padding from ul */
}
.pp{
  margin-bottom: 5px;
  list-style: circle; /* Add some space between list items */
}
/* Optional: Add some styles to the inner ul elements */
ul li ul {
  margin-left: 20px; /* Indent the inner ul elements */
}
  /*Resume*/
#resume p{
    font-size: 17px;
    color: wheat;
    padding-left: 38px;
    padding-top: 10px;
    
  }
  #resume a{
    font-size: large;
    color: aqua;
    padding-left: 40px;
  }
  .re{
    font-size: 27px;
    color: wheat;
    padding-left: 30px;
    margin-top: -4px;
  }
  /*COTACT CSS*/
  /* --- General Contact Section Styling --- */

  /*CONTACT*/
#contact {
  padding: 30px 20px;
  /* Light gray background */
  border-top: 1px solid #dee2e6; /* Subtle border */
  font-family: sans-serif;
}
#contact h6 {
  font-size: 2.5em;
  margin-bottom: 10px;
  padding-left: 40px;
  margin-top: 40px;
  color: white; /* Dark gray heading color */
  text-align: center;
}

/* --- Contact Details Section --- */
.contact-details {
  margin-bottom: 30px;
  text-align: center; /* Center the contact info */
}

.contact-details h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  padding-left: 40px;
  padding-top: 3px;
  color: white;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0; /* Remove default ul margin */
  display: inline-block; /* Center the list */
}

.contact-details li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the content horizontally */
}

.contact-details i {
  margin-right: 10px;
  color: white; /* Bootstrap primary color */
  width: 20px;
  text-align: center;
}

.contact-details a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth hover effect */
}

.contact-details a:hover {
  color: #0056b3;
}
.form{
  display: flex;
  flex-direction: column;
  height: 400px;
  width: 470px;
  border: 1px solid black;
  align-items: center;
  margin: auto;
  margin-top: 20px;
  background-color: rgba(97, 97, 97, 0.5);
  box-shadow: inset -5px -5px rgb(2, 2, 2);
  border-radius: 25px;
}
.form h1{
  color: white;
  font-size:  2rem;
  margin: 10px;
  padding-top: 5px;
}
.box{
  padding: 6px;
  margin: 15px;
  width: 65%;
  border: none;
  outline: none;
  border-radius: 20x;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: inset -3px -3px rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  font-size: 1rem;
 }

 #submit{
  padding: 10px 10px;
  margin-top: 50px;
  width: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: inset -3px -3px rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  outline: none;
  border-radius: 10px;
  font-size: 1rem;
 }
 #submit:hover{
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  color: white;
 }
 ::placeholder{
  color: white;
  opacity: 0.7;
  margin-left: 20px;
 }
 /*POJECT*/
 #projects {
  padding: 30px;
  text-align: center;
}
#projects h2{
  margin-left: 10px;
  font-size: 30px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Flexible columns */
  grid-gap: 30px;
  padding: 30px;
  max-width: 1000px; /* Optional: Limit the maximum width of the container */
  margin: 0 auto; /* Center the container */
}

.project-item {
  background-color:gray; /* Light background color */
  border-radius: 10px;
  overflow: hidden; /* Hide any overflowing content */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.project-item:hover {
  transform: translateY(-5px); /* Lift the card slightly on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.project-item img {
  width: 418px;
  height: 200px; /* Fixed height */
  object-fit: cover;
  /* Existing style: border-bottom: 1px solid #eee; */  /* Remove if you don't want a bottom border */
  border-radius: 10px; /* Add this line */
  margin-top: 10px;
}
.project-info {
  padding: 20px;
  text-align: left;
}

.project-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
   margin-left: 20px;
  font-size: 1.2em;
  color:black;
}

.project-info p {
  font-size: 0.9em;
  line-height: 1.5;
  color :black;
}

.project-info a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db; /* Blue button color */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: background-color 0.2s ease-in-out;
}

.project-info a:hover {
  background-color: #2980b9; /* Darker blue on hover */
}
    /* Default styles for larger screens */
    .container {
      display: flex; /* Use flexbox to position paragraphs side-by-side */
      justify-content: space-between; /* Distribute space evenly */
  }

  .paragraph {
      width: 48%; /* Give each paragraph a width of 48% (allowing for a little margin) */
  }

  /* Media query for smaller screens (e.g., phones) */
  @media (max-width: 768px) {  /* Adjust 768px as needed */
      .container {
          display: block; /* Change to block layout to stack paragraphs vertically */
      }

      .paragraph {
          width: 100%; /* Make each paragraph take up the full width */
          margin-bottom: 1em; /* Add some space between paragraphs */
      }
  }




  




