body {
  overflow-x: hidden;
}

.items li {
  font-family: "Times New Roman", Times, serif;
}

.items ul {
  width: 80vh;
  margin-left: 80vh;
}

.items .icon {
  font-size: 20px;
}

.pages {
  padding: 10px;
  .page {
    padding: 10px;
    justify-content: center;
    position: relative;
  }
  a {
    gap: 2;
  }
  img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid transparent;
    background-image: linear-gradient(
      to right,
      #b88746 0%,
      #fdf5a6 51%,
      #b88746 100%
    );
    padding: 10px;
  }

  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: var(--my-block);
    border-radius: 10px;
  }

  .activ:hover .overlay {
    opacity: 0.9;
  }

  .text {
    font-size: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
}

.submit {
  background-image: linear-gradient(
    to right,
    #b88746 0%,
    #fdf5a6 51%,
    #b88746 100%
  );
  background-color: transparent;
  color: var(--my-block);
  transition: 0.5s;
  text-transform: uppercase;
  background-size: 200% auto;
  font-weight: bold;
}
.submit:hover {
  background-position: right center; /* change the direction of the change here */
  color: #eee;
  /* color:#C0C0C0; */
  text-decoration: none;
}

.code {
  width: 300px;
  height: auto;
  padding: 40px;
  margin: 20px;
}
.aside {
  width: 100px;
  height: auto;
  padding: 20px;
}

.contact {
  width: 200px;
  height: auto;
  padding: 50px;
}

/* ANIMATIONS */

div#myDiv {
  transform: skew(20deg, 10deg);
  transform: rotate(20deg);
  transform: rotateY(360deg);
}
a#rotate:hover {
  transform: rotateY(360deg);
}

/* Styles for the image grid and modal */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.image-grid img {
  width: 100%;
  cursor: pointer;
  background-color: transparent;
  background-image: linear-gradient(to bottom right, #fdf5a6, #b88746);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: transparent;
  margin-top: 70px;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  box-shadow: 0 0 20px #eee;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--my-color1);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* loder */

/* Custom CSS property for progress */
@property --progress {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

/* Root colors */
:root {
  --c1: #6eccee;
  --c2: #f672ca;
  --c3: #fdb428;
  --c4: #b9f;
}

/* Keyframes for progress animation */
@keyframes progress {
  from {
    --progress: 0%;
  }
  to {
    --progress: 100%;
  }
}

/* Circle Loader */
.circle1 {
  --progress: 60%;
  background: conic-gradient(
    at center,
    var(--c1) var(--progress),
    black var(--progress),
    var(--c2) calc(var(--progress) + 20%),
    var(--c3) calc(var(--progress) + 30%),
    var(--c3) calc(var(--progress) + 50%),
    transparent,
    transparent
  );
  animation: progress 4s linear infinite;
  border-radius: 50%;
  mask: radial-gradient(circle at center, transparent 65%, black 65%);
  position: absolute;
  inset: 0;
}

/* Inner circles for layered animation */
.circle1:nth-child(2) {
  inset: 4vmin;
  animation-delay: 1s;
}

.circle1:nth-child(3) {
  inset: 8vmin;
  animation-delay: 0.5s;
}

/* Loader container styles */
.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 0.8vmin hsla(0, 0%, 0%, 1));
  width: 40vmin;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  background: transparent;
  z-index: 9999;
}

/* Loader text styling */
.loader:after {
  content: "@Arun";
  font-weight: bold;
  font-size: 2.5vmin;
  color: white;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* Fullscreen overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--my-block);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

/* BOUNCE */
canvas {
  overflow: hidden;
  width: 100%;
  height: auto;
  background-color: black;
}

#text-container {
  position: absolute;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 4.5rem !important;
  bottom: 50%;
  left: 0%;
  right: 0%;
}

/* Media Query for Large Screens (e.g., desktops) */
@media (min-width: 1200px) {
  #text-container {
    font-size: 4.5rem;
    bottom: 50%;
    left: 0%;
    right: 0%;
  }
}

/* Media Query for Medium Screens (e.g., tablets) */
@media (max-width: 1199px) and (min-width: 768px) {
  #text-container {
    font-size: 3.5rem;
    bottom: 45%;
    left: 0%;
    right: 0%;
  }
}

/* Media Query for Small Screens (e.g., large mobile devices) */
@media (max-width: 767px) and (min-width: 576px) {
  #text-container {
    font-size: 2.5rem;
    bottom: 40%;
    left: 0%;
    right: 0%;
  }
}

/* Media Query for Extra Small Screens (e.g., small mobile devices) */
@media (max-width: 575px) {
  #text-container {
    font-size: 1.8rem;
    bottom: 35%;
    left: 0%;
    right: 0%;
  }
}

/* text */

.text {
  text-align: justify;
}

.certificate {
  padding: 10px;
  marign: 5px;
}

/* form */

.is-hidden {
  display: none !important;
}


@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}

.loading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
}

.loading-spinner svg {
  position: relative;
  animation: rotate 2s linear infinite;
  height: 50px;
  width: 50px;
}

.loading-spinner circle {
  stroke: var(--accent);
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
