/* Reset */
* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
  }
  
  /* Variables */
  :root {
    --main-color: #54B689;
    --main-text-color: #FFF;
    --border-color: #999;
    --bio-bg-color: #1E2A3A;
    --bio-border-color: #293544;
    --about-bg-color: #111821;
  }
  
  /* General */
  .highlight {
    color: var(--main-color);
  }
  
  /* Containers */
  #container {
    display: flex;
    flex-direction: row;
    color: var(--main-text-color);
  }
  
  #bio-container {
    flex: 1 1 20%;
    min-height: 100vh;
    background-color: var(--bio-bg-color);
    text-align: center;
    padding: 30px 12px;
    border-right: 5px solid var(--bio-border-color);
  }
  
  #about-container {
    flex: 1 1 80%;
    min-height: 100vh;
    background-color: var(--about-bg-color);
    padding: 50px;
  }
  
  /* Bio container */
  #bio-container h2 {
    margin-bottom: 25px;
  }
  
  #bio-container p {
    margin-bottom: 20px;

  }
  
  #bio-container #welcome-text {
    font-weight: bold;
  }
  
  #bio-image {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    margin-bottom: 25px;
  }
  
  #social-container {
    display: flex;
    justify-content: center;
    list-style: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  
  #social-container li {
    flex: 1 1 0;
    max-width: 60px;
  }
  
  #social-container li a {
    color: var(--main-color);
    font-size: 30px;
  }
  
  #email-container {
    display: flex;
    justify-content: center;
  }
  
  #email-container ion-icon,
  #email-container a {
    flex: 1 1 0;
  }
  
  #email-container a {
    color: var(--main-text-color);
    text-decoration: none;
    max-width: 225px;
  }
  
  #email-container ion-icon {
    color: var(--main-color);
    font-size: 20px;
    margin-right: 5px;
    max-width: 20px;
  }
  

  #translate-container {
    position: absolute;
    top: 10px; /* Adjust the top distance as needed */
    right: 10px; /* Adjust the right distance as needed */
  }

  .cta-button {
    background-color: #54B689; /* Customize the background color */
    color: #FFF; /* Text color */
    padding: 10px 20px; /* Adjust padding for the button size */
    border: none;
    border-radius: 5px; /* Rounded corners */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
  }

  .cta-link {
    color: #54B689; /* Customize the link color */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
  }

  #translate-container h1 {
    margin-right: auto;
  }

  #translate-container a {
    padding: 5px;
  }



  /* about container */

  #about-container p {
    line-height: 1.4em;
  }

  #name {
    font-size: 42px;
    margin-bottom: 15px;
  }
  
  #title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .description {
    max-width: 100%;
    margin-bottom: 10px;
  }
  
  #btn-projects {
    font-weight: bold;
    font-size: 16px;
    color: var(--main-text-color);
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 5px;
    text-decoration: none;
    transition: .5s;
    margin: 25px 0;
    padding: 12px 10px;
    width: 150px;
    text-align: center;
    display: flex;
  }
  
  #btn-projects ion-icon,
  #btn-projects span {
    flex: 1 1 0;
  }
  
  #btn-projects ion-icon {
    font-size: 20px;
    max-width: 20px;
  }
  
  #btn-projects:hover {
    background-color: transparent;
  }
  
  #skills-section-title {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 32px;
  }
  
  #skills-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
  }
  
  .skills-box {
    flex: 1 1 33%;
    max-width: 33%;
    margin-bottom: 35px;
  }
  
  .skills-title {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
    padding-left: 10px;
    border-left: 5px solid var(--main-color);
  }
  
  .skills-box i {
    font-size: 45px;
    margin-right: 10px;
  }
  
  /* Mobile */
  @media(max-width: 450px) {
  
    #container {
      flex-direction: column;
    }
  
    #bio-container {
      min-height: auto;
      border-right: none;
      border-bottom: 5px solid var(--bio-border-color);
    }
  
    #bio-container h2 {
      display: none;
    }
  
    #bio-container p {
      max-width: 60%;
      margin: 10px auto;
    }
  
    #about-container {
      text-align: center;
      padding: 30px;
    }
  
    #about-container .description {
      margin: 10px auto;
      max-width: 100%;
      line-height: 26px;
    }
  
    #about-container a {
        text-decoration-color: #54B689;
    }
    #btn-projects {
      margin: 20px auto;
    }
  
    .skills-box {
      flex: 1 1 100%;
      max-width: 100%;
      margin-bottom: 40px;
      text-align: left;
    }
  
    .skills-box i {
      font-size: 60px;
    }
  
  }

  main div.video {
    /* background-color: #1e072498; */
    padding: 20px;
    padding-bottom: 45%;
    position: relative;
  }
  
  main div.video > iframe {
    margin-left: -5%;
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
  }