
:root {
    --primary-color: #1e90ff;     
    --secondary-color: #0d47a1;    
    --accent-color: #00bcd4;       
    --background-color: #e8f0fe;
    --text-color: #333;
  }
  

  * {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  header {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 5px;
    border-bottom: 2px solid var(--accent-color);
    text-align: center;
  }

  h1 {
    color: var(--background-color);
    margin-bottom: 20px;
    text-align: center;
  }

  main {
    max-width: 1080px;
    margin: auto;
  }

  body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
  }

  h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    text-decoration: solid underline var(--accent-color);
    text-align: center;
  }

  nav > ul {
    display: flex;
    justify-content: center;
    list-style: none;
  }
  
  nav > ul > li > a {
    text-decoration: none;
    color: #fff;
    font-weight: 750;
    transition: color 0.3s ease;
    padding: 20px;
  }
  
  nav > ul > li > a:hover {
    color: var(--accent-color);
  }
  
  .container {
    width: 100%;
    text-align: left;
  }

  .servicios > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  .servicios > ul > li {
    padding: 20px;
  }
  
  img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    display: inline;
    border-radius: 25px;
    display: block;
    margin: 0 auto;
  }

  #github {
    color: var(--text-color);
    text-decoration: solid underline var(--accent-color);
    background-color: var(--background-color);
    padding: 20px;
    font-size: 0.9rem;
    text-align: center;
  }

  #contacto {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1%;
    font-size: 0.9rem;
    text-align: center;
  }

  #contacto > h2 {
    color: var(--background-color);
    text-align: center;
  }

  #contacto > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  #contacto > ul > li {
    padding: 20px;
  }

  #contacto > ul > li > a {
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    transition: color 0.3s ease;
  }

  #contacto > ul > li > a:hover {
    color: var(--accent-color);
  }

  #contacto > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
  }

  footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
  }

  details {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    text-decoration: dotted underline var(--accent-color);
  }

  details > summary {
    font-weight: 750;
    font-size: 1.2rem;
    cursor: pointer;
  }

  details > p {
    margin-top: 10px;
  }

  #topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    padding: 10px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    font-size: 14px;
    text-align: center;
  }
  
  #topBtn:hover {
    background-color: var(--background-color);
  }
  