/* CSS code for the resume */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');
/* Media Queries */

/* For tablets and desktop computers */
@media screen and (min-width: 768px) {
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
  }

  #my_wordcloud_canvas {
    width: 60%; /* Adjust the canvas width for desktop */
    height: 150px; /* Adjust the canvas height for desktop */
    margin-left: 20px;
  }
  
  main {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .left-panel {
    width: 15%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-image img {
    width: 100%;
    margin-bottom: 10px;
  }

  .navigation {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  section {
    flex: 1;
    margin-left: 20px;
    max-width: 568px;
  }
}

/* For smaller screens */
@media only screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
    min-width: initial;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .profile-image img {
    object-fit: contain;
    margin-bottom: 10px;
  }

  section {
    flex: 1;
    margin-left: 0;
    margin-top: 20px;
  }
}

/* Header */
header {
  text-align: center;
  position: relative;
  padding: 20px;
  background-color: #f1f1f1;
}

#my_wordcloud_canvas {
  width: 100%;
  height: 200px; /* Adjust this height as needed for mobile */
  margin-top: 10px;
}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
}

/* Main */
main {
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
}

/* Left Panel */
.left-panel {
  min-width: 200px;
  background-color: #f1f1f1;
}

/* Profile Image */
.profile-image img {
  background-image: url("../images/IMG_3747.JPG");
  background-color: #ccc;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Name */
.name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Navigation */
.navigation {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.navigation li {
  margin-bottom: 10px;
}

.navigation a {
  text-decoration: none;
  color: #333;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Section */
section {
  flex: 1;
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Section Title */
h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

/* List */
ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Headline1 */
h1 {
  color: #333;
  flex-basis: 30%; /* Adjust the width for the h1 */
}

/* Text frame Bender*/
p3 {
  color: #555;
  font-family: 'Courier Prime', monospace;
  font-size: x-small;
}

/* frame */
.frame {
  border: 1px solid #333;
  padding: 10px;
  margin: 20px auto;
  max-width: 80%;
  white-space: pre-wrap;
  text-align: left;
}

/* Footer */

/* Styles for the footer container */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;  /* Center content within the footer */
  padding: 10px;
  background-color: #f5f5f5;  /* Light gray background */
}

/* Styles for the counter box */
.counter-box {
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0 auto;  /* Center horizontally within the footer */
  font-family: sans-serif;
}

/* Styles for the counter text */
.counter-text {
  font-weight: bold;
  margin-bottom: 5px;
}

.counter-value {
  font-size: 1.2em;
}