@import url('https://fonts.googleapis.com/css2?family=Ephesis&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Akronim&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(158deg, rgba(131,58,180,1) 0%, rgba(45,253,29,1) 50%, rgba(48,56,65,1) 100%);
}

.about-section { background-color: #FFFACD; } /* LemonChiffon - Light yellow */
.bg-section-2 { background-color: #ADD8E6; } /* LightBlue - Medium blue for Work Experience */
.bg-section-3 { background-color: #90EE90; } /* LightGreen - Medium green for Projects */
.bg-section-4 { background-color: #FFEFD5; } /* PapayaWhip - Light pink/peach */
.bg-section-5 { background-color: #E6E6FA; } /* Lavender - Light purple */
.bg-section-6 { background-color: #FFDEAD; } /* NavajoWhite - Light orange */
.bg-section-7 { background-color: #F0E68C; } /* Khaki */

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 4px;
  background: #ced4da;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6c757d;
  border: 4px solid #ced4da;
}

.timeline-content {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
}

#languages .table {
  font-size: 1.1rem;
}

#languages .table th {
  font-weight: 700;
}

/* Custom Navbar Toggle */
.custom-toggle {
  border: none;
  background: transparent;
}

.hamburger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
}

.close-icon {
  position: relative;
  width: 25px;
  height: 25px;
}

.close-icon span {
  position: absolute;
  top: 12px;
  left: 0;
  width: 25px;
  height: 3px;
  background-color: red;
}

.close-icon span:first-child {
  transform: rotate(45deg);
}

.close-icon span:last-child {
  transform: rotate(-45deg);
}

.about-me-image {
  border: 5px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
}

/* Contact section */
.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Roboto';
  width: 100%;
  height: 30vh;
  padding: 0 0.8rem;
  background-color: #FFFACD; } /* LemonChiffon - Light yellow */
/*  background: linear-gradient(158deg, rgba(131,58,180,1) 0%, rgba(45,253,29,1) 50%, rgba(48,56,65,1) 100%);
}*/

h2 {
  font-size: 4rem;
  justify-content: center;
  text-align: center;
}

.contact-section-header > p {
  font-style: italic;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contact-details {
  font-size: 1.6rem;
  font-weight: bolder;
  text-decoration: none;
  text-shadow: 2px 2px 1px aqua;
  transition: transform 0.2s ease-out;
}

.contact-details:hover {
  transform: translateY(8px);
}

.footer > div > h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Justify text in sections */
main p,
main li,
.timeline-content p,
.timeline-content li {
  text-align: justify;
}
