
/*WEB INICIOS*/
/* Evita el desplazamiento horizontal */
html {
    overflow-x: hidden;
    max-width: 100%;
    max-height: 100%;
}

/* Asegúrate de que el contenedor principal no exceda el ancho */
#drigo {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    max-width: 100%; /* Cambiado de max-width: 100% a width: 100% */
}

.container {
    max-width: 100%; /* Cambiado de max-width: 100% a width: 100% */
    /*padding: 0 15px; /* Añade un pequeño padding para evitar que el contenido llegue a los bordes */
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}


/* Asegúrate de que las imágenes y otros elementos no excedan su contenedor */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block; /* Asegura que no haya márgenes laterales adicionales */
}

#about, #social-media, #projects, #ultim, #contact, #brands {
    max-width: 100%;
    padding: 0; /* Asegúrate de que no haya padding extra */
    overflow-x: hidden;
}

/* FONT TEXTOS */
@font-face {
    font-family: 'AGoblinAppears';
    src: url('./recur/fonts/A_Goblin_Appears!.otf') format('truetype');
    /* Si tienes otros formatos como .woff o .woff2, puedes incluirlos también */
}

/* ----- LOGO ----- */
.logo {
    height: 70px; /* Ajusta la altura según sea necesario */
    max-width: auto;  /* Mantiene la proporción de la imagen */
    position: relative;
    top: -1px;
    left: -8.10cm;
}
@media (min-width: 1920px){
    .logo {
        height: 70px; /* Ajusta la altura según sea necesario */
        max-width: auto;  /* Mantiene la proporción de la imagen */
        position: relative;
        top: -1px;
        left: -8cm;
    }
    .logo:hover{
    transform: scale(1.07); /* Agranda un poco la imagen */
    filter: brightness(1.2); /* Hace la imagen un poco más brillante */
    }
}
.logo:hover{
    transform: scale(1.07); /* Agranda un poco la imagen */
    filter: brightness(1.2); /* Hace la imagen un poco más brillante */
}

/* ----- ESTILOS BASE Y FONDO ----- */
body {
    margin: 0; /* Elimina cualquier margen que pueda estar causando desbordamiento */
    padding: 0;
    overflow-x: hidden; /* Evita desplazamiento horizontal */
    background-color: #3D2310;
   /* background-image: url('./recur/fondo-1.png'); /* Imagen de fondo */
    color: #f9d579; /* Color de texto principal */
}

/* ----- TIPOGRAFÍAS ----- */
h1, h2, h4 {
    font-weight: 600;
    color: #f9d579;
    text-align: center;
}

h3, td {
    font-weight: 600;
    color: #000000;
}

h5 {
    font-weight: 600;
    color: #ff4d4d;
    text-align: center;
}

h6 {
    font-weight: 600;
    color: #694e14;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ----- COLORES EN FONDOS CLAROS Y OSCUROS ----- */
.light-bg h1, .light-bg h2, .light-bg h3, .light-bg h4, .light-bg h5, .light-bg p, .light-bg span {
    color: #473930;
}

.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4, .dark-bg h5, .dark-bg p, .dark-bg span {
    color: #f9d579;
}

img.img-fluid {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 7px;
    padding-left: 0px;
    padding-right: 0px;
}

img.img-fluid:hover {
    transform: scale(1.02); /* Agranda un poco la imagen */
    filter: brightness(1.2); /* Hace la imagen un poco más brillante */
}

/* Estilos del Navbar */
nav {
    background-color: #3D2310; /* Color de fondo coherente con el diseño */
    color: #e0b666;
    width: 1580px;
    height: 65px;
    display: flex;
    justify-content: right;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease-in-out; /* Transición suave */
    opacity: 1;
}

/* Navbar cuando el usuario hace scroll */
nav.scrolled {
    height: 50px; /* Reduce la altura cuando se hace scroll */
    padding: 5px 20px; /* Ajusta el padding cuando se hace scroll */
    opacity: 0.9; /* Un poco de transparencia */
    transform: translateY(-10px); /* Suavemente se mueve hacia arriba */
}

/* Contenedor para el logo y los enlaces */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ocupa todo el ancho del nav */
    max-width: 1200px; /* Tamaño máximo */
    padding: 0 15px; /* Añade un pequeño padding para que el contenido no llegue al borde */
}

/* Menú de navegación */
ul.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bolder;
    position: relative;
    left: 4.6cm;
    padding: 0px 5px;
    text-transform: capitalize;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
    border-bottom: 2px solid transparent;
}

@media (min-width: 1920px) {
    .nav-link {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: bolder;
        position: relative;
        left: 10cm;
        padding: 0px 5px;
        text-transform:capitalize;
        transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
        border-bottom: 2px solid transparent;
    }
}

/* Efecto Hover para los enlaces */
/* Cambiar el color de fondo del navbar */
#navbar {
    background-color: #4e24032a; /* Cambia este valor al color que prefieras */
    color: #F8CB76; /* Cambia el color del texto del navbar */
}

/* Cambiar el color de los enlaces del navbar */
/* Efecto hover para el enlace */
.nav-link:hover {
    color: #F8CB76; /* Asegúrate de que en hover también sea amarillo */
    border-bottom: 2px solid #F8CB76; /* Subraya el enlace con amarillo */
}

/* Logo */
.logo {
    height: 50px;
    width: auto;
    margin-right: 20px;
}

/* ----- SECCIONES ----- */
#home{
    background-image : url('./recur/fondo-1.png');
}

#about{
    background-color: #3D2310;
    max-width: 100%;
}

#social-media{
    background-color: #3D2310;
    max-width: 100%;
}

#projects{
    top: -2cm;
    background-color: #3D2310;
    max-width: 100%;
}

#ultim{
    position: relative;
    top: -2cm;
    background-color: #3D2310;
    max-width: 100%;
}

#brands{
    background-color: #3D2310;
    max-width: 100%;
}

#contact{
    background-color: #3D2310;
    max-width: 100%;
}

/* ----- SECCIÓN INICIO (GIF + IMAGEN OFFLINE) ----- */
#inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px; /* Espacio entre el GIF y la imagen */
    max-height: 100%;
    max-width: 100%;
    position: relative;
    left: 1cm;
}

#doctor-saluda {
    margin-left: -680px; /* Ajuste del GIF a la izquierda */
    position: relative;
    z-index: 2; /* El muñeco siempre estará por encima */
    transform: scale(160%);
}

#doctor-saluda img {
    margin-top: 110px;
}

#offline-image-container {
    margin-left: 30px; /* Ajustar la imagen del stream off */
}

#offline-image-container img {
    margin-top: 15px;
}

#offline-title-txt{
    color: rgb(255, 255, 255);
}
#live-title-txt{
    color: rgb(255, 255, 255);
}

#offline-title{
    position: relative;
    left: 1.2cm;
    transform: scale(60%);
    color: rgb(255, 255, 255);
    top: 90px;
}
#live-title{
    position: relative;
    left: 1.2cm;
    transform: scale(60%);
    color: rgb(255, 255, 255);
    top: 90px;
}

@media((min-width: 1920px)){
    #offline-title{
        position: relative;
        left: 1.3cm;
        transform: scale(60%);
        color: rgb(255, 255, 255);
        top: 90px;
    }
    #live-title{
        position: relative;
        left: 1.3cm;
        transform: scale(60%);
        color: rgb(255, 255, 255);
        top: 90px;
    }
}

#estoy-offline{
    color: rgb(255, 255, 255);
    position: relative;
    right: 0cm;
    top: -70px;
    transform: scale(100%);
}

img.img-off{
    transform: scale(80%);
    border-radius: 6px;
}
img.img-off:hover {
    transform: scale(0.81); /* Agranda un poco la imagen */
    filter: brightness(1.07); /* Hace la imagen un poco más brillante */
}

/* ----- SECCIÓN SOBRE MÍ ----- */

#about {
    max-width: 100%; /* Asegura que la sección ocupe todo el ancho */
    padding: 0;
    margin: 0;
    background-image: url('/web-dr/recur/'); /* Imagen de fondo */
    background-size: cover; /* Hace que el fondo cubra todo el ancho y alto de la sección */
    background-repeat: repeat-x;
    background-position: center center; /* Centra la imagen de fondo */
    background-attachment: fixed; /* Fija el fondo al desplazarse */
    position: relative;
    color: #f9d579;
    z-index: 10;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
    z-index: auto;
}

#about .about-container {
    max-width: 200%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: auto;
}

#about p {
    font-size: 1.2rem;
}

strong {
    color: #ffffff; /* Blanco para textos fuertes */
    font-weight: bold;
}

.about-image img {
    max-width: 280px;
    height: auto;
    position: relative;
    left: -1cm;
}

.about-text {
    max-width: 800px;
    margin-left: 20px; /* Ajusta según sea necesario */
}

.about-text p {
    color: #ffffff;
    transform: scale(100%);
    position: relative;
    padding-left: 1%;
}

.about-text a {
    background-color: #F8CB76;
    color: #3D2310;
    padding: 5px 20px;
    position: relative;
    left: 0.3cm;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.about-text a:hover {
    background-color: #e0b666;
    color: #180d05;
}

.section-title-about{
    position: relative;
    left: 0.2cm;
}

.btn{
    --bs-btn-border-radius: 0rem;
}

img.img-about {
    transition: transform 0.08s ease;
    border-radius: 1px;
}

img.img-about:hover {
    transform: scale(1.009); /* Agranda un poco la imagen */
    filter: brightness(1.2); /* Hace la imagen un poco más brillante */
}

/* ----- SECCIÓN REDES SOCIALES ----- */

#social-media {
    position: relative;
    top: -8cm; /* Ajusta según necesites */
    margin-bottom: -60rem; /* Reduce el espacio entre esta sección y la siguiente */
    transform: scale(70%);
    max-width: 200%;
    max-height: 200%;

}

.linea{
    max-width: 100%;
    max-height: 100%;
    position: relative;
    transform: scale(125%);
    left: 71.5rem;
    margin-top: -1cm;
    z-index: 10;
}

@media (min-width: 1920px) {
    .linea {
        max-width: 100%;
        max-height: 100%;
        position: relative;
        transform: scale(125%);
        left: 84rem;
        margin-top: -1cm;
        z-index: 10;
    }
}


#RS-img img {
    max-width: 35%;
    height: auto;
    margin-bottom: 2rem;
    position: relative;
    left: 14cm;
    top: 2cm;
}

/* Estilo para los títulos y textos */
#tx-rs-title h2 {
    font-size: 2rem;
    color: #f9d579;
    font-family: 'AGoblinAppears'; /* Asegúrate de que la fuente esté correctamente importada */
    position: relative;
    top: 2cm;
    right: 10cm;
    transform: scale(50%);
}

/* Estilo de los contadores principales */
#follow {
    margin-bottom: 2rem;
}

#total{
    position: relative;
    right: 11cm;
    top: 1cm;
    transform: scale(70%);
}

#follow .seguidores2 {
    font-size: 2.5rem;
}

#follows {
    font-size: 3rem;
    color: #f9d579;
}

/* Diseño de los contadores adicionales */
#follow-is-time {
    position: relative;
    transform: scale(100%);
    left: 8cm;
}


#follow-is-time span {
    font-family: 'AGoblinAppears'; /* Aplicar la fuente */
    color: aliceblue;
    /* Efecto 3D */

    transform: perspective(1000px) rotateX(5deg); /* Opcional, para darle más realismo */
}

/* Estilo para las redes sociales */
#channel-yt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem; /* Aumenta la separación vertical entre los números */
    position: relative;
    left: 1cm;
    top: -0.1cm;
    transform: scale(110%);
}
#total-cont-1{
    position: relative;
    top: 0cm;
    left: 0cm;
}
#total-cont-2{
    position: relative;
    top: -0.2cm;
}
#total-cont-3{
    position: relative;
    top: -0.2cm;
    left: -0.1cm;
    transform: scale(110%);
}
#total-cont-4{
    position: relative;
    top: -0.2cm;
    left: -0.1cm;
    transform: scale(110%);
}

#redes-so {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem; /* Aumenta la separación vertical entre los números */
    position: relative;
    left: 7.3cm;
    top: -0.80cm;
    transform: scale(120%);
}

#red-social-1{
    position: relative;
    top: 1cm;
    left: 0.55cm;
}
#red-social-2{
    position: relative;
    top: 0.6cm;
    left: 0.55cm;
}
#red-social-3{
    position: relative;
    top: 0.2cm;
    left: 0.44cm;
}
#red-social-4{
    position: relative;
    left: 0.6cm;
}

#channel-yt .my-2, #redes-so .my-2 {
    font-size: 1.5rem;
}

#youtube{
    position: relative;
    top: -16.5cm;
    left: 1cm;
    transform: scale(60%);
}
#yt-prin{
    position: relative;
    top: -0.7cm;
}
#yt-tw{
    position: relative;
    top: -0.1cm;
}
#yt-short{
    position: relative;
    top: 0.5cm;
}
#yt-jugar{
    position: relative;
    top: 1.3cm;
}

#social{
    position: relative;
    top: -13.5cm;
    left: 8cm;
    gap: 1rem;
    transform: scale(70%);
}
#twitch{
    position: relative;
    top: -1.5cm;
    transform: scale(140%);
}
#instagram{
    position: relative;
    top: -0.1cm;
    transform: scale(140%);
}
#tiktok{
    position: relative;
    top: 1cm;
    transform: scale(140%);
}
#twitter{
    position: relative;
    top: 2.5cm;
    transform: scale(140%);
}

/* Ajuste de las imágenes de las redes sociales */
#templates .social-icon {
    max-width: 170px;
    transition: transform 0.3s ease-in-out;

}

#templates .social-icon:hover {
    transform: scale(1.15); /* Efecto hover para aumentar la imagen */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Añadir un sombreado */
    filter: brightness(1.2); /* Resalta el icono haciéndolo más brillante */
}

#celu-rs-img{
    position: relative;
    right: 11cm;
    transform: scale(260%);
    margin-top: -8cm;
}

#templates #celu-rs-img img {
    max-width: 200px;
    margin-right: 2rem;
    position: relative;
    left: 2cm;
}

#templates .d-flex {
    margin-top: 1rem;
}

/* Responsive para pantallas más pequeñas */
@media (max-width: 768px) {
    #follow-is-time {
        flex-direction: column;
    }

    #templates {
        flex-direction: column;
        align-items: center;
    }

    #templates #celu-rs-img {
        margin-bottom: 2rem;
    }

    #templates .social-icon {
        width: 100px; /* Ajuste de tamaño para pantallas más pequeñas */
    }
}


/* PROYECTOS */
#projects {
    width: 100%;
    padding: 1rem 0; /* Reduce el padding superior e inferior */
    margin-top: -30rem; /* Ajusta el margen superior para acercar más las secciones */
    background-image: url('/web-dr/recur/');
    background-size: cover;
    background-repeat: repeat-x;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    color: #f9d579;
    margin-bottom: -2rem; /* Reduce el espacio entre esta sección y la siguiente */
}

#projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
    z-index: auto;
}

#projects .projects-container {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: auto;
}

@media (min-width: 1920px) {
    .projects-container {
        position: relative;
        transform: scale(110%);
        left: 1rem;
    }
    .section-title-projects{
        font-size: 10px;
        position: relative;
        right: 0.4cm;
    }
}

.section-title-projects {
    color: #f9d579;
    text-align: center;
}

#projects .projects-text {
    max-width: 900px;
}

#projects h3 {
    color: #f9d579; /* Color blanco para los títulos de los proyectos */
    margin-top: 10px;
    margin-bottom: 20px; /* Aumenta el margen inferior para asegurarte de que el texto no se corte */
    font-size: 36px; /* Ajusta el tamaño de la fuente si es necesario */
    line-height: 1.2; /* Ajusta la altura de la línea para evitar el corte */
}

#projects a {
    text-decoration: none;
}

#projects img {
    border-radius: 5px;
}

#projects .about-text a {
    background-color: #F8CB76;
    color: #3B220F;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#projects .about-text a:hover {
    background-color: #e0b666;
    color: #3B220F;
}

.row{
    transform: scale(95%);
    margin: 5px 0px; /* Añadir espacio para evitar amontonamiento */
    position: relative;
    right: 0.2cm;
}

.pro1{
    position: relative;
    right: 2.1cm;
}

.pro2{
    position: relative;
}

.pro3{
    position: relative;
    left: 2cm;
}

/* ULTIMOS VIDEOS */

/*
@media (min-width: 1920px){
    .row .col-md-8{
        transform: scale(10%);

    }
}*/

#ultim {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    padding: 20px; 
    background-color: #3B220F; 
    box-sizing: border-box;
    max-width: 1900px; /* Ajusta según lo necesites */
    margin-bottom: -6rem; /* Reduce el espacio entre esta sección y la siguiente */
}

#vids{
    transform: scale(90%);
    left: 5.3cm;
}

#ultim .col-md-4 {
    flex: 1 1 25%; /* Adjust the width of each image column */
    margin: 0 10px; /* Add margin between images */
}

@media (min-width: 1920px) {
    .ultim-container{
        transform: scale(95%);
        left: 1cm;
    }
    .section-title-ultim{
        transform: scale(200%);
        top: -0.3 cm;
        right: 0.4cm;
        position: relative;
    }

}

#ultim .ultim-container {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1; /* Cambia 'auto' a '1' para asegurar que tenga un índice de apilamiento válido */
}

#ultim .row {
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap to the next line if necessary */
    justify-content: center;
    gap: 20px;
}

#ultim iframe {
    flex: 1 1 300px; 
    max-width: 100%; 
    height: auto;
}

#ultim .container {
    position: relative;
    z-index: 2;
    width: 100%; 
}

.section-title-ultim {
    color: #f9d579;
    text-align: center;
    margin: 20px 0; /* Añade margen para separar el título */
    transform: scale(130%);
}

#ultim .ultim-text {
    max-width: 900px;
    text-align: center; /* Añade centrado para el texto dentro del contenedor */
}



/* CAROUSEL - MARCAS */
/*
#CEM {
    position: relative; /* Asegúrate de que tenga una posición definida 
    z-index: 2; /* Coloca un z-index mayor que el del overlay 
    display: flex;
    justify-content: center;
    transform: scale(0.3); /* Mantiene el tamaño ajustado de la imagen 
} */

#CEM {
    position: relative;
    left: 0cm;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: 0px 0; /* Añadir espacio superior e inferior */
    transform: scale(35%);
    margin: 0 auto; /* Centra el contenido */
}

#CEM img {
    max-width: 30%; /* Asegurar que no se desborde */
    height: auto;
}
/* Sección "Confiaron en mí" */
.trusted-text {
    margin: 0;
    padding: 0;
    background-color: #F8CB76; /* Matches the background */
    font-family: 'AGoblinAppears', sans-serif;
    font-size: 18px; /* Adjust the size as needed */
    color: #000000;
    padding: 10px;
    display: inline-block;
    text-align: center;
    position: relative; /* Added position relative */
    z-index: 2; /* Ensure it's above the overlay and carousel */
    left: 16.5cm;
    top: 0.1cm;
    display: block;
}



#brands {
    width: 100%;
    padding: 0;
    margin: 0;
    background-image: url('/web-dr/recur/'); /* Ajusta la imagen de fondo */
    background-size: cover;
    background-repeat: repeat-x;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    color: #f9d579;
    overflow: hidden; /* Asegura que no aparezca la barra de desplazamiento */
    position: relative;
}

#brands::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
    z-index: 1;
}

#brands .container {
    z-index: auto; /* Asegúrate de que el contenido esté por encima del overlay */
}


.brands-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.brands-carousel img {
    width: auto; 
    max-height: 100px; /* Ajusta la altura máxima */
    object-fit: contain; /* Mantiene la proporción de la imagen */
}

.brands-track-container {
    transform: scale(98%);
    width: 100%; /* Ajusta según el espacio disponible */
    overflow: hidden; /* Asegura que no haya desbordamiento */
    z-index: auto;
}

.brands-track {
    display: flex;
    gap: 10px; /* Ajusta el espacio entre elementos */
    transition: transform 0.3s ease; /* Transición suave */
}

.arrow {
    background-color: rgba(0, 0, 0, 0); /* Fondo semitransparente */
    border: none;
    cursor: pointer;
    padding: 10px;
    transform: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Reduce el tamaño del botón de la flecha */
    height: 40px; /* Reduce el tamaño del botón de la flecha */
    transition: background-color 0.3s ease;
}

.arrow img {
    max-width: 100%; /* Ajusta la imagen al ancho del contenedor */
    max-height: 100%; /* Ajusta la imagen al alto del contenedor */
    object-fit: contain; /* Mantiene la proporción de la imagen */
    pointer-events: none; /* Evita que la imagen interfiera con los eventos de clic */
}


.arrow:hover {
    transform: scale(1.1); /* Ajusta el tamaño en el hover para que no sea demasiado grande */
}

.left-arrow {
    left: 20px; /* Ajusta la posición según sea necesario */
    transform: scale(1); /* Ajusta el tamaño de la flecha */
}

.right-arrow {
    right: 20px; /* Ajusta la posición según sea necesario */
    transform: scale(1); /* Ajusta el tamaño de la flecha */
}

.brands-track img {
    width: 150px; /* Ajusta el ancho de las marcas */
    height: auto; /* Mantiene la proporción de las imágenes */
    object-fit: contain; /* Mantiene la proporción de las imágenes */
    filter: brightness(0) invert(1); /* Blanco y negro */
    display: block; /* Elimina posibles márgenes extra */
    margin: 0 auto; /* Centra las imágenes */
}



/* ----- SECCIÓN DE CONTACTO ----- */
#contact {
    padding: 3rem 0;
    background-color: #3b220e; /* Fondo oscuro */
    background-repeat: no-repeat;
    background-size: cover;
    color: #f9d579; /* Color de texto principal */
}

#contact h2.section-title {
    font-size: 2.5rem;
    color: #f9d579;
    text-transform: capitalize;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#contact p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form label {
    color: #f9d579;
    font-weight: bold;
    position: relative;
    right: 0.01cm;
}

.contact-form .form-control {
    color: #f9d579;
    border: 1px solid #ffffff;
    border-radius: 5px;
    padding: 0.5rem;
}

.contact-form .form-control:focus {
    background-color: #ffffffd5;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 5px #ffffff;
}

.contact-form textarea.form-control {
    resize: none;
}

.contact-form button.btn-primary {
    background-color: #f9d579;
    border: none;
    padding: 0.7rem 2rem;
    font-weight: bold;
    color: #5e4230;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contact-form button.btn-primary:hover {
    background-color: #eed79d;
    transform: scale(1.05);
}

#contact p.mt-3 {
    color: #f9d579;
    font-size: 1rem;
}

#contact p.mt-3 strong {
    color: #ffffff;
    font-weight: bold;
}

footer {
    background-color: #161616;
    color: #f9d579;
    padding: 1rem;
}


/* Media Query para dispositivos móviles */
@media (max-width: 768px) {
    /* Estilo general */
    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        overflow-x: hidden; /* Evita el desplazamiento horizontal */
    }

    #navbar {
        position: fixed;
        width: 100%;
        z-index: 999;
        background-color: #3D2310; /* Ajusta este color según tu diseño */
        height: 60px;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Menú hamburguesa */
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 3px;
        z-index: 1001; /* Asegúrate de que esté encima del menú */
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: #fff;
        transition: 0.3s;
    }

    /* Estilos del menú */
    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* El menú está oculto inicialmente fuera de la pantalla desde el lado derecho */
        height: 100%;
        max-width: 300px;
        background-color: #3D2310; /* Ajusta este color según tu diseño */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        transition: right 0.3s ease-in-out;
        padding: -1px;
        z-index: 999;
    }

    .nav.show {
        right: 0; /* El menú aparece desde el lado derecho */
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: bold;
        left: auto;
    }

    /* Cambios del ícono de hamburguesa al activarse */
    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }


    /* Ajustes de la sección Sobre Mí */
    #about {
        padding: 20px 10px; /* Reducimos el padding para evitar espacios innecesarios */
        display: flex;
        flex-direction: column;
        align-items: center; /* Centramos el contenido */
    }

    .about-image img {
        display: none; /* Oculta el elemento por completo en dispositivos móviles */
        position: relative;
        left: 40cm;
    }

    .about-text {
        position: relative;
        left: 1cm;
    }

    .about-text h3 {
        position: relative;
        left: -1.5cm;
        font-size: 1.5rem; /* Ajusta el tamaño del título */
    }

    .about-text p {
        font-size: 1rem; /* Ajusta el tamaño del texto */
        position: relative;
        left: -1cm;
    }

    .about-text a {
        display: inline-block;
        margin-top: 1px;
        padding: 10px 15px;
        font-size: 1rem;
        position: relative;
        left: -1.3cm;
    }

    /* Ajustes de la sección Inicio (GIF + imagen offline) */
    #inicio {
        flex-direction: column; /* Muestra el contenido en columna para móviles */
        gap: 10px; /* Reduce el espacio entre elementos */
        padding: 10px;
    }

    /* Ocultar la imagen de Drigo saludando */
    #doctor-saluda {
        display: none; /* Oculta el elemento por completo en dispositivos móviles */
        position: relative;
        left: 40cm;
    }


    #offline-image-container {
        margin-left: 0; /* Asegura que la imagen esté centrada */
        text-align: center; /* Centra el contenedor */
    }

    #offline-image-container img {
        max-width: 100%; /* Asegura que ocupe el ancho del contenedor */
        height: auto; /* Mantiene la proporción */
        margin-top: 10px;
    }

    #offline-title, #live-title {
        position: relative;
        right: 0;
        text-align: center; /* Centra el título */
    }
}

/* Media Query para dispositivos móviles */
@media (max-width: 768px) {
    #social-media .container {
        padding: 10px; /* Añade espacio para evitar que el contenido toque los bordes */
        transform: scale(0.9); /* Ajustar la escala general para que quepa mejor */
        transform-origin: top center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Ajustes para la imagen del encabezado */
    #RS-img {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    #RS-img img {
        max-width: 100%;
        height: auto;
    }

    /* Ajustes del título */
    #tx-rs-title h2 {
        font-size: 1.4rem; /* Ajustar el tamaño de la fuente */
        margin-bottom: 10px;
        color: aliceblue;
        font-family: 'AGoblinAppears';
    }

    /* Contador total de seguidores */
    #follow {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
        font-size: 1.4rem;
    }

    #total {
        display: flex;
        justify-content: center;
        font-size: 1.4rem; /* Ajustar el tamaño del texto */
        color: aliceblue;
    }

    /* Ajustes de los números de canales y redes sociales */
    #follow-is-time {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column; /* Ordenar en columna para dispositivos móviles */
        align-items: center;
        gap: 10px;
    }

    #channel-yt, #redes-so {
        display: flex;
        flex-direction: column; /* Organizar en columna */
        align-items: center;
        gap: 5px;
        margin-bottom: 10px; /* Añadir margen inferior */
    }

    .item {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5px 0;
        font-size: 1.2rem; /* Ajustar el tamaño de la fuente */
        color: aliceblue;
        font-family: 'AGoblinAppears';
        background: rgba(255, 255, 255, 0.1);
        padding: 5px 8px; /* Ajustar el padding */
        border-radius: 5px;
        width: fit-content;
    }

    /* Ajustes para los iconos de redes sociales */
    #social-media .social-icons {
        display: flex;
        flex-direction: row; /* Mostrar los íconos en fila */
        align-items: center;
        justify-content: space-around;
        width: 100%; /* Asegurar que ocupen todo el ancho */
        margin-top: 10px;
    }

    .social-icon {
        width: 30px; /* Ajustar el ancho */
        height: auto; 
        margin: 5px; /* Añadir espacio entre los íconos */
    }

    .social-icon img {
        width: 100%; 
        height: auto; 
    }

    .social-icon:hover {
        transform: scale(1.1);
    }

    /* Ajuste de las imágenes de fondo o adicionales */
    #celu-rs-img, #icon-rs-img {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    #celu-rs-img img, #icon-rs-img img {
        max-width: 100%; 
        height: auto;
    }
}


