:root {
  --firstcolor: #dd7722;
  --secondcolor: #007ba7;
  --textcolor: #eeeeee;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v12-latin-300.woff") format("woff");
}

html {
  height: 100%;
  font-size: 16px;
}

body {
  height: 100%;
  background-image: url(../images/waterfall.jpg);
  background-size: cover;
  background-position: center;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--textcolor);
}

.logincontainer {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logincontainer p {
  margin: 10px;
}

.loginbackground {
  position: absolute;
  padding: 15px 10px;
  width: 360px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #1117;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

input {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2rem;
  color: var(--secondcolor);
  width: 85%;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 2px solid var(--secondcolor);
  margin: 20px 0;
  outline: none;
}

::placeholder {
  color: var(--textcolor);
  opacity: 0.7; /* Firefox */
}

#message {
  display: block;
  width: 50%;
  background-color: #fff9;
  color: #222222;
  padding: 10px;
  margin: 10px auto;
  border-radius: 10px;
}

#regularcheckbox {
  display: inline;
  margin: 0;
  line-height: 0;
  width: 20px;
}

.check {
  font-size: 16px;
  padding: 0 15px;
  margin: 0;
}

button {
  padding: 10px 20px;
  margin: 20px auto;
  background-color: var(--firstcolor);
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  line-height: 1rem;
  color: white;
  font-family: "Montserrat", sans-serif;
}

button:hover {
  box-shadow: 0 0 10px white;
  cursor: pointer;
}

button a {
  color: white;
}

button a:hover {
  color: #ddd;
}

#message-btn {
  display: block;
  border: none;
  cursor: pointer;
}

label {
  display: block;
  width: 85%;
  text-align: left;
  margin: 0 auto;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: var(--firstcolor);
}

a:hover {
  color: var(--secondcolor);
}

p {
  font-size: 1rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
  font-weight: normal;
}
h3 {
  font-size: 2rem;
  font-weight: normal;
}
h4 {
  font-size: 1.5rem;
  font-weight: normal;
}
h5 {
  font-size: 1.25rem;
  font-weight: normal;
}

.logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
}

.hauptteil {
  height: 100%;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.landing {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 20px 10px;
}

.landing b {
  font-size: 3rem;
  line-height: 1.2rem;
}

.welcomecontainer {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.welcome {
  width: 85%;
  margin: 0 auto;
  text-align: center;
}
.welcome img {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: -1;
  height: 120px;
  width: auto;
}

.eingabe {
  width: 100%;
  margin-top: 30px;
}
.ausgabecontainer {
  height: 340px;
  width: 50%;
  margin: 20px auto;
}
.ausgabe {
  width: 100%;
  max-height: 340px;
  overflow-y: auto;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
}
.ausgabe::-webkit-scrollbar {
  display: none;
}

#response {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.usertext {
  align-self: flex-end;
  max-width: 80%;
  background-color: #4447;
  color: #33dd77;
  padding: 5px 15px;
  border-radius: 5px;
}

#send-conversation {
  position: fixed;
  bottom: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  background-color: var(--firstcolor);
  color: white;
  padding: 10px;
  margin: 0;
  border: none;
  border-radius: 5px;
}

#send-conversation img {
  width: 30px;
  height: auto;
}

#delete-conversation {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background-color: var(--firstcolor);
  color: white;
  padding: 10px;
  margin: 0;
  border: none;
  border-radius: 5px;
}

#delete-conversation img {
  width: 30px;
  height: auto;
}

.fuhta {
  width: 100%;
  height: 150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.downlinks {
  display: flex;
  justify-content: center;
  font-size: 16px;
}

.downlinks a {
  color: #fff;
  padding: 20px;
}

.downlinks a:hover {
  color: #ddd;
}

.copyright {
  padding: 10px 0px;
}

@media screen and (max-width: 700px) {
  #message {
    width: 85%;
  }
  .ausgabecontainer {
    width: 85%;
  }

  .logo {
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
  }

  .landing {
    font-size: 1rem;
  }

  .landing b {
    font-size: 2.4rem;
    line-height: 1rem;
  }

  .loginbackground {
    width: 85%;
  }

  .downlinks a {
    padding: 12px;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1.1rem;
  }
}
