/* General styles for all devices */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("images/cursor.png") 16 16, auto;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  h1, h2, h3 {
    font-weight: normal;
  }
  
  ul {
    padding: 0;
    list-style-type: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  /* Header styles */
  header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
  }

  .title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    margin-right: 10px;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-logo {
    width: 130px;
    border-radius: 50%;
    margin-right: 5px;
  }

  #navbar-desc {
    font-family: 'Bebas Neue', sans-serif;
    font-size: larger;
    font-weight: 400;
  }
  
  .file-tabs ul {
    display: flex;
    gap: 1rem;
  }
  
  .file-tabs a {
    color: white;
    padding: 10px;
  }
  
  .file-tabs a.active {
    background-color: #444;
  }
  
  .navbar-container {
    text-align: center;
    margin-top: 1rem;
  }

  .navbar-container p {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    justify-content: right; 
  }
  
  /* Main sections */
  section {
    padding: 2rem 0;
  }
  
  h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .home-list {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }

  .home-list li {
    position: relative;
    padding-left: 2rem; 
    margin-bottom: 0.8rem; 
    background-color: #f9f9f9; 
    border-radius: 8px; 
    padding: 10px 15px; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  }

  .home-list li::before {
    font-size: 1.5rem; 
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .home-list li:hover {
    background-color: #777; 
    color: #FFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); 
  }

  ul {
    text-align: center;
    align-items: normal;
  }
  
  /* Home Section */
  .home {
    background-color: #f4f4f4;
  }
  
  .home .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #service-button {
    margin-bottom: 10px;
  }
  
  .button {
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    margin-top: 20px;
  }

  /* Sobre mi Section */
  #bio-container p {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c2c2c; 
    text-align: justify;
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #fcfcfc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #bio-container p:hover {
    transform: scale(1.02); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  
  /* Servicios Section */
  .servicios {
    background-color: #f4f4f4;
  }

  #service-grid .card:hover {
    transform: scale(1.02); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .card img {
    width: 100%;
    height: auto;
  }
  
  .card {
    background-color: #f9f9f9;
    padding: 1rem;
    text-align: center;
  }
  
  .card h3 {
    font-size: 1.2rem;
    margin-top: 10px;
  }
  
  /* Contact Section */
  .contacto {
    background-color: #f9f9f9;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  input, textarea {
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  button {
    width: 200px;
    margin: 0 auto;
  }

  #contact-others {
    align-items: center;
    align-self: center;
  }

  .phone-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
  }
  
  .telephone-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #007BFF; 
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .telephone-button:hover {
    background: #0056b3; 
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }
  
  .telephone-button svg {
    width: 16px;
    height: 16px;
  }

  .ig-container {
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 10vh; 
    text-align: center;
  }

  .instagram-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }

  .instagram-button:hover {
    background: linear-gradient(45deg, #bc1888, #cc2366, #dc2743, #e6683c, #f09433);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
  }
  
  /* Media Queries for Responsiveness */
  
  /* For tablets (up to 768px) */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .file-tabs ul {
      flex-direction: column;
    }
  
    .grid {
      grid-template-columns: 1fr 1fr; /* 2 columns instead of 3 */
    }
  
    .card {
      padding: 1rem;
      margin-bottom: 1rem;
    }

    .card img{
      width: 300px;
      height: 200px;
      object-fit: cover;
      border: 2px solid #ddd;
      border-radius: 8px; 
    }
  
    .contacto form {
      width: 90%;
    }
  
    .button {
      font-size: 1rem;
    }
  }
  
  /* For mobile devices (up to 480px) */
  @media (max-width: 480px) {
    header {
      padding: 0.5rem 0;
    }
  
    .navbar {
      flex-direction: column;
    }
  
    .file-tabs ul {
      padding-left: 0;
    }
  
    .file-tabs a {
      padding: 10px;
    }
  
    .home .container {
      padding: 0 10px;
    }
  
    .servicios .container, .contacto .container {
      padding: 0 10px;
    }
  
    .grid {
      grid-template-columns: 1fr; /* 1 column for small devices */
    }
  
    .card h3 {
      font-size: 1rem;
    }
  
    .button {
      padding: 10px 15px;
    }
  
    .contacto form {
      width: 90%;
    }
  }
  