* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@font-face {
  font-family: 'Cascadia Code';
  src: url('/fonts/CascadiaCode.woff2') format('woff2'),
       url('/fonts/CascadiaCode.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Cascadia Code', monospace;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}


html {
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-thumb {
  background: rgb(26, 26, 26);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgb(56, 56, 56);
  box-shadow: 0 0 2px 1px rgb(0, 0, 0, 0.2);
}

body::-webkit-scrollbar-thumb:active {
  background-color: rgb(107, 107, 107);
}

body::-webkit-scrollbar-track {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: black;
  border-radius: 5px;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-y: auto;
}

.title {
  width: 100%;
  padding-top: 3%;
  padding-right: 3%;
  padding-left: 4%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

h1 {
  color: rgb(0, 255, 255);
  font-family: Cascadia Code;
  font-size: 2.4rem;
  text-align: left;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%
}

.button_group {
  display: flex;
  gap: 1rem;
  padding-right: 2%;
}

.contact {
  width: 10rem; 
  height: 2.5rem;
  font-size: 17px;
  font-family: Cascadia Code;
  color: rgb(0, 255, 255);
  border: 2px solid rgb(0, 255, 255);
  border-radius: 5px;
  background-color: rgb(38, 39, 38);
  transition: 0.5s;
  flex-shrink: 0;
}

.contact:hover {
  font-size: 18px;
  cursor: pointer;
  background-color: rgb(0, 255, 255);
  color: rgb(38, 39, 38);
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.1); 
}

.contact:active {
  background-color: rgb(38, 39, 38);
  color: rgb(0, 255, 255);
}

.home {
  width: 3rem;
  text-align: center;
  height: 2.5rem;
  font-family: Cascadia Code;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 18px;
  color: rgb(0, 255, 255);
  background-color: rgb(38, 39, 38);
  border: 2px solid rgb(0, 255, 255);
  border-radius: 5px;
  transition: 0.5s;
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.2), 0 0 60px rgba(0, 255, 255, 0.1); 
}

.home {
  font-size: 20px;
  width: 4rem;
  border-radius: 10px;
}

.home:hover {
  cursor: pointer;
  color: rgb(38, 39, 38);
  background-color: rgb(0, 255, 255);
}
.home:active {
  color: rgb(0, 255, 255);
  background-color: grey;
}

.main-body {
  margin-bottom: 2%;
}

body {
  display: flex;
  flex-direction: column;
  justify-items: center;
  background-image: linear-gradient(to bottom right, rgb(7, 22, 49), rgb(0, 0, 0));
  animation: fadeIn 1.2s ease-in-out;
}

.inform {
  padding-right: 3%;
  padding-left: 7%;
  padding-top: 4%;
  padding-bottom: 3%;
  font-size: 25px;
  font-family: Cascadia Code;
  color: rgb(255, 0, 255);
  text-align: left;
  white-space: pre-wrap;
}

.inform.typing::after, .inform2.typing::after {
  content: '|'; 
  animation: blink 0.5s infinite ease-in-out;
}

.inform.done::after, .inform2.done::after {
  content: '';
  animation: none;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body {
  align-items: center;
}

hr {
  border: none;
  border-top: 1px solid rgba(128, 128, 128, 0.3); 
  margin: 0;
  padding-bottom: 5%;
  width: 100%;
  position: relative;
  left: 0;
}

.dashboard {
  width: 70vw;
  height: 100vh;
  border: 2px solid rgb(0, 255, 255);
  /*background-color: grey;*/
  border-radius: 20px;
  padding-top: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-info {
  font-family: Cascadia Code;
  font-size: 50px;
  color: rgb(0, 255, 255);
}

.one {
  padding-top: 5%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 10%;
}

.th-dash {
  font-family: Cascadia Code;
  padding-right: 5%;
  padding-left: 5%;
  font-size: 25px;
  text-align: justify;
  color: white;
}

.one ul {
  color: white;
  font-family: Cascadia Code;
  font-size: 20px;
  padding-left: 10%;
  list-style-type: disc;
}

.one li {
  padding-bottom: 8px;
}

.legal {
  width: 100%;
  padding-top: 2%;
  padding-bottom: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgb(58, 70, 70)
}

.copy {
  text-align: left;
  color: white;
  font-family: Montserrat;
  font-size: 15px;
}

.copyright {
  padding-left: 0.5%;
  font-family: Montserrat;
  color: white;
  font-size: 15px;
  text-align: left;
}

.informal {
  padding-left: 4%;
  color: white;
  font-family: Montserrat;
  font-size: 15px;
  text-align: center;
}

.informali {
  padding-left: 0.5%;
  color: white;
  font-family: Montserrat;
  font-size: 15px;
  text-align: center;
}

#mobile-blocker {
  font-family: 'Cascadia Code', monospace;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(to bottom right, rgb(7, 22, 49), rgb(0, 0, 0));
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 9999;
}

#warning-box {
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  background-color: rgb(22, 22, 22);
  border: 2px solid rgb(255, 0, 0);
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  transform: translateY(-30%);
}

.warning-title {
  font-size: 18px; 
  font-family: 'Cascadia Code', monospace;
  text-align: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  font-weight: 200;
  color: red;
}

.warning-title i {
  font-size: 25px;
  vertical-align: middle;
  color: red;
}

#message-box {
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  width: 100%;
  max-width: 500px;
  background-color: rgb(38, 39, 38);
  border: 1px solid rgb(0, 255, 255);
  border-radius: 10px;
  padding: 1.5rem;
  box-sizing: border-box;
  text-align: center;
  min-height: 150px;
  transform: translateY(-10%);
}

.title-mobile {
  font-family: 'Cascadia Code', monospace; 
  font-size: 1.2rem;
  color: rgb(0, 255, 255);
  margin-bottom: 1rem;
}

.error-mobile {
  font-size: 1rem;
  color: rgb(168, 207, 243);
  text-align: justify;
  word-wrap: break-word;
}

#watermark-box {
  opacity: 0;
  padding-top: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  animation: fadeIn 2s ease-in-out forwards;
}

.watermark {
  font-size: 1.2rem;
  color: rgb(255, 200, 0); 
}

#watermark.typing::after{
  content: '|'; 
  animation: blink 2s infinite ease-in-out;
}

#watermark.done::after {
  content: '';
  animation: none;
}

@media screen and (max-width: 400px) {
  .title-mobile {
    font-size: 1rem;
  }

  .error-mobile {
    font-size: 0.9rem;
  }

  #message-box {
    padding: 1rem;
  }
}

