body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#gurvirsTitle {
    display: flex;
    justify-content: center;
    font-size: 48px; /* Default font size */
    font-weight: bold; /* Make the text bold */
    color: #fff; /* Light color for visibility on dark background */
    text-transform: uppercase; /* Convert text to uppercase */
    letter-spacing: 2px; /* Add some letter spacing for clarity */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a subtle shadow effect */
    margin-bottom: 20px; /* Add some space below the title */
  }
  
  @media screen and (max-width: 768px) {
    #gurvirsTitle {
      font-size: 36px; /* Adjust font size for smaller screens */
    }
  }
  
  @media screen and (max-width: 480px) {
    #gurvirsTitle {
      font-size: 24px; /* Further adjust font size for even smaller screens */
    }
  }
    
#telephone_pic, #email, #github_icon, .icon{
    width: 20px;
    height: 20px;
}

a[href*="github.com"] img {
  width: 20px;
  height: 20px;
}

section {
    padding: 20px;
}

footer {
    color: #fff;
    text-align: center;
    padding: 10px;
    clear: both;
}

/* ===========================
   VIDEO + HEADSHOT SPLIT
=========================== */
#video {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 split */
  align-items: stretch;           /* equal height columns */
  height: 80vh;                   /* fills most of screen height */
  overflow: hidden;
  background: #000;               /* black background behind video */
}

/* Left: YouTube video */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover; /* ensures it covers its half */
}

/* Right: headshot */
.headshot-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills space while maintaining proportions */
  object-position: 50% 10%;/* move up slightly so hair stays visible */
  display: block;
}

/* --- Laptops (adjust slightly if cropping too tight) --- */
@media (min-width: 1024px) and (max-width: 1600px) {
  #video {
    height: 70vh; /* better scaling for laptops */
  }

  .headshot-pic {
    object-position: 50% 5%; /* show a bit more top of head */
  }
}

/* --- Tablets / Mobiles --- */
@media (max-width: 900px) {
  #video {
    grid-template-columns: 1fr;
    height: auto;
  }

  .video-container {
    aspect-ratio: 16 / 9;
  }

  .video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: contain; /* prevents stretching on smaller devices */
  }

  .headshot-pic {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 50% 20%; /* focus more on face when stacked */
  }
}

#degree {
    background-color: #f8f9fa;
}

#offer {
    background-color: #f8f9fa;
}

p {
    line-height: 1.6;
}

.cv-button {
    background-color: #28a745; /* Green */
    border: none;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cv-button:hover {
    background-color: #218838;
}



header {
    background-color: #333;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

nav ul a:hover {
    background-color: #555;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul a {
        padding: 10px;
        width: 100%;
    }
}

a{
    text-decoration: none;
    color: black;
    font-weight: 300;
}

#gradPic{
    width: 50%;
    float: right;
}

#emailInput {
    width: 20%;
}

#queryMsg {
    width: 30%;
    padding-bottom: 5%;
}

/* Media Queries for responsive design */
@media (max-width: 768px) {
    #emailInput {
        width: 50%; /* Adjust the width for smaller screens */
    }

    #queryMsg {
        width: 70%; /* Adjust the width for smaller screens */
    }
}

.companyLogo {
  width: 5em; 
  height: 5em;
  object-fit: contain; 
}



#CMPLogo, #birdLogo{
    height: 5em;
    cursor: pointer;
}

#stravaLogo{
  width: 10%;
}

footer{
    background-color: white;
}

#tandcs{
    color: black;
}

/* decorated stuff */

#work {
    text-align: center;
    margin-top: 50px;
  }
  
  .childHeader {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: black;
    padding: 20px;
  }
  
  .project_display {
    margin: 20px;
    width: 250px;
  }
  
  .project_display a {
    text-decoration: none;
    color: white; /* Change text color to white */
  }
  
  .project_display img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .project_display .project_title {
    font-size: 20px;
    margin-top: 10px;
    color: white; /* Change text color to white */
  }
  
  .project_display .status {
    color: gray;
    margin-top: 5px;
    color: white; /* Change text color to white */
  }
  
  /* Adjust video size */
  .project_display iframe {
    width: 100%;
    height: 200px; /* Adjust the height as needed */
  }
  
  @media screen and (max-width: 768px) {
    .projects {
      justify-content: space-around;
    }
  
    .project_display {
      width: 250px;
    }
  }
  
/*  */

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: black;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 5px;
  }
  
  /* Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* .updates {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: break-word; 
    word-break: break-word; 
    max-width: 100%;
    box-sizing: border-box; 
    background-color: #4169e1;
    float: left;
    display: block;
} */

.updates {
  margin: 0 auto;
  float: left;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-all;
  background-color: black;
  border: 1px solid #e0dcd5;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  font-family: 'Georgia', serif;  
  line-height: 1.8;
}

#updateMe summary {
  cursor: pointer;
  font-size: 1.7em;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
  text-align: center;
  font-family: 'Times New Roman', serif;
}

.nodeContent {
  background-color: black;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
  border: none;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  overflow: auto;
  font-size: 1.2em;
}

.nodeContent pre {
  background-color: #f7f5eb;
  border-left: 4px solid #b5b0a6;
  font-family: 'Courier New', monospace;
  color: #4a4a4a;
  font-size: 1em;
}

.nodeContent p {
  line-height: 1.8;
  color: #2e2e2e;
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.nodeContent p:first-of-type::first-letter {
  font-size: 3em;
  font-weight: bold;
  float: left;
  margin-right: 8px;
  line-height: 1;
  color: #4a4a4a;
}

.nodeContent:hover {
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.2);
}

#updateMe {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .updates {
      padding: 20px;
      max-width: 100%;
  }

  #updateMe summary {
      font-size: 1.5em;
  }

  .nodeContent {
      padding: 20px;
  }
}

#admin-rights{
  float: right;
}
