* {
  margin: 0%;
  padding: 0%;
  text-decoration: none;
}

.main-container {
  width: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(68, 2, 46);
  height: 60px;
  position: relative;
}

nav .logo {
  display: flex;
  flex-direction: row;
  gap: 15%;
  color: #fff;
  width: 3.5rem;
}

nav .linkNav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 30%;
  margin-right: 20px;
  color: rgb(68, 2, 46);
  font-size: 18px;
  font-weight: bold;
  position: relative;
  gap: 5%;
}

nav .linkNav a {
  text-decoration: none;
  color: #fff;
  height: 30px;
  justify-content: space-between;
}

nav .linkNav a:last-child {
  background-color: #fff;
  color: rgb(68, 2, 46);
  padding: 0 7px;
  border-radius: 3px;
}

.seccion-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

.imagen-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.seccion-main img {
  position: absolute;
  z-index: -100;
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin-top: 60px;
}

.seccion-main h1 {
  color: #fff;
  font-size: 60px;
}

.seccion-main h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 400;
}

.seccion-main button {
  margin-top: 20px;
  font-size: 20px;
  color: #fff;
  background-color: #850a55;
  border: none;
  border-radius: 5px;
  padding: 10px 30px;
}

.seccion-input {
  display: flex;
  background-color: rgb(68, 2, 46);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 25rem;
}

.seccion-input .title h1 {
  color: #fff;
  margin-bottom: 30px;
}

.input {
  display: flex;
}

.seccion-input .input input {
  width: 360px;
  height: 40px;
  border-radius: 20px;
  border: none;
  padding-left: 10px;
}

.seccion-input .input input::placeholder {
  font-size: 18px;
}

.seccion-input .input button {
  width: 100px;
  height: 40px;
  border-radius: 20px;
  margin-left: 5px;
  color: #ffffff;
  background-color: #850a55;
  border: 2px solid #fff;
  transition: transform 0.3s;
}

.seccion-input .input button:hover {
  transform: scale(0.9);
}

.seccion-cards .p1 {
  position: relative;
  font-size: 30px;
}

.seccion-cards {
  display: flex;
  background-color: rgb(253, 221, 245);
  justify-content: center;
  align-items: center;
  height: auto;
}

.seccion-cards .cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.seccion-cards .cards .card {
  margin: 20px;
  transition: transform 0.5s;
}

.seccion-cards .cards .card:hover {
  cursor: pointer;
  transform: scale(0.9);
}

.seccion-cards .cards .card img {
  object-fit: cover;
  height: 300px;
  box-shadow: 0px 0px 20px rgb(68, 2, 46);
  transition: all 0.5s;
  border-radius: 15px;
}

.seccion-cards .cards .card img:hover {
  box-shadow: 0px 0px 40px rgb(221, 34, 181);
}

.seccion-carousel {
  width: 100%;
  height: 65vh;
  overflow-x: auto;
  white-space: nowrap;
  background-color: rgb(68, 2, 46);
}

.seccion-carousel .title {
  margin-top: 15px;
  position: absolute;
  left: 40%;
}

.seccion-carousel h1 {
  color: rgb(255, 255, 255);
}

.seccion-carousel .cards {
  display: flex;
  margin: 70px 20px 30px 20px;
  width: fit-content;
}

.seccion-carousel .cards .card {
  width: 200px;
  height: 200px;
  margin-right: 10px;
  background-color: rgb(68, 2, 46);
  margin: 0 20px;
}

.seccion-carousel .cards .card img {
  border-radius: 15px;
  cursor: pointer;
  object-fit: cover;
  width: 200px;
  height: 300px;
}

.seccion-carousel::-webkit-scrollbar {
  width: 10px;
}

.seccion-carousel::-webkit-scrollbar-track {
  background-color: rgb(68, 2, 46);
}

.seccion-carousel::-webkit-scrollbar-thumb {
  background-color: #daadd1;
  height: 20px;
}

footer {
  display: flex;
  background-color: rgb(68, 2, 46);
  margin-top: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  height: 5rem;
  gap: 7%;
}

footer a {
  text-decoration: none;
}

footer p {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-top: 15px;
}

footer a:last-child p {
  background-color: #fff;
  padding: 5px;
  color: rgb(68, 2, 46);
  border-radius: 5px;
}

.bodyform {
  font-family: Arial, sans-serif;
  background-color: rgb(68, 2, 46);
  background-image:url(/Proyecto-Web-CAC/assets/img/Registro-Form2.jpg); width: auto; height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 5%;
  text-align: center;
}

.h2form {
  color: rgb(195, 29, 140);
  margin-bottom: 3%;
  background-color: #daadd1;
  padding: 2px;
  border-radius: 5px;
  width: 15%;
  margin-left: auto;
  margin-right: auto;
}

form {
  max-width: 300px;
  margin: 0 auto;
}

input[type="text"],
input[type="password"],
input[type="submit"] {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #daadd1;
  color:  rgb(195, 29, 140);
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bolder;
}

input[type="submit"]:hover {
  background-color: #daadd1;
  border-radius: 5px;
  font-weight: bolder;
}

form button {
  color: rgb(195, 29, 140);
  background-color: #daadd1;
  border: none;
  width: 300px;
  padding: 8px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bolder;
}

.error {
  color: white;
}