@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

/* ******************* DEFAULT OPTIONS ******************* */

* {
  box-sizing: border-box;
  /* border: 1px solid black; */
  margin: 0;
}

body {
  height: 100vh;
  width: 100vw;
  font-family: 'Outfit', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(217, 54%, 11%);
}

p {
  font-size: 18px;
}

/* ******************* POSITIONING ******************* */

h1 {
  height: 28px;
  width: 85%;
  font-size: 22px;
  font-weight: 600;
  color: hsl(0, 0%, 100%);
}

h1 span:hover {
  color: hsl(178, 100%, 50%);
  cursor: pointer;
  transition: 0.8s ease;
}

h1 + p {
  height: 52px;
  width: 85%;
  font-weight: 300;
  color: hsl(215, 51%, 70%);
}

.card-body {
  height: 596px;
  width: 350px;
  /* border: 1px solid black; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  background-color: hsl(216, 50%, 16%);
}

.littleStuff {
  display: flex;
  justify-content: space-between;
  height: 30px;
  width: 85%;
  display: flex;
  align-items: center;
}

.littleStuff p:nth-child(1) {
  font-weight: 600;
  display: flex;
  align-items: center;
  color: hsl(178, 100%, 50%);
}
.littleStuff p:last-child {
  font-weight: 300;
  display: flex;
  align-items: center;
  color: hsl(215, 51%, 70%);
}

.line {
  height: 2px;
  width: 85%;
  background-color: hsl(215, 32%, 27%);
  border: none;
}

.creator {
  font-weight: 300;
  height: 33px;
  width: 85%;
  display: flex;
  align-items: center;
}

.creator span {
  color: hsl(215, 51%, 70%);
  margin-right: 5px;
}

#name {
  color: hsl(0, 0%, 100%);
}

#name:hover {
  color: hsl(178, 100%, 50%);
  cursor: pointer;
  transition: 0.8s ease;
}

.attribution {
  font-size: 14px;
  margin-bottom: 5px;
  text-align: center;
  width: 220px;
}

.attribution a {
  color: hsl(215, 51%, 70%);
}

/* ******************* IMAGES ******************* */

.mainImage {
  height: 302px;
  width: 302px;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  margin-top: -50%;
  left: 50%;
  margin-left: -50%;
}

.images-container {
  position: relative;
  padding: 0px;
  margin: 23px 0px;
  height: 302px;
  width: 302px;
  border-radius: 8px;
}

.imgTwo {
  position: absolute;
  padding: 126px 127px;
  top: 50%;
  margin-top: -150px;
  left: 50%;
  margin-left: -151px;
  border-radius: 8px;
  background-color: hsla(178, 100%, 50%, 0.2);
  transition: 0.5s ease;
  opacity: 0;
  z-index: 1;
}

.imgTwo:hover {
  opacity: 1;
  cursor: pointer;
}

.littleStuff img[alt='Ethereum'] {
  height: 18px;
  width: 11px;
  margin-right: 5px;
}

.littleStuff img[alt='Clock'] {
  height: 16px;
  width: 16px;
  margin-right: 5px;
}

.headShot {
  height: 33px;
  width: 33px;
  margin-right: 15px;
  border: 1px solid hsl(0, 0%, 100%);
  border-radius: 33px;
}

/* ******************* MOBILE MEDIA QUERY ******************* */

@media screen and (max-width: 675px) {
  body {
    height: 667px;
    width: 375px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .card-body {
    height: 543px;
    width: 327px;
  }

  .littleStuff {
    height: 30px;
  }

  .littleStuff p {
    font-size: 14px;
  }

  .creator {
    margin: 8px 0px;
  }

  /* ******************* IMAGES ******************* */
  .images-container {
    height: 278px;
    width: 278px;
    margin-top: 23px;
    margin-bottom: 10px;
  }
  .mainImage {
    height: 278px;
    width: 278px;
    border-radius: 8px;
  }

  .imgTwo {
    padding: 115px 115px;
    margin-top: -139px;
    margin-left: -139px;
  }
}
