@import url("https://fonts.googleapis.com/css2?family=Exo&display=swap");

:root {
  --primary-color: #343d46;
  --secondary-color: #1c3fa8;
  --dark-color: #343d46;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Exo", sans-serif;
  color: #333;
  line-height: 1.6;
}

.esbackup {
  --primary-color: #018786;
  --dark-color: #018786;
}

.qr-scanner {
  --primary-color: #2a4d69;
  --dark-color: #2a4d69;
}

ul {
  list-style: none;
}

ul.list-1 {
  position: relative;
  list-style: none;
  margin-left: 0;
  padding-left: 1.2em;
}
ul.list-1 li:before {
  content: "✓";
  position: absolute;
  left: 0;
}

ul.list-2 {
  position: relative;
  list-style: none;
  margin-left: 0;
  padding-left: 1.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1rem;
}
ul.list-2 li:before {
  content: "►";
  position: absolute;
  left: 0;
}

.to-upper-case {
  text-transform: uppercase;
}

a {
  text-decoration: none;	
  color: #333;
}

.a1 {
  text-decoration: none;	
  color: #333;
}

.a2 {
  text-decoration: underline;	
  color: #5A698B;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

.my1 {
  margin-top: -80px;
}

.my2 a {
  padding: 1rem;
}

.my4 {
  display: none;
}

.my5 {
  margin-top: -50px;
}

p {
  margin: 10px 0;
}

.f1 {
  font-size: 1.2em;
}

.f2 {
  font-size: 0.95em;
}

img {
  width: 100%;
  z-index: 101;
}

code,
pre {
  background: #333;
  color: #fff;
  padding: 10px;
}

.visible {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.hidden {
  display: none;
}

.download-1 {
  margin-top: 8rem;
  margin-left: 70px;
  text-align: center;
}

.download-2 {
  margin-top: 15rem;
  margin-left: 70px;
  text-align: center;
}

.download-3 {
  margin-top: 20rem;
  margin-left: 70px;
  text-align: center;
}

.img-d {
  width: 15rem;
  height: auto;
  margin-left: 6rem;
}

.footer-cleaner {
  --dark-color: #315daa;
  color: #315daa;
  background-color: #315daa;
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  color: #fff;
  height: 70px;
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: #fff;
  padding: 10px;
  margin: 0 5px;
  font-size: 1em;
  text-transform: uppercase;
}

.navbar a:hover {
  border-bottom: 2px #fff solid;
}

.navbar h1 {
  font-size: 1.5em;
}

.navbar .flex {
  justify-content: space-between;
}

/* Showcase */
.showcase {
  height: 300px;
  background-color: var(--primary-color);
  color: #fff;
  position: relative;
}

.showcase h1 {
  font-size: 2.5em;
}

.showcase p {
  margin: 20px 0;
}

.showcase .grid {
  overflow: visible;
  grid-template-columns: 55% auto;
  gap: 30px;
}

.showcase-text {
  animation: slideInFromLeft 1s ease-in;
}

.showcase-form {
  position: relative;
  top: 10px;
  height: 350px;
  width: 400px;
  padding: 40px;
  z-index: 100;
  justify-self: flex-end;
  animation: fadeIn 0.6s ease-in;
}

.showcase-form .form-control {
  margin: 30px 0;
}

.showcase::before,
.showcase::after {
  content: "";
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background: #fff;
  transform: skewY(-3deg);
  -webkit-transform: skewY(-3deg);
  -moz-transform: skewY(-3deg);
  -ms-transform: skewY(-3deg);
}

/* Stats */
.stats {
  padding-top: 0px;
  padding-bottom: 300px;
  position: relative;
  animation: slideInFromBottom 1s ease-in;
}

.stats-heading {
  max-width: 500px;
  margin: auto;
}

.stats .grid p {
  font-size: 20px;
  font-weight: bold;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: "";
  margin-top: -8px;
}

.menu-button::after {
  content: "";
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Tablets and under */
@media (max-width: 768px) {
  .grid,
  .showcase .grid,
  .stats .grid,
  .cli .grid,
  .cloud .grid,
  .features-main .grid,
  .docs-main .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .showcase {
    height: auto;
  }

  .showcase-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    animation: slideInFromTop 1s ease-in;
  }

  .showcase-form {
    justify-self: center;
    margin: auto;
    animation: fadeIn 0.6s ease-in;
    z-index: 3;
  }

  .cli .grid > *:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .features-head,
  .features-sub-head,
  .docs-head {
    text-align: center;
  }

  .features-head img,
  .features-sub-head img,
  .docs-head img {
    justify-self: center;
  }

  .features-main .grid > *:first-child,
  .features-main .grid > *:nth-child(2) {
    grid-column: 1;
  }

  .my3 {
    visibility: hidden;
  }

  .lg {
    margin-top: 120px;
  }

  .menu li {
    float: left;
  }

  .menu a:hover {
    background-color: transparent;
    color: var(--grey);
  }

  .navbar {
    height: 120px;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .f1 {
    text-align: justify;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .showcase-form {
    margin-top: -80px;
    width: 300px;
  }

  .download-1 {
    margin: auto;
    margin-top: 20px;
  }

  .download-2 {
    margin: auto;
    margin-top: 20px;
  }
  
  .download-3 {
    margin: auto;
    margin-top: 20px;
  }

  .img-d {
    width: 15rem;
    height: auto;
    margin: auto;
  }

  .menu li {
    float: left;
  }

  .menu a:hover {
    background-color: transparent;
    color: var(--grey);
  }

  .hamb {
    display: none;
  }

  .my4 {
    display: block;
    position: absolute;
    top: 3%;
    right: 4%;
  }

  .my5 {
    margin-top: -80px;
  }

  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}
