:root {
  --primary: #6c4ab6;
  --accent: #ffbe55;
  --bg: #6c4ab6;
  --text: #ffffff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font: 16px Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  padding-bottom: 5rem;
}

/* Image Slider Styles */
.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: calc(200px * 12); /* 6 images * 2 (for duplication) * 200px width */
  animation: slide 20s linear infinite;
}

.brandName {
  font-size: 1.2em;
  color: #f9f9fba3;
}

.slide {
  height: 200px;
  margin-right: 20px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move by half the total width (6 images) */
  }
}
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  gap: 1rem;
  width: 90%;
  margin: auto;
}
.container {
  max-width: 500px;
  width: 100%;
  text-align: center;
}

b {
  color: var(--text);
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #ede6fd;
}
form {
  display: grid;
  gap: 0.75rem;
}
input,
button {
  padding: 1.2rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
input:focus {
  outline: 2px solid var(--accent);
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}
.logo img {
  width: 60px;
  height: 60px;
}

.button-wrapper {
  position: relative;
  display: flex;
  transition: all 0.3s ease-in-out;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* The actual button */
.styled-button {
  background: var(--accent);
  border: none;
  color: var(--bg);
  font-size: 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* Corner styles */
.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background-color: #fbbf24;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show corners only on hover */
.button-wrapper:hover .corner::before,
.button-wrapper:hover .corner::after {
  opacity: 1;
}
.button-wrapper:hover .styled-button {
  height: 40%;
  width: 96%;
  margin: auto;
}

/* Top-left corner */
.top-left {
  top: 0;
  left: 0;
}
.top-left::before {
  width: 16px;
  height: 1px;
  top: 0;
  left: 0;
}
.top-left::after {
  width: 1px;
  height: 16px;
  top: 0;
  left: 0;
}

/* Top-right corner */
.top-right {
  top: 0;
  right: 0;
}
.top-right::before {
  width: 16px;
  height: 1px;
  top: 0;
  right: 0;
}
.top-right::after {
  width: 1px;
  height: 16px;
  top: 0;
  right: 0;
}

/* Bottom-left corner */
.bottom-left {
  bottom: 0;
  left: 0;
}
.bottom-left::before {
  width: 16px;
  height: 1px;
  bottom: 0;
  left: 0;
}
.bottom-left::after {
  width: 1px;
  height: 16px;
  bottom: 0;
  left: 0;
}

/* Bottom-right corner */
.bottom-right {
  bottom: 0;
  right: 0;
}
.bottom-right::before {
  width: 16px;
  height: 1px;
  bottom: 0;
  right: 0;
}
.bottom-right::after {
  width: 1px;
  height: 16px;
  bottom: 0;
  right: 0;
}

#status {
  margin-top: 1rem;
  font-style: italic;
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }

  .slider-container {
    height: 120px;
  }

  .slide {
    flex: 0 0 160px;
    height: 120px;
    margin-right: 15px;
  }

  .slider-track {
    width: calc(160px * 12);
  }
}
