body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  display: flex;
  margin: 0;
  overflow: auto;
  position: relative;
}

.side-bar {
  position: fixed;
  /* border: 2px solid rebeccapurple; */
  background-color: black;
  height: 100vh;
  width: 220px;
  min-width: 220px;
  color: rgb(158, 158, 158);
  z-index: 1;
}

nav {
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
}
nav > * {
  margin: 30px 20px;
}

.logo {
  width: 135px;
  margin: 20px 20px 0px 20px;
}
.menu {
  display: flex;
  flex-direction: column;
}

nav a {
  color: rgb(158, 158, 158);
  text-decoration: none;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

#home {
  color: white;
}
nav i {
  /* border: 1px solid rebeccapurple; */
  width: 25px;
  height: 30px;
  padding-right: 10px;
}

.option {
  /* border: 1px solid orange; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 105px;
}

.personalize {
  display: flex;
  flex-direction: column;
}

.personalize div {
  /* border: 1px solid rebeccapurple; */
}

.terms {
  /* border: 1px solid red; */
  /* div 맨 아래로 이동 */
  position: absolute;
  bottom: 2px;
  margin: 30px 20px;
  font-size: 10px;
}
.terms div {
  margin: 10px 5px;
  color: rgb(158, 158, 158);
  text-decoration: none;
}

nav a:hover {
  color: white;
  transition: 0.6s;
}

.terms div:hover {
  text-decoration: underline;
}

/* 오른쪽 */

.app {
  margin-left: 220px;
  /* border: 2px solid yellowgreen; */
  width: 100%;
}
header {
  background-color: rgb(22, 22, 22);
  /* border: 2px solid brown; */
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  color: white;
}

header > div {
  display: flex;
  align-items: center;
}
.arrow {
  margin-left: 20px;
  /* border: 1px solid wheat; */
}
.arrow div {
  margin: 10px;
  padding: 6px 8px;
  border-radius: 50%;
  background-color: black;
  color: rgb(158, 158, 158);
}

.options {
  /* border: 1px solid palegoldenrod; */
  /* width: 60%; */
}

.options > div {
  width: 100%;
  margin: 14px;
  display: flex;
  /* justify-content: baseline; */
  /* border: 1px solid salmon; */
}

.options-nav {
  display: flex;
  width: 70%;
  justify-content: space-between;
  /* border: 1px solid red; */
}
.options-left div div {
  width: 80px;
  /* border: 1px solid skyblue; */
  text-align: center;
}
.options-left > div:last-child {
  width: 80px;
  /* border: 1px solid skyblue; */
  text-align: center;
  padding-left: 10px;
}
.header-mobile {
  display: none;
}

#longbar {
  padding-left: 25px;
  width: 10px;
}
.options div {
  cursor: pointer;
}
.options div button {
  all: unset;
  font-size: 14px;

  align-self: center;
  /* border: 1px solid goldenrod; */
  margin: 0px 5px;
}

.options div button:hover {
  /* justify-content: center; */
  all: unset;
  font-size: 15px;
}

.logIn {
  border: none;
  white-space: nowrap; /*// 줄바꿈 방지 */
  padding: 11px 40px;
  border-radius: 30px;
  margin: 18px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.logIn:hover {
  white-space: nowrap; /*// 줄바꿈 방지 */
  padding: 13px 42px;
  border-radius: 30px;
  margin: 16px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

/* Main App */

main {
  /* border: 5px solid pink; */
  background-color: rgb(20, 20, 20);
  padding: 15px;
  justify-content: space-between;
}

main > div {
  /* border: 1px solid pink; */
  height: 25vw;
  margin: 20px 0px;
}
main img {
  width: 87%;
  border-radius: 5px;
  margin: 13px;
}

.music-section-header {
  /* border: 5px solid red; */
  width: 100%;
  height: 5vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.music-section-header > div {
  height: 50%;
  /* border: 2px solid blue; */
}

.music-section-header a {
  text-decoration: none;
}
.music-section-header a:hover {
  text-decoration: underline;
}

.music-section-header-title a {
  color: white;
  font-size: 24px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.music-section-header-seeAll a {
  color: rgb(158, 158, 158);
  font-size: 11px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.music-section-articles {
  /* border: 3px dashed red; */
  height: 80%;
}

.music-section-article:hover {
  background-color: rgb(39, 39, 39);

  transition: 0.4s;
}

.music-section-articles > article {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}

.music-section-article {
  background-color: rgb(27, 27, 27);
  border-radius: 7px;
  margin: 10px;
  /* width: 20%; */
  max-width: 204px;
  min-width: 166px;
  height: 270px;
  padding: 5px;
  margin-left: 20px;
}
.music-section-article-title {
  color: white;
  /* border: 2px solid red; */
  position: relative;
  top: -32%;
  font-size: 15px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin: 0px 10px;
}

.music-section-articles p {
  color: rgb(158, 158, 158);
  /* border: 2px solid yellow; */
  font-size: 12px;
  position: relative;
  top: -32%;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin: 10px;
}

.music-section-article-image > img:last-child {
  opacity: 0%;

  width: 27%;
  position: relative;
  left: 58%;
  bottom: 70px;
  /* border: 2px dashed darkcyan; */
  color: rgb(0, 187, 0);
  /* margin-left: auto; */
}
.music-section-article-image:hover > img:last-child {
  opacity: 100%;
  transition: 0.4s;
  bottom: 80px;
}

.music-section-article-image {
  cursor: pointer;
  /* border: 2px solid peru; */
}

/* footer */

footer {
  /* border: 2px solid blue; */
  height: 520px;
  background-color: black;
}

.footer-upper {
  padding: 100px 30px 40px;
  display: flex;
  /* border: 2px solid rosybrown; */
  justify-content: space-between;
  color: rgb(158, 158, 158);
  text-decoration: none;
}

.footer-upper-about {
  display: flex;
  width: 42%;
  /* border: 1px dashed darkcyan; */
  justify-content: space-between;
  font-size: 15px;
}

.footer-upper-about * {
  margin: 10px 0px;
}

.footer-upper-about > div > div:first-child {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.footer-upper-link {
  /* border: 1px dashed darkcyan; */
  width: 170px;
  display: flex;
  justify-content: space-between;
}

.footer-upper a {
  color: white;
  text-decoration: none;
}

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

.footer-under {
  margin: 10px 0px;
  padding: 35px;
  /* border: 2px solid saddlebrown; */
}

.footer-under > div {
  /* border: 2px solid pink; */
  width: 100%;

  display: flex;
  justify-content: space-between;
}

.footer-under-terms a {
  font-size: 12px;
  margin-right: 30px;
  color: rgb(158, 158, 158);
  text-decoration: none;
}

.footer-under-copyright {
  font-size: 11.5px;
  color: rgb(158, 158, 158);
}

.column a:hover,
.footer-upper-link i:hover,
.footer-under-terms a:hover {
  color: rgb(81, 214, 81);
}

/* .terms a:hover {
  text-decoration: underline;
} */

@media screen and (max-width: 1520px) {
  main > div {
    height: 30vw;
  }
  .music-section-articles > article {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (max-width: 1340px) {
  main > div {
    height: 30vw;
  }
  .music-section-articles > article {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1160px) {
  .music-section-articles > article {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 980px) {
  main > div {
    height: 45vw;
  }
  .music-section-articles > article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
/* @media screen and (max-width: 800px) {
  main > div {
    height: 45vw;
  }
  .music-section-articles > article {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
} */
/* mobile version */
@media screen and (max-width: 620px) {
  .logo,
  .personalize,
  .arrow,
  .options,
  footer,
  .terms {
    display: none;
  }
  .app {
    background: linear-gradient(
      -20deg,
      rgba(2, 0, 36, 1) 0%,
      rgb(95, 0, 63) 95%,
      rgb(173, 0, 116) 100%
    );
  }
  header {
    background-color: transparent;
  }
  .header-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 7% 7% 0;
  }
  .header-mobile span {
    font-size: 6vw;
    font-weight: 600;
  }
  .fa-gear {
    padding-left: 10px;
  }
  .side-bar {
    position: fixed;
    /* border: 2px solid rebeccapurple; */
    background-color: rgb(39, 39, 39);
    height: 12vh;
    width: 100%;
    min-width: 220px;
    bottom: 0;
    color: rgb(158, 158, 158);
  }
  .menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 5%;
  }
  nav a {
    display: flex;
    flex-direction: column;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
      sans-serif;
  }
  nav i {
    width: 0;
    height: 100%;
    margin: auto;
    padding-right: 20px;
  }
  nav span {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
  }

  .app {
    margin-left: 0;
    /* border: 2px solid yellowgreen; */
    /* width: 100%; */
  }

  .music-section-articles > article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .music-section-article {
    margin-left: 0;
    min-width: 0;
    height: 70%;
    padding: 0;
    background-color: rgb(43, 43, 43);
  }
  .music-section-article-title {
    font-size: 4vw;
    top: -32%;
  }
  .music-section-header-title a {
    font-size: 5vw;
  }
  .music-section-article p {
    font-size: 3vw;
    top: -35%;
  }
  main {
    background-color: transparent;
  }
  main > div {
    height: 70vw;
  }

  main img {
    /* width: 10%; */
    border-radius: 5px;
    margin: 6%;
  }
}
