.resume{
  font-family: 'Times New Roman', Times, serif;
}
/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Times New Roman", serif;
  margin: 20px;
  font-family: 'Poppins', sans-serif;
}

html{
  scroll-behavior: smooth;
}
#contactDisplay{
  margin-top: 12px;
}

/* Navbar Styling */
.navbar {
  background-color: #3367d6;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 0;
}

.navcontainer {
  width: 97%;
  margin: auto;
  display: flex;
  justify-content:space-between;
  align-items: center;
}
.logo{
  display: flex;
  align-items: center;
}
.logo img {
  max-width: 150px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}

.nav-links li a:hover {
  text-decoration : underline #fff;
}


.navbar-button {
  display: flex;
}

.nav-links li .btn-auth{
  background-color: #fff; /* Orange color */
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  color: black;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links li .btn-auth:hover {
  background-color: #ebf1ff; 
  color: #000;
  text-decoration: none;
}

/* Dropdown menu styling */
.dropdown {
  position: relative;
  transition: all ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  display: none;
  min-width: 200px;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;

}

.dropdown-menu li {
  list-style: none;
  padding: 10px 20px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #1756df; /* Same as navbar background color */
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #ebf1ff;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}




/* Hamburger for Mobile View */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger i {
  font-size: 24px;
}

/* Sidebar Styling */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* Hidden initially */
  width: 250px;
  height: 100%;
  background-color: #fff;
  transition: left 0.3s ease;
  z-index: 999; /* On top of everything */
  padding-top: 30px;
}

.sidebar ul {
  list-style: none;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar ul li a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 0;
}

.sidebar ul li a:hover {
  background-color: #4a7ded;
  padding-left: 10px;
  transition: padding 0.3s ease;
}

/* Show Sidebar when active */
.sidebar.active {
  left: 0;
}

@media screen and (max-width: 768px) {
  .nav-links {
      display: none;
  }

  .hamburger {
      display: block;
      color: white;
  }
}


.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.heading{
  margin-top: 100px;
}

form {
  width: 100%;
  max-width: 600px;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Styling for Education, Experience, and Project sections */
.schoolDisplay, .companyDisplay, .projectTitleDisplay {
  font-weight: bold;
  font-size: 18px;
}

.degreeDisplay, .jobTitleDisplay, .techStackDisplay, .expDurationDisplay, .projectDurationDisplay {
  font-style: italic;
  font-size: 14px;
}
.expDescriptionDisplay, .projectDescriptionDisplay {
  white-space: pre-wrap;
  text-align: left;
}

.resume {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  border: 1px solid #000;
}

h1, p {
  text-align: center;
}

h1 {
  font-size: 28px;
  margin-bottom: -15px;
  margin-top: 5px;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
}

h2 {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  margin-top: 3px;
}

.disclaimer {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  margin-top: 50px;
}

.disclaimer p {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .disclaimer {
    font-size: 12px;
    padding: 10px;
  }
}


/* Button styling */
button {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #3367d6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #2854b5;
}

input, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  height: 100px;
}

.download-btn {
  background-color: #ff7f50;
  margin-left: 25px;
}

.download-btn:hover {
  background-color: #e66a33;
}

#resumeDisplay{

  width: 8.5in;
  height: 11in;
}



#technicalSkillsDisplay p {
  margin: 0; /*Reduce the margin between paragraphs*/
}

#languagesDisplay, #frameworksDisplay, #developerToolsDisplay,#librariesDisplay{
  text-align: left;
}



/* Responsive Design for Letter-sized Page */
#resumeDisplay {
  width: 8.5in;  /* Default for desktop */
  height: 11in;  /* Default for desktop */
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

@media screen and (max-width: 1200px) {
  #resumeDisplay {
    width: 90vw;  /* Set width to 90% of viewport width */
    height: calc(90vw * 11 / 8.5);  /* Maintain aspect ratio of 8.5in x 11in */
  }
}

@media screen and (max-width: 992px) {
  #resumeDisplay {
    width: 80vw;
    height: calc(80vw * 11 / 8.5); /* Maintain aspect ratio */
  }
}

@media screen and (max-width: 768px) {
  #resumeDisplay {
    width: 100vw;  /* Full screen width */
    height: calc(100vw * 11 / 8.5);  /* Maintain aspect ratio */
  }
}

@media screen and (max-width: 480px) {
  #resumeDisplay {
    width: 100vw;
    height: calc(100vw * 11 / 8.5);  /* Maintain aspect ratio */
    padding: 10px;  /* Adjust padding for smaller screens */
  }
}


/* New styles to align the form and resume display side by side */
.resume-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

/* Ensure the form takes around 45% of the available width */
#resumeForm {
  width: 45%;
}

/* Ensure the resume display takes around 45% of the available width */
#resumeDisplay {
  width: 45%;
  margin-left: 20px;
}

/* Adjust for smaller screens */
@media screen and (max-width: 768px) {
  .resume-container {
      flex-direction: column;
      align-items: center;
  }

  #resumeForm, #resumeDisplay {
      width: 100%;
      margin: 0;
  }
}
