@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --clr-main: #B247B2;
  --clr-white: #FFFFFF;
  --clr-green: #ADD322;
  --clr-black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", serif;
  scroll-behavior: smooth;

}
h1, h2, h3, h4, h5, h6, p, a , input, textarea, ul{
  margin: 0;
  padding: 0;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}

/*Header*/
.wrapper{
  background-color: var(--clr-main);
}
.video-background {
  position: relative;
  width: 100%;
  min-height: 100vh; 
  overflow: hidden;
}
.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transform: translate(-50%, -50%);
  z-index: 1; 
}
.video-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 5, 35, 0.5); 
  z-index: 1; 
}
.intro__nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
/* Iconos */
.icon {
  /*font-size: 1.5rem;*/
  font-size: clamp(1.1rem, 1vw + 1.2rem, 2rem);
  color: white; 
  text-decoration: none; 
  transition: color 0.3s ease; 
}
/* Hovers */
/* Instagram */
.icon.instagram:hover {
  color: #e1306c; 
}
/* YouTube */  
.icon.youtube:hover {
  color: #ff0000; 
}
/* Twitch */  
.icon.twitch:hover {
  color: #9146ff; 
}
/* GitHub */
.icon.github:hover {
  color: #4e4e4e; 
}
.intro__header{
  text-align: center;
}
.intro-btn, .see-more-btn{
  display: flex;
  justify-content: center;
  padding: 2rem;
}
.intro-btn a , .see-more-btn a{
  background-color: var(--clr-green);
  border: 2px solid var(--clr-green);
  color: #070707;
  padding: 14px 32px;
  /*font-size: 1rem;*/
  font-size: clamp(1rem, 1vw + 1rem, 1.3rem);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}
.intro-btn a:hover, .see-more-btn a:hover{
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.intro__header h1{
  /*font-size: 4.8rem;*/
  font-size: clamp(2rem, 2vw + 2.2rem, 6rem);
  line-height: 1.5;
}
.intro__header p{
  /*font-size: 1.2rem;*/
  font-size: clamp(1rem, 1vw + 1.2rem, 2rem);
  line-height: 1.8;
}
.overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--clr-white);
  padding: 2rem;
}
.intro_container{
  padding: 1rem 3rem 5rem 3rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}
.logo {
  font-weight: 700;
  /*font-size: 2.2rem;*/
  font-size: clamp(1rem, 1vw + 1rem, 2.2rem);
}
.cnt-img-profile{
  width: 100%;
  display: flex;
  justify-content: center;
}
.cnt-img-profile img{
  width: 150px;
  border-radius: 50%;
}
/****Video Gallery*****/
.sarasa {
  min-height: 100vh;
  background-color: var(--clr-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  gap: 1rem;
}

.section-title {
  color: var(--clr-white);
  text-align: center;
  /*font-size: 2.5rem;*/
  font-size: clamp(1.5rem, 1vw + 2rem, 4rem);
}

.section-description {
  color: var(--clr-white);
  text-align: center;
  /*font-size: 1.2rem;*/
  font-size: clamp(1rem, 0.7vw + 1rem, 1.8rem);
  max-width: 600px;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.video-gallery {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem;
}

.video-gallery a {
  display: block;
  width: clamp(20rem, 25vw, 40rem);
  height: auto;
  margin: 0 auto;
  transition: transform 0.3s ease;
  opacity: .9;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: .3s;
}

.video-gallery a img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--clr-green);
  border-radius: 5px;
}

.video-gallery a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  opacity: 1;
  cursor: pointer;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/**Juego*/
aside {
  padding: 2rem 1rem;
  color: var(--clr-white);
  background-attachment: fixed;
  background: rgb(174,221,127);
  background: linear-gradient(360deg, rgba(174,221,127,1) 23%, rgba(255,255,255,1) 54%, rgba(211,247,255,1) 90%);
  min-height: 95vh;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}
.aside_content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: clamp(38rem, 6vw + 1rem, 38rem);
  height: clamp(35rem, 10vh + 4rem, 51rem);
}
.border-jack{
  border-radius: 20px;
  border: 8px solid #A17438;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}
/*Footer**/
/* Estilo general del footer */
.footer {
  background-color: #270623; /* Fondo oscuro */
  color: #fff; /* Texto blanco */
  padding: 1.5rem 1rem;
  text-align: center;
}
.social_media {
  display: flex;
  justify-content: center;
  gap: 2rem; 
}

/* Estilo para la lista del footer */
.ul-footer {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row; 
  justify-content: center;
  gap: 2rem;
}

/* Estilo de los enlaces */
.footer-link {
  text-decoration: none; 
  color: #fff;
  font-size: clamp(1rem, 1vw + 1rem , 1.5rem);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Espacio entre el icono y el texto */
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff0000; /* Color rojo en hover */
}

/* Icono de YouTube */
.youtube-icon {
  font-size: 1.5rem;
  color: #c51818; /* Rojo YouTube */
  transition: transform 0.3s ease;
}

.footer-link:hover .youtube-icon {
  transform: scale(1.2); /* Aumenta ligeramente el icono al pasar el mouse */
}

/*Btn Discord**/

/* Botón flotante */
.discord-button {
  position: fixed;
  bottom: 2%; 
  right: 2%; 
  width: 3.85rem;
  height: 3.85rem;
  background-color: #5865f2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ícono dentro del botón */
.discord-button i {
  font-size: clamp(1rem, 1vw + 1rem, 2.3rem);
  color: #ffffff;
}

.discord-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Tooltip a la izquierda */
.tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  position: absolute; 
  right: 70px;       
  top: 50%;     
  transform: translateY(-50%); 
  white-space: nowrap;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Flecha del tooltip */

.tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #000;
}

/* Mostrar el tooltip al pasar el cursor */
.discord-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}


@media (max-width: 768px) {
  .intro_container{
    padding: 2rem;
  }
  .ul-footer{
    flex-direction: column;
  }
  .video-background{
    min-height: 70vh;
  }

}
@media (min-width: 1400px) {
  .intro_container {
    padding: 2rem 3rem 10rem 3rem;
  }
  .discord-button{
    width: 4.75rem;
    height: 4.75rem;
  }
}
