* {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  text-align: center;
  margin-bottom: 10px;
}

a {
  font-family: 'Roboto', sans-serif;
  color: white;
}

p {
  font-family: "Mplus 1p";
  font-weight: 100;
  margin-top: 30px;
  line-height: 1.4em;
}

a:hover {
  color: white;
  background-color: black;
}

.border {
  position: relative;
  margin-top: -5px;
  margin-bottom: 64px;
}

.border::after {
  position: absolute;
  content: "";
  width: 24px;
  border: 0.5px solid white;
  left: 164px;
  top: 60px;
}

.mobile-start {
  margin: 10px;
  display: none;
}

.side-nav-mobile {
    display: none;
    height: 100%;
    width: 166px;
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    padding-top: 60px;
    filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.6));
}

.side-nav-mobile a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: black;
    display: block;
}

.side-nav-mobile a:hover {
    color: #f1f1f1;
}

.side-nav-mobile .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.arrow {
  display: none;
}

@media screen and (max-height: 450px) {
  .side-nav-mobile {padding-top: 15px;}
  .side-nav-mobile a {font-size: 18px;}
}

section {
  position: relative;
  height: 200vh;
  width: 100%;
}

.card {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  position: fixed;
  right: 63px;
  width: 350px;
  margin-top: 125px;
  padding: 50px;
}


.detail-box {
  margin-top: 50px;
}

/* iphone PLUS ----------------------------------------------------------- */
@media (max-width:420px) {

  h1, h2, a, p {
    font-size: 0.9em;
  }

  .mobile-start {
    z-index: 10;
    position: fixed;
    margin-top: 19px;
    display: block;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 228vh;
    width: 100%;
  }

  .card {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    position: static;
    display: block;
    width: 250px;
    padding: 50px;
    margin-top: 55px;
    margin-bottom: 50px;
  }

  .border::after {
    position: absolute;
    content: "";
    width: 24px;
    border: 0.5px solid white;
    left: 109px;
    top: 60px;
  }

  .arrow {
    display: inline-block;
    height: 20px;
    width: 2px;
    background-color: white;
    position: relative;
    left: 113px;
    top: 40px;
  }

  .arrow p {
    position: absolute;
    font-size: 14px;
    left: -17px;
    top: -58px;
  }

  .arrow::after {
    position:absolute;
    content:"";
    width:0;
    height:0;
    border: 4px solid transparent;
    border-top: 6px solid white;
    left: -3px;
    top: 19px;
  }
}

/* iphone 6/7/8/X ----------------------------------------------------------- */
@media (max-width:380px) and (min-width:330px) {

}

/* iphone 5/SE ----------------------------------------------------------- */

@media (max-width:330px) {
  h1, h2, a, p {
    font-size: 0.8em;
  }

  .card {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    position: static;
    display: block;
    width: 210px;
    padding: 40px;
    margin-top: 55px;
    margin-bottom: 50px;
  }

  .border::after {
    position: absolute;
    content: "";
    width: 24px;
    border: 0.5px solid white;
    left: 95px;
    top: 60px;
  }
  .arrow {
    display: inline-block;
    height: 20px;
    width: 2px;
    background-color: white;
    position: relative;
    left: 100px;
    top: 30px;
  }
}
