body {
  font-family: 'Roboto Mono', monospace;
  background-color: #5188F0; /* Nando grey color */
  margin: 0; /* Adjust top and bottom margins for spacing */
}

#nav-bar {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding-left: 2vw; /* Add left padding */
  padding-right: 2vw; /* Add right padding */
  font-size: 1.2vw;
  background-color: #5188F0;
  color: #000000;
  gap: 2vw; /* Adjust the gap as needed */
  border-bottom: 0.2vw solid #000000; /* Add border properties */
}

.nav-bar-h3 a {
  text-decoration: none; /* Remove default underline */
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  cursor: pointer; /* Apply cursor pointer to the h3 elements */
  transition: background-color 0.3s ease, color 0.3s ease; /* Add transition effect for both background and color */
  background-color: #5188F0; /* Set initial background color */
  color: #000000; /* Set initial font color */
  padding: 1vw 2vw; /* Add padding for spacing */
  border-radius: 1.5vw; /* Adjust the border-radius as needed */
}

.nav-bar-h3 {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding-left: 2vw; /* Add left padding */
  padding-right: 2vw; /* Add right padding */
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 2vw; /* Adjust the gap as needed */
}

.nav-bar-h3 a:not(.nav-bar-h3-name):hover {
  background-color: #434656; /* Change background color on hover */
  color: #5188F0; /* Change font color on hover */
}

.nav-bar-h3-name {
  flex-grow: 1;
  justify-content: flex-start;
}

@media only screen and (max-width: 768px) {
  .nav-bar {
    display: none; /* Hide the nav bar on smaller screens */
  }
}

/*---------HOME----------*/

#Home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Adjust the gap as needed */
  padding-top: 50px; /* Adjust padding based on px */
  text-align: center;
  font-size: 16px;
  padding-bottom: 10px; /* Adjust padding based on px */
}

.face {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 2px solid black; /* Add a thin black border */
  position: relative; /* Add position to use for image positioning */
  margin: 20px; /* Adjust margin as needed */
}

.face img {
  width: 100%;
  height: 100%; /* Ensure image covers the container */
  display: block; /* Remove any default inline spacing */
  object-fit: cover; /* Cover the container without distortion */
  border-radius: 50%; /* Maintain circular shape */
  position: absolute; /* Position the image absolutely */
  top: 0;
  left: 0;
}

.Heady {
  padding-left: 100px; /* Adjust padding based on px */
  padding-right: 100px; /* Adjust padding based on px */
}

.Home-Top {
  font-size: 20px; /* Adjust as needed */
  margin-bottom: -10px;
  color: #434656;
}

.Home-Name {
  font-size: 50px; /* Adjust as needed */
}

.Home-Prof {
  font-size: 24px; /* Adjust as needed */
  font-weight: bold;
  color: #434656;
  margin-top: -14px;
}

.resume {
  display: inline-block;
  width: 120px; /* Set width based on px */
}

.resume button {
  padding: 10px 20px; /* Adjust padding based on px */
  background-color: #5188F0;
  color: white;
  font-size: 16px; /* Adjust font size based on px */
  cursor: pointer;
  transition: background-color 0.3s ease; /* Adding transition for color change */
}

.resume button:hover {
  background-color: #A7AABD; /* Change color on hover */
}

@media only screen and (max-width: 768px) {
  #Home {
    flex-direction: column; /* Change flex direction on smaller screens */
  }
}

.spacer {
  aspect-ratio: 900/300;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.layer1 {
  background-image: url('./assets/wave-haikei2.svg');
}

/*---------ABOUT----------*/

#AboutMe {
  border: 10%;
  background-color: #1F2130; /* Change background color on hover */
  display: flex;
  gap: 1vw; /* Adjust the gap between elements */
  padding: 2vw; /* Adjust padding as needed */
  text-align: center;
  font-size: 1.0vw; /* Adjust font size based on viewport width */
  color: #f0eded
}

@media screen and (max-width: 768px) {
  #AboutMe {
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centers items horizontally */
  }
  
}

.aboutMe {
  flex: 1; /* Allow the text content to take remaining space */
  text-align: center; /* Adjust text alignment */
  padding: 0 20px; /* Adjust padding as needed */
  display: flex;
  flex-direction: column; /* Ensures child elements stack vertically */
  align-items: center; /* Centers items horizontally */
}

@media screen and (max-width: 768px) {
  .aboutMe {
    font-size: 10px;
    margin: 20px 0; /* Adjust margin on smaller screens */
  }
  
}


.meComp {
  width: 25vw;
  display: flex;
  align-items: flex-start; /* Centers items horizontally */
}

.meComp img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#container3D canvas {
  width: 30vw !important;
  height: 30vw !important;
  transform: scale(1.5);
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
}


.layer2 {
  background-image: url('./assets/wave-haikei2.svg');
  transform: rotate(180deg); /* Flip the image 180 degrees */
}


/*---------SKILLS----------*/

#Skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1vw; /* Adjust the gap as needed */
  padding: 1vw; /* Adjust padding based on viewport width */
  padding-left: 20vw; /* Adjust padding based on viewport width */
  padding-right: 20vw; /* Adjust padding based on viewport width */
  text-align: justify;
}

#Skills .lists-container {
  display: flex;
  justify-content: space-around; /* Adjust as needed */
  align-items: flex-start; /* To align the lists to the top */
}

@media screen and (max-width: 768px) {
  #Skills .lists-container {
    flex-direction: column; /* Change direction on smaller screens */
    align-items: center; /* Center the lists */
  }
  
}

#Skills .list {
  flex: 1; /* Allow the lists to grow and occupy available space */
  margin: 0 3vw; /* Adjust margins between the lists */
}

#Skills h1 {
  font-size: 2.5vw; /* Adjust font size based on viewport width */
}

@media screen and (max-width: 768px) {
  #Skills h1 {
    font-size: 30px; /* Adjust font size based on viewport width */
  }
}

#Skills p {
  font-size: 1vw; /* Adjust font size based on viewport width */
}

ul {
  position: relative;
  width: 60%px;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.1)
}

ul li{
  display: flex;
  background: rgb(255, 255, 255, .1);
  padding: 10px 20px;
  color: #000000;
  margin: 5px 0;
  transitions: .5s;
}

ul li:nth-child(1){
  background: rgba(255, 255, 255, .6);
}

ul li:nth-child(2){
  background: rgba(255, 255, 255, .55);
}

ul li:nth-child(3){
  background: rgba(255, 255, 255, .5);
}

ul li:nth-child(3){
  background: rgba(255, 255, 255, .45);
}

ul li:nth-child(4){
  background: rgba(255, 255, 255, .4);
}

ul li:nth-child(5){
  background: rgba(255, 255, 255, .35);
}

ul li:nth-child(6){
  background: rgba(255, 255, 255, .3);
}

ul li:nth-child(7){
  background: rgba(255, 255, 255, .25);
}

ul li:nth-child(8){
  background: rgba(255, 255, 255, .2);
}

ul li:nth-child(9){
  background: rgba(255, 255, 255, .1);
}

ul li span:nth-child(0){
  width: 3vw;
}

ul li span:nth-child(1){
  width: 32vw;
}

ul li:hover {
  transform: scale(1.06) ;
  background: #5188F0;
  box-shadow: #000000 0 0 3px;
}




.languages li::before,
.tools li::before {
  content: "•"; /* Unicode for a bullet point */
  margin-right: 0.5vw; /* Adjust margin based on viewport width */
  color: #000000; /* Customize the color */
  font-weight: bold;
}

.layer1 {
  background-image: url('./assets/wave-haikei2.svg');
}

/*---------PROJECTS----------*/

#Projects {
  background-color: #1F2130; /* Change background color on hover */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1vw; /* Adjust the gap as needed */
  padding: 1vw; /* Adjust padding based on viewport width */
  padding-left: 20vw; /* Adjust padding based on viewport width */
  padding-right: 20vw; /* Adjust padding based on viewport width */
  text-align: center;
  color: #ffffff;
}

#Projects h1 {
  font-size: 1.5vw;
}

#Projects p {
  font-size: 1vw; /* Adjust font size based on viewport width */
}

.projects {
  display: flex;
  gap: 20px; /* Spacing between columns */
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .projects {
    flex-direction: column; /* Change direction on smaller screens */
    justify-content: center;
    align-items: center;
  }
}

.project2 {
  flex: 1 1 30vw; /* Adjust width of each column */
  max-width: 30vw; /* Maximum width of each column */
  padding: 10px;
}

.project2 h3 {
  margin-top: 0;
  border-bottom: 2px solid #ffffff;

}

.project2 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border: #ffffff 1px solid;
}

.project1 {
  flex: 1 1 30vw; /* Adjust width of each column */
  padding: 10px;
}

.project1 h3 {
  margin-top: 0;
  border-bottom: 2px solid #ffffff;
}

.project1 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border: #ffffff 1px solid;
}

.project-btn {
  display: flex;
  justify-content: center;
  align-items:flex-end;
  text-decoration: none;
  color: #ffffff;
  border: #ffffff 1px solid;
  border-radius: 4px;
}

.project-btn + .project-btn {
  margin-top: 10px; 
}

.project-btn:hover {
  background-color: #5188F0;
}

.layer2 {
  background-image: url('./assets/wave-haikei2.svg');
  transform: rotate(180deg); /* Flip the image 180 degrees */
}

/*---------CONTACT----------*/

#ContactMe {
  text-align: center;
  padding: 50px 0;
  padding-bottom: 10vw; /* Adjust padding based on viewport width */
}

#ContactMe h1 {
  font-size: 2em;
  margin-bottom: 20px;
}


#emailText {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #000000;
}

#emailText:hover {
  background-color: #5188F0;
  cursor: pointer;
}

.notification {
  display: none;
  position: absolute;
  background-color: #5188F0;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  transition: opacity 0.3s ease-in-out;
}

.notification {
  display: none;
  position: absolute;
  background-color: #5188F0;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  transition: opacity 0.3s ease-in-out;
}

.linkedin-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #000000;
  text-decoration: none;
  color: #000; /* Change color to match your design */
  margin-left: 10px; /* Adjust the margin as needed */
}

.linkedin-link:hover {
  background-color: #5188F0;
  color: #fff; /* Change text color on hover to ensure visibility */
  cursor: pointer;
}

.linkedin-link img {
  width: 30px; /* Adjust the width as needed */
  height: auto; /* Maintain aspect ratio */
  vertical-align: middle; /* Align the image vertically with text */
  /* Add any other styles such as margins or padding if necessary */
}



/*---------FOOTER----------*/

.footer-content {
  width: 100vw; /* Set width to cover the entire viewport */
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: #fff;
  padding: 20px 5vw; /* Adjust padding using viewport units for responsiveness */
  box-sizing: border-box; /* Include padding in the width calculation */
}

.footer-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.footer-content ul li {
  margin-right: 10px;
}

.footer-content ul li:last-child {
  margin-right: 0;
}

.footer-content ul li a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Updated styles for responsiveness */
.footer-content {
  max-width: 100%; /* Ensure it doesn't exceed the viewport width */
  flex-wrap: wrap; /* Allow items to wrap if they exceed the width */
}

.footer-content ul {
  flex-wrap: wrap; /* Allow list items to wrap if needed */
  justify-content: center; /* Center list items */
}

.footer-content ul li {
  margin-right: 10px; /* Maintain original spacing */
  margin-bottom: 10px; /* Add bottom margin for spacing */
}


