@import url("https://fonts.googleapis.com/css2?family=Gajraj+One&family=Mynerve&family=Rubik+Glitch&display=swap");

:root {
  --default-font: "Mynerve", cursive;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--default-font);
  margin: 0 auto;
  /* background-color: #f5efed; */
  background-image: url(bg7-2.png);
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  background-size: cover;
}
footer {
  font-family: "Gajraj One", cursive;
  text-align: center;
}

.header {
  background-color: #04f06a;
  padding-left: 40px;
  padding-right: 40px;
  position: sticky;
  width: 100%;
  top: 0;
}
.header::after {
  content: "";
  display: table;
  clear: both;
}
.logo {
  font-family: "Rubik Glitch", cursive;
  font-size: 50px;
  float: left;
  color: #043135;
  margin: auto;
}

.navbar_container {
  float: right;
  font-size: 20px;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
nav li {
  display: inline-block;
  margin-left: 70px;
  padding-top: 30px;
  position: relative;
}
nav a {
  color: #444;
  text-decoration: none;
  text-transform: uppercase;
}
nav a:hover {
  color: #0f0a0a;
}
nav a::before {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
  background-color: #0f0a0a;
  position: absolute;
  top: 0;
  width: 0%;
  transition: all ease-in-out 250ms;
}
nav a:hover::before {
  width: 100%;
}
/* .empty-div {
  width: 100%;
  height: 60px;
} */

h2 {
  text-align: center;
  font-size: 35px;
  color: #0fa3b1;
  background-color: #f2fff8;
  margin: 0px 0px 5px 0px;

  /* scroll-margin-top: 60px; */
}
.Enc-Dec {
  color: #826aed;
}
hr.rounded {
  border-top: 8px solid #bbb;
  border-radius: 5px;
  margin: auto;
}

.operation {
  /* center items  */

  display: flex;
  font-size: 25px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 75%;
  margin: auto;
}
#enc-dec,
#mode {
  width: 10%;
  font-size: 17px;
  text-align: center;
  margin: 5px;
  padding: 3px;
  border: 5px solid #dadada;
  border-radius: 10px;
}
.output-text,
.input-text {
  /* resize: none; */
  width: 60%;
  font-size: 20px;
  min-height: 50px;
  max-height: 300px;
  max-width: 75%;
  margin: 5px;
  padding: 5px;
  border: 5px solid #dadada;
  border-radius: 10px;
}
.key,
.IV,
.seed {
  width: 50%;
  font-size: 17px;
  resize: horizontal;
  margin: 5px;
  padding: 5px;
  border: 5px solid #dadada;
  border-radius: 10px;
}
