@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;700&family=Montserrat:wght@400;600;700&family=Ubuntu:wght@300;400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: white;
  font-size: 24px;
  font-family: "Ubuntu", "san-serif";
}
.body-size {
  padding: 0%;
}

section {
  padding: 64px;
}

/* Text */
h1.title {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.03em;
}

h2.title {
  font-family: "Lora", serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.02em;
}

h3.title {
  font-family: "Lora", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.01em;
}

.body {
  font-family: "Ubuntu", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

#strong {
  font-weight: 700;
}

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

.skills {
  text-align: left;
}

.small {
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0em;
}

.job-title {
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: -0.01em;
  text-align: left;
}
.job-date {
  font-family: "Lora", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 8px;
  letter-spacing: -0.01em;
  text-align: left;
  top: -30px;
  color: #f44d5f;
}

.employer {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 31px;
  letter-spacing: -0.01em;
  text-align: left;
}

.date {
  font-family: "Lora", serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f44d5f;
  text-align: left;
}

a.url {
  font-family: "Ubuntu", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #f44d5f;
}

a.lnk:hover {
  color: #f44d5f;
  text-decoration: underline;
}

.underline {
  text-decoration: none;
}

.vertical-center {
  display: flex;
  align-items: center;
}

/* Buttons */

.btn {
  padding: 16px;
  border: none;
  --bs-btn-hover-border: none;
  --bs-btn-active-border: none;
  --bs-btn-focus-shadow-rgb: rgb(0, 0, 0);
  --bs-btn-hover-bg: inherit;
}

/* Nav & Pills */
.nav-pills {
  --bs-nav-pills-link-active-bg: #f44d5f;
  padding: 8px 0;
}

.nav-link {
  color: #fff;
  margin: 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 31px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-link:hover {
  color: #f44d5f;
}

.dropdown-item:hover {
  background-color: #f44d5f;
  color: #fff;
}

/* Progress Bar */

.progress {
  background-color: #ffffff66;
  border-radius: 100px;
  height: auto;
}

.progress-bar {
  background-color: #fff;
  border-radius: 100px;
  color: #2f4858;
}

/* Colors */

.transparent {
  color: #ffffff66;
}

.dark {
  color: #2f4858;
}

/* Icons */
.icons {
  margin: 0 8px;
}

.skill:hover .icons {
  color: #f44d5f;
  transform: scale(1.25);
}

/* Logo Position */
.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
}

/* First Section - Landing */

#first {
  background-color: #2f4858;
  color: white;
  text-align: center;
  height: 100vh;
}

.title-icons {
  margin: 8px 16px;
  color: white;
}

.title-icons:hover {
  color: #f44d5f;
}

/* Second Section - PM*/

#second {
  color: #2f4858;
}

.pro {
  color: #f44d5f;
}

/* Third Section - Experience*/

#third {
  color: #2f4858;
}

.btn-primary {
  color: #f44d5f;
  background-color: white;
  --bs-btn-hover-color: #f44d5f;
}

.btn-primary:hover {
  background-color: #f44d5f;
  color: white;
}

/* Fourth Section */

#fourth {
  background-color: #2f4858;
  color: white;
}

.btn-secondary {
  color: white;
  background-color: #2f4858;
  --bs-btn-hover-color: #fff;
}

.btn-secondary:hover {
  color: #f44d5f;
  background-color: white;
}

.down-icon {
  margin-top: calc(3vw + 20px);
}

.custom-size-icon {
  font-size: 72px;
  width: 72px;
  height: 72px;
}

.description {
  height: auto;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1440px) {
  #first {
    height: auto;
  }
}

.modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Allow scrolling if content overflows */
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* Reduce margin to allow more vertical space */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  max-height: 80vh; /* Limit height to fit within viewport */
  overflow: auto; /* Allow scrolling inside the modal if needed */
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: center;
  color: #2f4858;
  height: auto;
}

.close {
  position: absolute;
  top: 0px;
  right: 15px;
  color: #fd828e;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-img {
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  width: 200px;
  height: auto; /* Allow height to scale with image aspect ratio */
  max-height: 300px; /* Ensure image doesn't get too large */
}

.modal-nav-button {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
  padding: 8px 16px;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 10px;
  color: #2f4858;
  background-color: white;
  --bs-btn-hover-color: #2f4858;
}

.modal-nav-button:hover {
  background-color: #2f4858;
  color: white;
}

.close:hover,
.close:focus {
  color: #f44d5f;
  text-decoration: none;
  cursor: pointer;
}

.mentor-wrapper {
  position: relative;
  width: 100%;
  height: auto; /* Allow height to adjust based on content */
  overflow: hidden; /* Prevent overflow of mentor content */
  height: 608px;
}

.mentor-content {
  position: absolute;
  top: 0;
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Hidden from view */
}

.mentor-content.active {
  transform: translateX(0%);
  opacity: 1; /* Visible */
  visibility: visible; /* Visible */
}

.mentor-content.previous {
  transform: translateX(-100%);
  opacity: 0; /* Hidden */
  visibility: hidden; /* Hidden from view */
}

.mentor-content.exit-left {
  left: -100%; /* Move out to the left */
  opacity: 0; /* Fade out */
}

.mentor-content.exit-right {
  left: 100%; /* Move out to the right */
  opacity: 0; /* Fade out */
}

@media only screen and (min-device-width: 360px) and (max-device-width: 768px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 32px;
  }

  h1.title {
    font-size: 2.5rem;
  }

  h2.title {
    font-size: 2rem;
  }

  h3.title {
    font-size: 1.5rem;
  }

  .body {
    font-size: 1rem;
  }

  #strong {
    font-weight: 700;
  }

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

  .skills {
    text-align: center;
  }

  .small {
    font-size: 9px;
  }

  .job-title {
    font-size: 16px;
  }

  .employer {
    font-size: 20px;
  }

  .underline {
    text-decoration: underline;
  }

  .btn {
    padding: 8px;
  }

  .nav-link {
    padding: 0px 8px;
    font-size: 12px;
    margin: 0 4px;
  }
  .custom-size-icon {
    font-size: 56px;
    width: 56px;
    height: 56px;
  }
}
