@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap");
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:'montserrat';
}
/* From Uiverse.io by jeremyssocial */ 
@keyframes blinkCursor {
  50% {
    border-right-color: transparent;
  }
}

@keyframes typeAndDelete {
  0%,
  10% {
    width: 0;
  }
  45%,
  55% {
    width: 6.2em;
  } /* adjust width based on content */
  90%,
  100% {
    width: 0;
  }
}
#pre-loader{
  background-color: #000000;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
  opacity: 1; /* Set initial opacity */
  transition: opacity 0.5s ease; /* Keep the transition */
}
.terminal-loader {
  border: 0.1em solid #333;
  background-color: #1a1a1a;
  color: #0f0;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  padding: 1.5em 1em;
  width: 12em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: relative;
  /* transform: translate(-50%, -50%); */
  overflow: hidden;
  box-sizing: border-box;
  margin: 20% auto;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background-color: #333;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 0 0.4em;
  box-sizing: border-box;
}

.terminal-controls {
  float: right;
}

.control {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.4em;
  border-radius: 50%;
  background-color: #777;
}

.control.close {
  background-color: #e33;
}

.control.minimize {
  background-color: #ee0;
}

.control.maximize {
  background-color: #0b0;
}

.terminal-title {
  float: left;
  line-height: 1.5em;
  color: #eee;
}

.text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.2em solid green; /* Cursor */
  animation:
    typeAndDelete 4s steps(11) infinite,
    blinkCursor 0.5s step-end infinite alternate;
  margin-top: 1.5em;
}
html, body{
    height: 100vh;
    /* perspective:800px; */
    width: 100%;   
}
#cursor{
    height: 20px;
    width: 20px;
    background-color: #95c11e;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
    
}
#cursor-blur{
    height: 500px;
    width: 500px;
    background-color: #96c11e6d;
    border-radius: 50%;
    position: fixed;
    filter: blur(80px);
    z-index: 9;

}

/* CONFIG 📦 */

:root {
  --color-main: #a474ff; /* Purple */
  --color-main-second: #17f1d1; /* Teal */
  --color-main-third: #adea21; /* Orange */
}

/* Basic Reset */
* {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  box-sizing: border-box;
}

body {
  background-color: #000000;
  font-family: Poppins, system-ui;
  color: #fff;
}

/* ========================== */
/* HEADER LAYOUT (Left and Right) */

/* Header Style */
#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    height: 85px;
    background: rgba(82, 111, 67, 0.154);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
  }
  
  #nav img {
    height: 75px;
    margin-right: 0; /* Keep the logo on the left */
  }
  
  #nav .nav-links {
    display: flex;
    align-items: center; /* Align links and buttons in the center vertically */
    justify-content: flex-end; /* Align navigation links and buttons to the right */
    flex-grow: 1; /* Allow the links to take up available space */
  }
  
  #nav a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    margin-left: 20px; /* Space between links */
    color: white;
  }
  
  #nav h4 {
    font-size: 15px;
  }
  
  /* Email Button Styling */
  .email-link .btn {
    margin-left: 20px; /* Space between the "Email Us" button and other links */
  }
  
  /* ========================== */
  /* Left Menu - If You Still Need the Left Menu */
  
  /* Left Menu (Fixed or Flexible) */
  #left-menu {
    width: 400px; /* Set a fixed width for the left menu */
    height: 100vh; /* Full height of the viewport */
    background-color: #333; /* Dark background color for the menu */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column; /* Vertical layout for left menu */
    justify-content: flex-start; /* Align items at the top */
    padding: 20px;
  }
  
  #left-menu a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px; /* Space between links */
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
  }
  #nav a i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px; /* Space between icon and text */
    font-size: 30px; /* Size of the icon */
    vertical-align: middle; /* Align icon with text */

  }

  #left-menu a:hover {
    color: #ffab70; /* Hover color */
    transition: color 0.3s ease;
  }

/* ========================== */
/* MAIN CONTENT ADJUSTMENT (To prevent overlap with left menu) */

#main-content {
  margin-left: 250px; /* Push the content to the right of the left menu */
  padding: 20px;
  transition: margin-left 0.3s ease;
}

/* ========================== */
/* RIGHT BUTTON - "GET IN TOUCH" */

/* Wrapper for Button (Right-Aligned) */
.wrapper {
  margin-left: auto; /* Push the button to the far-right */
}

/* Button Styles */
.btn {
  display: inline-block;
  height: 6rem;
  width: 16.5rem;
  position: relative;
  border: none;
  border-radius: 999rem;
  cursor: pointer;
  overflow: hidden;
  /* background-color: transparent; */
}

.btn:hover .btn__bg {
  scale: 0.94;
}

.btn:hover .btn__text-out {
  transition: transform 1s cubic-bezier(0.32, 0.99, 0.49, 0.99), opacity 0.4s;
  transform: translateY(-33.333333%);
  opacity: 0;
}

.btn:hover .btn__text-in {
  transition: 1s all cubic-bezier(0.32, 0.99, 0.49, 0.99);
  transform: translateY(0);
  opacity: 1;
}

.btn:hover .btn__bg__layer-first,
.btn:hover .btn__bg__layer-second,
.btn:hover .btn__bg__layer-third {
  border-radius: 60% 60% 0 0;
  transform: translateY(1rem);
}

.btn:hover .btn__bg__layer-first {
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) 200ms,
    border-radius 0.2s cubic-bezier(0.19, 1, 0.22, 1) 270ms;
}

.btn:hover .btn__bg__layer-second {
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) 300ms,
    border-radius 0.2s cubic-bezier(0.19, 1, 0.22, 1) 470ms;
}

.btn:hover .btn__bg__layer-third {
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) 380ms,
    border-radius 0.2s cubic-bezier(0.19, 1, 0.22, 1) 670ms;
}

.btn__text-out,
.btn__text-in {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  margin: auto;
  font-weight: 700;
  font-size: 1.8rem;
  z-index: 10;
  font-family: Poppins, system-ui;
}

.btn__text-in {
  opacity: 0;
  transform: translateY(33.333333%);
}

.btn__bg {
  height: inherit;
  width: inherit;
  transition: scale 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  background-color: var(--color-main-third); /* Light Orange */
  border-radius: 999rem;
  overflow: hidden;
}

.btn__bg__layer {
  position: absolute;
  display: block;
  bottom: 0;
  left: 50%;
  translate: -50%;
  border-radius: 999rem 999rem 0 0;
  border: none;
  width: 120%;
  height: 200%;
  z-index: 20;
  transform: translateY(100%) translateX(0);
}

.btn__bg__layer-first {
  background-color: var(--color-main); /* Purple */
}

.btn__bg__layer-second {
  background-color: var(--color-main-second); /* Teal */
}

.btn__bg__layer-third {
  background-color: var(--color-main-third); /* Orange */
}
/* ========================== */
/* RESPONSIVE DESIGN - Adjustments for Mobile */

@media screen and (max-width: 768px) {
  #left-menu {
    width: 200px; /* Smaller width for mobile */
  }

  #main-content {
    margin-left: 0; /* Full-width content on mobile */
  }

  .wrapper {
    margin-left: 0; /* Right-aligned button for smaller screens */
  }

  #nav {
    padding: 0 20px; /* Reduced padding for mobile */
  }
}


video{
  top: 0;
    backface-visibility: hidden;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    position: fixed;
    pointer-events: none;
    filter: blur(5px);
    overflow: hidden;
}



#main{
    position: relative;
    background-color: rgba(0, 0, 0, 0.379);

}
#page1{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
   
}

#page1 h1{

    font-size: 140px;
    font-weight: 900;
    position: relative;
}
#page1 h1::before{
    content: "CODE. SLEEP. REPEAT.";
    position: absolute;
    color: black;
    top: -6px;
    left: -6px;
    -webkit-text-stroke: 2px rgb(164, 216, 59);
    z-index: -1;
}

#page1 h2{
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 50px;
  
}

#page1 p{
    backdrop-filter: sepia(90%) opacity(120%) blur(2px);
    padding: 20px;
    font-size: 20px;
    font-weight: 500;
    width: 50%;
    -webkit-text-stroke: 0.3px rgb(150, 237, 19);
   
}
#page1 #arrow{
    height: 200px;
    width: 200px;
    background-color: transparent;
    border: 2px solid #95c11e;
    position: absolute;
    display: flex;
    left: -2%;
    bottom: 0%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all ease 0.5s;
}
#page1 #arrow i{
    font-size: 50px;
    font-weight: 100;
}
#page1 #arrow:hover{
     scale: 0.5;
     background-color: #95c11e;
}

#page2{
   min-height: 100vh;
    width: 100%;
    z-index: 10;

}
#scroller{
    margin-bottom: 130px;

    /* background-color: red; */
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 10;
}
#scroller::-webkit-scrollbar{
    display:none;
}

#scroller-in{
    display: inline-block;
    white-space: nowrap;

}
#scroller-in{
    display: inline-block;
    white-space: nowrap;
    animation-name: scroll;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#scroller h4{
    display: inline-block;
    font-size: 100px;
    font-weight: 800;
    font-family: gilroy;
    margin-right: 10px;
    transition: all linear 0.4s;
    color: transparent;
    -webkit-text-stroke: 2px #95c11e;
}
#scroller h4:hover{
color: #95c11e;
}




@keyframes scroll{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}


#about-me{
    height: 52vh;
    width: 100%;
    display: flex;
    padding: 0 50px;
    align-items: center;
    position: relative;
    z-index: 10;
    justify-content: space-around;
}
#about-me img{
    height: 220px;
    width: 360px;
    border-radius: 20px;
    object-fit: cover;
    
}
#about-me-in{
    width: 40%;
    text-align:center;
}
#about-me-in h3{
    text-transform: uppercase;
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 30px;
}
#about-me-in p{
    font-size: 20px;
    line-height: 26px;
}
#cards-container{
    /* background-color: red; */
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    position: relative;
   z-index: 10;

}

.card{
    height: 90%;
    width: 24%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    /* flex-wrap: wrap; */
    
}
#card1{
    background-image:url(https://images.pexels.com/photos/6942435/pexels-photo-6942435.jpeg) ;
}
#card2{
    background-image:url(https://images.pexels.com/photos/404960/pexels-photo-404960.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2) ;
}
#card3{
    background-image:url(https://images.pexels.com/photos/10035858/pexels-photo-10035858.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2) ;
}

#card1 h4 p{
   margin-top: -20px; 
}
.overlay{
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.39); /* Fallback color for browsers that do not support backdrop-filter */
    padding: 3px;
    padding-top: 16px;
    opacity: 0;
    transition: all ease 0.6s;
    backdrop-filter: blur(8px) saturate(54%);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
}


.overlay a{
    text-decoration: none;
    line-height: 100px;
    background-clip: text;
    border-radius: 30px;
    /* padding: 15px; */
}
.overlay h4{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 25px;
    text-transform: uppercase;
    text-decoration: underline;
    margin-bottom: 20px;
    font-weight: 800;
}
.overlay p{
    text-align: justify;
    margin: 20px;
    padding: 20px;
    color: #000;
    font-size: 18px;
}
.card:hover .overlay{
    opacity: 1;
}
/* Green Div Styles */

#green-div {
    /* Height and spacing */
    height: 30vh;
    margin-top: 90px;
  
    /* Flexbox layout */
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    /* Gradient background */
    background: linear-gradient(0deg, rgba(149, 193, 30, 1) 0%, rgba(0, 0, 0, 1) 100%);
  }
  
  /* Green Div Heading Styles */
  
  #green-div h2 {
    /* Width and text alignment */
    width: 50%;
    text-align: center;
  
    /* Typography */
    font-size: 20px;
    font-weight: 800;
    line-height: 20px;
    text-transform: uppercase;
    color: #000;
  }
  
  /* Green Div Image Styles */
  
  #green-div img {
    height: 100%;
    width: 30%;
    object-fit: cover;
    border-radius: 10px;
  }
#page3{
    height: 100vh;
    width: 100%;
    background-color: black;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}


#page3>p{
    font-size: 35px;
    font-weight: 700;
    width: 55%;
    line-height: 45px;
    text-align: center;

}
#page3 img{
    position: absolute;
    height: 60px;
    
}
#page3 #colon1{
    left: 15%;
    top: 25%
}
#page3 #colon2{
    bottom: 30%;
    right: 15%;

}
#page4 {
  min-height: 100vh;
  width: 100%;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}

#page4 h1 {
  font-size: 80px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: #000;
  -webkit-text-stroke: 2px #fff;
  margin-bottom: 40px;
}

.elem-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}

.elem {
  width: 350px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.5s ease;
}

.elem h2 {
  height: 100%;
  width: 100%;
  background-color: #ADE920; /* Semi-transparent */
  display: flex;
  color: #000;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 550;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  transition: transform 0.5s ease, background-color 0.5s ease; /* Animate movement and background */
  backdrop-filter: blur(0); /* Default state without blur */
}

.elem p {
  position: absolute;
  top: 100%; /* Hidden below the container in default state */
  left: 0;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
  color: #fff;
  font-size: 16px;
  opacity: 0; /* Initially invisible */
  transform: translateY(20px); /* Slightly offset below */
  transition: all 0.5s ease; /* Smooth appearance */
  z-index: 9;
}

.elem img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.1); /* Slight zoom effect */
  transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transitions */
  opacity: 0; /* Hidden by default */
  visibility: hidden; /* Ensures no space is taken */
}

.elem.active img,
.elem:hover img {
  transform: scale(1.5); /* Zoom in on hover */
  opacity: 1; /* Fade in image */
  visibility: visible; /* Image becomes visible */
  filter: blur(2px); /* Optional blur effect */
}

.elem.active h2,
.elem:hover h2 {
  transform: translateY(-40%); /* Moves text up smoothly */
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* Darker background with transparency */
}

.elem.active p,
.elem:hover p {
  top: 60%; /* Slide into view */
  opacity: 1; /* Fade in the description */
  transform: translateY(0); /* Reset transform */
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  #page4 {
    padding: 60px 15px;
  }

  #page4 h1 {
    font-size: 40px;
    text-align: center;
  }

  .elem {
    width: 100%;
    max-width: 350px;
    height: 350px;
  }
}

#footer {
    height: 30vh;
    width: 100%;
    background: linear-gradient(to left bottom, #119f3a 0%, #a3d421 80%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 6.5vw;
    padding: 0 100px;
    cursor: pointer;
  }
  #footer > img {
    height: 30vh;
    width: 800px;
  object-fit: fill;
    position: absolute;
    left: 0;
    /* padding:50px;
    height: 100%; */
    z-index: 0;
  }
  #f1 img {
    height: 100px;
  }
  #f1,
  #f2,
  #f3,
  #f4 {
    width: fit-content;
    position: relative;
    z-index: 99;
    /* background-color: red; */
  }
  #f2 h3 {
    font-size: 1.6vw;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 900;
    margin-bottom: 8px;
  }
  
  #f3 h3 {
    font-size: 1.6vw;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 800;
    margin-bottom: 8px;
    margin-left: 100%;
  }
  #f4 h4 {
    font-size: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 8px;
    margin-left: 80%;
  }
  #f4 h4 a {
    text-decoration: none;
    color: #000;
  }

  @media screen and (max-width: 768px) {
    /* Mobile-specific styles go here */
  }
  @media screen and (max-width: 768px) {
    #page1 h1 {
      font-size: 5rem;
    }
    #page1 h2 {
      font-size: 1.5rem;
    }
    #page1 p {
      font-size: 1rem;
    }
    #about-me-in h3 {
      font-size: 2rem;
    }
    #about-me-in p {
      font-size: 1rem;
    }
    #scroller h4 {
      font-size: 2.5rem;
    }
    #green-div h2 {
      font-size: 1.6rem;
    }
    #page3>p {
      font-size: 2rem;
    }
    #page4 h1 {
      font-size: 40px;
    }
    .elem h2 {
      font-size: 1.5rem;
    }
  }
  @media screen and (max-width: 768px) {
    #nav {
      /* display: block; */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: #33333327;
      color: #fff;
      padding: 1em;
      text-align: center;
    }
    #nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    #nav li {
      margin-bottom: 1em;
    }
    #nav a {
      color: #fff;
      text-decoration: none;
    }
    #nav-toggle {
      display: none; /* hide the hamburger menu by default */
      position: absolute;
      top: 1em;
      right: 1em;
      cursor: pointer;
    }
    #nav-toggle span {
      display: block;
      width: 30px;
      height: 3px;
      background-color: #fff;
      margin-bottom: 5px;
    }
    @media screen and (max-width: 768px) {
      #nav-toggle {
        display: block; /* show the hamburger menu on smaller screens */
      }
      #nav .nav-links {
        display: none; /* hide the menu on smaller screens */
      }
      #nav-toggle.active + .nav-links {
        display: block; /* show the menu when the hamburger menu is clicked */
      }
    }
    #nav-toggle span:last-child {
      margin-bottom: 0;
    }
    #nav-toggle.active span {
      background-color: #333;
    }
    #nav-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    #nav-toggle.active span:first-child {
      transform: rotate(45deg) translate(5px, 5px);
    }
    #nav-toggle.active span:last-child {
      transform: rotate(-45deg) translate(5px, -5px);
    }
    #main {
      padding-top: 100px;
    }
    #page1 {
      padding-top: 120px;
      height: auto;
    }
    #page1 h1 {
      margin-top: 20px;
    }
    #page1 p {
      width: 80%;
      margin: auto;
    }
    @media screen and (max-width: 768px) {
      #page1 #arrow {
        display: none;
      }
#scroller {
  height: auto;
  margin-top: 50px;
  /* padding: 20px; */
}
#scroller-in {
  animation-duration: 60s;
}
/* #page2{
  min-height: 70vh;
  width: 100vh;
} */
#about-me {
  flex-direction: column;
  height: auto;
  padding: 80px;
}
#about-me>img {
  width: 90%;
  height: auto;
}
#about-me-in {
  width: 100%;
  text-align: center;
}
#cards-container {
  flex-direction: column;
  height: auto;
  padding: 20px;
}
.card {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.overlay {
  padding: 20px;
  padding-top: 80px;
}
#green-div {
  flex-direction: column;
  padding: 20px;
}
#green-div h2 {
  width: 90%;
  margin-top: -100px;
  backdrop-filter: sepia(90%) opacity(120%) blur(10px);
  border-radius: 50px;
  color: #000;
}
#green-div img {
  width: 80%;
  height: auto;
}
#page3 {
  padding: 10px;
}
#page3>p {
  width: 90%;
}
#page3 img {
  height: 50px;
}
#page4 {
  padding: 10px;
      /* width: 80% !important; */
  /* flex-wrap: nowrap; */
}
/* .elem {
  display: none;
  flex-direction: column;
  width: 45%;
  height: auto;
  margin-bottom: 20px;
} */
#footer {
  margin-bottom: -20px;
  flex-direction: column;
  padding: 10px;
}
#footer>img {
  height: auto;
  width: 50%;
}
#f1 img {
  width: 70px;
}
#f2 h3,
#f3 h3 {
  margin-top: -40px;
  font-size: 1.2rem;
}
#f4 h4 {
  font-size: 0.7rem;
}

@media screen and (max-width: 768px) {
  .elem {
    display: flex;
    height: 30vh;
    /* display: block; */
  }
  .elem h2 {
    font-size: 1.5rem;
    /* justify-content: center;
    align-items: center; */
  }
  .elem img {
    width: 100%;
    height: auto;
  }
} /* Added closing brace here */

#datetime-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(149, 193, 30, 0.3);
  padding: 10px 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(149, 193, 30, 0.5);
  min-width: 200px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  animation: floatAnimation 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(149, 193, 30, 0.2);
}

#datetime-display:hover {
  background: rgba(149, 193, 30, 0.4);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(149, 193, 30, 0.3);
}

#time {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#date {
  font-size: 1rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Floating animation */
@keyframes floatAnimation {
  0% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
  100% {
    transform: translateX(-50%) translateY(0px);
  }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  #datetime-display {
    min-width: 150px;
    padding: 5px 10px;
    position: static;
    transform: none;
    margin: 0 10px;
  }

  #time {
    font-size: 1.2rem;
  }

  #date {
    font-size: 0.8rem;
  }
}