@font-face{
  font-family: NotoSans;
  src: url('/fonts/NotoSans-SemiBold.otf'), url('/fonts/NotoSans-SemiBold.otf') format('otf');
}

:root {
  font-size: 19px;
  font-family: sans-serif;
}

body {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

p {
  text-align: justify;
  text-justify: auto;
}

.recipeContainerContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.recipeContainer {
  width: 90%;
  display: flex;
  flex-direction: column;
}

.recipePhoto {
  width: 100%;
  max-width: 600px;
}

.recipeAvatar {
  width: 30px;
  height: 30px;
}

.recipeContributor {
  height: 56px;
  display: flex;
}

.contributorAvatar {
  width: 200px;
  height: 200px;
}

#contributorAvatarContainer {
  height: 200px;
  display: flex;
}

.recipeNameContainer {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

#navbarContainerContainer {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  width: 100vw;
}

#hamburgerContainerContainer {
  margin-top: 0;
  display: flex;
  justify-content: center;
  background-color: black;
}

#hamburgerContainer {
  margin-top: 0;
  padding-top: 3px;
  width: 800px;
  max-width: 100vw;
  min-width: 70vw;
  display: flex;
  justify-content: space-between;
}

#hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hamburgerClose {
  display: none;
}

#hamburger, #hamburgerClose {
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 0;
  color: white;
  height: 48px;
  border-radius: 9px;
  border: none;
  outline: none;
}

#hamburger div {
  display: inline-block;
  background-color: white;
  margin: 4px;
  width: 36px;
  border-radius: 3px;
  height: 6px;
}

#xa, #xb {
  display: block;
  background-color: white;
  width: 40px;
  border-radius: 3px;
  height: 6px;
}

#mButton {
  font-size: 1.4rem;
  border: none;
  outline: none;
  padding-right: 5px;
  padding-left: 5px;
  flex: 1;
}

.bracket {
  height: 48px;
  flex: 1;
  font-size: 1.8rem;
  padding-top: 0px;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 0px;
  line-height: 0;
  border: none;
  outline: none;
  font-family: 'NotoSans', sans-serif, monospace, cursive;
  font-weight: 400;
}

#recipeMarkdown {
  display: none;
}

.underScore {
  height: 3px;
  background-color: black;
  border-radius: 3px;
  margin-top: 15px;
  margin-margin-bottom: 15px;
  width: 100%;
  max-width: 600px;
}

#userGreeting {
  padding-right: 20px;
  line-height: 0;
  height: 0;
  position: absolute;
  align-self: flex-end;
  font-style: italic;
  color: grey;
  font-size: 1rem;
}

#xa {
  transform: translate(0px, 4px) rotate(45deg);
}

#xb {
  transform: translate(0px, -2px) rotate(-45deg);
}

#navbarContainer {
  display: none;
  justify-content: center;
  width: 100%;
  position: absolute;
  top: 52px;
  z-index: 1;
}

#navbarLeftContainer {
  width: 800px;
  max-width: 100vw;
  min-width: 70vw;
}

#navbar {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  color: white;
  width: 335px;
  font-size: 1.2rem;
  background-color: black;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}

.navbarSpacer {
  width: 335px;
  height: 2px;
  background-color: #1c1c1c;
}

#editButton {
  align-self: flex-end;
  margin-right: 50px;
  padding: 10px;
}

#editProfileButton {
  padding: 10px;
}

.navbarLink {
  width: 300px;
  padding: 15px 0 15px 35px;
}

#navbar a {
  text-decoration: none;
}

.navbarLink:active {
  background-color: grey;
}

#main {
  width: 800px;
  min-width: 70vw;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
}

.contributorListIconDiv {
  height: 36px;
  width: 36px;
}

#edit_recipe_text, #new_recipe_text {
  width: 100%;
  overflow: hidden;
  /*
  display: block;
  height: 200px;
  */
}

#recipeHTML, #preview {
  max-width: 800px;
  width: 100%;
}

#preview img {
  width: 100%;
}

#recipeHTML img {
  width: 100%;
}

#categoryButtonContainer, #contributorButtonContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.categoryListButton, .contributorListButton {
  width: 90%;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-radius: 9px;
  border: none;
  outline: none;
}

.contributorListButton {
  align-items: flex-end;
  line-height: 1rem;
}

a {
  color: inherit;
}

a:hover {
  color: grey;
}

button {
  background-color: black;
  color: white;
  font-family: monospace;
  border: none;
  border-radius: 5px;
  padding: 3px;
  margin: 3px;
  font-weight: 600;
  font-size: 1.1rem;
}

button:active {
  background-color: yellow;
}

.formContainer {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 60%;
  min-width: 280px;
}

#svg_container {
  margin-top: 100px; 
  align-items: center;
}

svg {
  transform: scale(1.5);
}

.formWarning {
  color: red;
  white-space: nowrap;
  line-height: 150%;
  font-size: .7rem;
  font-style: italic;
  font-weight: bold;
}

input[type=submit] {
  padding: 10px;
  background-color: black;
  color: white;
  border-radius: 9px;
  font-size: 1.2rem;
  font-weight: bolder;
}

.inputInfo {
  color: grey;
  font-style: italic;
  font-size: .7rem;
}

.imageInputInfo {
  font-size: .9rem;
}


.flashContainer {
  margin-top: 40px;
  padding: 10px;
  background-color: grey;
  color: black;
  border-radius: 9px;
  font-size: 1.1rem;
  align-self: center;
}

#changePasswordButton, #uploadAvatarButton, #revertAvatarButton, #uploadPhotoButton, #removePhotoButton, #disable2faButton, #enable2faButton {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 9px;
}

#image {
  font-size: 1.4rem;
}

#shareContainer {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media only screen and (max-width: 850px), (max-height: 850px) {
  :root {
    font-size: 16px;
  }
}

@media only screen and (max-width: 350px) {
  :root {
    font-size: 14px;
  }
}
