@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@400;500;600;700&family=Josefin+Sans:wght@600&family=Patrick+Hand&family=Patrick+Hand+SC&family=Poppins:wght@600&family=Raleway:wght@600;700;800;900&display=swap');
:root {
  --light-blue: #5adaff;
  --royal-blue: #5468ff;
  --periwinkle-blue: #8a9eff;
  --midnight-blue: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-size: 100%;
}

.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -99;
}

#bg1 {
  background: var(--midnight-blue);
  top: 0;
  height: 100vh;
  position: fixed;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
  box-shadow: 1px 1px 3px black;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  background-color: var(--royal-blue);
}

.id-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*main Section css*/

.first-section-wrapper {
  text-align: center;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.main-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  margin: 100px 0;
  font-family: "Patrick Hand SC", sans-serif;
  padding: 0px 30px;
}

.title {
  font-size: 4.1em;
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  margin-bottom: 50px;
  color: white;
}

label,
legend {
  color: white;
}

.title-and-id {
  text-align: center;
  color: white;
}

.device-id {
  font-size: 30px;
  font-family: "Raleway", sans-serif;
  color: white;
}

#download {
  transition: 0.3s;
  color: white;
  margin-bottom: 30px;
}

#text-input {
  border-radius: 10px;
  width: 42vh;
  height: 200px;
  resize: vertical;
  padding: 10px;
  font-size: 16px;
  background-color: var(--royal-blue);
  border: 2px solid white;
  color: white;
}

.send-section {
  text-align: center;
}

.disabled-btn {
  color: white;
  border: 2px solid white;
  cursor: not-allowed;
}

a {
  color: #bfc0c0;
  text-decoration: none;
  letter-spacing: 1px;
  font-family: "Josefin Sans", sans-serif;
}

.result-section {
  width: 80%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-direction: row;
  border: 2px solid white;
  padding: 50px 10px;
  border-radius: 10px;
}

legend {
  text-align: center;
  font-size: 50px;
  padding: 0 20px;
}

.files-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.recieved-text-section {
  resize: vertical;
  width: 42vh;
  height: 25vh;
  border-radius: 10px;
  padding: 10px;
  border: 2px solid white;
  margin-bottom: 15px;
  font-size: 16px;
  background-color: var(--royal-blue);
  color: white;
}

.device-id-div label,
.text-section label {
  font-size: 20px;
}

#receivedImage {
  width: 42vh;
  border-radius: 10px;
  height: 25vh;
  border: 2px solid white;
  margin-bottom: 15px;
}

#room {
  padding: 2px 5px;
  border-radius: 5px;
  border: 2px solid white;
  margin-bottom: 15px;
  font-family: "Poppins";
  width: 200px;
  letter-spacing: 1px;
  font-size: 20px;
  height: 30px;
  background-color: var(--royal-blue);
  color: white;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fileInput-div {
  margin: 10px 0;
}

#copy-id {
  margin: 0 10px;
  transform: scale(0.8);
  border-radius: 99px;
}

#copy-text {
  border-radius: 99px;
}

/*file input css*/
.custom-file-input {
  display: inline-block;
  padding: 30px 55px;
  background: var(--royal-blue);
  color: white;
  cursor: pointer;
  border-radius: 50px;
  font-size: 35px;
  border: 3px dotted white;
  transition: 0.3s ease;
}

.custom-file-input:hover {
  background: var(--periwinkle-blue);
}

.hidden-input {
  display: none;
}

.custom-file-input.dragover {
  background-color: #4b777f;
  transition: 0.2s ease;
}

.file-upload-section {
  margin: 50px 0 10px 0;
}

#selectedFileName {
  color: white;
}

.send-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.send-btns a {
  margin: 10px;
}

/*custom alert*/

.custom-alert {
  display: none;
  position: fixed;
  top: 5%;
  right: 0;
  transform: translate(-50%, -50%);
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 99999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeOut 2s ease-in-out;
}

/* Keyframes for fadeOut animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

/* CSS */
.button-29 {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(
    100% 100% at 100% 0,
    var(--light-blue) 0,
    var(--royal-blue) 100%
  );
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.button-29:focus {
  box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
}

.button-29:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-29:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}

::placeholder {
  color: white;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: white;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.faq-section {
  color: #333;
  background: transparent;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
  width: 80%;
  margin-top: 100px;
}

.faq-header {
  font-size: 42px;
  border-bottom: 1px dotted #ccc;
  padding: 24px;
  color: white;
  text-align: center;
}

.faq-content {
  margin: 0 auto;
  color: white;
}

.faq-question {
  padding: 20px 0;
  border-bottom: 1px dotted #ccc;
}

.panel-title {
  font-size: 24px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 10px 10px 0 48px;
  display: block;
  cursor: pointer;
}

.panel-content {
  font-size: 20px;
  padding: 0px 14px;
  margin: 0 40px;
  height: 0;
  overflow: hidden;
  z-index: -1;
  position: relative;
  opacity: 0;
  -webkit-transition: 0.4s ease;
  -moz-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
}

.panel:checked ~ .panel-content {
  height: auto;
  opacity: 1;
  padding: 14px;
}

.plus {
  position: absolute;
  margin-left: 20px;
  margin-top: 4px;
  z-index: 5;
  font-size: 42px;
  line-height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
  color: white;
}

.panel:checked ~ .plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.panel {
  display: none;
}
