* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* declaring css variables */
:root {
  --clr-primary-1: black;
  --clr-primary-2: rgb(221, 101, 101);
  --clr-primary-3: rgb(0, 0, 0);
  --clr-font-1: rgb(226, 226, 226);
  --clr-bg-1: rgb(247, 121, 3);
}
html {
  scroll-behavior: smooth;
}
/* global styling */
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
.content-divider {
  height: 5px;
  background: linear-gradient(
    to left,
    var(--clr-font-1),
    var(--clr-primary-1),
    var(--clr-font-1)
  );
}
.abp-content,
.abd-content {
  text-align: center;
  padding: 5rem 10rem;
}
@media screen and (max-width: 900px) {
  .abp-content {
    padding: 2rem 3rem;
  }
}
.abp-content h1 {
  color: var(--clr-bg-1);
  margin: 1rem 0;
}
/* modal boxes for registration */
.modal {
  transform: translateY(-100vh); /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  transition: all 0.1s ease;
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
form {
  width: 100%;
  margin: 2rem auto;
}
form a {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  float: right;
  text-decoration: underline;
}
.reg {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem;
}
.reg_bor {
  border-bottom: 1px solid var(--clr-font-1);
}
.inputpass {
  padding-right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--clr-font-1);
}
.reg-submit {
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--clr-font-1);
  color: white;
  padding: 1rem;
  border: 1px solid var(--clr-font-1);
  cursor: pointer;
}
input:focus {
  outline: none;
}
.form-flex {
  display: grid;
  grid-template-columns: 4fr 1fr;
  justify-content: center;
  align-items: center;
}
.form-flex img {
  display: block;
  width: 20rem;
}
@media screen and (max-width: 900px) {
  .form-flex img {
    display: none;
  }
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
/* styling the banner section */
#cogu {
  position: relative;
}
.login-head {
  position: relative;
  top: -50px;
  transition: all 0.2s ease;
}
.header {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./images/laptop.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  color: var(--clr-font-1);
}
.nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  height: 3rem;
}
.nav-head {
  display: flex;
  align-items: center;
}
.nav-head p {
  letter-spacing: 200px;
}
.nav-links {
  display: flex;
}
.nav-head img {
  width: 30px;
  transition: transform 1s ease;
}
.nav-head img:hover {
  transform: rotate(360deg);
}
.nav-links li a {
  margin: 0 2rem;
  color: var(--clr-font-1);
  transition: color 0.4s ease;
}
.nav-links li a:hover {
  color: var(--clr-bg-1);
}
.header-content {
  text-align: center;
  display: flex;
  height: calc(100vh - 3rem);
  flex-direction: column;
  justify-content: center;
}
.header h1 {
  color: var(--clr-bg-1);
  font-size: 8rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.header p {
  letter-spacing: 7px;
  text-transform: uppercase;
}
.anchor {
  cursor: pointer;
  display: inline-block;
  margin: 0 auto;
  width: 200px;
  padding: 1rem 1rem;
  text-transform: capitalize;
  background: transparent;
  color: var(--clr-font-1);
  margin: 2rem 0.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  border: 1px solid var(--clr-bg-1);
  transition: 0.5s background ease, 0.5s color ease;
}
@media screen and (max-width: 900px) {
  .anchor {
    margin: 1rem 0.5rem;
  }
}
.anchor i {
  padding: 0 0.5rem 0 0;
  font-size: 1rem;
}
.anchor:hover {
  background: var(--clr-bg-1);
  color: var(--clr-primary-3);
}

/* about us section */
.about,
.about-abc {
  height: auto;
  background: rgb(224, 224, 224);
  display: grid;
  grid-template-columns: 0.8fr 0.6fr;
  align-items: center;
}
.about-abc {
  grid-template-columns: 0.6fr 0.8fr;
}
.about-img {
  background: url("./images/laptoppc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  height: 100%;
}

.about-content,
.abc-text {
  text-align: right;
  padding: 5rem 5rem 5rem 1rem;
  align-content: Center;
}
.abc-text {
  padding-left: 5rem;
  text-align: left;
}
.about-content h1,
.abc-text h1 {
  color: var(--clr-bg-1);
  margin-bottom: 1rem;
}
.abc-img {
  background: url("./images/chain2.jpg");
  background-position: center;
  filter: grayscale(100%);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
@media screen and (max-width: 900px) {
  .about-abc,
  .about {
    grid-template-columns: 1fr;
  }
  .about-content {
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
  }
  .about-img,
  .abc-img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    height: 20rem;
  }
  .abc-text {
    padding: 4rem;
    text-align: center;
  }
}

/* about the app */
.download-docs {
  background: transparent;
  color: var(--clr-bg-1);
  border: 1px solid var(--clr-bg-1);
}

/* about the developers */
.abd-content {
  padding: 3rem 0;
}
.abd-cards {
  margin: 0 auto;
  width: 90vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  padding-bottom: 5rem;
}
.abd-card {
  margin: 0.2rem 2rem;
  transition: all 0.4s ease;
  max-width: 17rem;
  overflow: hidden;
  background: rgb(201, 201, 201);
}
.abd-cards-content {
  position: relative;
}
.abd-cards-img {
  height: 12rem;
  position: relative;
  object-fit: cover;
}
.abd-cards-image {
  position: absolute;
  height: 12rem;
  display: block;
  object-position: top;
  width: 100%;
}
.abd-cards-image-content {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  padding: 0.2rem;
  font-size: 0.6rem;
  background: var(--clr-bg-1);
}

.abd-cards-content h2 {
  padding: 0.5rem 1rem;
}
.abd-cards-content p {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}
.abd-cards-content ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.abd-cards-content ul li a {
  transition: all 0.4s ease;
  padding: 0.5rem;
}
.abd-cards-content ul li a:hover i {
  color: var(--clr-bg-1);
}
.abd-cards-content ul li a i {
  color: var(--clr-primary-1);
}
.abd-card:hover {
  transform: scale(1.03);
  box-shadow: 2px 2px 20px rgb(133, 133, 133);
}
@media screen and (max-width: 900px) {
  .abd-cards {
    width: 100vw;
    grid-template-columns: 1fr 1fr;
  }
  .abd-card {
    margin: 1rem auto;
  }
}
@media screen and (max-width: 600px) {
  .abd-cards {
    width: 100vw;
    grid-template-columns: 1fr;
  }
  .abd-card {
    margin: 1rem auto;
  }
  .abd-content {
    padding: 2rem 5rem;
  }
}

/* footer sedition */

.footer {
  background: url("./images/guru2.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  background-repeat: no-repeat;
}
.footer-copyright {
  color: white;
  padding: 0.5rem;
  text-transform: capitalize;
  font-size: 0.7rem;
}
.footer-list {
  padding: 2rem 0 2rem 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 50vw;
}
.footer-list li a {
  padding: 0 2rem;
  font-size: 1.5rem;
  color: var(--clr-bg-1);
}
.footer-content {
  text-align: Center;
  color: white;
  padding-top: 3rem;
  font-size: 3rem;
}

.text {
  width: 80vw;
  margin: 2rem auto 0 auto;
}
.text h1 {
  font-size: 2rem;
  padding: 2rem;
  text-align: Center;
}
.text p {
  padding: 0rem 0 5rem 0;
}
.docs-drop {
  cursor: pointer;
}
.docs-drop ul {
  border: 0.1px solid var(--clr-font-1);
  background: rgb(121, 118, 111);
  border-radius: 5px;
  list-style-type: none;
  position: absolute;
  display: none;
}
.docs-drop ul li a {
  transition: all 0.2s ease;
  padding: 0.5rem;
  display: block;
  border-bottom: 1px solid var(--clr-font-1);
  text-transform: capitalize;
}

.docs-drop:hover a {
  color: white;
}
.docs-drop:hover ul {
  display: block;
}
.docs-drop ul li a:hover {
  color: var(--clr-primary-1);
}
