:root {
  --blue: #9BB2C0;
  --tan: rgb(224, 207, 191);
  --navy: #04111a; 
  --white: #fcfcfc; /*slightly off white*/
  --employmentRounding: 10px;
  --employmentColor: #f7f7f7;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--white);

}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  background-color: var(--tan);
  font-family: "Lexend Deca", sans-serif;
  position: fixed;
  transition: transform 0.4s ease-in-out; /* header drops down in 0.4s*/
  width: 100%;
  z-index: 1000; /* Ensure header is on top */
}

header.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out; /* header retracts in 0.3s*/
}

header h1 a {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Use the same color as the heading */
  display: inline-block; /* Allow transform to work */
  transition: transform 0.3s ease; /* Smooth transition */
}

header h1 a:hover {
  transform: scale(1.1); /* Increase size by 10% */
}

.aboutme {
  background-color: var(--white);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  padding-top: 5%;
  text-align: center; /* Center text horizontally */
}

.aboutme-text {
  text-align: left;
  font-size: 20px;
  padding: 10px;
  max-width: 25%;
  min-width: 220px;
  margin-top:50px;
  font-family: "Lexend Deca", sans-serif;
}

.aboutme-text h3 {
  font-size: 30px; /* Adjust font size for h3 */
  font-weight: bold; /* Make h3 text bold */
  margin-bottom: 10px; /* Add some space below h3 */
  font-family: "Lexend Deca", sans-serif;
}

.aboutme-text p {
  font-size: 80%; /* Adjust font size for p */
  line-height: 1.6; /* Improve readability with line-height */
  font-family: "Inter", sans-serif;
}

.aboutme-img {
  padding: 3%;
  margin: 20px;
  width: 25%; /* Adjust the width of the photo */
  min-width: 200px;
  max-width: 450px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.photo { /*Sets the style of the headshot photo*/
  height: auto; /* Maintain the aspect ratio */
  width: 100%; /* Photo occupies whole width of containing block */
  border-radius: 5px; /* Rounded corners on image */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); /* Drop shadow for photo */
}



/* Code for projects slider*/
.container {
    width: 100%; /*container enclosing flex box is always the exact width of the screen*/
    height: 150vh; /*The normal percentage unit dose not work here */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
  }
  
  
  .slide {
    height: 50%; /*You need to set height as 100% so the forward and back buttons are vertical centered on cards*/
    width: 30%;
    overflow: clip;
    border-radius: 5px; /*rounded corners*/
    /*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); /* Drop shadow for photo */
  }
  
  /*
  Difrent colored slides used for debugging
  .slide1 {
    background: #f3ca63;
  }
  
  .slide2 {
    background: #d06c65;
  }
  
  .slide3 {
    background: #6579d0;
  }
  
  .slide4 {
    background: #65d073;
  }
  
  .slide5 {
    background: #ba65d0;
  }
    */

  /*Added projects section arrows for forward and back buttons*/
  /* Style for the Next and Previous buttons */

  .prev-btn, .btn {
    background-color: rgba(245, 241, 241, 0.39); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Apply the blur effect */
    border: 0.2em solid rgb(0, 0, 0); /* Solid border */
    color: black; /* Solid black color for the arrow */
    border-radius: 50%; /* 5% of the height of the container */
    height: 5vh; /* 5% of the height of the viewport, but the projects slider is sized on viewport height anyways */
    width: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Position absolutely within the container */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for perfect vertical centering */
    cursor: pointer;
    z-index: 10; /* Ensure buttons are above other content */
    transition: transform 0.2s ease; /* Smooth scaling transition */
    transform-origin: center;

    
}


.prev-btn {
  left: 10px; /* Position on the left */
  background-image: url('chevron-left-icon.svg'); /* Path to your SVG file */
  background-size: 25%; /* Adjust the size of the SVG icon */
  background-repeat: no-repeat;
  background-position: 45% 50%; /*this positioning looks more centered than true centered*/
}

.btn {
  right: 10px; /* Position on the right */
  background-image: url('chevron-right-icon.svg'); /* Path to your SVG file */
  background-size: 25%; /* Adjust the size of the SVG icon */
  background-repeat: no-repeat;
  background-position: 55% 50%; /*this positioning looks more centered than true centered*/
}

.prev-btn:hover, .btn:hover {
  transform: translateY(-50%) scale(1.05); /* Swell to 105% of original size without shifting */

  /*need to somehow make the cordinate system of the chevron relative to the button so it's y positoin dose not move when hovering*/
}


.proj-img {
  position: relative;
  height: 100%; /* Allow enough room for 1.1 times scale on hover */
  overflow: hidden; /* Hide any overflow of the proj-photo */
  display: flex; /* Use flexbox to center the image */
  justify-content: center; /* Horizontally center the image */
  align-items: center; /*verticaly center items*/
  filter: saturate(40%);
  transition: transform 0.4s, filter 0.4s ease; /* Smooth scaling and colorize transition */
  font-family: "Lexend Deca", sans-serif;
  font-size: 4vh; /* Adjust font size for h3 */
}

.proj-photo {
  height: 90%; /* Fit the height of the containing box */
  width: auto; /* Maintain the aspect ratio */
  display: block; /* Ensure proper layout behavior */ 
}

.proj-img:hover{
  filter: saturate(100%);
  transform: scale(1.1); /* Swell to 105% of original size without shifting */
  cursor: pointer;
}

.proj-img h1{
  text-align: center; /*Center the text*/
  text-decoration: none; /* Remove underline */
  color: var(--white); /* Use the same color as the heading */
  text-shadow: rgb(75, 75, 75) 2px 2px 2px;
  display: inline-block; /* Allow transform to work */
  position:absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%); /* Center horizontally */
  transition: opacity 0.2s ease; /* Smooth transition */
}

.proj-img:hover h1 {
  opacity: 0; /* Hide the text on hover */
}

.Projects-pannel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;

  font-family: "Lexend Deca", sans-serif;
  position: relative;
  width: auto;
}

.Projects-pannel h1{
  font-size: 30px; /* Adjust font size for h3 */
  font-weight: bold; /* Make h3 text bold */
}
/*bellow content pertains to the footer*/

/*Contains all work experiences*/
.grid-container {
  display: grid;
  grid-template-columns: subgrid; /*Enable collumn information from this grid to be passed to each row grid */
  color: var(--white);
  grid-template-columns: [logo] 15% [tite] 30% [bullet] auto;
  row-gap: 20px;
  width: 85vw;
  padding-left: 5vw;
  padding-right: 5vw;
}


.row-container {
  grid-column: 1 / -1; /* Span all 3 columns */
  display: grid;
  grid-template-columns: subgrid; /* Inherit column divisions from parent grid */
  grid-template-rows: auto;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); /* Add drop shadow */
  border-radius: 10px;
  background-color: var(--employmentColor);
}


/*Styling for job logo section*/
.grid-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;

}

/*Styling for job title section*/
.grid-job-title {
  color: black;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  text-align: left;
  font-family: "Roboto", sans-serif;

}

.grid-job-title h2{
  margin: 2px;

}
.grid-job-title h3{
  margin: 2px;
  font-size: smaller;
  
}
.grid-job-title h4{
  margin: 2px;
  font-size: small;
}

/*Styling for job responsablities section*/
.grid-job-discription {
  color: black;
  display: flex;
  align-items: center; /* Vertically center the text */
  justify-content: flex-start; /* Align text to the left side */
  padding: 10px;
  text-align: left;
  font-family: "Roboto", sans-serif;
}

/*formats the logo for work and school*/
.work-logo{
  width:100%;
}

.employment-or-school{
  text-align: center;
  margin-top: 3vh;
}

.employment-or-school h1{
  font-size: 30px; /* Adjust font size for h3 */
  font-weight: bold; /* Make h3 text bold */
  font-family: "Lexend Deca", sans-serif;
  margin: 40px;
}

.project-content{
  padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1000px;
  font-family: "Roboto", sans-serif;
}

.body-spacing{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proj-content-centering{
  display: flex; 
  height: 100%;
  flex-direction: row; 
  justify-content: center;
  align-items: center;
}

.employment-centering{
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  align-items: center;
}