/* General styles for larger screens */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: black;
  /* background: linear-gradient(to right, lightblue, #EDEDED); */
}

/* Header styles */
.navbar {
  padding-top: 20px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none; /* Hide by default on larger screens */
}

.line {
  width: 30px;
  height: 3px;
  background-color: black;
  margin: 3px 0;
}

/* Introduction section styles */
.introduction {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.introduction h1{
  font-size: 80px;
  align-items: center;
}

.introduction {
  display: flex;
  width: 100%;
  align-items: stretch; /* Ensure both boxes have the same height */
  gap: 20px;
}

.text {
  display: block;
  padding: 50px;
  justify-content: space-between;
  align-items: center;
  margin-left: 50px;
  flex: 70%;
  background-color: white;
  border-radius: 10px; /* Add rounded corners */
}


.profile {
  margin-right: 50px;
  flex: 30%;
  box-sizing: border-box;
  border-radius: 10px; /* Add rounded corners */
}

.image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  border-radius: 8px; /* Add rounded corners to the image */
}

/* About me section styles */
.aboutme {
  background-color: darkblue;
  margin: 50px;
  display: block;
  padding: 50px;
  border-radius: 20px;
  color: white;
}

/* My Expertise section styles */
.my-expertise {
  color: white;
  padding: 50px;
  display: block;
  gap: 20px;
  justify-content: space-around;
  align-items: center;
  font-size: 15px;
  margin: 0px 50px;
  border-radius: 20px;
  background-color: #420322;
  /* box-shadow: rgba(0, 0, 0, 1) 0 0 90px 5px; */
}

.box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 2000px; /* Adjust the maximum width as needed */
  font-family: 'Montserrat', sans-serif;
  margin: 0px;
}

/* Style for each square box */
.box {
  width: 150px;
  height: 150px;
  background-color: #3d3e42;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

/* Style for the small title below the image */
.box .title {
  margin-top: 10px;
  font-size: 14px;
  color: white; /* White color for the text */
}

.box:hover {
  background-color:blue ;
}

.sociallinks ol{
  padding: 0px;
  display: flex;
  gap: 3px;
  list-style: none;
}

.infobutton {
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* My Portfolio section styles */
.my-portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.image-container {
  width: 48%; /* Set the width according to your preference, leaving some space for margin or padding */
  margin-bottom: 20px; /* Adjust the margin as needed */
}
.portfolio{
  color: white;
  margin: 50px;
  border-radius: 20px;
  background-color: #170a30;
  }

#my-projects{
  padding: 50px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
.my-portfolio {
  
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 50px;
}

.image-container {
  position: relative;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 21, 22, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.overlay-text {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}

.image-container:hover .overlay {
  opacity: 1;
}

/* Contact Me section styles */
.contactme{
  color: white;
  background-color: #001f3f;
  margin: 50px;
  padding: 50px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;

}
.box-container{
  /* border: 1px solid #ccc; */
  /* padding: 20px; */
  padding-bottom: 30px;
  margin: 10px;
  border-radius: 10px;
  /* background: radial-gradient(circle, #ffcc00, #ff3300); */
}


/* Footer styles */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px;
  width: 100%;
  text-align: center;
}

/* Rotating Cursor */
#custom-cursor {
  color: white;
  font-family: 'Montserrat', sans-serif;
  position: fixed;
  width: 48px;
  height: 48px;
  top: 0;
  left: 0;
  animation: rotate-animation 8s infinite linear; /* Adjust animation duration */
  pointer-events: none;
  z-index: 9999; /* Hover above everything*/
}

#custom-cursor span {
  position: absolute;
  transform-origin: top left;
  font-size: 10px; /* Adjust font size as needed */
}

@keyframes rotate-animation {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@media only screen and (max-width: 768px){

  .navbar{
    margin: 10px;
    padding: 10px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px; /* Adjust this value as needed based on your header's height */
    left: 0;
    width: 100%;
    background-color: black;
}

.nav-links li {
  padding: 15px;
}

.hamburger-menu {
  display: block;
  background-color: white;
}

.nav-active {
  display: flex;
}

.introduction {
  flex-direction: column;
}

.text, .profile{
  flex: 1;
}

.introduction h1 {
  font-size: 30px;
}

.introduction h2 {
  font-size: 10px;
}

.text {
  margin: 10px;
  font-size: 20px;
  padding: 20px;
  padding-bottom: 10px;
  width: auto;
}

.profile {
  margin: 10px; /* Adjust the margin as needed */
  flex: 100%; /* Take up the full width */
}
.aboutme {
  padding: 20px;
  margin: 10px;
}

.my-expertise {
  padding: 20px;
  margin: 10px;
}

.portfolio {
  padding: 20px;
  margin: 10px;
}

#my-projects {
  padding: 20px;
  margin: 0px;
}

.my-portfolio {
  padding: 0px;
  margin: 0px;
}

.overlay-text {
  font-size: 10px;
}

.contactme {
  display: block;
  padding: 20px;
  margin: 10px;
}

.box{
  width: 100px;
  height: 100px;
}

}

/* Light mode styles */
body.light-mode {
  background-color: lightcyan;
}

body.light-mode .navbar {
  background-color: white; /* Change navbar background color for light mode */
}

body.light-mode .nav-links li a {
  color: black; /* Change link color for light mode */
}

body.light-mode .nav-links{
  background-color: white;
}

body.light-mode .introduction {
  background-color: lightcyan; /* Change introduction background color for light mode */

}

body.light-mode .text {
  background-color: #D3D3D3; /* Change text background color for light mode */
  color: black;
}

body.light-mode .aboutme {
  background-color: paleturquoise; /* Change about me background color for light mode */
  color: black;
}

body.light-mode .my-expertise {
  background-color: #E6E6FA; /* Change expertise background color for light mode */
  color: black; /* Change text color for light mode */
}

body.light-mode .portfolio {
  background-color: paleturquoise; /* Change portfolio background color for light mode */
  color: black;
}

body.light-mode .contactme {
  background-color: #D3D3D3; /* Change contact me background color for light mode */
  color: black;
}

body.light-mode #custom-cursor {
  color: black; /* Change cursor color for light mode */
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toggle-mode-btn{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #333;
  color: #fff;
  border: none;
  font-size: 16px;
}

