/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.topnav {
  display: flex;
  flex-direction: row;
  background-color: rgba(93, 93, 93, 0.79);
  overflow: hidden;
  padding: 10px;
}

.vertical-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.home-text .vertical-stack {
  justify-content: center;
}

.horizontal-stack {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  justify-content: space-between;
  align-content: center;
}

.projects h1 {
  margin-bottom: 5px;
}

ul {
  margin-left: 0;
}

.button-housing {
  padding: 2px;
}

.download {
  display: flex;
  justify-content: center;
  align-content: center;
  cursor: pointer;
  padding: 10px 45px;
  margin: 15px 15vw;
  border-radius: 15px;

  color: #f2f2f2;
  background-color: #328d3d;
  border: none;
}

.image {
  border: 14px white;
}

.more-info-link {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #1a5020;
  margin: 4px;
  padding: 5px;
  font-size: 20px;
  line-height: 0.9;

  box-shadow: rgba(0, 0, 0, 0.85);

  text-decoration: none;

  transition: background-color 0.6s, color 0.6s;
}

.more-info-link p {
  margin: 2px;
}

.more-info-link a {
  text-decoration: none;
  color: white;
  width: available;

}

.more-info-link a, a:visited, a:active {
  color: white;
}



.more-info-link:hover {
  background-color: white;
  color: black;
}


.project label {
  font-size: 14px;
  margin-top: 5px;
  padding: 4px;


}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;

}

.download:hover {
  box-shadow: none;
  background-color: white;
  color: black;


  transition: background-color 0.6s, color 0.6s;
}

.download h4 {
  float: left;

  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;

}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;

  transition: background-color 0.2s, color 0.2s;

}



/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 3px;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #328D3DFF;
  color: white;

}

.site {
  font-family: "Avenir Next", serif;

  background-image: linear-gradient(rgba(0, 87, 0, 0.2), rgba(0, 87, 0, 0.6)), url("icon.png");

  background-position: center;
  background-size: cover;
  position: relative;
  background-repeat: no-repeat;

  margin: 0;
  height: 100vh; /* Set height to 100% of viewport height */
  width: 100%; /* Set width to 100% of the viewport width */
  overflow: hidden; /* Optional: hide overflow if needed */

}

.home {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;

  padding: 10px;

  text-align: center;

}



.home-text {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  min-height: 80vh;

  color: white;

}



.skills {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  color: white;
}

.skills h4 {
  text-align: center;
}

.about-me {
  padding: 10px;

  color: white;
}

.home-text h1 {
  font-size: 65px;
  margin: 0;
  padding: 3px;
}

.home-text p {
  font-size: 35px;
}

.social-link-bar {

  padding: 15px 10px;
}

.work {
  color: white;
}

.project {
  color: white;
}

.project .vertical-stack {
  justify-content: space-between;
  height: available;
}

.projects h3 {
  margin: 3px;

}

.social-link {
  background-color: #328D3DFF;
  text-align: center;
  align-content: center;
  padding: 10px 15px;
  font-size: 30px;

  transition: background-color 0.6s, color 0.6s;

}

.social-link a {
  text-decoration: none;
  color: white;
}

.social-link a, a:visited, a:active {
  color: white;
}

.social-link i {
  display: inline-block;
  horiz-align: center;
  vertical-align: center;
}

.social-link:hover {
  background-color: white;
  color: black;

}

.more-arrow {
  padding-top: 45px;
  animation: bounce 2s infinite;

  font-size: 25px;
}

.scrollable-container {
  display: block;
  max-height: 100vh;

  padding: 5px 15px; /* Add padding to the container */
  overflow-y: auto; /* Enable vertical scrolling */
  width: 85%; /* Set the width of the container */

  margin: 5px auto; /* Center the container horizontally and set it so you can see the bottom part of the margain*/
}

/* Hide scrollbar for Firefox */
.scrollable-container::-webkit-scrollbar {
  width: 0.5em;
}

.scrollable-container::-webkit-scrollbar-thumb {
  background-color: transparent;
}

/* Hide scrollbar for IE, Edge, and Safari */
.scrollable-container {
  -ms-overflow-style: none;
  scrollbar-width: thin;
}

.projects .container {
  background-color: #328D3DFF;
  padding: 20px;
  margin: 10px;

}

.container {
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.85);
  transition: background-position 0.2s;

}


.home .container {

  background-color: #328D3DFF;
  padding: 20px;

}

.course {
  margin: 10px;
  background-color: rgba(128, 128, 128, 0.5);
  padding: 20px;
  border-radius: 10px;

  flex-direction: column;
  justify-content: center;
  display: flex;
}

.course h5 {
  margin: 3px 0;
}

.course p {
  font-size: 14px;
}

.resume .container {
  background-color: #328D3DFF;
  padding: 20px;
  margin: 25px 10px;
}

.project-button {
  text-align: center;
  padding: 5px;
  margin: 15px;

  border-radius: 2px;

  background-color: white;
  color: black;
  border: black;

  transition: background-color 0.5s, color 0.5s;
}

.project-button:hover {
  background-color: black;
  color: white;
}

.home .horizontal-stack {
  padding: 3px 10px;
}



@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.work .title {
  font-size: 19px;
  margin-bottom: 1px;
  font-weight: bold;
}

.work .subtitle {
  font-size: 15px;
  margin-bottom: 3px;
}



.active {
  display: block;
}

.projects .active {
  display: flex;
}

.non-active {
  display: none;
}

