html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  background-color: #010127; 
  
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

/* Toolbar */
.toolbar {
  background-color: #010127;
  color: white;
  text-align: center;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
  overflow-x: hidden;
}

.toolbar-links {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 5vw, 40px);
}

.toolbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 15px;
  transition: color 0.3s ease;
}


/* panels */

/* panel 1 */
  .panel1 {
    padding: 150px 20px;
    margin-bottom: 0px;
    background-image: url('images/lanterns.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
  }

  .panel1 h1 {
    font-size: 42px;
  }

  .panel1 h2 {
    font-size: 18px;
  }

/* panel 2 */
  .panel2 {
    padding: 5px 20px 20px;
    margin-bottom: 0px;
    background-color: #010127;
    color: #fff;
    text-align: center;
  }

      /* PROJECT GRID */
      .project-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 960px;
        margin: 0 auto;
        padding: 20px 0;
      }

      .project-box {
        background-color: #250155;
        width: 300px;
        height: 425px;
        border-radius: 8px;
        text-decoration: none;
        color: #ffffff;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        margin: 0;
      }

      .image-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
      }

      .project-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .project-title {
        padding: 20px 0 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        line-height: 0.5;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

      .project-title h3,
      .project-content h4,
      .project-content p {
        margin: 0px;
      }
      
      .project-title h4 {
        font-size: 15px;
      }

      .project-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0px 30px 30px;
      }

      .text-group {
        text-align: left;
      }

      .project-content h5 {
        text-align: right;
        margin: 0;
      }

/* panel 3 */
    .panel3 {
      padding: 5px 10px 20px;
      margin-bottom: 0px;
      background-color: #250155;
      color: #ffffff;
      text-align: center;
      text-decoration: none;
    }

    .panel3 a {
      text-decoration: none;
      color: #ffffff;
    }

    .icon-image {
      height: 80px;
    }

    .panel3 a:hover {
      text-decoration: underline;
      color: #ffffff;
    }

/* panel 4 */
  .panel4 {
    padding: 30px 20px 50px;
    margin-bottom: 0px;
    background-color: #250155;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
  }

  /* about me stuff */
  .about-container {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #010127;
  }

  .about-text {
    flex: 3; 
    padding: 40px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: #ffffff;
  }

  .about-text h2 {
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .about-text p {
    text-align: left;
    margin: 0;
  }

  .about-image {
    flex: 2;
    display: flex;
  }

  .about-image .portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .cv-container a {
    color: #ffffff;           /* makes the link text white */
    text-decoration: none;    /* removes the underline */
  }

  .cv-container a:hover {
    text-decoration: underline; /* optional: underline only on hover */
  }


  @media (max-width:600px) {
  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
    padding: 0;
  }

  .about-image {
    order: 2;
  }

  .about-text {
    order: 1;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
  }

  .about-image .portrait {
    height: auto;
    max-height: 300px;
  }
  }


  /* CV window */
  .cv-container {
    flex-direction: row;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
    background-color: #010127;
  }

  .cv-container h2 {
    text-align: center;
    padding: 20px 20px;
  }

  /* socials window */
  .socials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    background-color: #010127;
    padding: 20px 0;
  }

  .socials-container h2 {
    text-align: center;
    margin-top: 0px;
  }

  .social-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }



    
/* panel 5 */
  .panel5 {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #010127;
    color: #ffffff;
    box-sizing: border-box;
  }

  .title {
    text-align: center;
    margin: 0px;
  }

  .suggestion {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

  .project-title {
    padding-top: 20px;
  }

  .suggestion-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    box-sizing: border-box;
  }

  .footer-text {
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    color: #ffffff;
  }
  