/* Setting fade transition and default settings */
* {
  margin: 0px;
  padding: 0px;
}

body {
  background-color: #FBFAEE;
  overflow-x: hidden;
}

.all_content {
  width: 100%;
  margin: 0 auto;
}

#myList {
  margin-top: 400px;
  position: absolute;
  background-color: yellow;
}

.homepage {
  width: 800px;
  margin-left: 5%;
  margin-top: 340px;
  margin-bottom: 100px;
}

.cont-but {
  width: 90%;
  margin: 0 auto;
  padding-top: 40px;
  height: 52px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  margin: 0;
  height: 242px;
  z-index: 3;
  background: #0D0F1A;
  transition: all 0.1s ease-out;
}

.logo-full {
  width: 100%;
  height: 134px;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
  margin-left: 5%;
}

.nav-up {
  top: -242px;
}

.nav-down {
  top: 0px;
}

.logo {
  width: 100%;
  float: right;
  margin-top: 26px;
  overflow: hidden;
}

.logo img {
  right: 0;
  /* animation: 16s linear 0s infinite normal none running moving;
opacity: .3; */
}

.sticky-logo {
  margin-right: 5%;
  float: right;
  position: sticky;
  position: -webkit-sticky;
  top: 52px;
  z-index: 99;
  cursor: pointer;
  /* required */
}

@keyframes moving {
  0% {
    transform: translateX(-110%);
    right: 100%;
  }

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

.desktop {
  display: block;
}

.mobile {
  display: none;
}

#menu {}

#menu li {
  float: left;
  margin-right: 31px;
  list-style-type: none;
}

ul#menu li a {
  text-align: left;
  font-family: 'IBM Plex Serif', serif;
  color: #FEFBF2;
  font-size: 18px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  list-style-type: none;
  cursor: pointer;
}

ul#menu li a:hover {
  border-bottom: 1px solid rgba(254, 251, 242, 0.30);
  padding-bottom: 3px;
  padding-top: 4px;
  list-style-type: none;
}

.active {
  border-bottom: 1px solid rgba(254, 251, 242, 0.30);
  padding-bottom: 3px;
  padding-top: 4px;
  list-style-type: none;
}

a {
  text-decoration: none;
}

.whoweare {
  z-index: 1;
  position: relative;
}

.whatwedo {
  display: none;
}

.howwework {
  display: none;
}

.contactus {
  display: none;
}

.social-link {
  display: inline-grid;
}

.social-link a {
  width: 100%;
  height: 100%;
  text-align: left;
  font-family: 'IBM Plex Serif', serif;
  color: #0D0F1A;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin-top: 20px;
}

.social-link a:hover {
  color: #E73A3A;
}

p {
  font-family: 'IBM Plex Serif', serif;
  font-size: 33px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #090725;
  letter-spacing: 0;
  line-height: 1.5;
  -webkit-animation: up1 0.8s ease-in-out;
}

.contact-top {
  margin-top: 32px;
}

footer {
  width: 100%;
  height: 40px;
}

footer p {
  position: relative;
  text-align: center;
  font-family: 'IBM Plex Serif', serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #090725;
  letter-spacing: 0;
  margin: 0 auto;
}

@-webkit-keyframes up1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes up2 {
  0% {
    -webkit-transform: translateY(60px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
}

/* @media (max-width: 600px) {}

@media (min-width: 600px) and (max-width: 1100px) {}

@media (min-width: 900px) and (max-width: 1300px) {} */
/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 320px) and (max-width: 879px) {
  html {
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  body {
    height: 100%;
    padding: 0;
    overflow: auto;
    margin: 0;
    -webkit-overflow-scrolling: touch;
  }

  nav {
    height: 122px;
    position: relative;
  }

  #menu {
    position: absolute;
  }

  #menu li {
    float: left;
    margin-top: 16px;
    margin-right: 18px;
    list-style-type: none;
  }

  ul#menu li a {
    font-size: 12px;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .homepage {
    width: 88%;
    margin-left: 5%;
    margin-top: 80px;
    margin-bottom: 100px;
  }

  .social-link {
    /* float: right; */
    position: relative;
    margin-top: 0px;
  }

  .cont-but {
    margin-top: 0px;
    padding-top: 0;
  }

  .logo-full {
    width: 170px;
    height: 56px;
    margin-left: 5%;
  }

  .logo {
    margin-top: 12px;
  }

  .logo-full img {
    width: 100%;
  }

  .social-link a {
    display: block;
    float: none;
    width: 100%;
    height: 100%;
    text-align: left;
    font-family: 'IBM Plex Serif', serif;
    color: black;
    font-size: 15px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  .social-link a:hover {
    border-bottom: 0;
    padding-bottom: 3px;
    padding-top: 4px;
    list-style-type: none;
  }

  .sticky-logo {
    width: 100%;
    float: none;
    position: relative;
    top: 0px;
    z-index: 1;
    cursor: normal;
    margin-bottom: 80px;
  }

  .uptop {
    width: 44px;
    margin: 20px auto;
  }

  p {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 400;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: #090725;
    letter-spacing: 0;
    line-height: 1.6;
    -webkit-animation: up1 0.8s ease-in-out;
  }

  @keyframes moving {
    0% {
      transform: translateX(-110%);
      right: 100%;
    }

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

@media only screen and (min-width: 200px) and (max-width: 320px) {
  #menu li {
    float: left;
    margin-top: 16px;
    margin-right: 12px;
    list-style-type: none;
  }

  ul#menu li a {
    font-size: 11px;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }
}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  ...
}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  ...
}

/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 992px) {
  ...
}
