:root {
  --primary-color: #5b3e94;
  --secondary-color: #f1f1f1;
  --light-text: #fff;
  --dark-text: #333;
  --border-color: #ddd;
  --hover-color: #7b59b1;
}

* {
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  font-family: "Poppins", sans-serif;
}
.container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 32rem;
  box-sizing: border-box;
}
.cuadro_alerta {
  background-color: rgba(137, 43, 226, 0.2);
  border: 1px solid rgba(137, 43, 226, 0.5);
  margin: -1rem 0 1.5rem 0;
  border-radius: 5px;
  text-align: center;
  color: var(--light-text);
  animation: cuadroalerta 5s ease-in-out infinite;
}
@keyframes cuadroalerta {
  0% {  opacity: 1;}
  50% { opacity: 0.5;}
  100% { opacity: 1;}
}
.cuadro_alerta i {
  transform: translateY(2px);
}
.header-form {
  text-align: center;
  margin-bottom: 2rem;
}

.header-form h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
}

.header-form p {
  font-size: 10pt;
  color: var(--light-text);
  margin-top: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 10pt;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--secondary-color);
  outline: none;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0.5rem rgba(91, 62, 148, 0.2);
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 7.5px;
  color: #9ca3af;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
  background: transparent;
  padding: 0 0.25rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .button-group {
    flex-direction: row;
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  flex-grow: 1;
}

.btn:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.btn-register {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-back {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}


/* Wave background */

.header {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}
.inner-header {
  height:50vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */
.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
  }
}
.terminos {
  font-size: 8pt;
}
.terminos input {
  transform: translateY(2px);
  margin-right: 2px;
}

footer {
  position: fixed;
  bottom: 1rem;
  width: 100vw;
  font-size: 12px;
  font-weight: 200;
  color: var(--blanco_50);
  display: grid;
  grid-template-columns: auto auto;
}
footer img {
  width: 100px;
}
.sys-info {
  padding-left: 1rem;
}
.pyc {
  padding-right: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: right;
}
.pyc i {
  transform: translateY(1px);
}
.pyc a,
.terminos a {
  text-decoration: none;
  color: blueviolet;
  transition: all .2s ease-in-out;
}
.pyc a:hover,
.terminos a:hover {
  color: indigo;
}