body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: linear-gradient(
      rgba(4, 9, 30, 0.986),
      rgba(4, 9, 30, 0.253)
    ),
    url("image/back9.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: light;
}
.headingbar img {
  /* margin-top: 10px; */
  width: 90px;
  border-radius: 50%;
}
.headingbar address {
  color: wheat;
  font-size: 20px;
  margin-left: 10px;
}
.headingbar h1 {
  color: white;
  margin-left: 10px;
  font-weight: 800;
}

.topText {
  text-align: center;
  color: rgb(222, 255, 102);
}
@media only screen and (max-width: 768px) {
  .headingbar img {
    /* margin-top: 10px; */
    width: 90px;
    border-radius: 50%;
  }
  .headingbar address {
    color: wheat;
    font-size: 10px;
    margin-left: 10px;
  }
  .headingbar h1 {
    color: white;
    margin-left: 10px;
    font-weight: 800;
  }

  .topText {
    text-align: center;
    color: rgb(222, 255, 102);
  }
  .topText h2 {
    font-size: 20px !important;
    text-align: center;
    color: rgb(222, 255, 102);
  }
}
.linkbtn {
  background-color: rgba(5, 5, 5, 0.233);
  color: rgba(248, 252, 13, 0.808);
  font-size: 25px;
  width: 300px;
  border-radius: 30px;
  border: none;
}
.linkbtn:hover {
  background-color: rgba(27, 27, 27, 0.178);
  color: rgba(255, 255, 255, 0.808);
  font-size: 25px;
  width: 300px;
  border-radius: 30px;
  border: none;
}
.button a {
  margin: 5px;
}

@media only screen and (max-width: 768px) {
  .linkbtn {
    background-color: rgba(5, 5, 5, 0.233);
    color: rgba(255, 251, 13, 0.808);
    font-size: 20px;
    width: 300px;
    border-radius: 30px;
    border: none;
  }
  .linkbtn:hover {
    background-color: rgba(27, 27, 27, 0.178);
    color: rgba(255, 255, 255, 0.808);
    font-size: 20px;
    width: 300px;
    border-radius: 30px;
    border: none;
  }
  .button a {
    margin: 5px;
  }
}
.details {
  border: 0.5px solid rgb(102, 101, 101);
  color: white;
  border-radius: 20px;
  padding: 10px;
  margin: 10px;
  line-height: normal;
  text-align: center;
  background-color: rgba(126, 124, 124, 0.185);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.details {
  transition: transform 0.3s ease, color 0.3s ease;
}

.details:hover {
  transform: scale(1.1);
  color: rgb(255, 207, 102);
  cursor: pointer;
  background-color: black;
}
footer {
  background-color: rgba(255, 208, 146, 0.158);
  text-align: center;
  padding: 10px;
  bottom: 0px;
  margin-top: 10px;
}

/* ------------------- */
#scroll-to-top-btn {
  display: none; /* hide the button by default */
  position: fixed; /* make the button always visible on the screen */
  bottom: 20px; /* position the button 20px from the bottom of the screen */
  right: 20px; /* position the button 20px from the right edge of the screen */
  font-size: 24px; /* adjust the size of the button */
  padding: 8px; /* add some padding to the button for better visibility */
  background-color: #333; /* customize the button's background color */
  color: #fff; /* customize the button's text color */
  border: none; /* remove the button's border */
  border-radius: 4px; /* add some border radius to make the button look nicer */
  cursor: pointer; /* add a cursor pointer to the button for better usability */
}

/* --------------- */
/* Set the color of the thumb and track of the scrollbar */
::-webkit-scrollbar {
  width: 10px; /* adjust the width of the scrollbar */
  background-color: #f5f5f5; /* set the background color of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background-color: #423fff; /* set the color of the scrollbar thumb */
  border-radius: 50px;
}

/* Set the color of the thumb and track of the scrollbar in Firefox */
/* Note that this only works in Firefox 64 and later versions */
/* For older versions of Firefox, you can use a JavaScript plugin */
/* such as "Overlay Scrollbars" or "Perfect Scrollbar" */
/* See the links below for more information */
/* https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color */
/* https://github.com/oswaldoacauan/overlayscrollbars */
/* https://github.com/noraesae/perfect-scrollbar */
html {
  scrollbar-color: #555 #ff1414;
}

/* pop up */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}
.popup.show {
  opacity: 1;
  visibility: visible;
}
.popup img {
  max-width: 30%;
  max-height: 30%;
  border-radius: 50%;
}
.popup .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1;
}
.popup .message {
  color: white;
  text-align: center;
  margin: 20px;
  font-size: 20px;
  background-color: rgba(255, 0, 0, 0.37);
  border-radius: 10px;
}
.popup .link {
  color: white;
  text-decoration: underline;
  cursor: pointer;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease-out;
  text-align: center;
  /* background-color: yellow; */

  padding: 10px;
  border-radius: 50%;
  border: 2px solid rgb(255, 17, 0);
}
.close-button:hover {
  transform: rotate(380deg);
}
/* -----------notify */
/* Keyframes for zoom-in animation */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Keyframes for zoom-out animation */
@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Apply the initial style to the Notify div */
.Notify {
  /* Your existing styles here */
}

/* Add animation to the Notify div */
.zoomInZoomOut {
  animation: zoomInAndOut 4s infinite alternate; /* 4s duration, infinite loop, alternate direction */
}

/* Apply zoom-in and zoom-out animations to the h2 element inside Notify */
.zoomInZoomOut h2 {
  animation: zoomIn 2s infinite alternate, zoomOut 2s infinite alternate; /* 2s duration, infinite loop, alternate direction */
}

/* Responsive adjustments using media queries */
@media (max-width: 768px) {
  /* Adjust the animation duration for smaller screens */
  .zoomInZoomOut {
    animation-duration: 3s;
  }

  /* Apply font-size h2 in mobile view */
  .zoomInZoomOut h2 {
    animation-duration: 1.5s;
    font-size: h2;
  }
}

@media (max-width: 576px) {
  /* Further adjust the animation duration for even smaller screens */
  .zoomInZoomOut {
    animation-duration: 2s;
  }

  /* Apply font-size h3 in smaller mobile view */
  .zoomInZoomOut h2 {
    animation-duration: 1s;
    font-size: h3;
  }
}

@media (max-width: 400px) {
  /* Apply font-size h4 in the smallest mobile view */
  .zoomInZoomOut h2 {
    font-size: h4;
  }
}
