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: 24px;

}

@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;
}

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;
}

.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;
  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;
}


.carousel {
  position: relative;
  max-width: 800px; /* Adjust as needed */
  margin: 0 auto;
}

.carousel-container {
  display: flex;
  overflow: hidden;
  position: relative;
}

.slide {
  flex: 0 0 auto;
  width: 100%;
}

.slide img {
  width: 100%;
  height: 400px; /* Fixed height */
  object-fit: cover; /* Maintain aspect ratio */
  border-radius: 20px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: -30px;
}

.next {
  right: -30px;
}


/*
.dribbble-link {
  position: relative;
  bottom: -10px;
  transform: translateX(-50%);
}
*/

.dribbble-link img {
  width: 40px; /* Adjust as needed */
  height: 40px; /* Adjust as needed */
  margin-top: 20px;
}

.card{
  position: relative;
  width: 300px;
}

.card .card-overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 300px;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(0, 0, 0, 0.5);
}

.card .card-overlay h3{
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.card:hover .card-overlay {
  opacity: 1;
}

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

.card1 h3{
  margin: 1em 1em;
}

.card img {
  display: block;
  width: 300px;
  height: 200px;
  object-fit: cover; /* Maintain aspect ratio */
  cursor: pointer;
}

.info {
    /* background-color: lightblue; */
    padding: 10px;
    /* border-bottom-left-radius: 10px; */
    /* border-bottom-right-radius: 10px; */
    text-align: left;
    color: #bababa;
}

/* Additional style for the title text */
.info p {
  margin: 0; /* Remove default margin */
}

.view-more-btn {
  display: block;
  margin: 20px auto;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.view-more .arrow {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Rotated arrow when expanded */
.view-more.expanded .arrow {
  transform: rotate(180deg);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 600px;
  height: auto;
  overflow: auto;
  background-color: white;
  border-radius: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal .caption{
  color: #333;
}

.modal-content {
  display: block;
  margin: 30px auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px; /* Add border radius */
  background-color: #fff; /* White background */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Add shadow */
}

.close {
  color: lightgray;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 30px;
  /*font-weight: bold;*/
  cursor: pointer;
}

#download-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
  background-color: #4CAF50;
  padding: 10px;
}

/*
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .card {
    width: calc(50% - 20px); 
  }
}

@media (max-width: 600px) {
  .card {
    width: calc(100% - 20px); /
  }
}
*/


.dribbble{
  margin-top: 40px;
}

.portfolio-container, .card-container, h3 {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card-container, h3{
  justify-content: left;
  gap: 0px;
}

.fiftyday .main_heading, .upcoming .main_heading{
  margin-bottom: 1em;
  margin-top: 2em;
  font-size: 40px;
  color:#f9f6e0;
}

.upcoming h3{
  font-weight: 600;
  text-align: left;
}

.upcoming p {
  color: rgba(249, 246, 224, .6);
  margin: 1em 1em;
}

.fiftyday .main_heading{
 font-family: 'MyCustomFont', sans-serif;
 line-height: 50px;
}

.upcoming .main_heading{
  font-family: 'MyCustomFont2', sans-serif;
}

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

.card-back{
  height: 150px;
  border-radius: 10px;
}

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

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

.footer{
  padding-bottom: 20px;
}

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

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

.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;
}

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

.second-part{
  color: #bababa;
}

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

.overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}
