* {
  margin: 0;
  padding: 0;
}
#navbar {
  display: flex;
  align-items: center;
}
#logo {
  margin: 0px 34px;
}
#logo img {
  background-color: black;
  width: 2px;
  height: 2px;
  /* margin: 15px 15px; */
}
.home {
  background-image: url("images/back.jpg");
  min-height: 100vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
}
.nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  flex: 5;
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  margin: auto;
  display: block;
  background: grey;
  transition: 0.5s;
}
.nav-links ul li:hover::after {
  width: 100%;
}
.home_cont {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.home_cont h1 {
  font-size: 62px;
}
.home_cont p {
  margin: 10px 0 40px;
  font-size: 60px;
  color: #fff;
}
.pop {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.pop:hover {
  background: black;
  transition: 0.5sec;
  border: 1px solid black;
}
body {
  margin: 0;
  padding: 0;
  background: url(grocery1.jpg);
  background-size: cover;
  background-position: center;
  font-family: sans-serif;
}

.loginbox {
  width: 500px;
  height: 500px;
  background: #000;
  color: #fff;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  padding: 70px 30px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  top: -50px;
  left: calc(50% - 50px);
}

h1 {
  margin: 0;
  padding: 0 0 20px;
  text-align: center;
  font-size: 22px;
}

.loginbox p {
  margin: 0;
  padding: 0;
  font-weight: bold;
}

.loginbox input {
  width: 100%;
  margin-bottom: 20px;
}

.loginbox input[type="text"],
input[type="password"] {
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  outline: none;
  height: 40px;
  color: #fff;
  font-size: 16px;
}
.loginbox input[type="submit"] {
  border: none;
  outline: none;
  height: 40px;
  background: #fb2525;
  color: #fff;
  font-size: 18px;
  border-radius: 20px;
}
.loginbox input[type="submit"]:hover {
  cursor: pointer;
  background: #ffc107;
  color: #000;
}
.loginbox button {
  text-decoration: none;
  font-size: 12px;
  line-height: 20px;
  color: darkgrey;
  height: 50px;
  width: 100px;
  background: #fb2525;
  color: #fff;
  font-size: 18px;
  border-radius: 20px;
  text-align: center;
  margin-left: 90px;
  /* margin-top: ; */
  padding: 10px;
}
.loginbox a:hover {
  background-color: #ffc107;
  color: white;
}

.loginbox input[type="radio"] {
  width: auto;
}

.disagree:checked ~ button {
  display: none;
}
