

@import url('https://fonts.googleapis.com/css2?family=Allura&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* // Global// */

body {
  background: url('fondo.gif') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  font-family: 'Special Elite', monospace;
}


.overlay {
  background: rgba(0, 0, 0, 0.75);
  padding: 50px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 180px;
  margin-bottom: 20px;
}

h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 20px;
  color: tomato;
}

p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px #000;
}

a.button, button {
  background-color: #000000e7;
  color: rgb(255, 255, 255);
  padding: 15px 25px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
}

a.button:hover, button:hover {
  background-color: #000000;
  transform: scale(1.05);
}

form {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #2e2e2e;
  color: #ffffff;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

label {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #ffffff;
}

input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  
  .logo {
    width: 130px;
  }

  form {
    padding: 0 10px;
  }
}

.video-wrapper {
  background: rgba(0, 0, 0, 0.5);
  border: 3px solid #ffffff;
  border-radius: 15px;
  overflow: hidden;
  width: 90%;
  max-width: 640px;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}



body.album {
  background: url('fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Special Elite', monospace;
  color: #ffffff;
  min-height: 100vh;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}


.foto {
  width: 320px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.marco {
  position: relative;
  background: #ffffff;
  border: 3px solid #ffffff;
  padding: 12px;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.foto:hover .marco {
  transform: scale(1.07) rotate(0deg);
}

.foto img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ffffff;
  border-radius: 4px;
}

/* Rotaciones individuales */
.foto.rotada .marco {
  transform: rotate(2deg);
}

.foto.inclinada .marco {
  transform: rotate(-3deg);
}



.visor {
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  width: 90%;
  max-width: 1000px;
  border-radius: 8px;
  margin: auto;
  text-align: center;
}

.visor img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
}

.visor button {
  background-color: #ffffff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}


.top-buttons {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 12px;
  z-index: 1000;
}

.top-button {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 14px;
  border: 2px solid #fff8dc;
  border-radius: 8px;
  font-family: 'Special Elite', monospace;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.top-button:hover {
  background-color: #000000;
  transform: scale(1.05);
}

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.85);
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.nav-button {
  display: inline-block;
  background-color: #000000ce;
  color: #fff;
  padding: 10px 18px;
  margin: 0 10px;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s, transform 0.2s;
}

.nav-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}


/* /// Pagina de explorar  */

.scroll-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  min-height: 100vh;
  background: transparent;
  opacity: 0;
  transform: translateY(100px); 
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; 
  gap: 40px;
  will-change: opacity, transform;
}

.scroll-section.visible {
  opacity: 1;
  transform: translateY(0);
}


.content-text {
  flex: 1;
  max-width: 600px;
  padding-right: 20px;
}

.content-text h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Special Elite', monospace;
  text-align: left;
}

.content-text p {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
  text-align: left;
}

.content-img {
  flex: 1;
  max-width: 500px;
}

.content-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  border: 2px solid #ffffff;
}

.content-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 600px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 200px;
  height: 120px;
  object-fit: cover; 
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

/* 
//// Menu dropdawn */


.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(15, 15, 15, 0.95);
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  border: 1px solid #ffffff;
  z-index: 1001;
}

.dropdown-content a {
  color: #fcfcfc;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Special Elite', monospace;
}

.dropdown-content a:hover {
  background-color: #000000f6;
  color: #fff;
}


.dropdown:hover .dropdown-content {
  display: block;
}


.dropdown-sub {
  position: relative;
}   

.dropdown-content-sub {
  display: none;
  color: #fcfcfc;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: rgba(0, 0, 0, 0.753);
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  border: 1px solid #f1f1f1;
}

.dropdown-sub:hover .dropdown-content-sub {
  display: block;
}


/* //// sherifftrabajo/// */




.sheriff-body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 60px;
  text-align: left;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .sheriff-body {
    padding: 20px;
  }
}

.normativa-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  margin-top: 40px;
}

.normativa-box.aligned {
  flex: 1 1 55%;
  background: rgba(0, 0, 0, 0.829);
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  color: #ffffff;
  text-align: left;
  min-width: 400px;
}

.normativa-imgs {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1 1 40%;
  align-items: center;
  max-width: 500px;
}

.normativa-imgs img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.normativa-imgs img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .normativa-layout {
    flex-direction: column;
    padding: 20px;
  }

  .normativa-box.aligned,
  .normativa-imgs {
    width: 100%;
    max-width: 100%;
  }

  .normativa-imgs img {
    max-width: 100%;
  }
}

.title-header {
  text-align: center;
  padding: 100px 20px 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.title-header h1 {
  font-size: 3rem;
  color: tomato;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 15px;
}

.descripcion-job {
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px #000;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.rangos-layout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 60px;
  flex-wrap: nowrap;
}

.rangos-box {
  flex: 1 1 55%;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  color: #ffffff;
}

.rangos-imgs {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 500px;
  align-items: center;
}

.rangos-imgs img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.tabla-scroll {
  overflow-x: auto;
  width: 100%;
}

.tabla-delitos {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  table-layout: auto;
}

.tabla-delitos th,
.tabla-delitos td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
  word-wrap: break-word;
  white-space: normal;
  color: #fff; 
}

.tabla-delitos thead {
  background-color: #2c2c2c;
  color: #ffd700; 
}

.tabla-delitos tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.3); 
}

.tabla-delitos tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.1); 
}

.tabla-delitos td strong {
  color: #ffd700; 
}

/* //Galeria// */
   .carousel-container {
      position: relative;
      overflow: hidden;
      margin: 0 auto;
      max-width: 90%;
      padding: 10px;
      border-radius: 10px;
      border: 2px solid #ffffff;
      background-color: rgba(0, 0, 0, 0.5);
    }

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.carousel img {
  width: 280px;          /* Aumentado desde 250px */
  height: 180px;         /* Aumentado desde 160px */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
  flex: 0 0 auto;
}

.carousel img:hover {
  transform: scale(1.05);
}

/* Modal grande */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
  width: auto;
  height: auto;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  border: 4px solid #ffffff;
  box-shadow: 0 0 15px #000;
}


.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: rgb(238, 5, 5);
  cursor: pointer;
  z-index: 1001;
}


    .clips-twitch {
      margin: 40px auto;
      max-width: 95%;
      padding: 20px;
      background: rgba(0, 0, 0, 0.596);
      border: 1px solid #ffffff;
      border-radius: 10px;
      text-align: center;
    }

    .clips-twitch h2 {
      color: tomato;
      margin-bottom: 20px;
    }

    .clips-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      justify-items: center;
    }

    .clips-grid iframe {
      width: 100%;
      height: 200px;
      border: none;
      border-radius: 8px;
    }


    /* .clips-carousel-container {
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  max-width: 90%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 20px;
} */

.clips-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.clips-carousel iframe {
  flex: 0 0 auto;
  width: 350px;
  height: 200px;
  border: none;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(20, 20, 20, 0.6);
  color: white;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel {
  overflow-x: auto;
  scrollbar-width: none; /
}

.carousel::-webkit-scrollbar {
  display: none; 
}

/* Mobile base (hasta 600px aprox.) */
.carousel img,
.imagen-galeria {
  width: 90vw;
  height: auto;
  max-height: 200px;
}

/* Modal imagen responsiva */
.modal-content {
  width: 90vw;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* Clips en columna */
.clips-carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-x: hidden;
  align-items: center;
}

.clips-carousel iframe {
  width: 90vw;
  height: 200px;
}


.carousel-btn {
  display: none;
}


@media (min-width: 768px) {
  .carousel img,
  .imagen-galeria {
    width: 280px;
    height: 180px;
  }

  .carousel-btn {
    display: block;
  }

  .clips-carousel {
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .clips-carousel iframe {
    width: 400px;
    height: 230px;
    flex: 0 0 auto;
  }
}


.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.galeria-imagenes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.galeria-imagenes img {
  width: 48%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.social-icons {
  margin-top: 20px;
  text-align: center;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
}

.social-icons img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 2px black);
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}
