* {
  padding: 0;
  margin: 0;
  font-family: "Manrope", sans-serif;
}
.main {
  background-color: hsl(210, 46%, 95%);
}
.article {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art_card {
  width: 80%;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: none;
}

.Card_righ {
  background-color: #fff;
}
.dra_img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.card_title {
  font-size: 22px;
  color: hsl(217, 19%, 35%);
  font-weight: 700;
}
.card_para {
  color: hsl(214, 17%, 51%);
  font-size: 14px;
  font-weight: 500;
}
.author-name {
  color: hsl(217, 19%, 35%);
  font-weight: 700;
  font-size: 0.9rem;
}

.publish-date {
  color: hsl(212, 23%, 69%);
  font-size: 0.8rem;
}

#share-btn {
  width: 35px;
  height: 35px;
  background-color: hsl(212, 23%, 69%);
  border: none;
}

#share-btn:hover {
  background-color: hsl(214, 17%, 51%);
}
#share-btn:hover svg path {
  fill: white;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

.share-menu {
  opacity: 0;
  position: absolute;
  transform: translateY(8px);
  visibility: hidden;
  bottom: 255px;
  right: 155px;
  background: hsl(217, 19%, 35%);
  padding: 10px 25px;
  border-radius: 10px;
  align-items: center;
  color: white;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.share-menu::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: hsl(217, 19%, 35%) transparent transparent;
}
.show {
  display: flex;
  gap: 15px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  align-items: center;
}
.share_para {
  color: hsl(214, 17%, 51%);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0px;
}
#close-btn {
  width: 35px;
  height: 35px;
  background-color: hsl(212, 23%, 69%);
  border: none;
  display: none;
}

#close-btn:hover {
  background-color: hsl(214, 17%, 51%);
}
#close-btn:hover svg path {
  fill: white;
}

@media (max-width: 768px) {
  .dra_img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
  }
  .card_title {
    font-size: 15px;
  }
  .card_para {
    font-size: 13px;
  }
  .share-menu {
    opacity: 0;
    position: absolute;
    transform: translateX(10px);
    visibility: hidden;
    bottom: 170px;
    right: 48px;
    background: hsl(217, 19%, 35%);
    padding: 13px 26px;
    border-radius: 10px;
    align-items: center;
    color: white;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .share-menu::after {
    display: none;
  }
  .show {
    display: flex;
    gap: 15px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    align-items: center;
  }
  #close-btn {
    display: block;
  }
}
@media (min-width: 1400px) and (max-width: 1700px) {
  .card_para {
    color: hsl(214, 17%, 51%);
    font-size: 17px;
    font-weight: 500;
  }
  .share-menu {
    opacity: 0;
    position: absolute;
    transform: translateY(8px);
    visibility: hidden;
    bottom: 44%;
    right: 13%;
    background: rgb(72, 85, 106);
    padding: 10px 25px;
    border-radius: 10px;
    align-items: center;
    color: white;
    transition: opacity 0.5s, transform 0.5s;
  }
  .show {
    display: flex;
    gap: 15px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    align-items: center;
  }
}
