body {
  display:flex;
  flex-direction:column;
  align-content:center;
  align-items: center;
}

#devgenspin {
  position: fixed;
  background:none;
  z-index: -1;
  & canvas {
    opacity: .2;
  }
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

.typewrite {
  
  font-family: monospace; 
  /* overflow: hidden; */
  /*text-shadow:rgba(0, 0, 0, 0.5) 2px 2px 10px;*/
  /* white-space: nowrap;  */
  margin: 0 auto;
  letter-spacing: .08em;

}

#intro {
  min-height:180px;
}

.typewrite {
  min-height: 180px;
  align-content: center;
  text-align: center;
}

code {
  color: rgb(231, 76, 60);
}


.terminal-bar {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  height: 30px;
  width: 100%;
  background-color: #222;
  color: #fff;
  font-size: 12px;
  line-height: 30px;
  text-indent: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  justify-content: center;
  & .typewrite {
    min-height:30px;
    align-content: center;
    text-align: center;
    font-weight: bolder;
    color: #4d5154;
  }
}

.codeblock {
  /* background-color: #8a878710; */
  background-color:rgba(44, 44, 44, 0.9);
  border-radius: .25rem;
}

/* .typewrite > .wrap {
  border-right: 0.08em solid
} */
.page-wrapper {
  display:flex;
  justify-content: center;
  width: 90%;
  flex-direction: column;
  align-content: center;
  background:none;
}

.navbar-brand, .nav-link {
  color: black;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.n-section{
  /* height: max-content; */
  align-items: center;

  & .card {
    min-height:270px;
  }
}

.home-content {
  flex-direction: column;
}

.home-content .row {
  margin-left: 0;
  margin-right:0;
}

.home-content .card {
  height:100%;
}

.nav-link {
  margin-right:20px;
}


.nav-link.active {
  color: #18BC9C;
  animation-name: navbar-selected-f-in;
  animation-duration: .5s;
  animation-timing-function: ease-in-out;
}

.f-in-top{
  animation-name: fade-in-top;
  animation-duration: 1s;
  animation-timing-function: ease-out;

}
.f-in-top-1{
  animation-name: fade-in-top-1;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.f-in-top-2{
  animation-name: fade-in-top-2;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.f-in-bottom{
  animation-name: fade-in-bottom;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.f-in-left {
  animation-name: fade-in-left;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.f-in-right {
  animation-name: fade-in-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
}
.f-in {
  animation-name: fade-in;
  animation-duration: .5s;
  animation-timing-function: ease-in-out;
}

.f-in-2 {
  animation-name: fade-in-2;
  animation-duration: .5s;
  animation-timing-function: ease-in-out;
}

.f-out {
  animation-name: fade-out;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
}

@keyframes navbar-selected-f-in {
  0% {
    /* opacity: 0; */
    color:black;
  }
  100% {
    /* opacity: 1; */
    color:#18BC9C;
  }
}

@keyframes smallspreadout {

  0% {
    margin-right:0;
  }
  100%
  {
    margin-right:20px;
  }

}

@keyframes fade-in-top{
  0%{
    opacity:0;
    transform: translate3d(0, -20%, 0);
  }
  100% {
    opacity:1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-top-1{
  0%{
    opacity:0;
    transform: translate3d(0, -20%, 0);
  }
  50%{
    opacity:0;
    transform: translate3d(0, -20%, 0);
  }
  100% {
    opacity:1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-top-2{
  0%{
    opacity:0;
    transform: translate3d(0, -20%, 0);
  }
  75%{
    opacity:0;
    transform: translate3d(0, -20%, 0);
  }
  100% {
    opacity:1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-bottom {
  0%{
    opacity:0;
    transform: translate3d(0, 20%, 0);
  }
  100% {
    opacity:1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-right {
  0%{
    opacity:0;
    transform: translate3d(-20%, 0, 0);
  }
  100% {
    opacity:1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-left {
  0%{
    opacity:0;
    transform: translate3d(20%, 0, 0);
  }
  100% {
    opacity:1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-out{
  0%{
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.navbar-nav .dropdown-menu.show {
  animation: fade-in .2s ease-in-out;
}

@keyframes fade-in{
  0%{
    opacity:0;
  }

  100% {
    opacity:1;
  }
}

@keyframes fade-in-2 {
  0%{
    opacity:0;
  }
  75%{
    opacity:0;
  }

  100% {
    opacity:1;
  }
}

@media (max-width:993px){

  /*.nav-item.dropdown .dropdown-menu.show{*/
  /*  position:relative !important;*/
  /*  transform:translate3d(0px, 0px, 0px) !important;*/
  /*}*/
  #topnav:has(.collapsed) {
    tranform: scaleY(0);
    transform-origin: top;
    transition: transform 0.26s ease;
  }

  ul.navbar-nav {
    text-align: center;
  }
  .nav-link{
    margin-right: 0px;
  }


}

@media (min-width:992px){
  .nav-link {
    margin-right:20px;
  }
  .n-section > div {
    height: 100%;
  }
}

nav#topnav {

  background: none !important;
  /*.nav-item, .navbar-brand{*/
  /*  z-index:1;*/
  /*}*/
}


#canvas {
  position:fixed;
  left:0;
  top:0;
  z-index: 0;
  opacity: .8;
}

.dynamic-content {

  width:90%;
  p {
    white-space: preserve;
  }
  h4 {
    text-decoration: underline;
  }
}

.accordion-item {
  transition: margin 300ms;
}

.btn-orange {
    background-color: #e89b45; /* Vibrant orange color */
    border: none;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-orange:hover {
    background-color: #d7782b; /* Slightly darker orange for hover effect */
    transform: scale(1.05); /* Slightly grow on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow on hover */
}

.btn-custom {
    background-color: rgba(79, 146, 215, 0.7); /* Match footer blue, 70% opacity */
    color: white; /* White text for clear readability */
    border: none; /* Remove any default borders */
    transition: background-color 0.3s ease, transform 0.1s ease; /* Smooth transitions for hover effects */
}

.btn-custom:hover {
    background-color: rgba(79, 146, 215, 1); /* Fully opaque on hover */
    transform: scale(1.02); /* Slightly enlarge the button to emphasize action */
}

.btn-custom:active {
    background-color: rgba(79, 146, 215, 0.9); /* Slightly darker and solid when clicked */
    transform: scale(0.98); /* Slightly smaller to simulate pressing */
}
