* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%; 
  height: 100%;
  overflow-y: hidden;
}

@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;
}

body {
  display: flex;
  flex-direction: column;
  justify-items: center;
  background-image: linear-gradient(to bottom left, rgb(7, 22, 49), rgb(0, 0, 0));
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  padding-top: 2.5%;
  padding-left: 4%;
  padding-bottom: 2%;
  display: flex; 
  justify-content: space-between;
}

.title {
  text-align: center;
  justify-content: left;
}

#title::after {
  content: ' |';
  animation: blink 1.2s infinite ease-in-out;
}

h1 {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 2.4rem;
  color: rgb(0, 255, 255);
}


.bgroup {
  text-align: center;
  justify-content: right;
  padding-right: 5%;
  display: flex;
  gap: 1rem;
}

buton:focus {
  outline: none;
}

.home, .instagram, .x, .threads, .facebook {
  width: 3rem;
  text-align: center;
  height: 2.5rem;
  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;
}

.instagram {
  font-size: 23px;
  width: 3rem;
}

.x {
  width: 3rem;
}

.threads {
  font-size: 20px;
}

.home {
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.2), 0 0 60px rgba(0, 255, 255, 0.1); 
}

.home:hover, .instagram:hover, .x:hover, .threads:hover, .facebook:hover {
  cursor: pointer;
  color: rgb(38, 39, 38);
  background-color: rgb(0, 255, 255);
}

.home:active, .instagram:active, .x:active, .facebook:active, .threads:active{
  color: rgb(0, 255, 255);
  background-color: grey;
}

.info {
  width: 80%;
  padding-top: 2%;
  padding-left: 10%;
  padding-bottom: 3%;
  text-align: left;
   
  font-size: 23px;
  color: rgb(255, 0, 255);
}

#info::after {
  content: '|';
  animation: blink 1.2s infinite ease-in-out;
}

#info.done::after {
  content: '';
  animation: none;
}

hr {
  border: none;
  border-top: 1px solid rgba(128, 128, 128, 0.3); 
  margin: 0;
  padding-bottom: 3%;
  width: 100%;
  position: relative;
  left: 0;
}

.body {
  opacity: 0;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 70vh;
  background-color: transparent;
  justify-items: center;
  align-items: center;
  justify-content: start;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 2%;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.from-bar, .subject-bar, .body-bar {
  width: 60%;
  height: 50px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 30px;
  align-content: center;
  align-items: center;
  padding-left: 2%;
  display: flex;
  gap: 0.5rem;
}

.from-bar:hover, .subject-bar:hover, .body-bar:hover {
  border-color: rgb(0, 255, 255);
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.2), 0 0 60px rgba(0, 255, 255, 0.1); 
}

.body-bar {
  padding-left: 1%;
  height: 30vh;
  overflow: hidden;
}

.from, .subject, .bodi {
  font-size: 20px; 
  color: white;
}

.input {
  width: 85%;
  height: 35px;
  padding-left: 1%;
  font-size: 20px;
  font-family: 'Cascadia Code', monospace;
  border: none;
  background-color: transparent;
  color: rgb(0, 255, 255);
}

.input2 {
  width: 80%;
  height: 35px;
  padding-left: 1%;
  font-size: 20px;
  font-family: 'Cascadia Code', monospace;
  border: none;
  background-color: transparent;
  color: rgb(0, 255, 255);
}

.input3 {
  width: 100%;
  height: 100%;
  resize: none; 
  padding-left: 1%;
  padding-top: 2%;
  padding-right: 3%;
  font-size: 15px;
  font-family: 'Cascadia Code', monospace; 
  border: none;
  background-color: transparent;
  color: rgb(0, 255, 255);
  overflow-wrap: break-word; 
  word-wrap: break-word; 
  white-space: pre-wrap; 
  overflow-y: auto; 
  box-sizing: border-box;
}

.input3::-webkit-scrollbar {
  width: 8px;
  height: 2px;
  transform: translateX(-20%);
}

.input3::-webkit-scrollbar-thumb {
  background: rgb(56, 56, 56);
  border-radius: 10px;
}

.input3::-webkit-scrollbar-thumb:hover {
  background: rgb(87, 87, 87);
  box-shadow: 0 0 2px 1px rgb(0, 0, 0, 0.2);
  cursor: default;
}

.inpu3::-webkit-scrollbar-thumb:active {
  background-color: rgb(107, 107, 107);
}

.input3::-webkit-scrollbar-track {
  background: black;
  border-radius: 5px;
}

.input::placeholder, .input2::placeholder, .input3::placeholder {
  color: rgb(154, 154, 154);
}

.input:focus, .input2:focus, .input3:focus {
  outline: none;
  color: rgb(0, 255, 255); 
}

.sending {
  align-items: center;
  justify-content: center;
  justify-items: center;
  display:flex;
  gap: 0.8rem;
  width: 10rem;
  height: 2.7rem;
  font-size: 25px;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  border-radius: 10px;
  transition: 0.3s;
}

.sending:hover {
  border-color: rgb(0, 255, 0);
  cursor: pointer;
  color: rgb(0, 255, 0);
  background-color: rgb(38, 39, 38);
  box-shadow: 0 0 20px rgb(0, 255, 0, 0.2), 0 0 60px rgba(0, 255, 0, 0.1); 
}

.sending:active {
  background-color: rgb(153, 153, 153);
  color: rgb(0, 255, 0);
}

.sending i{
  font-weight: 900;
}

#mobile-blocker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0, 0, 15);
  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-family: 'Cascadia Code', monospace;
  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;
  font-family: 'Cascadia Code', monospace; 
  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;
  }
}

#loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  color: rgb(0, 255, 0);
  background-image: linear-gradient(to bottom left, rgb(7, 22, 49), rgb(0, 0, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 1.5rem;
  z-index: 99999;
  user-select: none;
}

.loading-message {
  text-align: center;
  justify-content: center;
}

@keyframes dotsAnimation {
  0%, 20% { color: transparent; }
  40% { color: rgb(0, 255, 0); }
  60% { color: rgb(0, 255, 0); }
  80%, 100% { color: transparent; }
}

#dots {
  animation: dotsAnimation 1.5s infinite;
}



