
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.h1{
  text-align: center;

}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}


body {
  font-family: 'Inter', sans-serif;
  background-color: #fce4ec; /* rosita claro */
  color: #0d0d0d;
  line-height: 1.6;
}

.navbar {
  background-color: #a104aa;
  border-bottom: 1px solid #fff;
  padding: 1rem 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  
}

/* Navbar */
.navbar {
  background-color:" "#7a469b;
  border-bottom: 1px solid #ffff;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #e4e0e2;
  font-size: 1.6rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #ffff;
  font-weight: 500;
}

/* Hero */
.hero-video-wrapper {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.75;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  backdrop-filter: blur(3px);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00b894;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #00b894;
}

.cta-button {
  background-color: #7a469b;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #7a469b;
}

/* Content */
.content {
  padding: 3rem 0;
}

.content h2 {
  font-size: 1.8rem;
  color: #a104aa;
  margin-bottom: 0.5rem;
}

.content p {
  font-size: 1rem;
}

.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 4rem 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

.carousel-item img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Comics */
.comics {
  padding: 3rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.comics h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.comic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.comic-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  width: 280px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comic-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.comic-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #222;
}

.read-button {
  background-color: #7a469b;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.read-button:hover {
  background-color: #7a469b;
}

/* Socials */
.socials {
  background-color: #f9f9f9;
  padding: 2.5rem 0;
  text-align: center;
}

.socials h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.buttons {
  display: inline-flex;
  gap: 1rem;
}

.social-button {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.instagram {
  background: #7a469b;
}

.instagram:hover {
  background: #7a469b;
}



/* Footer */
.footer {
  background-color: #f4f4f4;
  color: #555;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin: 1rem 0;
}

.footer-nav a {
  text-decoration: none;
  color: #555;
}

.footer-social a {
  text-decoration: none;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  .content h2 {
    font-size: 1.6rem;
  }

  .buttons {
    flex-direction: column;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  .comic-grid {
    flex-direction: column;
    align-items: center;
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 20px;
}

.titulo-portafolio {
  text-align: center;
  margin: 60px 0 40px;
}

.titulo-portafolio h2 {
  font-size: 2.5rem;
  color: #222;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.portfolio-item {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.p{
  background-color: #7a469b;
  color: #ffffff;
}


h2{
  background-color: #7a469b;
  color: #ffffff;
}

.h1{
  background-color: #7a469b;
  color: #ffffff;
}

.titulo-portafolio{
  background-color: #7a469b;
  color: #ffffff;
}



.contacto {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.contacto h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contacto p {
  font-size: 1rem;
  margin-bottom: 30px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contacto-boton {
  display: inline-block;
  padding: 10px 20px;
  background-color:#7a469b ;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contacto-boton:hover {
  background-color: #7a469b;
}
