/* mobile first css */

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

p {
  font-size: 0.9em;
  line-height: 1.6em;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.container {
  text-align: center;
  margin:0 1.3em;
}

.hide-mobile {
  display: none;
}

header {
  width: 100%;
  padding: 0.6em 0;
}

header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.bytecloud-logo {
  height: 22px;
  padding: 0;
  margin: 0;
}

.menu-icon {
  height: 22px;
  width: 22px;
  margin: 1px 0 0 0;
  padding: 0;
}

nav ul {
  width: 45%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #545454;
  color: inherit;
  text-align: left;
  padding-top: 0.7em;
}

nav li:hover {
  background-color: #696969;
  color: inherit;
}

nav ul li:first-child {
  margin-bottom: 1.5em;
}

nav ul li a {
  background-color: inherit;
  color: white;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 0.3em;
  margin: 0.3em 0.8em;
  font-size: 0.9em;
}

.hero-section {
  width: 100%;
  padding: 4em 0 3em 0;
}

.bytecloud-hero {
  padding: 0;
  margin: 0 0 3em 0;
  width: 50%;
  height: auto;
  max-width: 254px;
}

.hero-section h1 {
  font-size: 1.6em;
  font-weight: 600;
  color: #308BAE;
  background-color: inherit;
  margin: 0 0 0.5em 0;
}

.sub-heading {
  font-size: 0.9em;
  font-weight: 400;
  color: #8A8888;
  background-color: inherit;
  margin: 0;
  padding: 0;
}

.features-section {
  width: 100%;
  padding: 3em 0;
  background-color: #308BAE;
  color: inherit;
}

.features-list {
  color: white;
  background-color: inherit;
}

.features-list img {
  margin: 0;
  width: 14%;
  height: auto;
  max-width: 60px;
}

.features-list h2 {
  margin: 0.3em 0 0.2em 0;
  font-size: 1.4em;
}

.features-list li {
  margin: 0 0 3em 0;
}

.features-list li:last-child  {
  margin: 0;
}

.subscribe-section {
  background-color: white;
  width: 100%;
  padding: 3em 0 3em 0;
  margin-top: -1em;
}

.subscribe-section p {
  font-size: 1.6em;
  font-weight:600;
  color: #545454;
  background-color: inherit;
  margin: 0 0 0.8em 0;
}

.subscribe-button {
  border: none;
  border-radius: 25px;
  font-size: 1.2em;
  font-weight: 400;
  text-decoration: none;
  color: white;
  background-color: #2599C5;
  display: block;
  width: 80%;
  padding: 0.4em;
  margin: 0 auto;
  cursor: pointer;
}

footer {
  width: 100%;
  background-color: #545454;
  color: white;
  padding: 3em 0 0.5em 0;
}


footer p {
  font-size: 0.7em;
}

footer ul li {
  margin: 0 0 0.8em 0;
}
footer ul li a {
  text-decoration: none;
  color: white;
  background-color: inherit;
  font-size: 0.9em;
  padding: 0.2em;
  cursor: pointer;
}

.disclaimer-text {
  font-size: 0.5em;
  padding: 0;
  margin: 1.6em 0 0 0;
}

@media only screen and (min-width: 650px) {

  p {
    font-size: 1.0em;
    line-height: 1.6em;
  }

  nav ul li a {
    font-size: 1.1em;
  }

  .bytecloud-hero {
    width: 43%;
    max-width: 262px;
  }

  .hero-section h1 {
    font-size: 1.9em;
    margin: 0 0 0.5em 0;
  }

  .sub-heading {
    font-size: 1.1em;
    margin: 0;
    padding: 0;
  }

  .features-list img {
    width: 10%;
  }

  .subscribe-section p {
    font-size: 1.8em;
  }

  .subscribe-button {
    font-size: 1.3em;
  }

  footer p {
    font-size: 0.8em;
  }

  footer ul li a {
    font-size: 1.0em;
  }

  .disclaimer-text {
    font-size: 0.6em;
  }
}

@media only screen and (min-width: 768px) {

  p {
    font-size: 0.9em;
    line-height: 1.6em;
  }

  .bytecloud-hero {
    width: 36%;
    max-width: 294px;
  }

  .features-list {
    display: flex;
  }

  .features-list img {
    width: 21%;
    max-width: 50%;
  }

  .features-list h2 {
    font-size: 1.3em;
  }

    .features-list.features-list li {
    margin: 0 0.8em;
  }

  .subscribe-button {
    width: 70%;
  }
}

@media only screen and (min-width: 1024px) {

  p {
    font-size: 1.0em;
    line-height: 1.6em;
  }

  .hide-desktop {
    display: none;
  }

  .show-desktop {
    display: block;
  }

  nav ul {
    width: 100%;
    height: 100%;
    position: static;
    background-color: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  nav li {
    position: relative;
    float: right;
    width: auto;
    margin: 0 1em;
    padding: 0;
  }
  nav li:hover{
    background-color: inherit;
    color: inherit;
  }

  nav ul li:hover:after {
    content: "";
    background-color: #458EAA;
    width: 100%;
    height: 2px;
    border-radius: 20px;
    position: absolute;
    bottom: 3px;
    left: 0;
    margin: 0;
  }

  nav ul li a {
    background-color: inherit;
    color: #8A8888;
    text-decoration: none;
    padding: 0.4em;
    margin: 0;
    font-size: 0.9em;
    width: auto;
  }

  .bytecloud-hero {
    width: 30%;
    max-width: 342px;
  }

  .hero-section {
    padding: 5em 0 6em 0;
  }

  .sub-heading {
    margin-bottom: 12%;
  }

  .scroll-icon {
    margin: 0 auto;
    position: relative;
    bottom: 0;
    animation: bounce 1.5s infinite alternate; 
  }

  .features-section {
    padding: 6em 0;
  }

  .features-list.features-list li {
    margin: 0 1.2em;
  }


  .subscribe-section {
    padding: 6em 0;
  }

  .subscribe-section p {
    margin-bottom: 1em;
  }

  .subscribe-button {
    width: 50%;
  }
}

@media only screen and (min-width: 1600px) {

  p {
    font-size: 1.1em;
    line-height: 1.6em;
  }

  .hero-section {
    padding: 7em 0 6em 0;
  }

  .bytecloud-hero {
    width: 22%;
    max-width: 22%;
  }

  .hero-section h1 {
    font-size: 2.5em;
  }

  .sub-heading {
    font-size: 1.4em;
  }


  .features-list img {
    width: 12%;
    max-width: 50%;
  }

  .features-list h2 {
    font-size: 1.6em;
  }

  .features-list.features-list li {
    margin: 0 4em;
  }

  .subscribe-section p {
    font-size: 2.2em;
  }

  .subscribe-button {
    width: 30%;
    font-size: 1.6em;
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(20px);
  }
}
