:root {
  --magenta: #bb2649;
  --moscuro: rgb(97, 7, 33);
  --fondo: #39b54a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  ul {
    animation: none;
  }
}

body {
  color: var(--magenta);
  font: 1em "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-attachment: fixed;
  background-image: url(foto_bn.jpg);
  background-repeat: no-repeat;
  filter: hue-rotate(120deg);
}

div .container {
  display: flex;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

/*foco elementos form*/
select {
  appearance: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  background-color: white;
  content: "▼";
  font: inherit;
  top: 6px;
  right: 10px;
}

input,
select {
  border-style: hidden;
  border: 1px solid grey;
  background-color: white;
  display: block;
  font-family: inherit;
  font-size: 1em;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem;
  height: 3em;
}
input {
  margin-top: 10vh;
}

input:focus {
  background-image: url("fondo.png");
  background-repeat: no-repeat;
  outline: none;
  background-position: right center;
}
select:focus {
  background-image: url("fondo.png");
  background-repeat: no-repeat;
  outline: none;
  background-position: right center;
  outline: none;
}
textarea:focus {
  background-image: url("fondo.png");
  background-repeat: repeat-y;
  outline: none;
  background-position: right center;
  outline: none;
}

/*--------botones:hover---------*/

.boton:hover::after {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
.boton:hover::before {
  opacity: 0;
  transform: translateY(50%) rotateX(90deg);
}
.boton::after {
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  color: gray;
  display: block;
  transition: 0.5s;
  position: absolute;
  background: white;
  content: "👉 🖥";
  font-size: xx-large;
  transform: translateY(-50%) rotateX(90deg);
}
.boton::before {
  top: 0;
  left: 0;
  opacity: 1;
  color: grey;
  display: block;
  padding: 0 30px;
  line-height: 2.5em;
  transition: 0.5s;
  position: relative;
  background: white;
  content: "publicar";
  transform: translateY(0) rotateX(0);
}

.boton1:hover::after {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
.boton1:hover::before {
  opacity: 0;
  transform: translateY(50%) rotateX(90deg);
}
.boton1::after {
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  color: gray;
  display: block;
  transition: 0.5s;
  position: absolute;
  background: white;
  font-size: xx-large;
  content: "🗑";
  transform: translateY(-50%) rotateX(90deg);
}
.boton1::before {
  top: 0;
  left: 0;
  opacity: 1;
  color: grey;
  display: block;
  padding: 0 30px;
  line-height: 2.5em;
  transition: 0.5s;
  position: relative;
  background: white;
  content: "esborrar";
  transform: translateY(0) rotateX(0);
}
/*Animación*/
ul#animacion {
  margin-top: -60px;
  background-color: rgb(0, 128, 0, 0.4);
  overflow: hidden;
  min-height: 110vh;
}
.background {
  position: fixed;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
}
.background li {
  position: absolute;
  z-index: 10;
  display: block;
  list-style: none;
  font-size: xx-large;
  width: 100px;
  height: 100px;
  animation: animate 50s ease-in-out infinite;
}

.paused {
  animation-play-state: paused !important;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 100%;
  }
}

.background li:nth-child(0) {
  left: 43%;
  width: 174px;
  height: 174px;
  bottom: -174px;
  animation-delay: 1s;
}
.background li:nth-child(1) {
  left: 14%;
  width: 145px;
  height: 145px;
  bottom: -145px;
  animation-delay: 4s;
}
.background li:nth-child(2) {
  left: 47%;
  width: 199px;
  height: 199px;
  bottom: -199px;
  animation-delay: 6s;
}
.background li:nth-child(3) {
  left: 3%;
  width: 154px;
  height: 154px;
  bottom: -154px;
  animation-delay: 8s;
}
.background li:nth-child(4) {
  left: 17%;
  width: 156px;
  height: 156px;
  bottom: -156px;
  animation-delay: 14s;
}
.background li:nth-child(5) {
  left: 7%;
  width: 148px;
  height: 148px;
  bottom: -148px;
  animation-delay: 19s;
}
.background li:nth-child(6) {
  left: 31%;
  width: 281px;
  height: 281px;
  bottom: -281px;
  animation-delay: 20s;
}
.background li:nth-child(7) {
  left: 8%;
  width: 184px;
  height: 184px;
  bottom: -184px;
  animation-delay: 13s;
}
.background li:nth-child(8) {
  left: 39%;
  width: 169px;
  height: 169px;
  bottom: -169px;
  animation-delay: 25s;
}
.background li:nth-child(9) {
  left: 82%;
  width: 129px;
  height: 129px;
  bottom: -129px;
  animation-delay: 11s;
}

/* xs:250px */

@media (min-width: 250px) {
  h1 {
    color: white;
    margin-top: 4vh;
    font-family: "Montserrat Subrayada", sans-serif;
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 600;
    position: relative;
    z-index: 130;
    background-color: rgba(10, 173, 26, 0.3);
    padding: 45px 40px 10px;
  }
  form {
    margin-top: 2rem;
    color: grey;
    width: 90vw;
    height: 60vh;
    position: relative;
    z-index: 100;
    padding: 10px;
    filter: hue-rotate(-120deg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 255, 255, 0.3);
    color: rgb(97, 7, 33);
  }
  ul {
    height: 110vh;
    overflow: hidden;
  }
  img {
    width: 350px;
  }
  textarea {
    margin-top: 1.5em;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 1em;
    height: 6em;
    width: 84vw;
  }

  .boton {
    margin-top: 4em;
    margin-right: 1em;
    opacity: 1;
    outline: 0;
    border-radius: 3px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }
  .boton1 {
    margin-top: 4em;
    margin-left: 1.3rem;
    opacity: 1;
    outline: 0;
    border-radius: 5px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }

  p {
    overflow-wrap: break-word;
    margin-top: 12vh;
    margin-left: 5vw;
    padding: 0.7rem;
    max-width: 90vw;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2em;
  }
  p span {
    color: var(--moscuro);
    font-size: x-large;
    font-weight: 600;
  }

  footer {
    width: 100vw;
    position: fixed !important;
    right: 0;
    left: 0;
    bottom: 20px;
    color: white;
    z-index: 110;
    background-color: rgba(10, 173, 26, 0.5);
    padding: 3px 22px;
    font-size: 0.59rem;
    text-align: center;
  }
  #interruptor {
    background-color: var(--magenta);
    width: 60vw;
    font-size: 1em;
    color: white;
    border: none;
    padding: 8px;
    position: absolute;
    top: 0;
    right: 0;
    top: 1.6rem;
    z-index: 140;
  }
}

/*   sm: 640px */
@media (min-width: 640px) {
  h1 {
    color: white;
    margin-top: 8vh;
    margin-left: auto;
    margin-right: auto;
    font-family: "Montserrat Subrayada", sans-serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    position: relative;
    z-index: 130;
    background-color: rgba(10, 173, 26, 0.3);
    padding: 1.2rem 3.5rem;
  }

  img {
    width: 550px;
  }

  div .container {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
  }

  form {
    margin: 5rem auto;
    color: grey;
    width: 80vw;
    height: 56vh;
    position: relative;
    z-index: 100;
    padding: 1.5rem;
    filter: hue-rotate(-120deg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 255, 255, 0.3);
    color: rgb(97, 7, 33);
  }
  select {
    position: relative;
    top: 3vh;
  }

  textarea {
    margin-top: 2rem;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 1em;
    width: 73.5vw;
    height: 6em;
  }

  .boton {
    margin-top: 6rem;
    margin-right: 1rem;
    opacity: 1;
    outline: 0;
    border-radius: 3px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }
  .boton1 {
    margin-top: 4em;
    margin-left: 1.3rem;
    opacity: 1;
    outline: 0;
    border-radius: 5px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }

  footer {
    position: fixed !important;
    right: auto;
    left: auto;
    bottom: 20px;
    color: white;
    z-index: 110;
    background-color: rgba(10, 173, 26, 0.5);
    padding: 0.3rem 1rem;
    font-size: small;
  }

  #interruptor {
    background-color: var(--magenta);
    width: 30vw;
    font-size: 1rem;
    color: white;
    border: none;
    padding: 10px;
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    z-index: 131;
  }

  p {
    overflow-wrap: break-word;
    margin-top: 10vh;
    margin-left: 10vw;
    padding: 1rem;
    max-width: 80vw;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2em;
  }
  p span {
    color: var(--moscuro);
    font-size: x-large;
    font-weight: 600;
  }

  ul#animacion {
    margin-top: -60px;
    background-color: rgb(0, 128, 0, 0.4);
    overflow: hidden;
  }
}
/*  md: 768px */
@media (min-width: 768px) {
  h1 {
    color: white;
    margin-top: 8vh;
    margin-left: auto;
    margin-right: auto;
    font-family: "Montserrat Subrayada", sans-serif;
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
    position: relative;
    background-color: rgb(200, 255, 255, 0.2);
    z-index: 130;
    padding: 1.2rem 3.5rem;
  }
  form {
    margin: 4rem auto;
    color: grey;
    width: 80vw;
    height: 56vh;
    position: relative;
    z-index: 100;
    padding: 1.5rem;
    filter: hue-rotate(-120deg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 255, 255, 0.3);
    color: rgb(97, 7, 33);
  }
  select {
    position: relative;
    top: 3vh;
  }

  textarea {
    margin-top: 2rem;
    padding: 0.5rem;
    font-family: inherit;
    height: 6em;
    width: 73.5vw;
  }

  .boton {
    margin-top: 6rem;
    margin-right: 1rem;
    opacity: 1;
    outline: 0;
    border-radius: 3px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }
  .boton1 {
    margin-top: 4em;
    margin-left: 1.3rem;
    opacity: 1;
    outline: 0;
    border-radius: 5px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }

  footer {
    position: fixed !important;
    right: auto;
    left: auto;
    bottom: 20px;
    color: white;
    z-index: 110;
    background-color: rgba(10, 173, 26, 0.5);
    padding: 0.3rem 1rem;
    font-size: small;
  }

  #interruptor {
    background-color: var(--magenta);
    width: 30vw;
    font-size: 1rem;
    color: white;
    border: none;
    padding: 10px;
    position: fixed !important;
    right: 0;
    top: 30px;
    z-index: 140;
  }

  p {
    overflow-wrap: break-word;
    margin-top: 10vh;
    margin-left: 10vw;
    padding: 1rem;
    max-width: 80vw;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2em;
  }
  p span {
    color: var(--moscuro);
    font-size: x-large;
    font-weight: 600;
  }
}
/*  md: 1024px */
@media (min-width: 1024px) {
  body {
    position: absolute;
  }

  h1 {
    color: white;
    width: 70vw;
    margin-top: 8vh;
    margin-left: 15vw;
    font-family: "Montserrat Subrayada", sans-serif;
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 600;
    position: relative;
    z-index: 150;
    background-color: rgb(200, 255, 255, 0.2);
    padding: 0.7rem 1rem 0.7rem 4.5rem;
  }
  img {
    width: auto;
  }
  form {
    margin-top: 2rem;
    color: grey;
    width: 40vw;
    height: 58vh;
    position: relative;
    z-index: 100;
    padding: 2em;
    filter: hue-rotate(-120deg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 255, 255, 0.3);
    color: rgb(97, 7, 33);
  }

  textarea {
    margin-top: 1.5em;
    padding: 0.5rem;
    font-family: inherit;
    height: 6em;
    width: 35.5vw;
  }

  select {
    appearance: none;
  }

  .select-wrapper {
    position: relative;
  }

  .select-wrapper::after {
    background-color: white;
    content: "▼";
    font: inherit;
    top: 6px;
    right: 10px;
  }

  label {
    display: block;
    padding-bottom: 1em;
    margin-bottom: 5px;
  }

  input,
  select {
    border-style: hidden;
    border: 1px solid grey;
    background-color: white;
    display: block;
    font-family: inherit;
    font-size: 1em;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0.5rem;
    height: 3em;
  }
  input {
    margin-top: 10vh;
  }

  #interruptor {
    background-color: var(--magenta);
    width: 18vw;
    font-size: 1em;
    color: white;
    border: none;
    padding: 1vh;
    position: fixed;
    top: 10vh;
    right: 0;
    z-index: 150;
  }

  .boton {
    margin-top: 2em;
    margin-right: 1em;
    opacity: 1;
    outline: 0;
    border-radius: 5px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }

  .boton1 {
    margin-top: 2em;
    opacity: 1;
    outline: 0;
    border-radius: 5px;
    color: #fff;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--fondo);
  }
  p {
    overflow-wrap: break-word;
    margin-top: 10vh;
    margin-left: 20vw;
    padding: 1rem;
    max-width: 60vw;
    font-size: x-large;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2em;
  }
  p span {
    color: var(--moscuro);
    font-size: x-large;
    font-weight: 800;
  }

  footer {
    margin-top: 2.5rem;
    margin-left: 0.5rem;
    color: white;
    position: -webkit-sticky; /* Safari */
    position: fixed !important;
    bottom: 30px;
    left: auto;
    right: auto;
    z-index: 110;
    background-color: rgba(10, 173, 26, 0.5);
    padding: 0.5rem 1rem;
    font-size: small;
    text-align: center;
    width: 40vw;
  }
}

/* 'xl': '1280px' */
@media (min-width: 1280px) {
  form {
    margin-top: 2rem;
    color: grey;
    width: 40vw;
    height: 58vh;
    position: relative;
    z-index: 100;
    padding: 2em;
    filter: hue-rotate(-120deg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 255, 255, 0.3);
    color: rgb(97, 7, 33);
  }

  textarea {
    margin-top: 1.5em;
    padding: 0.5rem;
    font-family: inherit;
    height: 6em;
    width: 36.5vw;
  }
}

/* '2xl': '1536px' */
@media (min-width: 1536px) {
  form {
    margin-top: 2rem;
    color: grey;
    width: 40vw;
    height: 58vh;
    position: relative;
    z-index: 100;
    padding: 2em;
    filter: hue-rotate(-120deg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 255, 255, 0.3);
    color: rgb(97, 7, 33);
  }

  textarea {
    margin-top: 1.5em;
    padding: 0.5rem;
    font-family: inherit;
    height: 6em;
    width: 36.5vw;
  }
}
