:root {
    /* variables */
    --cg-navy: rgb(18, 72, 107);
    --cg-teal: rgb(65, 145, 151);
    --cg-sea: rgb(120, 214, 198);
    --cg-sand: rgb(245, 252, 205);
  }
  
  html {
    height: 100%;
  }
  
  body {
    background: var(--cg-teal);
    position: relative;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  div {
    display: block;
  }
  /* CSS for navigation */
  
  .navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 7%;
    z-index: 10;
  
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
  
    background-color: var(--cg-navy);
    color: var(--cg-sand);
    padding: 0px 0px;
  
    /* Debug border */
    /* border: solid red; */
  }
  
  .nav-list {
    display: flex;
    flex-direction: row;
    position: relative;
    right: 30px;
    list-style: none;
  
    /* Debug border */
    /* border: solid blue; */
  }
  
  .navbar a {
    color: var(--cg-sand);
    font-weight: bold;
    margin: 0 12px;
    text-decoration: none;
    letter-spacing: 2px;
  
    font-family: monospace;
  }
  
  .navbar a:hover {
    color: var(--cg-sea);
    text-decoration: underline;
  }
  
  .navbar a:active {
    color: var(--cg-sea);
  }
  
  .logo a {
    font-family: Georgia;
  }
  
  .logo a:hover {
    text-decoration: None;
  }
  
  main {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  main h1 {
    color: var(--cg-navy);
  }
  
  .page-title {
    display: flex;
    justify-content: center;
    font-size: 40px;
    font-family: Georgia;
  }
  
  /* CSS for portfolio grid */
  .project {
    background-color: white;

    max-width: 85%;

    margin: 5% 10% 2% 10%;
    border-radius: 5px;
    padding: 2%;
    display: flex;
    align-items: center;
  
    /* Debug border */
    /*  */
  }

  
  .project-details {
    font-size: 20px;
    font-family: Georgia;
    padding-left: 30px;
    padding-bottom: 20px;
    color: var(--cg-navy);

  }

  .project-image img{
    width: 250px;
  }
  
  .project-name {
    font-weight: bold;
  }  
  .about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
  }
  .item-link {
    width: 70%;
  
    /* Debug border */
    /* border: 2px solid red; */
  }
  .about-image img {
    max-width: 400px;
    height: 100%;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   
  }

  .about-text h1 {
    font-size: 36px;
    color: var(--cg-sand);
  }
  .about-text {
    flex: 1;
    margin-left: 30px;
  }
  
  .about-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;

  }
  
  .about-text p {
    font-size: 20px;
    line-height: 1.5;
  }

  /* CSS for resume page */
  
  .button {
    background-color: var(--cg-navy);
    border: none;
    color: var(--cg-sand);
  
    font-family: monospace;
  
    padding: 5px 7px;
    text-align: center;
  
    border-radius: 2px;
  }
  
  .button:hover {
    background-color: var(--cg-sea);
  }
  
  .resume h2 {
    font-family: Georgia;
  }
  
  /* CSS for contact form */
  
  label {
    display: block;
    margin-bottom: 8px;
    font-family: Georgia;
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    resize: none;
  }
  
  /* Add some spacing to the form */
  form {
    width: 500px;
    margin: 0 auto;
  }
  
  /* CSS for footer */
  
  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cg-navy);
    color: var(--cg-sand);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
  }
  
  #body {
    opacity: 0;

  }
  .homebody {
    background-image: url("homepic.png");
    background-size: 100%;
  }

  .grad {
    background-image: linear-gradient(to bottom right, rgb(138, 187, 247), rgb(181, 250, 251));
    width:100%;
    height:200px;
    display:flex;
    justify-content: center;
    align-items: center;

  }

  .grad-home {
    background-image: linear-gradient(to bottom right, rgb(138, 187, 247), rgb(181, 250, 251));


  }

  #homepage {
    width: 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 15%;
    padding-left: 10%

  }
  #homepage h1 {
    font-size: 40px;
    font-family: Georgia;
    background-image: linear-gradient(to bottom right, rgb(138, 187, 247), rgb(181, 250, 251));
    background-clip: text;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
  }
  #homepage p{
    font-size: 24px;
    font-family: Georgia;
    color: white;

  }

  .resume-title {

    display: flex;
    flex-direction: column;
  }
  .resume {
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 80px;
    padding: 25px;
    background-color: white;
    height: 150%;
  }
  #contact-form{
    margin-top: 50px;
  }

  #homepage button {

    background-color: var(--cg-navy); /* Green */
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 10px;
    margin-right: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }
  #homepage button:hover {
    background-color: transparent; /* Change the background color on hover */
    color: white; /* Change the text color on hover */
    border: 2px solid var(--cg-navy);

  }
