* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.indented {
  text-indent: 40px;
}

.quotes-indented {
  margin-left: 40px;
  margin-right: 40px;
}

html {
  scroll-behavior: smooth;
}

/* ------ -------- -------- ------- ------- ------- ---*/
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.nav {
  --bs-nav-link-padding-x: 1rem;
  --bs-nav-link-padding-y: 0.5rem;
  --bs-nav-link-font-weight: ;
  --bs-nav-link-color: red;
  --bs-nav-link-hover-color: red;
  --bs-nav-link-disabled-color: red;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  font-family: Arial, Helvetica, sans-serif;
}

.nav-link {
  font-family: Arial, Helvetica, sans-serif;
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  /* color: var(--bs-nav-link-color); */
  text-decoration: none;
  /* transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; */
}

@media (prefers-reduced-motion: reduce) {
  .nav-link {
    transition: none;
  }
}

.nav-link:hover,
.nav-link:focus {
  color: var(--bs-nav-link-hover-color);
}

.nav-link.disabled {
  color: var(--bs-nav-link-disabled-color);
  pointer-events: none;
  cursor: default;
}

.navbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0.5rem;
  --bs-navbar-color: rgba(0, 0, 0, 0.55);
  --bs-navbar-hover-color: rgba(0, 0, 0, 0.7);
  --bs-navbar-disabled-color: rgba(0, 0, 0, 0.3);
  --bs-navbar-active-color: rgba(0, 0, 0, 0.9);
  --bs-navbar-brand-padding-y: 0.3125rem;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-brand-color: rgba(1, 1, 0, 0.9);
  --bs-navbar-brand-hover-color: rgba(1, 1, 0, 0.9);
  --bs-navbar-nav-link-padding-x: 0.5rem;
  --bs-navbar-toggler-padding-y: 0.25rem;
  --bs-navbar-toggler-padding-x: 0.75rem;
  --bs-navbar-toggler-font-size: 1.25rem;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  --bs-navbar-toggler-border-color: rgba(0, 0, 0, 0.1);
  --bs-navbar-toggler-border-radius: 0.375rem;
  --bs-navbar-toggler-focus-width: 0.25rem;
  --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
  font-family: Arial, Helvetica, sans-serif;
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-sm,
.navbar>.container-md,
.navbar>.container-lg,
.navbar>.container-xl,
.navbar>.container-xxl {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: var(--bs-navbar-brand-padding-y);
  padding-bottom: var(--bs-navbar-brand-padding-y);
  margin-right: var(--bs-navbar-brand-margin-end);
  font-size: var(--bs-navbar-brand-font-size);
  color: var(--bs-navbar-brand-color);
  text-decoration: none;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--bs-navbar-brand-hover-color);
}

.navbar-nav {
  --bs-nav-link-padding-x: 0;
  --bs-nav-link-padding-y: 0.5rem;
  --bs-nav-link-font-weight: ;
  --bs-nav-link-color: var(--bs-navbar-color);
  --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
  --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-nav .show>.nav-link,
.navbar-nav .nav-link.active {
  color: var(--bs-navbar-active-color);
}

.navbar-nav .dropdown-menu {
  position: static;
}

.navbar-toggler {
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: var(--bs-navbar-color);
  background-color: transparent;
  border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
  border-radius: var(--bs-navbar-toggler-border-radius);
  transition: var(--bs-navbar-toggler-transition);
}

@media (prefers-reduced-motion: reduce) {
  .navbar-toggler {
    transition: none;
  }
}

.navbar-toggler:hover {
  text-decoration: none;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: var(--bs-navbar-toggler-icon-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

/* For screens up to 576px (extra small devices) */
@media (max-width: 576px) {
  .navbar {
    background-color: rgb(40,40,40) !important;
  }

  .navbar-brand {
    font-size: 60%;
    margin-left: 30px;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem; /* Smaller padding */
    font-size: 0.8rem; /* Smaller font size */
    width: 4rem; /* Adjust width as needed */
    height: 3rem; /* Adjust height as needed */
  }

  .navbar-toggler-icon {
    width: 0.75rem; /* Smaller icon width */
    height: 0.75rem; /* Smaller icon height */
  }
}

/* For screens between 577px and 768px (small devices) */
@media (min-width: 577px) and (max-width: 768px) {
  .navbar {
    background-color: rgb(40,40,40) !important;
  }

  .navbar-brand {
    font-size: 0.8rem;
    margin-left: 30px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem; /* Smaller padding */
    font-size: 1rem; /* Adjust font size */
    width: 4.5rem; /* Adjust width as needed */
    height: 3.2rem; /* Adjust height as needed */
  }

  .navbar-toggler-icon {
    width: 0.9rem; /* Adjust icon width */
    height: 0.9rem; /* Adjust icon height */
  }
}

/* For screens between 769px and 992px (medium devices) */
@media (min-width: 769px) and (max-width: 992px) {
  .navbar {
    background-color: rgb(40,40,40) !important;
  }

  .navbar-brand {
    font-size: 0.8rem;
    margin-left: 30px;
  }

  .navbar-toggler {
    padding: 0.5rem 1rem; /* Standard padding */
    font-size: 1.125rem; /* Standard font size */
    width: 5rem; /* Adjust width as needed */
    height: 3.4rem; /* Adjust height as needed */
  }

  .navbar-toggler-icon {
    width: 1rem; /* Standard icon width */
    height: 1rem; /* Standard icon height */
  }
}

/* Specific adjustments for positioning the toggler on screens between 993px and 1200px */
@media (min-width: 993px) and (max-width: 1200px) {
  .navbar-toggler {
    display: none; /* Hide the toggler on larger screens */
  }
}



/* For screens between 1201px and 1400px (extra large devices) */
@media (min-width: 1201px) and (max-width: 1400px) {
  .navbar-toggler {
    display: none; /* Hide the toggler on larger screens */
  }
}

/* For screens larger than 1400px */
@media (min-width: 1401px) {
  .navbar-toggler {
    display: none; /* Hide the toggler on larger screens */
  }
}


/* Additional Custom Styles */
#mainNav {
  min-height: 3rem;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.75rem;
  color: #64a19d;
  border: 1px solid #64a19d;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

#mainNav .navbar-brand {
  color: #000;
  font-weight: 700;
  padding: 0.9rem 0;
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(#fff, 80%);
  outline: none;
  background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}

/* Adjustments for screens between 993px and 1200px */
@media (min-width: 993px) and (max-width: 1200px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    position: absolute;
    z-index: 3;
  }

  #mainNav .navbar-brand {
    padding: 0.5rem 0;
    font-size: 2.5em; /* Adjust size as needed */
    color: #fff;
  }

  #mainNav .nav-link {
    transition: none;
    padding: 1rem 0.75rem; /* Adjust padding as needed */
    color: rgba(255, 255, 255, 0.7); /* Adjust color as needed */
  }

  #mainNav.navbar .navbar-nav .nav-item {
    padding: 0;
  }

  #mainNav .nav-link:hover {
    background-color: transparent;
    color: inherit;
  }
}

/* Adjustments for screens between 1201px and 1400px */
@media (min-width: 1201px) and (max-width: 1400px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    position: absolute;
    z-index: 3;
  }

  #mainNav .navbar-brand {
    padding: 0.5rem 0;
    font-size: 3em; /* Adjust size as needed */
    color: #fff;
  }

  #mainNav .nav-link {
    transition: none;
    padding: 1.5rem 1rem; /* Adjust padding as needed */
    color: rgba(255, 255, 255, 0.7); /* Adjust color as needed */
  }

  #mainNav.navbar .navbar-nav .nav-item {
    padding: 0;
  }

  #mainNav .nav-link:hover {
    background-color: transparent;
    color: inherit;
  }

  #mainNav .navbar-toggler {
    display: none; /* Hide the toggler button */
  }

  #mainNav .navbar-collapse {
    display: flex !important; /* Show the menu */
  }
}

/* Adjustments for screens larger than 1401px */
@media (min-width: 1401px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    position: absolute;
    z-index: 3;
  }

  #mainNav .navbar-brand {
    padding: 0.5rem 0;
    font-size: 4em; /* Adjust size as needed */
    color: #fff;
  }

  #mainNav .nav-link {
    transition: none;
    padding: 2rem 1.5rem; /* Adjust padding as needed */
    color: rgba(255, 255, 255, 0.5); /* Adjust color as needed */
  }

  #mainNav.navbar .navbar-nav .nav-item {
    padding: 0;
  }

  #mainNav .nav-link:hover {
    background-color: transparent;
    color: inherit;
  }

  #mainNav .navbar-toggler {
    display: none; /* Hide the toggler button */
  }

  #mainNav .navbar-collapse {
    display: flex !important; /* Show the menu */
  }
}

/* --- ------ -- -------- ------- ------ ------- -----*/
.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  font-size: 6rem;
  text-decoration: none;
  white-space: nowrap;
}


.navbar-brand:hover,
.navbar-brand:focus {
  color: rgba(0, 0, 0, 0.9);
}

.nav-link {
  text-decoration: none;
  /* Remove underline */
  padding: 8px 13px;
  /* Add padding for better spacing */
  position: relative;
  /* Allow positioning for the pseudo-element */
  color: #000;
  /* Text color */
}

.nav-link::after {
  content: "";
  /* Required for pseudo-element */
  display: block;
  /* Make it a block element */
  width: 100%;
  /* Full width under the text */
  height: 2px;
  /* Thickness of the underline */
  background-color: red !important;
  /* Color of the underline */
  position: relative;
  /* Position relative to the link */
  left: 0;
  /* Align to the left */
  margin-bottom: -20px;
  /* Position below the text */
  transform: scaleX(0);
  /* Initially hidden */
  transition: transform 0.3s ease;
  /* Smooth transition */
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Ensure the parent element is positioned relatively */
.nav-item.dropdown {
  position: relative;
}

/* Hide the language links by default */
.lang-menu {
  list-style-type: none;
  /* Remove bullet points */
  padding: 0;
  /* Remove default padding */
  margin: 0;
  /* Remove default margin */
  display: none;
  /* Hide the language links */
  position: absolute;
  /* Position the dropdown */
  top: 100%;
  /* Position it below the "Language" text */
  left: 50%;
  /* Center the dropdown horizontally */
  transform: translateX(-50%);
  /* Adjust the position to center align */
  background-color: rgb(40,40,40);
  /* Background color */
  border-radius: 5px;
  /* Rounded corners */
  z-index: 1000;
  /* Ensure it's on top */
  text-align: center;
  /* Center text alignment */
  min-width: 100px;
  /* Minimum width to fit the content */
}

/* Show the language links on hover */
.nav-item.dropdown:hover .lang-menu {
  display: block;
  /* Show the language links */
}

.lang-link {
  color: #fff;
  /* Text color */
  text-decoration: none;
  /* Remove underline */
  padding: 5px 10px;
  /* Add padding for better spacing */
  border: 1px solid #fff;
  /* Border color */
  border-radius: 5px;
  /* Rounded corners */
  transition: background 0.3s, color 0.3s;
  /* Smooth transition */
  display: block;
  /* Display as block to stack vertically */
}

/* Hover effect for lang-link */
.lang-link:hover {
  color: rgb(255, 98, 0);
  /* Change text color on hover */
}

.lang-menu a {
  color: white;
  text-decoration: none;
  padding: 8px;
  display: block;
}

.lang-menu a.active {
  color: rgb(255, 98, 0); /* Highlight color for the active language */
  font-weight: bold;
}


/* Align the language dropdown properly */
.nav-item.dropdown .dropdown-menu {
  padding: 0;
  /* Remove default padding */
  border: none;
  /* Remove border */
  background: none;
  /* Remove background */
  box-shadow: none;
  /* Remove box shadow */
}

#page-top {
  background-color: rgb(40,40,40);
  margin-right: 0 !important; 
  padding-right: 0 !important;
}

/* Title: Gannett Peak */
.bordered-text {
  font-size: 3.2rem;
  color: #2777bd; /* color of blue flame */
  margin-left: -3rem;
  -webkit-text-stroke: 2px black;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
}

.bordered-text-menu {
  font-size: 1.5rem;
  color: rgba(250, 250, 250, 0.9);
  text-shadow: 3px 3px 4px #000000;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
  .lang-menu {
    left: 12%;
    /* Align center horizontally */
    transform: translateX(-50%);
    /* Center the dropdown */
  }
}

@media (max-width: 576px) {
  .bordered-text {
    font-size: 2.7rem !important;
  }

  .lang-menu {
    left: 16%;
    /* Align center horizontally */
    transform: translateX(-50%);
    /* Center the dropdown */
  }
}

@media (max-width: 440px) {
  .bordered-text {
    font-size: 2.21rem !important;
  }

  .lang-menu {
    left: 17%;
    /*Align center horizontally */
    transform: translateX(-50%);
    /* Center the dropdown */
  }
}

@media (max-width: 375px) {
  .bordered-text {
    font-size: 1.95rem !important;
  }

  .lang-menu {
    left: 20%;
    /*Align center horizontally */
    transform: translateX(-50%);
    /* Center the dropdown */
  }
}

.index-header {
  background-image: url(assets/top-page.JPG);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 50px 0;
  color: #ffffff;
  position: relative;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Center all content vertically */
  align-items: center;
  height: 100vh; 
}

.index-header  #index-header-1 {
  font-size: 5em;
  letter-spacing: 0.3em;
  margin: 9rem 0 14rem;
  background: linear-gradient(90deg, orange, red);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, serif;
}

.index-header #index-header-2, 
.index-header #index-header-3 {
  font-size: 4em;
  margin: 0.5rem 0;
  font-family: Georgia, serif;
  -webkit-text-stroke: 1px black;
  font-weight: bold;
}

.index-header #index-header-2 {
  /* color: rgb(222, 47, 47); */
  color: #D4AF37; 
  letter-spacing: 0.1em;
}

.index-header #index-header-3 {
  color: #2777bd;
}


/* Responsive Design */
@media (max-width: 1400px) {
  .index-header #index-header-1 {
    font-size: 4.5em;
    margin: 7rem 0 12rem;
  }
  .index-header #index-header-2, 
  .index-header #index-header-3 {
    font-size: 3.5em;
  }
}

@media (max-width: 1200px) {
  .index-header #index-header-1 {
    font-size: 4em;
    margin: 6rem 0 10rem;
  }
  .index-header #index-header-2, 
  .index-header #index-header-3 {
    font-size: 3em;
  }
}

@media (max-width: 992px) {
  .index-header #index-header-1 {
    font-size: 3.7em;
    margin: 5rem 0 8rem;
  }
  .index-header #index-header-2, 
  .index-header #index-header-3 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .index-header {
    height: 90vh;
  }
}

@media (max-width: 576px) {
  .index-header {
    height: 70vh;
  }

  .index-header #index-header-1 {
    font-size: 3em;
    margin: 5rem 0 6rem;
  }
  .index-header #index-header-2, 
  .index-header #index-header-3 {
    font-size: 2em;
  }
}

@media (max-width: 440px) {
  .index-header {
    height: 50vh;
  }
  .index-header #index-header-1 {
    font-size: 2.5em;
    margin: 3rem 0 4rem;
  }
  .index-header #index-header-2, 
  .index-header #index-header-3 {
    font-size: 2em;
  }

  .index-header #index-header-2 {
    letter-spacing: 0.05em;
  }
}

@media (max-width: 375px) {
  .index-header #index-header-1 {
    font-size: 2em;
    margin: 2rem 0 2rem;
  }
  .index-header #index-header-2, 
  .index-header #index-header-3 {
    font-size: 1.7em;
  }

  .index-header #index-header-2 {
    letter-spacing: 0em;
  }
}


/* Catch Phrase */
.catch-phrase-class {
  display: flex;
  place-items: center;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
  height: 100vh; /* Adjust this value if needed */
}

#catch-phrase {
  min-width: 300px; /* Set the minimum width you want */
  max-width: 80%; /* Limit the maximum width to make it responsive */
  color: white;
  border: 4px solid white;
  display: grid;
  gap: 1rem; /* Space between the lines */
  padding: 1rem;
  box-sizing: border-box;
  text-align: center; /* Center the text inside the div */
}

#catch-phrase h2 {
  position: relative;
  letter-spacing: 0.15em;
  font-size: 3.5rem;
  /* font-family: 'Apple Chencery', cursive; */
  font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
}

/* Project Section */
.index-projects-section .featured-text {
  padding: 2rem;
}

.index-projects-section .project-text {
  padding: 3rem;
  font-size: 1.5rem;
}

#index-project-h4, 
#index-global-h4 {
  font-size: 3.2rem;
}

@media (min-width: 992px) {
  .index-projects-section .featured-text {
    padding: 0 0 0 2rem;
    border-left: 0.5rem solid #64a19d;
  }

  .index-projects-section .project-text {
    padding: 5rem;
  }
}


.project-text:hover {
  background-color: var(--bs-link-hover-color);
  transform: scale(1);
  color: #ffffff;
}

.project-text h4,
.project-text p {
  transition: color 0.3s;
}

.project-text:hover h4,
.project-text:hover p {
  color: #ffffff;
}


/* About Me Section */
.index-about-section {
  padding: 20px;
  margin-top:180px;
  margin-bottom: 50px;
}

#about .content #my-name {
  color: white;
  position: relative;
  font-size: 3.5em;
  margin-top: -0.25rem;
}

#about .content #description-of-me,
#about .content #description-of-me-2 {
  color: white;
  margin-top: 2rem;
  font-size: 1.8em;
  position: relative;
  text-indent: 40px;
}

.photo-of-me {
  width: 100%;
  height: auto;
  padding-top: 1.5rem;
}

/* LinkedIn Log */
.linkedin-logo {
  margin-bottom: 2rem;
  margin-top: 3px;
  position: relative;
  display: block;
  text-align: left;
  text-decoration: none;
}

.linkedin-logo img {
  margin-top: 5px;
  position: relative;
  width: 60px;
  height: auto;
  transition: transform 0.3s;
}

.linkedin-logo:hover img {
  transform: scale(1.1);
}

/* Contact Section */ 
#index-contact .contact {
  background-image: url(assets/index-contact-bg.jpg);
  margin: 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  padding-bottom: 30px;
  padding: 20px;
}


#index-contact #contact-heading {
  padding-top: 45px;
  padding-left: 110px;
  color: rgb(255, 98, 0);
  font-size: 3.2rem;
  text-align: left;
}

#index-contact .contact .form-group {
  margin-bottom: 0;
  text-align: left;
}

#index-contact .contact label {
  color: rgb(255, 98, 0);
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.8em;
}

#index-contact .contact input,
#index-contact .contact textarea {
  border: 1.5px solid black;
  padding: 0.8em;
  width: 100%;
  border-radius: 5px;
  font-size: 1.1em;
  background: #fff;
  color: black;
}

#index-contact .contact textarea {
  height: 100px;
  /* Adjust height for textarea if needed */
}

@media (max-width: 1350px) and (min-width: 992px) {
  #index-project-h4, 
  #index-global-h4 {
    font-size: 2.8rem;
  }

  .index-about-section {
    padding: 10px;
    margin-top:130px;
    margin-bottom: 40px;
  }

  #about .content #description-of-me,
  #about .content #description-of-me-2 {
    font-size: 1.8em;
    text-indent: 30px;
  }
}
@media (max-width: 992px) {
  #catch-phrase {
    max-width: 90%;
    padding: 1rem;
  }

  #catch-phrase h2 {
    font-size: 3rem;
  }

  .index-about-section {
    padding: 5px;
    margin-top: 100px;
    margin-bottom: 30px;
  }

  .index-projects-section .project-text {
    font-size: 1.7rem;
  }

  #index-contact #contact-heading {
    font-size: 3rem;
  }
  
  #about .content #my-name {
    font-size: 3em;
  }

  #about .content #description-of-me,
  #about .content #description-of-me-2 {
    font-size: 1.7em;
    text-indent: 30px;
  }

  #index-contact #contact-heading,
  #contact-p {
    padding: 0 80px;
  }

  .contact-form-wrapper {
    width: 70%; 
    padding: 15px;
  }
}

@media (max-width: 768px) {
  #index-project-h4, 
  #index-global-h4 {
    font-size: 2.6rem;
  }

  .index-about-section {
    padding: 0px;
  }
  #catch-phrase {
    max-width: 97%;
    padding: 0.85rem;
  }

  #catch-phrase h2 {
    font-size: 2.75rem;
  }

  .index-projects-section .project-text {
    font-size: 1.7rem;
  }

  #about .content #my-name {
    margin-top: 0.9rem;
    font-size: 2.8em;
  }

  #about .content #description-of-me,
  #about .content #description-of-me-2 {
    font-size: 1.7em;
    text-indent: 25px;
  }

  .linkedin-logo img {
    width: 55px;
    height: auto;
  }

  #index-contact #contact-heading,
  #contact-p {
    padding: 0 60px;
  }
  .contact-form-wrapper {
    width: 80%;
    padding: 15px;
  }
}

@media (max-width: 576px) {
  #index-project-h4, 
  #index-global-h4 {
    font-size: 2.4rem;
  }

  #catch-phrase {
    max-width: 95%;
    padding: 0.75rem;
  }

  #catch-phrase h2 {
    font-size: 2.5rem;
  }

  .index-projects-section .project-text {
    font-size: 1.3rem;
  }

  #index-contact #contact-heading {
    font-size: 2.6rem;
  }
  
  #index-contact .contact label {
    font-size: 1.5rem;
  }

  #about .content #my-name {
    margin-top: 0.8rem;
    font-size: 2.8em;
  }

  #about .content #description-of-me,
  #about .content #description-of-me-2 {
    font-size: 1.3em;
    text-indent: 20px;
  }

  .linkedin-logo img {
    width: 50px;
    height: auto;
  }

  #index-contact #contact-heading,
  #contact-p {
    padding: 0 0px;
  }
  .contact-form-wrapper {
    width: 90%;
    padding: 10px;
  }
}

@media (max-width: 440px) {
  #index-project-h4, 
  #index-global-h4 {
    font-size: 2.2rem;
  }

  #catch-phrase {
    max-width: 100%;
    padding: 0.5rem;
  }

  #catch-phrase h2 {
    font-size: 2rem;
  }

  .index-projects-section .project-text {
    font-size: 1.2rem;
  }

  #about .content #my-name {
    margin-top: 0.8rem;
    font-size: 2.4em;
  }

  #about .content #description-of-me,
  #about .content #description-of-me-2 {
    font-size: 1.2em;
    text-indent: 10px;
  }

  .linkedin-logo img {
    width: 45px;
    height: auto;
  }

  #index-contact #contact-heading,
  #contact-p {
    padding: 0 0px;
  }
  .contact-form-wrapper {
    width: 95%;
    padding: 10px;
  }
}

@media (max-width: 375px) {
  #index-project-h4, 
  #index-global-h4 {
    font-size: 1.95rem;
  }

  #catch-phrase {
    max-width: 100%;
    padding: 0.25rem;
    padding-top: 30px;
  }

  #catch-phrase h2 {
    font-size: 1.75rem;
  }

  #index-contact #contact-heading {
    font-size: 2.4rem;
  }
  
  #index-contact .contact label {
    font-size: 1.5rem;
  }

  #about .content #my-name {
    margin-top: 0.7rem;
    font-size: 2.2em;
  }

  #about .content #description-of-me,
  #about .content #description-of-me-2 {
    text-indent: 5px;
  }

  .linkedin-logo img {
    width: 45px;
    height: auto;
  }

  #index-contact #contact-heading
  #contact-p {
    padding: 0 0px;
  }
  
  .contact-form-wrapper {
    width: 100%;
    padding: 5px;
  }
}

/* ****************************************************************** */
/* projects.html */
#page-body-projects {
  color: #fff;
  background-color:rgb(40,40,40);
}

.projects-bg-color {
  color: #fff;
}


.projects-section {
  padding: 0 100px;
  margin-bottom: 60px;
  display: none; 
}

.projects-header {
  margin-top: 100px;
  margin-bottom: 30px;
  padding: 0 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.projects-header h1 {
  color: rgb(255, 98, 0);
  font-size: 3.2rem;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 20px;
  float: right;
}

.social-link-container {
  display: flex;
  align-items: center;
}

.social-icon {
  width: 60px; 
  height: auto;
  transition: transform 0.3s;
  object-fit: contain;
}

.social-icon:hover {
  transform: scale(1.1);
}

#projects-linkedin {
  padding-top: 7px;
}

/* Project List  */
.projects-list-section {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Space between each project */
  width: 100%;
  padding: 0 100px;
  border-radius: 5px;
}

.projects-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 30px;
}

.projects-list-image {
  flex: 1 1 33.33%;
  padding-right: 40px;
  height: 25%; 
}

.projects-list-image img {
  width: 100%; 
  height: auto;
  max-height: 280px; 
  border: 1px solid;
  border-radius: 1.3%;
  border-color: white;
}

.projects-list-details {
  width: 66.66%; /* 2/3 of the screen */
}

.projects-list-name {
  font-size: 2.4rem;
  margin: 0 0 15px 0;
  color: #2777bd;
}

.projects-list-position-period {
  font-size: 1.7rem;
  font-style: italic;
}

.projects-list-summary {
  padding-top: 10px;
  font-size: 1.7rem;
  margin: 0;
  color: white;
}

.learn-link {
  padding: 15px 0;
  object-fit: contain;
  text-align: left;
}

.learn-more {
  color: rgb(255, 98, 0);
  text-decoration: none;
  transition: transform 0.3s;
  font-size: 1.7rem;
  display: inline-block;
  justify-content: center; 
  transform-origin: center; 
}

.learn-more:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .projects-list {
      flex-direction: column;
      align-items: center;
  }

  .projects-list-image,
  .projects-list-details {
      width: 100%; /* Full width for smaller screens */
      padding-right: 0;
  }

  .projects-list-image {
      padding-right: 0;
      margin-bottom: 15px; /* Space between image and text on small screens */
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .projects-header {
    margin-top: 100px;
    margin-bottom: 30px;
    padding: 0 70px;
  } 

  .projects-header h1 {
    font-size: 3rem;
  }

  .projects-list-section {
    padding: 0 70px;
  }

  .projects-list {
    margin-bottom: 30px;
  }

  .projects-list-image {
    padding-right: 35px;
  }

  .projects-list-name {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
  }

  .projects-list-position-period {
    font-size: 1.7rem;
  }

  .projects-list-summary {
    font-size: 1.7rem;
  }

  .learn-more {
    font-size: 1.7rem;
  }

  .learn-link {
    padding: 15px 0;
  }
}

@media (max-width: 768px) {
  .projects-header {
    margin-top: 100px;
    margin-bottom: 30px;
    padding: 0 40px;
  } 

  .projects-list-section {
    padding: 0 40px;
  }

  .projects-list {
    margin-bottom: 20px;
  }

  .projects-list-image {
    padding-right: 25px;
  }

  .projects-list-name {
    font-size: 2.2rem;
    margin: 0 0 12px 0;
  }

  .projects-list-position-period {
    font-size: 1.7rem;
  }

  .projects-list-summary {
    font-size: 1.7rem;
  }

  .learn-more {
    font-size: 1.7rem;
  }

  .learn-link {
    padding: 12px 0;
  }
}

@media (max-width: 576px) {
  .projects-header {
    margin-top: 100px;
    margin-bottom: 30px;
    padding: 0 20px;
  } 

  .projects-list-section {
    padding: 0 20px;
  }

  .projects-list {
    margin-bottom: 25px;
  }

  .projects-list-image {
    padding-right: 0;
  }

  .projects-list-name {
    font-size: 2rem;
    margin: 0 0 12px 0;
  }

  .projects-list-position-period {
    font-size: 1.3rem;
  }

  .projects-list-summary {
    font-size: 1.3rem;
  }

  .learn-more {
    font-size: 1.3rem;
  }

  .learn-link {
    padding: 10px 0;
  }
}

@media (max-width: 440px) {
  .projects-header {
    padding: 0 15px;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .projects-header h1 {
    font-size: 2.6rem;
  }

  .projects-list-section {
    padding: 0 15px;
  }

  .projects-list {
    margin-bottom: 18px;
  }

  .projects-list-image {
    padding-right: 0;
  }

  .projects-list-name {
    font-size: 2rem;
    /* margin: 0 0 10px 0; */
  }

  .projects-list-position-period {
    font-size: 1.2rem;
  }

  .projects-list-summary {
    font-size: 1.2rem;
  }

  .learn-more {
    font-size: 1.2rem;
  }

  .learn-link {
    padding: 8px 0;
  }

  .social-links {
    float: none; /* Remove float */
    margin-top: 10px; /* Space above social links */
    justify-content: center; /* Center align social icons */
  }

  .social-link-container {
    margin-top: 10px; /* Space between header and social links */
  }
}

@media (max-width: 375px) {
  .projects-header {
    padding: 0 10px;
  }

  .projects-header h1 {
    font-size: 2.4rem;
  }

  .projects-list-section {
    padding: 0 10px;
  }

  .projects-list {
    margin-bottom: 10px;
  }

  .projects-list-image {
    padding-right: 0;
  }

  .projects-list-name {
    font-size: 2rem;
    margin: 0 0 8px 0;
  }

  .learn-link {
    padding: 8px 0;
  }
}

/* -------------- */


.projects-name {
  padding-bottom: 20px;
  /* font-size: 2.2rem; */
  font-style: bold;
}

.projects-title {
  color: #2777bd; /* Blue flame*/
  font-size: 2.4rem;
}

.projects-position-period {
  font-size: 1.7rem;
  font-style: italic;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 20px;
  /* or any desired padding */
  height: 280px;
  /* You can also set a height for the container if needed */
  overflow: hidden;
}

.WHR-media {
  object-fit: fill;
  display: block;
  width: auto;
  height: 280px;
  padding-bottom: 20px;
}

.WHR-title {
  font-size: 1.8rem;
  color: rgb(255, 98, 0);
}

.WHR-content {
  font-size: 1.7rem;
  padding-bottom: 20px;
}

.USLI-launch-video {
  display: flex;
  justify-content: center; /* Centers the video horizontally */
  align-items: center; /* Centers vertically (optional) */
  padding: 1rem;
}

.USLI-launch-full-movie {
  max-width: 450px;  
  height: auto;       
  object-fit: fill;
}

.behind-scenes-title {
  color: rgb(255, 98, 0);
  font-size: 1.8rem;
  padding: 1rem 0rem;
}

.behind-scenes-desc {
  font-size: 1.7rem;
  margin-bottom: 40px;
}

.CAD-machining-media {
  padding: 30px;
}

.CAD-machining-media img, 
.CAD-machining-media video {
  object-fit: fill;  
  justify-content: center; 
  width: 100%;        
  max-height: 250px;        
}

.news-link {
  font-size: 1.7rem;
  color: #CFB87C;
  margin-top: 15px;
  margin-bottom: 20px;
  display: inline-block;  /* This is necessary to perform the transform*/
  transition: transform 0.3s ease;
}

.news-link:hover {
  transform: scale(1.05);
}

.skills-title {
  font-size: 1.8rem;
  color: rgb(255, 98, 0);
}

.skills-list {
  font-size: 1.7rem;
}

.pdf-container {
  width: 80%;
  height: 600px;
  border: 1px solid #ccc;
  margin: 30px auto;
  margin-top: 60px;
  margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
  .pdf-container {
    width: 90%;
    height: 500px;
  }
}

@media screen and (max-width: 576px) {
  .pdf-container {
    width: 100%;
    height: 450px;
  }
}

@media screen and (max-width: 440px) {
  .pdf-container {
    width: 95%;
    height: 400px;
  }
}

@media screen and (max-width: 375px) {
  .pdf-container {
    width: 80%;
    height: 350px;
  }
}


/* Responsive Design */
@media (max-width: 1350px) and (min-width: 993px) {
  .projects-position-period {
    font-size: 1.4rem;
  }
  
  .WHR-content {
    font-size: 1.4rem;
    padding-bottom: 20px;
  }
  
  .behind-scenes-desc {
    font-size: 1.4rem;
    margin-bottom: 40px;
  }
  
  .skills-list {
    font-size: 1.4rem;
  }

  .news-link {
    font-size: 1.4rem;
  }
}

@media (max-width: 992px) {
  .projects-section {
    padding: 0 70px;
  }

  .projects-header {
    margin-top: 0px;
  }

  .projects-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 0 40px;
  }
  
  .WHR-content {
    padding-bottom: 20px;
  }
  
  .behind-scenes-title {
    padding: 1rem 0;
  }
  
  .behind-scenes-desc {
    margin-bottom: 40px;
  }
  
  .social-icon {
    width: 55px; 
    height: auto;
  }
}

@media (max-width: 576px) {
  .projects-section {
    padding: 0 20px;
    margin-bottom: 30px;
  }
  
  .projects-name {
    padding-bottom: 20px;
  }
  
  .projects-title {
    font-size: 2rem;
  }

  .projects-position-period {
    font-size: 1.3rem;
  }

  .WHR-title {
    font-size: 1.6rem;
  }
  
  .WHR-content {
    font-size: 1.3rem;
    padding-bottom: 20px;
  }
  
  .behind-scenes-title {
    font-size: 1.6rem;
    padding: 1rem 0;
  }
  
  .behind-scenes-desc {
    font-size: 1.3rem;
    margin-bottom: 40px;
  }
  
  .skills-title {
    font-size: 1.6rem;
  }
  
  .skills-list {
    font-size: 1.3rem;
  }

  .news-link {
    font-size: 1.3rem;
  }

  .social-icon {
    width: 50px; 
    height: auto;
  }
  
}

@media (max-width: 440px) {
  .projects-section {
    padding: 0 15px;
    margin-bottom: 25px;
  }

  .projects-name {
    padding-bottom: 18px;
  }
  
  .projects-position-period {
    font-size: 1.2rem;
  }

  .WHR-title {
    font-size: 1.5rem;
  }

  .WHR-content {
    font-size: 1.2rem;
    padding-bottom: 18px;
  }
  
  .behind-scenes-title {
    font-size: 1.5rem;
    padding: 0.9rem 0;
  }
  
  .behind-scenes-desc {
    font-size: 1.2rem;
    margin-bottom: 35px;
  }

  .skills-title {
    font-size: 1.5rem;
  }
  
  .skills-list {
    font-size: 1.2rem;
  }
  
  .news-link {
    font-size: 1.2rem;
  }

  .social-icon {
    width: 40px; 
    height: auto;
  }
}

@media (max-width: 375px) {
  .projects-section {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  
  .projects-name {
    padding-bottom: 15px;
  }
  

  .WHR-content {
    padding-bottom: 15px;
  }
  
  .behind-scenes-title {
    padding: 0.8rem 0;
  }
  
  .behind-scenes-desc {
    margin-bottom: 30px;
  }
  

  .social-icon {
    width: 45px; 
    height: auto;
  }
}


/* ****************************************************************** */
/* Global Page */
#page-body-global {
  /* background-color: var(--bs-gray-400); */
  background-color: rgb(40,40,40);
}

.svg-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: rgb(60, 60, 77);
}

#global {
  justify-content: center;
  align-items: center;
  overflow-y: hidden;
  overflow-x: hidden;
}

/* #country-box {
  margin-top: 65px;
  display: flex;
  flex-direction: column; 
  padding-left: 15px;
  font-size: 1.5rem;
  align-items: flex-start; 
  width: fit-content;
  height: auto;
  text-align: left;
}

.box-line {
  display: flex;
  flex-direction: none;
  flex-wrap: nowrap;
}

#country-box h4,
#country-box h5 {
  display: inline-block;
} */

#country-box {
  margin-top: 65px;
  display: flex;
  /* flex-direction: column; Stack lines vertically */
  padding-left: 15px;
  font-size: 1.5rem;
  align-items: flex-start; /* Align items to the start */
  width: fit-content;
  height: auto;
  text-align: left;
}

.box-line {
  display: flex; /* Display elements in line */
  flex-wrap: nowrap; /* Prevent wrapping within each line */
}

#country-box h4,
#country-box h5 {
  display: inline-block;
}

#box-text {
  color: white;
  padding-right: 7px;
}

#pinked-country-text {
  color: rgb(246, 179, 246);
  padding-right: 28px;
}

#pinked-country-text-2 {
  /* padding-left: 28px; */
  padding-right: 7px;
  color: pink;
  /* font-size: 1.2rem; */
}

#box-text-2 {
  color: white;
  /* font-size: 1.2rem; */
}


svg {
  margin: 0;
  padding:0;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

svg path {
  cursor: pointer;
}

/* Countries that I have been */
#Canada,
#Egypt,
#India,
#Italy,
#Portugal,
#United-Kingdom,
#Czech-Republic,
#Hungary,
#Austria,
#Crotia,
#Greece,
#Australia,
#New-Zealand,
#Andora {
  fill: pink;
}

/* Countries that I have been plus some comments */
#Japan,
#United-States,
#Switzerland,
#Spain,
#France,
#Netherlands,
#Jordan,
#Israel,
#Palestine,
#Morocco,
#Mexico,
#Bolivia,
#Chile {
  fill: rgb(246, 179, 246);
}

/* Hover effect for selected countries */
.selected-country {
  fill: var(--bs-link-hover-color) !important; /* #3f80b9 - color of blue frame */
  stroke: red;
  stroke-width: 4px;
  transition: fill 0.3s;
}


/* Timeline */
/* https://mdbootstrap.com/docs/standard/extended/timeline/ */

/* The actual timeline (the vertical ruler) */
.main-timeline-2 {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline-2::after {
  content: "";
  position: absolute;
  width: 3px;
  background-color: #2777bd;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline-2 {
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline-2::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -11px;
  background-color: #2777bd;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left-2 {
  padding: 0px 40px 20px 0px;
  left: 0;
}

/* Place the container to the right */
.right-2 {
  padding: 0px 0px 20px 40px;
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left-2::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right-2::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right-2::after {
  left: -14px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .main-timeline-2::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline-2 {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline-2::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left-2::after,
  .right-2::after {
    left: 18px;
  }

  .left-2::before {
    right: auto;
  }

  /* Make all right containers behave like the left ones */
  .right-2 {
    left: 0%;
  }
}

.country-link {
  display: block; /* Ensure the <a> tag covers the entire area */
  text-decoration: none; /* Remove the underline from the link */
}

.card-body {
  font-family: Arial, Helvetica, sans-serif !important;
}

.card {
  transition: transform 0.3s ease; /* Optional: Add a transition effect */
}

.card:hover {
  transform: scale(1.03); /* Optional: Slightly scale up on hover for a visual effect */
}

.timeline-date {
  margin-top: 5px;
  font-size: 1.2rem;
}


#country-name {
  position: relative;
  text-align: center;
  background-color: rgb(255, 255, 255);
  width: fit-content;
  height: 2.5rem;
  opacity: 0;
  border: 3px solid #64a19d;
  font-size: 1.5rem;
}

.flag-size {
  font-size: 2rem;
}

.active-content {
  display: block;
  /* Show the active content section */
}

.country-content {
  display: none;
  margin: 0;
  padding: 0;
}

.country-content-header {
  color: rgb(255, 98, 0);
  font-size: 4rem;
  padding-left: 20px;
  padding-top: 10px;
  margin-bottom: 20px;
}

.country-content-subheader {
  color: rgb(255, 98, 0);
  font-size: 2rem;
  padding-left: 20px;
  margin-bottom: 20px;
  width: fit-content;
}

.country-content-text {
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px;
  margin-bottom: 20x;
  color: white;
  font-size: 1.6rem;
}

.country-quotes {
  font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
  font-size: 1.8rem;
  color: white;
  text-align: center;
  padding: 35px 0px;
  margin: 20px 50px;
}
.country-title {
  color: rgb(255, 98, 0);
  font-size: 2.4rem;
  padding-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: fit-content;
}

.country-img-1 .country-img-3 {
  margin: 0;
  padding: 0;
  padding-right: 40px;
  width: 100%;
  height: auto;
}

.country-img-2 {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}

.container-fluid.px-0 {
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.col-12.col-md-6.p-0 {
  padding: 0;
}

.country-hashtag {
  margin: 20px;
  font-size: 1.6rem;
  color: rgb(255, 98, 0);
}

.back {
  margin-top: 20px;
  margin-right: 30px;
  margin-bottom: 20px;
  object-fit: contain;
  text-align: right;
}

.back-to-timeline {
  color: rgb(255, 98, 0);
  text-decoration: none;
  transition: transform 0.3s;
  font-size: 1.6rem;
  display: inline-block;
  justify-content: center; 
  transform-origin: center; 
}
.back-to-timeline:hover {
  transform: scale(1.1);
}

/* Swiss */
/* Bullet Points */
.country-content-bp {
  display: grid;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1.6rem;
  border: 4px rgb(255, 98, 0) solid;
  padding: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-left: 20px;
  margin-right: 20px;
  color: white;
}

#swiss-img-3 {
  width: 100%; 
  height: auto;
}

/* France */
#country-img-france-workaway {
  display: block;
  justify-content: center;
  align-items: center;
  width: auto;
}

.text-france-workaway-DIY {
  margin-top: 30px;
}

/* For the five images */
#img-france-workaway-DIY {
  margin-top: 30px;
  margin-bottom: 70px;
}

/* Morocco */
#morocco-map {
  display: block;
  justify-content: center;
  width: 100%;
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 0px;
}

#morocco-map-caption {
  color: white;
  margin-right: 20px;
  margin-top: -25px;
  margin-bottom: 20px;
}

#morocco-last-p {
  margin-bottom: 30px;
}

/* US */
.beauty-of-america {
  display: block;
  margin-left: 30px;
  margin-top: 50px;
  margin-bottom: 30px;
}

#us-mountain-img {
  object-fit: fill;
  display: block;
  width: auto;
  height: 300px;
}

.us-mountain-name {
  color: #2777bd; /* Blue flame */
  text-align: center;
  margin-top: 20px;
}

.us-mountain-note {
  color: white;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 40px;
}

/* Image Slider */
.slider-container {
  position: relative;
  overflow: hidden;
  width: auto;
  height: 300px;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
}

.wrapper-holder {
  display: flex;
  width: 100%;
  height: 100%;
}

.slider-img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* Hide all images by default */
}

.slider-img.active {
  display: block; /* Show only the active image */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  background-color: transparent;
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 100;
  transform: translateY(-50%);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Bolivia */
#tiwanaku-row img {
  width: 100%;
  height: 300px; 
  object-fit: cover;
}

#atacama-row img  {
  width: 100%;
  height: 300px; 
  object-fit: cover;
}

@media (max-width: 992px) {
  #country-box {
    margin-top: -40px;
  }

  .country-content-header {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .country-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  #country-box {
    margin-top: -40px;
  }

  .country-content-text {
    font-size: 1.3em;
  }

  .country-title {
    font-size: 2.0rem;
  }
  
  .back-to-timeline {
    font-size: 1.3rem;
  }

  .country-content-bp {
    font-size: 1.3rem;
  }

  .country-quotes {
    font-size: 1.5rem;
  }
}

@media (max-width: 440px) {
  #country-box {
    margin-top: -40px;
    flex-direction: column;
  }

  #country-box h4,
  #country-box h5 {
    display: block;
  }

  .country-content-text {
    font-size: 1.2em;
  }
  
  .back-to-timeline {
    font-size: 1.2rem;
  }

  .country-content-bp {
    font-size: 1.2rem;
  }

  .country-quotes {
    font-size: 1.4rem;
  }
}

@media (max-width: 375px) {
  #country-box {
    margin-top: -40px;
    flex-direction: column;
  }

  #country-box h4,
  #country-box h5 {
    display: block;
  }
  
  .country-content-header {
    font-size: 2.4em;
  }

  .country-quotes {
    font-size: 1.2rem;
  }
}

/* ****************************************************************** */
/* Contact.html */
#page-body-contact {
  background-color: rgb(40,40,40);
}

.contact-header h1 {
  margin-top: 100px;
  margin-bottom: 25px;
  padding: 0 100px;
  color: rgb(255, 98, 0);
  font-size: 3.2rem;
}

#contact-p {
  padding: 0 100px;
}

#contact-subheading-1 {
  position: relative;
  color: white;
  font-size: 2rem;
  line-height: 45px;
}

#contact-subheading-2 {
  /* color: rgb(255, 98, 0); */
  color: #2777bd;
  font-weight: bold;
  -webkit-text-stroke: 0.8px black;
  font-size: 2rem;
  line-height: 45px;
  margin-bottom: 40px;
}

#contact-linkedin {
  width: 60px; 
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.3s;
  object-fit: contain;
}

#contact-linkedin:hover {
  transform: scale(1.1);
}

#contact-linkedin a {
  display: flex;
  align-items: center;
}

#contact-section .contact {
  /* background-image: url(assets/contact-photo.JPG); */
  background-image: url('assets/contact-photo.jpg');
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  /* text-align: center; */
  position: relative;
  padding-top: 70px;
  padding-bottom: 30px;
}

.contact-form-wrapper {
  background-color: rgba(128, 128, 128, 0.8); /* White with 80% opacity */
  padding: 20px;
  border-radius: 10px; /* Optional: to give the box rounded corners */
  width: 50%;
  margin: auto;
  margin-bottom: 70px;
}

.contact p {
  line-height: 27px;
  color: white;
  margin: auto;
}

.contact form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7em;
  width: 100%;
  max-width: 600px;
  margin: auto;
  margin-bottom: 50px;
}

#contact-section .contact label {
  color: rgb(255, 98, 0);
  font-size: 1.8rem;
  margin-bottom: 0.4em;
}

.contact input,
.contact textarea {
  border: none;
  padding: 0.8em;
  width: 100%;
  border-radius: 5px;
  font-size: 1.1em;
  background: #eee;
  color: black;
  /* border: 2px #3f80b9 solid; */
  border: 2px white solid;

}

.contact textarea {
  resize: none;
  height: 15em;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: var(--bs-gray-500);
}

.contact button {
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  padding: 0.8em;
  background-color: rgb(255, 98, 0);
  color: white;
  border-radius: 8px;
  font-size: 1.2em;
  transition: 0.3s;
  justify-self: end;
  /* Align button to the right side of the form */
}

.contact button:hover {
  /* background-color: var(--bs-my-color); */
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .contact-header h1 {
    margin-top: 0;
    font-size: 3rem;
  }

  .contact-header h1,
  #contact-p {
    padding: 0 70px;
  }

  .contact-form-wrapper {
    width: 70%; 
    padding: 15px;
  }

  #contact-subheading-1,
  #contact-subheading-2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .contact-header h1 {
    margin-top: 0;
  }
  .contact-header h1,
  #contact-p {
    padding: 0 40px;
  }
  .contact-form-wrapper {
    width: 80%;
    padding: 15px;
  }

  #contact-subheading-1,
  #contact-subheading-2 {
    font-size: 1.7rem;
  }

  #contact-linkedin {
    width: 55px; 
    height: auto;
  }
}

@media (max-width: 576px) {
  .contact-header h1 {
    margin-top: 0;
    font-size: 3rem;
  }

  .contact-header h1,
  #contact-p {
    padding: 0 20px;
  }
  .contact-form-wrapper {
    width: 90%;
    padding: 10px;
  }

  #contact-subheading-1,
  #contact-subheading-2 {
    font-size: 1.5rem;
  }

  #contact-linkedin {
    width: 50px; 
    height: auto;
  }

  #contact-section .contact label {
    font-size: 1.5rem;
  }
}

@media (max-width: 440px) {
  .contact-header h1 {
    margin-top: 0;
    font-size: 2.6rem;
  }

  .contact-header h1,
  #contact-p {
    padding: 0 15px;
  }

  .contact-form-wrapper {
    width: 95%;
    padding: 10px;
  }

  #contact-subheading-1,
  #contact-subheading-2 {
    font-size: 1.5rem;
  }

  #contact-linkedin {
    width: 45px; 
    height: auto;
  }
}

@media (max-width: 375px) {
  .contact-header h1 {
    margin-top: 0;
    font-size: 2.4rem;
  }

  .contact-header h1,
  #contact-p {
    padding: 0 10px;
  }
  
  .contact-form-wrapper {
    width: 100%;
    padding: 10px;
  }

  #contact-subheading-1,
  #contact-subheading-2 {
    font-size: 1.35rem;
  }

  #contact-linkedin {
    width: 45px; 
    height: auto;
  }
}