/* From Uiverse.io by paesjr */
*{
  margin: 0;
  padding:0 ;
  box-sizing: 0;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height : 90vh;
}

#wifi-loader {
  --background: #62abff;
  --front-color: #ef4d86;
  --front-color-in: #fbb216;
  --back-color: #c3c8de;
  --text-color: #414856;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg circle {
  position: absolute;
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-100deg);
  transform-origin: center;
}

#wifi-loader svg circle.back {
  stroke: var(--back-color);
}

#wifi-loader svg circle.front {
  stroke: var(--front-color);
}

#wifi-loader svg.circle-outer {
  height: 96px;
  width: 96px;
}

#wifi-loader svg.circle-outer circle {
  stroke-dasharray: 62.75 188.25;
}

#wifi-loader svg.circle-outer circle.back {
  animation: circle-outer135 1.8s ease infinite 0.3s;
}

#wifi-loader svg.circle-outer circle.front {
  animation: circle-outer135 1.8s ease infinite 0.15s;
}

#wifi-loader svg.circle-middle {
  height: 60px;
  width: 60px;
}

#wifi-loader svg.circle-middle circle {
  stroke: var(--front-color-in);
  stroke-dasharray: 42.5 127.5;
}

#wifi-loader svg.circle-middle circle.back {
  animation: circle-middle6123 1.8s ease infinite 0.25s;
}

#wifi-loader svg.circle-middle circle.front {
  animation: circle-middle6123 1.8s ease infinite 0.1s;
}

#wifi-loader svg.circle-inner {
  height: 34px;
  width: 34px;
}

#wifi-loader svg.circle-inner circle {
  stroke-dasharray: 22 66;
}

#wifi-loader svg.circle-inner circle.back {
  animation: circle-inner162 1.8s ease infinite 0.2s;
}

#wifi-loader svg.circle-inner circle.front {
  animation: circle-inner162 1.8s ease infinite 0.05s;
}

#wifi-loader .text {
  position: absolute;
  bottom: -40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
}

#wifi-loader .text::before,
#wifi-loader .text::after {
  content: attr(data-text);
}

#wifi-loader .text::before {
  color: var(--text-color);
}

#wifi-loader .text::after {
  color: var(--front-color-in);
  animation: text-animation76 3.6s ease infinite;
  position: absolute;
  left: 0;
}

@keyframes circle-outer135 {
  0% {
    stroke-dashoffset: 25;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 301;
  }

  80% {
    stroke-dashoffset: 276;
  }

  100% {
    stroke-dashoffset: 276;
  }
}

@keyframes circle-middle6123 {
  0% {
    stroke-dashoffset: 17;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 204;
  }

  80% {
    stroke-dashoffset: 187;
  }

  100% {
    stroke-dashoffset: 187;
  }
}

@keyframes circle-inner162 {
  0% {
    stroke-dashoffset: 9;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 106;
  }

  80% {
    stroke-dashoffset: 97;
  }

  100% {
    stroke-dashoffset: 97;
  }
}

@keyframes text-animation76 {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  50% {
    clip-path: inset(0);
  }

  100% {
    clip-path: inset(0 0 0 100%);
  }
}

section {
  display: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(135deg, #76c8f8 0%, #4facfe 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px 20px;
  position: relative;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}

header div {
  position: relative;
  z-index: 2;
}

header img {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.05);
}

header div:nth-child(2) {
  flex-grow: 1;
  text-align: center;
}

header div:nth-child(2) h1 {
  margin: 0;
  color: white;
  font-size: 2.5em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
}
form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
}

form h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

form input[type="text"],
form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
  border-color: #ef4d86;
  outline: none;
}

form input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #ef4d86;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

form input[type="submit"]:hover {
  background-color: #d43d6a;
}

form p {
  color: red;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.mySlides {
  display: none;
  position: relative;
}

.mySlides img {
  width: 100%;
  height: auto;
}

.mySlides .text {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0,0,0,0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.slideshow-container .prev,
.slideshow-container .next,
.slideshow-container .dot {
  z-index: 10;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.534);
}

.modal-content {
  margin: 5% auto;
  display: block;
  width: 80%;
  max-width: 700px;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
  /* body {
    display: block;
    height: auto;
    padding: 10px;
  } */

  /* section {
    padding: 10px;
  } */

  header {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  header img {
    width: 60px;
    margin-bottom: 0;
  }

  header div:nth-child(2) h1 {
    font-size: 1.8em;
    letter-spacing: 1px;
  }

  header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    margin-bottom: 20px;
  }

  .slideshower {
    margin: 20px 0;
  }

  .slideshow-container {
    position: relative;
    padding: 0 10px;
  }

  .mySlides img {
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  .mySlides .text {
    left: 16px;
    transform: none;
    bottom: 16px;
  }

  .prev, .next {
    padding: 12px;
    font-size: 16px;
  }

  form {
    position: static;
    transform: none;
    width: 80%;
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;

  }

  form h3 {
    font-size: 20px;
  }

  form input[type="text"],
  form input[type="password"],
  form input[type="submit"] {
    font-size: 14px;
    padding: 8px;
  }

  .modal-content {
    width: 90%;
    max-width: none;
    margin: 10% auto;
  }

  .close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
  .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 98%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.534);
}
}

@media (max-width: 480px) {
  header div:nth-child(2) h1 {
    font-size: 1.5em;
  }

  .mySlides img {
    max-height: 200px;
  }

  form {
    padding: 10px;
  }

  .modal-content {
    width: 95%;
  }
}
