/* ---------------------------------------- MOBILE ---------------------------------------- */
@media (max-width: 480px) {
  /* ---------------------------------------- header ----------------------------------------  */

  header {
    width: 100%;
    height: auto;
    background-image: url(images/mobile-bg.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
  }

  /* ------------------- go-back ------------------- */

  .go-back {
    position: relative;
    width: 10rem;
    height: 4rem;
    margin-left: 1rem;
    border-radius: 0.4rem;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid silver;
    cursor: pointer;
    text-align: center;
    align-items: center;
    transition: all 0.3s;
  }

  .go-back a {
    font-size: 3rem;
    color: white;
  }

  .go-back:hover {
    background-color: #fff;
  }

  .go-back:hover a {
    color: #000;
    transition: all 0.3s;
    font-weight: 100;
  }

  /* ---------------------------------------- navbar ---------------------------------------- */

  .navbar {
    width: 100%;
    height: 6rem;
    margin: auto;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
  }

  .nav-btn {
    width: 10rem;
    height: 4rem;
    border-radius: 0.4rem;
    margin-right: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid silver;
    cursor: pointer;
  }

  .nav-btn a {
    text-decoration: none;
    color: rgb(238, 227, 227);
    font-size: 1.4rem;
    font-weight: 500;
  }

  /* ---------------------------------------- header section ---------------------------------------- */

  .header-section {
    width: 90%;
    height: auto;
    position: relative;
    display: flex;
  }

  .header-section__left {
    margin-top: 13rem;
  }

  .header-section__left img {
    width: 13rem;
    position: relative;
    top: 0rem;
    left: 50%;
    transform: translate(-50%);
    margin-bottom: 1.6rem;
  }

  .header-section__left h1 {
    font-size: 2.5rem;
    color: #f9f9f9;
    text-align: center;
    line-height: 3rem;
    font: 400;
    letter-spacing: 0;
    display: block;
  }

  .header-p-1 {
    font-size: 1.6rem;
    color: #c0c0c0;
    margin-bottom: 2.4rem;
    text-align: center;
    line-height: 2.4rem;
  }

  .header-form {
    width: 100%;
    height: 5.2rem;
    display: block;
  }

  .header-form input {
    width: 100%;
    height: 50px;
    font-size: 1.6rem;
    padding: 0 1.2rem;
    background-color: #31343e;
    border: 1px solid #31343e;
    border-radius: 4px;
    outline: none;
    color: #fff;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }

  .header-button-1 {
    width: 100%;
    height: 50px;
    font-size: 2rem;
    border: 1px solid #0063e5;
    background-color: #0063e5;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
  }

  .header-p-2 {
    text-align: center;
    font-size: 1.6rem;
    line-height: 3rem;
    color: #c0c0c0;
    margin-top: 7rem;
    margin-bottom: 7rem;
  }

  .header-down-arrow {
    display: block;
    width: 23px;
    height: 23px;
    margin: 50px auto;
  }

  /* ---------------------------------------- main-1 ---------------------------------------- */

  .main {
    width: 90%;
    height: 50vh;
    position: relative;
    margin: 0 auto 23rem;
  }

  .main-bg {
    width: 100%;
    height: 40vh;
    margin: 18rem auto;
    position: absolute;
    background-image: url(images/menu-mobile.jpg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .main-section {
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: flex;
    position: relative;
    top: 0;
  }

  .main-section__text h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #f9f9f9;
    margin-bottom: 0;
  }

  .main-section__text p {
    text-align: center;
    font-size: 1.6rem;
    color: #c0c0c0;
    letter-spacing: 0.2px;
    line-height: 2.4rem;
    margin-top: 2rem;
  }

  /* ---------------------------------------- main-2 ---------------------------------------- */

  .main-2 {
    width: 80%;
    height: auto;
    margin: 0 auto 3rem;
    font-size: 4.4rem;
    color: #fff;
    position: relative;
    text-align: center;
  }

  .main-2 h1 {
    margin-top: 9rem;
    font-size: 2.5rem;
    color: #f9f9f9;
  }

  .main-2 p {
    font-size: 1.6rem;
    color: #c0c0c0;
    line-height: 2.5rem;
    margin: 1rem auto 5rem;
    width: 90%;
  }

  .main-2-bg {
    width: 100%;
    height: 30vh;
    background-image: url(images/menu-2.jpg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .main-list {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
  }

  .main-item {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .main-item img {
    width: 100%;
  }

  .main-item h2 {
    font-size: 2.2rem;
    margin: 2rem 0 1.6rem;
  }

  /* ---------------------------------------- drop-down-menu ---------------------------------------- */

  .drop-down-menu {
    width: 90%;
    height: auto;
    margin: 0rem auto 8rem;
    text-decoration: none;
  }

  .drop-down-menu h1 {
    font-size: 2.4rem;
    color: #f9f9f9;
    text-align: center;
    margin-bottom: 3rem;
  }

  .drop-down-item p {
    font-size: 1.6rem;
  }

  /* ---------------------------------------- footer-device ---------------------------------------- */

  .footer-device {
    height: auto;
  }

  .footer-device h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
  }

  .footer-device-list {
    margin-top: 0;
    display: grid;
    grid-template-columns: 45% 45%;
    list-style: none;
    overflow: hidden;
  }

  .footer-device-item {
    margin-top: 0;
    text-align: center;
  }

  .footer-device-item h1 {
    font-size: 2.3rem;
    color: #f9f9f9;
    margin-bottom: 2rem;
  }

  .footer-device-item img {
    width: 100%;
    margin: 2rem auto;
  }

  .footer-device-item p {
    font-size: 1.6rem;
    color: #c0c0c0;
    text-align: center;
    line-height: 2.5rem;
    margin-bottom: 3rem;
  }

  .last-p {
    width: 90%;
    margin: 0 auto 9rem;
    font-size: 1.4rem;
    color: #c0c0c0;
    text-align: center;
    line-height: 2.4rem;
  }

  /* ---------------------------------------- footer ---------------------------------------- */

  footer {
    width: 100%;
    height: auto;
    padding-bottom: 5rem;
  }

  .footer-links {
    width: 90%;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 1.1rem;
    color: #c0c0c0;
    display: inline-block;
  }

  footer p {
    font-size: 1.2rem;
    color: silver;
    line-height: 2rem;
    text-align: center;
  }
}
