body {
  font-family: 'Lato', sans-serif;
  color: #f9f6e0;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #080808;
  margin: auto;
  line-height: 28px;
}

/*
@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/fenwick_outline.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
} */

@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Florsn39.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyCustomFont2';
  src: url('fonts/Florsn35.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.main_head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  flex-wrap: wrap; /* Enable wrapping for responsive design */

  .column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px; /* Add some margin for spacing */

  }

  .text-left {
    justify-content: flex-end; /* Right-align text closer to the image */
    text-align: right; /* Right-align the text itself */
}

  .text-right {
      justify-content: flex-start; /* Left-align text closer to the image */
      text-align: left; /* Left-align the text itself */
  }
  
  .image-center img {
    max-width: 100%;
    height: auto;
  }
  
}

@media (max-width: 900px) {
  .main_head {
      flex-direction: column; /* Stack columns vertically */
      align-items: center;

    .text-left, .text-right {
        justify-content: center; /* Center text in mobile view */
        text-align: center;
    }
  
    .text-left p, .text-right p {
        margin: 0; /* Remove margin in mobile view */
    }
  }

}

h1{
  font-weight: 100;
  font-size: 60px;
}

.name{
  font-family: 'MyCustomFont', sans-serif;
}

.field{
  font-family: 'MyCustomFont2', sans-serif;
  line-height: 60px;
}

h3, p{
  color: #bababa;
  font-weight: 300;
  /*margin: 1em 1em;*/
}

.second-part{
  color: #bababa;
}

.white, .first-part{
  color: #f9f6e0;
  font-size: 22px;
  font-weight: 500;
}


.content{
  padding: 0px 20px;
}

nav {
  background-color: #333;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  font-size: 1rem;
  color: #bababa;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: white;
}

nav a:active {
  color: #aaa;
}

section {
  padding: 20px;
  background-color: #080808;
}

h2 {
  margin-top: 0;
}

.scrolling {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* Adjust transparency as needed */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for the glass effect */
}

.navbar {
  position: sticky;
  background-color: rgba(
    255,
    255,
    255,
    0.1
  ); /* Adjust transparency as needed */
  backdrop-filter: blur(10px); /* Apply backdrop blur for the glass effect */
  -webkit-backdrop-filter: blur(10px);
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: calc(100% - 40px); */
  /* margin: 0 auto; Center the navigation bar */
  z-index: 1000; /* Ensure the navbar stays on top of other content */
  transition: background-color 0.3s ease; /* Add smooth transition for background color change */
}

.logo img{
    width: 30px;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-left: auto; /* Move the navbar-nav items to the right */
}

.nav-item {
  margin-left: 20px;
}

.container {
  margin: 0 auto;
  /* max-width: 800px;*/
  overflow: hidden;
}

.image {
  width: 100px; /* Adjust the width as needed */
  height: auto;
}


.text{
  /* padding: 20px;  Optional: for better text readability */

  p{
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .skills,
  .education {
    width: 100%;
    float: none;
  }
}

.contact-section a {
  padding-right: 10px;
}

.contact-section a img{
    width: 30px;
    height: 30px;
}

.cl1-portfolio-container{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-direction: column;
}


.profile-image {
  width: 300px;
  height: 300px;
   /* border-radius: 50%; */
  object-fit: cover;
}

.contact-section {
  text-align: center;
  margin-top: 50px;
}

.contact-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 16px;
  margin: 30px;
}

.email-button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 20px; /* Rounded corners */
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.email-button:hover {
  background-color: #0056b3;
}

.progress-container {
  width: 100%;
  background-color: #ddd;
  border-radius: 5px;
  padding: 3px;
}

.progress-bar {
  width: 50%;
  height: 20px;
  background-color: #4caf50;
  border-radius: 5px;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  /* justify-content: space-evenly; */
  flex-wrap: wrap;
}

.card {
  width: 450px;
  padding: 2rem;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  /*align-items: flex-start;*/
  transition: transform 0.3s ease;
  background-color:  #141414;
  text-align: left;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 1rem;
  font-weight: bold;
}

.position{
  margin-bottom: 0px;
  color:#f9f6e0;
}

.border{
  border: 3px solid #f9f6e0;
}

.cta-section {
  padding: 1rem 1rem;
}

.view-all-button {
  text-align: center;
  margin-top: 30px;
}

/*
.skills{
  border: 2px dashed #ccc;
  ul{
    padding-left: 0;
    margin-left: 1.5em;
    li{
      list-style-type: none;
      padding-bottom: 20px;
      color: #bababa;
    }
  }
} */

.skills{
  /*border: 2px dashed #ccc;*/
  line-height: 30px;
  background-color: #f9f6e0;

  .current{
    font-size: 14px;
    margin-top: 22px;
    color: #bababa;
    margin-bottom: 0;
  }

  .white1{
    color: #080808;
    margin-bottom: 0px;
  }
  
  p{
    color: #080808;
  }
}

.cta-btn{
  font-size: 1.1em;
  display: inline-block;
  text-decoration: none;
  margin: 1em 0em;
  padding: 0.5em 1.0em;
  border-radius: 3em;
  background: transparent;
  transition: 0.3s;
  width: 100px;
  text-align: center;
  border: 3px #f9f6e0 solid;
  color: #f9f6e0;
}

.cta-btn:hover{
  background: rgba(255,255,255,0.3);
  color:#fff;
}

.last{
  margin-bottom: 0px !important;
  color: #bababa;
}


.certifications{
  display: flex;
  gap: 20px;
  list-style-type: none;
  padding: 0;
  }

.certifications li img{
      width: 60px;
      height: 60px;
}
  