body {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

/* Navigation Bar */

#home {
  background: linear-gradient(to right, violet, blue);
  padding-bottom: 1cm;
  margin-left: -1cm;
  margin-right: -1cm;
  margin-top: -1cm;
  padding-top: 2cm;
  padding-bottom: 2cm;
  height: 5mm;
}

.topmenu {
  color: lightgray;
  margin: 5px;
  padding: 10px;
  font-size: 15px;
  text-decoration: none;
}

.topmenu:hover {
  color: white;
  font-weight: bolder;
  text-decoration: underline;
}

.topdiv {
  float: right;
  padding-right: 1cm;
}

.profile_name {
  float: left;
  padding-left: 2cm;
  color: white;
  font-size: 15px;
  /* Add the styles here */
}

.profile_name .contact_info {
  font-size: 15px;
  font-style: italic;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.contact_info img {
  width: 25px;
  margin-right: 10px;
  float: left;
}

/* Titles */

h2 {
  text-align: justify;
  font-size: 50px;
  text-align: center;
  float: left;
  color: #2000a0;
  margin: 30px;
  margin-left: 60px;
  margin-top: 40px;
  margin-bottom: 0px;
}

.introduction {
  text-align: justify;
  font-size: 30px;
  text-align: center;
  float: left;
  margin-top: 30px;
  margin-bottom: 20px;
  animation-duration: 5s;
  position: relative;
}

/* Used in the About Me sections */

.container {
  display: flex;
}

/* About Me */

.about-me {
  display: flex;
  align-items: center;
}

#about-me h1 {
  font-size: 45px;
  margin-top: 68px;
  color: #02087c;
}

#about-me p {
  font-size: 25px;
  color: rgb(128, 128, 128);
  margin-top: -0.44cm;
}

.profile_image {
  width: 200px;
  height: 200px;
  vertical-align: middle;
  margin: 20px;
  margin-top: 50px;
}

/* Skills */

.all_skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill {
  border: 1px solid gray;
  border-radius: 6px;
  text-align: center;
  margin: 10px;
  padding: 10px;
  width: 2in;
  height: 2in;
  font-size: 20px;
  box-shadow: 0 3px 10px gray;
  justify-content: center;
  align-items: center;
}

.skill:hover {
  border: 1px solid black;
  border-radius: 6px;
  text-align: center;
  margin: 2px;
  padding: 2px;
  width: 2.3in;
  height: 2.3in;
  font-size: 25px;
  box-shadow: 0 3px 10px gray;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
}

.skill img {
  margin-top: 10px;
  height: 35px;
}

.skill h6 {
  font-size: 30px; /* Increased font size */
  margin-block-start: 8px;
  margin-block-end: 5px;
  font-weight: bold;
  margin-top: 10px;
}

.skill p {
  font-size: 20px;
  color: gray;
  margin-block-start: 5px;
  margin-block-end: 5px;
  margin-top: 20px;
}

.flex_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Projects */

.projects-container {
  margin-top: 30px;
  margin-left: 10px;
}

.projects-container hr {
  border: 1px solid lightgray;
  width: 84%;
  margin-left: 2.2cm;
}

.project-card {
  margin: 0 15px 15px 30px;
  padding-bottom: 5px;
}

.project-card h3 {
  font-size: 20px;
  margin-left: 30px;
}

.project-card li {
  font-size: 15px;
  margin-left: 30px;
}

/* Recommendations */

.all_recommendations {
  display: flex;
  align-items: flex-start; /* Align items at the top */
  margin-left: 2cm;
  flex-direction: row;
  flex-wrap: wrap; /* Corrected flex-flow to flex-wrap */
}

.recommendation {
  font-style: italic;
  text-align: left;
  width: 170px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 5px;
  margin: 10px;
  border: 1px solid gray;
  font-size: 10px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recommendation span {
  color: #7600bc;
  font-size: 20px;
  font-family: "Times New Roman", Times, serif;
}

.recommendation p {
  margin: 10px;
  line-height: 1.2;
}

/* Scroll to Top Button */

.iconbutton {
  width: 48px;
  height: 48px;
  border-radius: 100%;
  background-color: #7600bc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 3%;
  bottom: 3%;
  cursor: pointer;
}

/* Form Pop-up */

.popup {
  width: 400px;
  background-color: #e8bcf0;
  border-radius: 3mm;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  position: fixed;
  /* padding: 30px; */
  visibility: hidden;
}

.popup img {
  padding-top: 20px;
}

.popup button {
  background-color: #fff;
  border: 1px solid #7600bc;
  color: #7600bc;
  display: block;
  border-radius: 6px;
  text-align: center;
  margin: 50px;
  padding: 10px;
  width: 2in;
  font-size: 20px;
  margin-left: 25%;
}

.popup button:hover {
  background-color: #fff;
  border: 2px solid #7600bc;
  color: #7600bc;
  display: block;
  font-weight: bolder;
  text-align: center;
  cursor: pointer;
  margin-left: 25%;
}

/* Recommendation Form */

input,
textarea {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  margin: 10px;
  width: 100%;
}

fieldset {
  display: flexbox;
  align-content: center;
  justify-content: center;
  padding: 25px;
  margin-left: 50px;
  margin-right: 50px;
  border: thin solid white;
  width: 50%;
}

/* Buttons */

button {
  background-color: #fff;
  border: 1px solid #7600bc;
  color: #7600bc;
  display: block;
  border-radius: 6px;
  text-align: center;
  margin: 50px;
  padding: 10px;
  width: 2in;
  font-size: 20px;
}

button:hover {
  background-color: #7600bc;
  border: 1px solid #7600bc;
  color: #fff;
  display: block;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}
