/* Version: 1.0.8 */
body {
  background-color: rgb(23, 23, 23);
  color: aliceblue;
  margin: 0;
  padding: 0;
  width: 100%;
  padding-bottom: 20vh;
}

.secondary_body {
  background-color: #26354a;
  margin: 0;
  padding: 0;
  width: 100%;
}

nav ul {
  height: 200px;
  width: 80%;
  overflow: hidden;
  overflow-y: scroll;
}

.footer {
  position: fixed;
  margin-top:10vh;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: aliceblue;
  text-align: center;
  z-index: 2;
}

@font-face {
  font-family: "do_gothiclight";
  src: url("../fonts/Do\ Gothic\ Light.ttf") format("woff2"),
    url("../fonts/Do\ Gothic\ Light.ttf") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tab {
  overflow: hidden;
  border: 1px solid #445e83;
  background-color: #26354a;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 2em;
  display: flex;
  justify-content: space-around;
}

.tab button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 22px;
  color: aliceblue;
  padding: 14px 16px;
  transition: 0.4s;
}

.topnav {
  overflow: hidden;
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
}

.topnav a {
  display: inline;
  color: aliceblue;
  text-align: center;
  float: right;
  padding: 1.5vh 3vw;
  text-decoration: none;
  font-size: 22px;
  line-height: 22px;
  transition-duration: 0.4s;
}

.topnav a:hover {
  color: #4c8de8;
  cursor: pointer;
}

.topnav a.active {
  color: #4c8de8 !important;
  font-weight: 900;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

.animated {
  background-position: left top;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

.hidden {
  visibility: hidden;
}

svg {
  fill: #17141d;
  stroke-width: 2px;
}

.card:hover .stroke {
  stroke-dashoffset: 100;
  transition: 0.6s ease-out;
}

header .icon {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-left: 1em;
}

header {
  width: 100%;
  height: 50px;
  padding: 1em 0;
  position: relative;
  text-align: center;
  color: aliceblue;
  background: #445e83;
  box-shadow: rgb(23, 23, 23);
  border-radius: 5px 5px 0 0;
}

footer {
  bottom: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  font-size: 12px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: aliceblue;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #e0e0e3;
  color: #4a536e;
}

.content > p,
.content > div {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

.content > p table td,
.content > div table td {
  padding: 5px;
}

.content > p table td:first-child,
.content > div table td:first-child {
  font-weight: bold;
  color: #4a536e;
  padding-right: 15px;
}

.content > div p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.waves {
  position: fixed;
  width: 100vw;
  min-height: 60px;
  left: 0;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
  h1 {
    font-size: 24px;
  }
}

table {
  width: 70%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  color: aliceblue;
}

thead {
  font-size: 26px;
}

tbody {
  font-size: 18px;
}

th,
td {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
}

tbody tr:nth-child(odd) {
  background-color: rgb(50, 50, 50);
}

.home-name {
  font-size: 48px;
  font-weight: bolder;
  padding: 10vh 0 .5vh;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-tagline {
  display: block;
  font-size: 20px;
  font-weight: 300;
  color: #9ca3af;
  margin-top: 0.5em;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

@media (min-width: 768px) {
  .home-tagline {
    display: inline-block;
    margin-left: 0.75rem;
    margin-top: 0;
    font-size: 22px;
  }
}

.home-text {
  font-size: 24px;
  font-weight: bold;
  padding: 0;
  padding: 1vh 0 6vh;
  text-align: center;
  max-width: 800px;
  text-align: center;
}

.server-container {
  background: transparent;
  margin: 0;
  padding: 0;
}

.server-icon {
  margin: auto;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center center;
  right: 30px;
  background-size: 30px 30px;
  background-color: rgb(23, 23, 23);
  border-radius: 25px;
  transition: border-radius 0.5s;
}

.server-icon:hover {
  border-radius: 15px;
  filter: opacity(0.9) drop-shadow(0 0 0 blue) saturate(1000%);
}

.low_waves {
  transition: bottom 1.3s;
  bottom: 5vh;
}

.high_waves {
  transition: bottom 1.3s;
  bottom: 100vh;
}

.low_wave {
  transition: bottom 1.3s;
  height: 100vh;
  bottom: -94vh;
}

.high_wave {
  transition: bottom 1.3s;
  height:100vh;
  bottom:0vh;
}

.linkedin {
  background-image: url("../icons/linkedin.png");
}

.email {
  background-image: url("../icons/email.png");
}

.github {
  background-image: url("../icons/github.png");
}

.project {
  margin: 5vh auto;
  color: aliceblue;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  max-width: 800px;
}

.project .title {
  font-size: 48px;
  line-height: 48px;
  font-weight: bolder;
  cursor:pointer;
}

.project .date {
  font-size: 24px;
  line-height: 24px;
  margin-top: -28px;
  float:right;
  opacity: 50%;
  font-weight: lighter;
}

.project .desc {
  margin-top: 12px;
  line-height: 24px;
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 12px;
}

@media screen and (max-width: 900px) {
  .home-name {
    font-size: 42px;
    padding: 10vh 0 2vh;
  }
  
  .home-tagline {
    font-size: 18px;
    margin-top: 0.4em;
  }
  
  .home-text {
    font-size: 22px;
    padding: 0 20px;
  }
  
  .project {
    margin: 4vh auto;
    padding: 0 20px;
  }
  
  .project .title {
    font-size: 38px;
    line-height: 42px;
  }
  
  .project .desc {
    font-size: 20px;
    line-height: 28px;
  }
}

@media screen and (max-width: 600px) {
  .home-name {
    font-size: 36px;
    padding: 8vh 0 2vh;
  }
  
  .home-tagline {
    font-size: 16px;
    margin-top: 0.3em;
    display: block;
    margin-left: 0;
  }
  
  .home-text {
    font-size: 18px;
    padding: 0 15px;
  }
  
  .project {
    margin: 3vh auto;
    padding: 0 15px;
  }
  
  .project .title {
    font-size: 32px;
    line-height: 36px;
  }
  
  .project .date {
    font-size: 18px;
    line-height: 18px;
    margin-top: -24px;
  }
  
  .project .desc {
    font-size: 18px;
    line-height: 24px;
  }
}

.category-header {
  font-size: 36px;
  /*! font-weight: heavy; */
  padding: 1vh 0 7vh;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  background-color: transparent;
  border-radius: 0;
  color: aliceblue;
}

.category-container {
  text-align: center;
  margin: 20px auto;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  margin: 15px auto 30px;
  max-width: 1000px;
  text-align: center;
}

button.skill-tag {
  background-color: rgba(68, 94, 131, 0.8);
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: aliceblue !important;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  outline: none;
  min-width: 120px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button.skill-tag:hover {
  background-color: rgba(68, 94, 131, 1);
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

button.skill-tag:active {
  transform: translateY(1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  background-color: rgba(68, 94, 131, 0.9);
}

button.skill-tag:focus {
  outline: none;
  box-shadow: 0px 0px 0px 3px rgba(76, 141, 232, 0.4);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .skill-tags {
    gap: 10px;
    padding: 0 15px;
  }
  
  .skill-tag {
    padding: 10px 16px;
    font-size: 14px;
    min-width: 100px;
  }
}

@media screen and (max-width: 480px) {
  .skill-tags {
    gap: 8px;
    padding: 0 10px;
  }
  
  .skill-tag {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 90px;
  }
}

/* Projects container */
.projects {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

.project .title {
  font-size: 48px;
  line-height: 48px;
  font-weight: bolder;
  cursor: pointer;
  color: aliceblue;
  word-wrap: break-word;
  padding-bottom: 10px;
}



/* No projects message styling */
#no-projects-message {
  text-align: center;
  font-size: 24px;
  color: rgba(173, 216, 230, 0.7);
  margin: 40px auto;
  padding: 20px;
  font-weight: normal;
  font-family: "do_gothiclight", sans-serif;
  max-width: 600px;
}

/* Projects filter UI styling */
.projects-filter {
  max-width: 1000px;
  margin: 30px auto 40px;
  padding: 0 20px;
  text-align: center;
}

.search-and-clear-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#project_search {
  flex: 1;
  max-width: 400px;
  min-width: 250px;
  padding: 12px 20px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background-color: rgba(68, 94, 131, 0.3);
  color: aliceblue;
  font-family: "do_gothiclight", sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

#project_search::placeholder {
  color: rgba(173, 216, 230, 0.7);
}

#project_search:focus {
  border-color: rgba(76, 141, 232, 0.6);
  background-color: rgba(68, 94, 131, 0.5);
  box-shadow: 0px 0px 0px 3px rgba(76, 141, 232, 0.2);
}

.filter-technologies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Filter tech buttons inherit from skill-tag styling */
.filter-tech-btn {
  font-size: 12px !important;
  padding: 6px 12px !important;
  min-width: 80px !important;
}

/* Clear Filters button - matches skill-tag styling */
button.clear-filters-btn {
  background-color: rgba(68, 94, 131, 0.8);
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: aliceblue !important;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  outline: none;
  min-width: 120px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button.clear-filters-btn:hover {
  background-color: rgba(68, 94, 131, 1);
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

button.clear-filters-btn:active {
  transform: translateY(1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  background-color: rgba(68, 94, 131, 0.9);
}

button.clear-filters-btn:focus {
  outline: none;
  box-shadow: 0px 0px 0px 3px rgba(76, 141, 232, 0.4);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  
  #no-projects-message {
    font-size: 20px;
    margin: 30px auto;
    padding: 15px;
  }
  
  .projects-filter {
    margin: 20px auto 30px;
    padding: 0 15px;
  }
  
  .search-and-clear-container {
    gap: 10px;
  }
  
  #project_search {
    font-size: 14px;
    padding: 10px 16px;
    min-width: 200px;
  }
  
  .filter-technologies {
    gap: 8px;
  }
  
  .filter-tech-btn {
    font-size: 11px !important;
    padding: 5px 10px !important;
    min-width: 70px !important;
  }
}

@media screen and (max-width: 480px) {
  
  #no-projects-message {
    font-size: 18px;
    margin: 25px auto;
    padding: 12px;
  }
  
  .projects-filter {
    margin: 15px auto 25px;
    padding: 0 10px;
  }
  
  .search-and-clear-container {
    gap: 8px;
    flex-direction: column;
  }
  
  #project_search {
    font-size: 13px;
    padding: 8px 12px;
    min-width: 180px;
    max-width: 100%;
  }
  
  .filter-technologies {
    gap: 6px;
  }
  
  .filter-tech-btn {
    font-size: 10px !important;
    padding: 4px 8px !important;
    min-width: 60px !important;
  }
}