@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@500&family=Poppins:wght@200&family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400&display=swap');

@font-face {
  font-family: "ComforterBrush-Regular";
  src: url('fonts/ComforterBrush-Regular.ttf'),
    url('fonts/ComforterBrush-Regular.ttf');
}

@font-face {
  font-family: "Audiowide-Regular";
  src: url('fonts/Audiowide-Regular.ttf'),
    url('fonts/Audiowide-Regular.ttf');
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}

:root {
  --green: #007c15;
  --blue: #04adc4;
  --purple: #572cce;
  --brown: #c68801;
  --red: #bd0000;
  --white: #ffffff;
  --black: #000000;
  --grey: #595959;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  box-sizing: border-box;
  text-align: center;
}

body {
  text-align: center;
  margin: 0;
  /* background-image: url("http://all4desktop.com/data_images/original/4245965-fire.jpg");
  background-size: auto 100vh; */
  background: url("../images/morsecodeupgrade.jpg");
  background-size: cover;
  background-position: 50% 60%;
  background-attachment: fixed;
  color: white;
  font-family: Quicksand, sans-serif;
  overflow-y: hidden;
}

/* table.morsenato-Container {
  text-align: center;
} */
.morsenato-Container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;

}

.morse-nato {
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  top: 40%;
}

.generate-container {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  background-color: rgb(52, 52, 52);
  box-shadow: 2px 2px 4px black;
  text-align: center;
}

input[type="button"] {
  width: 180px;
  height: 40px;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 22px;
  color: var(--white);
  box-shadow: 1px 1px 2px inset;
  background-color: var(--brown);
}

button .output2input {
  width: 250px;

}

.inoutTextFields {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.inandout {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  background-color: transparent;
}

.input {
  position: absolute;
  font-size: 2rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 7px;
  background-color: transparent;
  box-shadow: 2px 2px 5px inset;
  top: 45.2%;
  left: 2.5%;
  padding: 4px;
  padding-left: 13px;
  margin-left: 22px;
}


.output {
  position: absolute;
  display: inline-block;
  font-size: 2rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 7px;
  background-color: transparent;
  box-shadow: 2px 2px 5px inset;
  top: 8%;
  right: 4.5%;
  padding: 4px;
  padding-left: 12px;
  margin-left: 22px;
}

textarea {
  font-size: 18px;
  margin-left: 66px;
  text-align: center;

}

.output-write {
  position: absolute;
  top: 23%;
  font-weight: 500;
  background-color: var(--grey);
  box-shadow: 2px 2px 2px black;
  border: 7px double black;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  left: 50%;
  transform: translate(-50%, 50%);

}

.input-write {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
  box-shadow: 2px 2px 2px black;
  border: 7px double black;
  font-weight: 500;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  left: 50%;
  top: 3%;
  transform: translate(-50%, -66%);
  color: var(--black);
}


.inputButtons {
  width: 66px;
}




/* Media Queries: Mobile Responsiveness */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .morse-nato {
    position: relative;
    top: 2%;
    text-align: center;
    left: 50%;
    max-width: 98%;
    transform: translate(-50%, -50%);
  }

  .inoutTextFields {
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .input-write {
    position: relative;
    max-width: 90%;
    top: 70%;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .output-write {
    position: relative;
    max-width: 90%;
    top: 2%;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);

  }

  .input {
    display: none;
  }

  .output {
    display: none;
  }

  .generate-container {
    width: 75%;
  }

}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 600px) and (max-width:800px) {
  .smart-code {
    max-width: 90%;
  }

  .bread-left {
    position: absolute;
    top: 34px;
    left: 4px;
    width: 100px;
  }

  .bread-right {
    position: absolute;
    top: 34px;
    right: 4px;
    width: 100px;
  }

  #healthy {
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    bottom: 0%;
  }

  .healthy {
    width: 300px;
    text-align: center;
  }

  .container {
    text-align: center;
    width: 98%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 800px) {
  #healthy {
    text-align: center;
    position: relative;
    bottom: 0%;
    width: 400px;
  }

  .healthy {
    text-align: center;
  }

  .container {
    text-align: center;
    width: 98%;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {
} */