/* General Styles */


body {
    font-family: Georgia, serif;
    margin: 0;
    margin-bottom: 75px;
    padding: 0px;
    background-color: #2a5f5fc4; 
}

header {
    margin-top: 30px;
    text-align: left;
    margin-bottom: 30px;
    margin-left: 30px;
    margin-right: 30px;
    border-bottom: solid;
    border-width: 1.5px;
}

h1 {
    color: white; 
    font-family: Georgia, serif;
}

h2{
  padding: 20px;
  border-bottom: solid;
  border-width: 1px;
}

p{
    width: 100%;
    text-align: center;
    font-family: Georgia, serif;
}

footer {
    text-align: center;
    margin-left: 0px;
    left: 0px;
    right: 0px;
    margin-right: 60px;    
    bottom: 0px;
    position: fixed;
    width: 100%;
    height: 75px;
    background-color: #2a5f5fc4;
}

.linkedin-link a {
    color: #2074b2; 
    text-decoration: none;
    display: flex;
    align-items: center; 
}

.linkedin-link a i {
    margin-right: 5px;
    font-size: 20px;
}

.number {
    width: 80vw;
    margin: 10px;
    background-color: #f0f0f0;  
    border-radius: 5px;
    scroll-snap-align: center;
    position: relative; 
}

.number img {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    border-radius: 5px;}


.overlay h2 {
    color: #333; 
}




section{
    text-align: center;
}

/* Adjusted styles for side navigation */
.sidenav {
  height: 100%;
  width: 20%;
  position: fixed;
  z-index: 2; /* Ensure the side navigation is above the overlay */
  top: 0;
  left: -20%; /* Initially hidden */
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  font-size: 20%;
}

/* Styles for links within side navigation */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px; /* Default font size */
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* Media queries for smaller screens */
@media screen and (max-width: 800px) {
  .sidenav a {
    padding: 10%;
    font-size: 500%; /* Adjust font size for smaller screens */
  }
}

@media screen and (max-width: 500px) {
  .sidenav a {
    padding: 10%;
    font-size: 300%; /* Adjust font size for smaller screens */
  }
}

/* Hover effect for links within side navigation */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Close button style */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}


#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  transition: background-color 0.3s; /* Smooth transition for background color */
  z-index: 1; /* Ensure the overlay is behind the side navigation */
  display: none; /* Initially hidden */
}


.tl-container {
  height: 100px; /* Set a reasonable initial max-height */
  width: 100%;
  overflow: hidden; /* Hide overflow content */
  transition: height 1.5s, width 1.5s,padding 1.5s; /* Transition for height*/
  background-color: #2a5f5f96;
  border-style: solid;
  border-color: whitesmoke;
  border-width: 1px 1px 0px 1px;
  padding: 0px;
  margin-top: 0px;
}

.tl-container:hover {
  height: 300px; /* Increase max-height on hover */
  background-color: #2a5f5f; /* Change background color on hover */
  overflow: scroll;
  width: 100%;

}

.tl-container:hover::-webkit-scrollbar {
  display: none;
}


.main-image {
  width: 80%;
  margin-right: 10%;
  margin-left: 10%;
  border-radius: 5%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


.content{
  text-align: center;
}

.timeline{
  text-align: center;
  align-items: center;
  margin: 20px;
}

.main-body{
  padding-bottom: 100px;
  box-sizing: border-box;
}

.column {
  float: left;
  width: 50%;
  padding: 10px;
}
.column-right{
  align-items: center;
  text-align: center;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.row{
    padding-bottom: 50px;
    padding-top: 50px;
}

.between-rows{
  margin-left: 5%;
  width: 90%;
  border-bottom: solid;
  border-bottom-width: 1px;
  border-color: darkgray;
}

.progress-container {
  position: relative;
  width: 80%;
  margin-left: 10%;
  margin-top: 10px;
}

.progress-container p {
  position: absolute;
  top: -10px; /* Adjust this value to position the heading as desired */
  left: 0;
  color: lightgray;
}

progress {
  border-radius: 7px; 
  width: 100%; /* Adjust this value to control the width of the progress bar */
  height: 30px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

progress::-webkit-progress-bar {
  background-color: #2a5f5f96;
  border-radius: 7px;
}

progress::-webkit-progress-value {
  background-color: #1c4242;
  border-radius: 7px;
}

.column-left h2{
  padding-left: 0%;
  border-style: none;
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.column-left h3{
  padding-left: 10%;
  margin-top: 0px;
  margin-bottom: 0px;
}

.column-left p{
  padding-left: 20%;
  text-align: left;
  margin: 0px;
}

.education-era{
  padding-bottom: 20px;
  border-bottom: solid 1px;
  margin-left: 10%;

}

.content h2{
  margin-left: 10%;
  margin-right: 10%;
}

.message-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 20%;
  margin-right: 20%;
}

.message-box {
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  height: 100px; /* Adjust as needed */
  margin-bottom: 20px;
  resize: none; /* Prevent resizing */
  background-color: #f5f5f5; /* Lightish grey */
  border: 1px solid #ccc; /* Border color */
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  color: #333; /* Text color */
}

.message-box, button {
  border: none;
  border-radius: 5px;
  padding: 10px;
}

button {
  background-color: #ccc; /* Default button color */
  color: black;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #6a6a6a; /* Button color on hover */
  color: white;
}

.email-message-div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-box {
  width: 100%;
  max-width: 400px; /* Adjust as needed */
  margin-bottom: 20px;
  border: 1px solid #ccc; /* Border color */
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
}

.email-box:focus,
.message-box:focus {
  outline: none; /* Remove outline on focus */
}

