
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background: url(rose3.jpg);
  background-size: cover;
}

@font-face {
  src: url(TheSkinny.otf);
  font-family: TheSkinny;
}

@font-face {
  src: url(hug.otf);
  font-family: hug;
}

@font-face {
  src: url(nougat.otf);
  font-family: nougat;
}

/* LOGIN */
.header h1 {
  padding-top: 80px;
  text-align: center;
  color: white;
  font-family: TheSkinny;
  font-size: 80px;
  letter-spacing: 5px;
}

.loginbox {
  width: 280px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: white;
}

.loginbox h1 {
  float: left;
  font-size: 40px;
  border-bottom: 6px solid #4caf50;
  margin-bottom: 50px;
  padding: 13px 0;
}

.textbox {
  width: 100%;
  overflow: hidden;
  font-size: 20px;
  padding: 8px 0;
  margin: 8px 0;
  border-bottom: 1px solid #4caf50;
}

.textbox img {
  width: 16px;
  float: left;
  text-align: center;
}

.textbox input {
  border: none;
  outline: none;
  background: none;
  color: white;
  font-size: 18px;
  width: 80%;
  float: left;
  margin: 0 10px;
}

.button {
  text-align: center;
}

.btnlogin {
  border: 1px solid #4caf50;
  background: none;
  padding: 10px 20px;
  font-size: 20px;
  font-family: sans-serif;
  cursor: pointer;
  margin: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 10px 10px;
}

.btnlogin {
  color: #ffffff;
}

.btnlogin:hover {
  color: #fff;
}

.btnlogin::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #4caf50;
  z-index: -1;
  transition: 0.8s;
}

.btnlogin::before {
  top: 0;
  border-radius: 0 0 50% 50%;
}

.btnlogin:hover::before{
  height: 180%;
}

/* LOGOUT */
.logoutbox {
  width: 280px;
  position: absolute;
  top: 50%;
  left: 97%;
  transform: translate(-50%,-50%);
  color: red;
}

.logoutbox h1 {
  float: left;
  font-size: 40px;
  border-bottom: 6px solid red;
  margin-bottom: 50px;
  padding: 13px 0;
}

.btnlogout {
  border: 1px solid red;
  background: none;
  padding: 3px 15px;
  font-size: 20px;
  font-family: sans-serif;
  cursor: pointer;
  margin: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 10px 10px;
}

.btnlogout {
  color: red;
}

.btnlogout:hover {
  color: white;
}

.btnlogout::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: red;
  z-index: -1;
  transition: 0.8s;
}

.btnlogout::before {
  top: 0;
  border-radius: 0 0 50% 50%;
}

.btnlogout:hover::before{
  height: 180%;
}

/* DROPDOWN CSS */
nav {
  width: 100%;
  height: 60px;
  background-color: white;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0 1.2em 1em -0.7em;
  position: fixed;
}

nav p {
  font-family: TheSkinny;
  color: #222;
  font-size: 30px;
  line-height: 55px;
  float: left;
  padding: 0px 20px;
}

nav ul {
  float: left;
}

nav ul li {
  float: left;
  list-style: none;
  position: relative;
}

nav ul li a {
  display: block;
  font-family: hug;
  color: #222;
  font-size: 14px;
  padding: 21.5px 18px;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: lightgrey;
  border-radius: 0px 0px 10px 10px;
}

nav ul li ul {
  display: none;
  position: absolute;
  background-color: white;
  border-radius: 0px 0px 10px 10px;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li {
  width: 180px;
}

nav ul li ul li a {
  padding: 12px 18px;
}

nav ul li ul li a:hover {
  background-color: lightgrey;
  border-radius: 10px 10px 10px 10px;
}

/* TEXT CSS */
.text h1 {
  text-align: center;
  padding: 30px;
  font-size: 60px;
  font-family: TheSkinny;
  color: white;
  letter-spacing: 5px;
  padding-top: 7%;
}

.text p {
  text-align: center;
  padding: 30px;
  font-size: 30px;
  font-family: nougat;
  color: white;
  margin-right: 25%;
  margin-left: 25%;
  padding-bottom: 10%;
}

/* PROCESS BAR CSS */
.bar {
  position: fixed;
  bottom: 0;
  z-index: 1;
  width: 100%;
  background-color: #f1f1f1;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #ccc;
}

.progress-bar {
  height: 8px;
  background: #4caf50;
  width: 0%;
}