@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
/* Estilo general de la barra de desplazamiento */
::-webkit-scrollbar {
  width: 8px; /* Ancho de la barra de desplazamiento */
}
/* Estilo del riel de la barra de desplazamiento */
::-webkit-scrollbar-track {
  background-color: #f4effc; /* Color de fondo del riel */
}
/* Estilo del pulgar de la barra de desplazamiento */
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #888; /* Color del pulgar */
}
/* Estilo del pulgar de la barra de desplazamiento cuando se desplaza */
::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Color del pulgar en el estado de hover */
}
::selection {
  color: #f1f1f1;
  background-color: #dd2e4e;
}
body {
  font-family: "Quicksand", sans-serif;
  color: #1f1135;
  background-color: #f4effc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
ul > li {
  list-style: none;
}
.header {
  min-height: 83vh;
  width: 100%;
}
.container-header {
  margin: 0 auto;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.nav-header-list {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list-item {
  font-weight: bold;
}
.list-item-link {
  text-decoration: none;
  color: #1f1135;
}
.list-item-link:hover,
.list-item-link:active {
  color: #dd2e4e;
}
.container-header-formats {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.container-format-item {
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1b1325;
  border: 1px solid #1b1325;
  cursor: pointer;
}
.container-format-item:hover,
.container-format-item:active {
  color: #dd2e4e;
  border: 2px solid #dd2e4e;
}
.container-header-forms {
  margin-top: 45px;
  width: 100%;
  height: auto;
  text-align: center;
}
.container-header-forms > * {
  display: none;
}
.container-form > * {
  text-align: left;
  display: block;
}
.container-form-flex {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}
.title-format {
  display: block;
  margin-bottom: 25px;
}
.container-form > label {
  margin: 15px 0 8px;
  font-weight: bold;
}
.container-form > input {
  padding: 0 10px;
  height: 30px;
  color: #1f1135;
  background: none;
  border: 1px solid #1f1135;
  border-radius: 6px;
  outline: none;
  text-overflow: ellipsis;
}
.container-form > input:focus {
  border: 2px solid #dd2e4e;
}
.example {
  display: block;
  margin-right: 55px;
  font-weight: bold;
  text-align: left;
  max-width: 700px;
}
.btn-generate {
  margin: 25px 0;
  padding: 8px 20px;
  color: #f1f1f1;
  font-weight: bold;
  background: #dd2e4e;
  border: 2px solid #dd2e4e;
  border-radius: 6px;
  cursor: pointer;
}
.btn-generate:hover,
.btn-generate:active {
  background: #d8183b;
  border: 2px solid #d8183b;
}
/*****************************************/
.footer {
  width: 100%;
  height: 100px;
  display: grid;
  place-items: center;
}
@media screen and (max-width: 890px) {
  .container-form-flex {
    text-align: center;
    flex-direction: column;
  }
  .example {
    height: auto;
    margin: 0;
    text-align: center;
    word-wrap: break-word;
  }
}
@media screen and (max-width: 440px) {
  .example {
    width: 200px;
    margin: 0;
    text-align: center;
    word-wrap: break-word;
  }
}
