* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
  }
  
  body {
    background-color: #f4f4f4;
    line-height: 1.6;
  }
  
  .cv-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .header {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .header h1 {
    font-size: 2.5em;
    color: #333;
  }
  
  .header p {
    color: #777;
    font-size: 1.1em;
  }
  
  section {
    margin-bottom: 20px;
  }
  
  section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 5px;
  }
  
  .profile p,
  .experience p,
  .education p,
  .skills-list,
  .languages p {
    color: #555;
    font-size: 1.1em;
  }
  
  ul {
    list-style-type: square;
    margin-left: 20px;
  }
  
  ul.skills-list {
    list-style-type: none;
    padding: 0;
  }
  
  ul.skills-list li {
    background-color: #f4f4f4;
    display: inline-block;
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 5px;
    color: #333;
  }
  
  footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
  }
  .certificate {
    margin-bottom: 15px;
  }
  
  .cert-link {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
  
    color: rgb(83, 83, 83);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s;
  }
  
  .cert-link:hover {
    color: #45a049;
  }
  .certificate {
    margin-bottom: 20px;
}

.cert-image {
    display: block;
    max-width: 50%; 
    height: auto; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    margin-top: 10px; 
}

.en .es {
    display: none;
  }
  .es .en {
    display: none;
  }
  .language-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 30px;
  }
  

  .language-switcher button {
    background-color: #f0f0f0; 
    border: 1px solid #ccc; 
    padding: 10px 20px;
    margin: 0 10px; 
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; 
  }
  
  
  .language-switcher button:hover {
    background-color: #007bff; 
    color: #fff; 
    border-color: #007bff; 
  }
  
 
  .language-switcher button.active {
    background-color: #007bff; 
    color: white;
    border-color: #007bff;
  }