  /* ===== IMPORTACIONES ===== */ 
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

  /* ===== VARIABLES ===== */
  :root {
    --primary-color: #2e2e2e;
    --secondary-color: #3b3b3b;
    --font-base: 'Roboto', sans-serif;
    --font-color: #f5f5f5;
  }
  
  /* ===== PC ===== */

  /* --- Body --- */

  body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--font-color);
    font-family: var(--font-base);
  }

  /* --- Banner --- */

  .banner {
    width: 100%;
    height: calc(80vh - 50px);
    background: 
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('../img/home/banner2.webp') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

  /* --- Banner Texto --- */

  .banner-text {
    opacity: 0;
    text-align: center;
    color: #ffffff;
    transform: translateY(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.2s;
    position: relative;
    top: 4rem;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .banner-text > * {
    margin: 12px 0;
    font-family: Segoe UI;
  }

  .banner-text h1 {
    font-size: 2.8rem;
    font-weight: 1000;
  }

  .banner-text h2 {
    color: #a4deff;
  }

  .banner-text p {
    font-size: 1.2rem;
    max-width: 450px;
    margin: 12px auto;
  }

/* --- Banner Botones--- */

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 20px;
}

.banner-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: #fff;
  border: none;
  border-radius: 2em;
  cursor: pointer;
  padding: 1em 1.2em;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease-in-out, 
              filter .2s ease-in-out;
}

.draw-button {
  background: linear-gradient(45deg, #4D9EFF, #7F53FF);
}

.icon-draw-button{
  background-image: url('../img/home/pencil-solid-full.svg');
}

.video-button {
  background: linear-gradient(45deg, #FF5448, #FFCC33);
}

.icon-video-button{
  background-image: url('../img/home/video-solid-full.svg');
}

.banner-button:hover {
  transform: translateY(-4px);
  filter: brightness(1.2);
}

.icon-button {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 1px;
}

 /* --- Sección bienvenida --- */

  .welcome-section {
    padding: 2rem 0;
    text-align: center;
    background-image: url("../img/home/background_welcome.webp");
    background-size: contain;
    background-position: top;
  }

  .welcome-title {
    padding: 0.5rem 0 0 0;
    width: 350px;
  }

  .welcome-section p {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 1rem auto;
  }

  .welcome-grid {
    display: grid;
    margin: 0 18%;
    padding: 1rem 0 2rem 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .welcome-window {
    margin: 0;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.452);
    border-style: solid;
    border-width: 2px;
    border-color: #fff;
    border-radius: 10px;
  }

  .welcome-window img {
    display: block;
    margin: 0 auto;
    margin-bottom: 0.625rem;
  }

   /* --- Sección información --- */

  .info-tittle {
    width: 24rem;
    padding-bottom: 0.5rem;
  }

  .info-section {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--primary-color);
  }

  .info-grid {
    display: grid;
    margin: 0 12%;
    padding: 1rem 0 1rem 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 1.25rem;
  }

  .info-window {
    margin: 0;
    padding: 20px 20px 20px 25px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }

  .info-tittle-window {
    opacity: 0; 
    font-size: 2.5rem;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .info-tittle-window.visible {
    opacity: 1;
    transform: translateY(0); 
  }

  .info-tittle-window-color {
    color: #a4deff;
  }

  .info-text {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .info-text.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .info-image-container {
    display: flex;
    align-items: center;
    justify-content: center; 
  }

  .info-image {
    display: block;
    width: 100%;
    height: auto;
  }

  /* --- FAQ Section --- */

  .faq-section{
    padding: 2rem 0;
    text-align: center;
    background-color: var(--secondary-color);
  }

  .faq-tittle {
    width: 24rem;
    padding-bottom: 0.5rem;
  }

  .faq-container {    
    max-width: 50rem;
    margin: 0 auto 0 auto;
  }

  details { 
    position: relative;
    width: 100%;
    margin-bottom: 0.8rem;  
    background: #6b6b6b; 
    border-radius: 8px;  
    border: 1px solid #d8e0e9;
  }

  details summary:hover {
    color: #dbdbdb;
  }

  details summary {  
    padding: 1rem;
    font-weight: 400;
    font-size: 1.25rem;
    background-color: #484848;
    border-radius: 8px;
    cursor: pointer;
    list-style: none;  
  }

  details div {
    padding: 1rem;
    background: #565656;
  }

  details[open] summary::before {
    position: absolute;
    top: 10px;
    left: 19px;   
    content: "-";    
    font-size: 1.75rem;
  }

  details[open] summary {
    color: #dbdbdb;
  }

  details summary::before {
    position: absolute;
    top: 10px;
    left: 16px;  
    content: "+";    
    font-size: 1.75rem;
  }

  .faq-link{
    color: #5dccfb;
    text-decoration: none;
  }

  .faq-link:hover{
    color: #89d9fb;
    text-decoration: underline;
  }

  /* --- Character --- */

  .character {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
    height: auto;
  }

  .character:hover {
    cursor: pointer;
  }

  /* --- Dialogue --- */

  .dialogue {
    position: fixed;
    bottom: 5rem;
    right: 10rem;
    z-index: 1;
    height: auto;
    opacity: 0;
    transition: opacity 1s;
  }

  .dialogue.visible {
    opacity: 1;
  }


  /* ===== MOBILE ===== */

@media (max-width: 767px) {

  /* --- Mobile Banner --- */

  .banner {
    height: 24rem;
    object-fit: contain;
    object-position: center;
  }

  .banner-text {
    top: 0;
  }

  .banner-text > * {
    margin: 12px 0;
    font-family: Segoe UI;
  }

  .banner-text h1 {
    font-size: 2.4rem;
  }

  .banner-text h2 {
    font-size: 1.2rem;
  }

  .banner-text p {
    font-size: 1rem;
    max-width: 350px;
  }

  .button-group {
    margin-top: 24px;
    gap: 20px;
  }

  .banner-button {
    gap: 0.4em;
    padding: 1rem 1.2rem;
    font-size: 12px;
  }


   /* --- Mobile Welcome Section --- */

  .welcome-section{
    background-image: none;
    background-color: #3b3b3b;
  }

  .welcome-title{
    width: 16rem;
  }

  .welcome-section p{
    font-size: 1rem;
    max-width: 350px;
  }

  .welcome-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    margin: 0 2rem;
  }

  .welcome-window {
    padding: 10px;
  }

  /* --- Mobile Info Section --- */

  .info-tittle{
    width: 20rem;
  }

  .info-tittle-window {
    font-size: 2rem;
  }

  .info-section{
    padding: 2rem 0 1rem;
  }

  .info-grid {
    padding: 0;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
    margin: 2rem 2rem 1rem;
  }

  .info-grid {
    flex-direction: column;
  }
  .info-grid .info-tittle-window {
    order: 1;
  }
  .info-grid .info-image-container {
    order: 2;
  }

  /* --- Mobile FAQ Section --- */

  .faq-container {
      margin: 0 2rem;
  }

  details summary {
    font-size: 1rem;
  }

  details summary::before {
    content: none;
  }

  details[open] summary::before {
    content: none;
  }

  details div {
    text-align: left;
  }

  /* --- Mobile Character --- */
  .character {
    height: 10rem;
  }

  /* --- Mobile Dialogue --- */
  .dialogue {
    bottom: 3rem;
    right: 6rem;
    height: 3rem;
  }

}
