/*  small screen devices  */
@media screen and (min-width: 640px) {
}
/*  medium screen devices  */
@media screen and (min-width: 768px) {
  /* Header */

  .logo span {
    font-size: 30px;
    line-height: 36px;
  }
  /* Hero Section */

  .hero {
    padding: 130px 0 64px 0;
  }

  .hero .box1 {
    top: 40px;
    left: 40px;
    width: 128px;
    height: 128px;
  }

  .hero .box2 {
    top: 160px;
    right: 80px;
    width: 96px;
    height: 96px;
  }

  .hero .hero-content h2 {
    padding: 0 50px 0 0;
    font-size: 72px;
    line-height: 90px;
    margin-bottom: 32px;
  }

  .hero .hero-content p {
    padding: 16px;
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 32px;
  }

  .button {
    padding: 8px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 20px;
  }

  .btn {
    padding: 16px 32px;
    font-size: 20px;
    line-height: 21px;
  }

  .btn img {
    width: 25px;
    height: 25px;
  }

  .hero .hero-img {
    height: 400px;
  }

  .hero .hero-img .featured-on-img {
    padding: 8px 16px;
    font-size: 16px;
    line-height: 18px;
  }

  /* latest-articles section */

  .header-of-content h2 {
    font-size: 48px;
    line-height: 48px;
  }

  .fresh-content {
    font-size: 16px;
    margin-bottom: 0;
    transform: rotate(3deg);
    display: inline-block;
  }

  .header-of-content {
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    margin-bottom: 48px;
    gap: 100px;
  }

  .article-img {
    position: relative;
    width: 200px;
    height: 150px;
  }

  .article-img img {
    width: 200px;
    height: 150px;
  }

  .btn-btn {
    position: absolute;
    top: -7px;
    right: 0px;
    padding: 2px 8px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 24px;
  }

  .article-content h4 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
  }

  .article-content p {
    font-size: 18px;
    line-height: 29.25px;
    margin-bottom: 16px;
  }

  .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .info img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .info span {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }

  .latest-articles-content .right-column .sidebar {
    padding: 32px;
  }

  .latest-articles-content .right-column .sidebar h4 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 24px;
  }

  .latest-articles-content .right-column .number {
    font-size: 36px;
    line-height: 40px;
    margin-right: 16px;
  }

  .latest-articles-content .right-column .sidebar .list {
    margin-bottom: 24px;
  }

  .detail h5 {
    font-size: 18px;
    line-height: 28px;
  }

  .detail p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 4px;
  }

  .category {
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  /* Authors Section */

  .authors {
    padding: 80px 0;
  }

  .authors::before {
    top: 40px;
    right: 40px;
    width: 160px;
    height: 160px;
  }

  .title {
    margin-bottom: 64px;
  }

  .title h3 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 16px;
  }

  .title p {
    font-size: 20px;
    line-height: 28px;
  }

  .author-card {
    padding: 32px;
  }

  .btn-btn-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 24px;
  }

  .author-card .author-img img {
    width: 150px;
    height: 150px;
    margin-bottom: 24px;
  }

  .author-card h4 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 8px;
  }

  .author-card .author-info span {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  .author-card .author-info p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
  }

  .author-card .socials .con {
    padding: 8px 12px;
  }

  .author-card .socials img {
    width: 25px;
    height: 25px;
  }

  /* communtiy Section */

  .community {
    padding: 80px 0;
  }

  .community-container .community-left h4 {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 32px;
  }

  .community-container .community-left p {
    padding: 16px;
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 32.5px;
  }

  .list-img {
    width: 45px;
    height: 45px;
    margin-right: 16px;
  }

  .list img {
    width: 30px;
    height: 30px;
  }

  .list span {
    font-size: 18px;
    line-height: 28px;
  }

  .community-container .community-left button img {
    width: 27px;
    height: 27px;
  }

  .join-now {
    font-size: 24px;
    background-color: black;
    color: white;
  }

  .community-container .community-right {
    padding: 32px;
  }

  .community-container .community-right h5 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 32px;
  }

  .community-container .community-right .review {
    padding: 16px 16px 16px 24px;
    margin-bottom: 32px;
  }

  .community-container .community-right .review p {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 29.25px;
  }

  .community-container .community-right .review .user-info .user-img {
    width: 50px;
    height: 50px;
    margin-right: 16px;
  }

  .community-container .community-right .review .user-info span {
    font-size: 14px;
    line-height: 20px;
  }

  .community-container
    .community-right
    .review
    .user-info
    .user-data
    span.name {
    font-size: 18px;
    line-height: 28px;
  }

  /* footer section */
  .footer {
    padding: 50px 0;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-about {
    grid-area: "footer-about";
    grid-column-start: 1;
    grid-column-end: 4;
  }

  .footer-categories {
    grid-area: "footer-categories";
  }

  .footer-newsletter {
    grid-area: "footer-newsletter";
    grid-column-start: 2;
    grid-column-end: 4;
  }

  .footer-about .logo-name {
    margin-bottom: 24px;
  }

  .logo-img {
    width: 60px;
    height: 60px;
    margin-right: 16px;
  }

  .footer-about .logo-name img {
    width: 35px;
    height: 35px;
  }

  .footer-about .logo-name span {
    font-size: 30px;
  }

  .footer p {
    font-size: 18px;
    line-height: 29.25px;
  }

  .footer-container h4 {
    font-size: 24px;
    margin-bottom: 32px;
    line-height: 32px;
  }

  .footer-categories ul li a {
    color: white;
    font-size: 18px;
    line-height: 28px;
  }

  .footer-newsletter .form {
    gap: 16px;
  }

  .footer-newsletter .form input {
    padding: 16px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 28px;
  }

  .footer-newsletter .form input::placeholder {
    font-size: 18px;
    line-height: 28px;
  }

  .footer-newsletter .form button {
    padding: 16px 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
  }

  .footer-copyright {
    padding: 0 18px 0;
  }

  .footer-copyright p {
    font-size: 18px;
    line-height: 28px;
  }

  .footer-copyright ul a {
    color: white;
    font-size: 16px;
    line-height: 28px;
  }
}
/*  large screen devices  */
@media screen and (min-width: 1024px) {
  .container {
    width: 97%;
  }
  /* Header Section */
  header {
    padding: 16px;
  }

  .logo span {
    font-size: 30px;
    line-height: 36px;
  }

  /* hero section */
  .hero {
    padding: 144px 0 64px 0;
  }

  .hero .box1 {
    top: 40px;
    left: 40px;
    width: 128px;
    height: 128px;
  }

  .hero .box2 {
    top: 160px;
    right: 80px;
    width: 96px;
    height: 96px;
  }

  .hero .box3 {
    background-color: oklch(62.3% 0.214 259.815);
    opacity: 0.1;
    position: absolute;
    bottom: 80px;
    left: 478.925px;
    width: 112px;
    height: 112px;
    transform: rotate(45deg);
  }

  .hero .hero-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    gap: 64px;
  }

  .button {
    padding: 8px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 20px;
  }

  .hero .hero-content h2 {
    font-size: 72px;
    line-height: 90px;
    margin-bottom: 32px;
  }

  .hero .hero-content p {
    padding: 16px;
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 32px;
  }

  .btn {
    padding: 16px 32px;
    font-size: 20px;
    line-height: 28px;
  }

  .btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .hero .hero-img {
    height: 400px;
  }

  .hero .hero-img img {
    transform: rotate(2deg);
  }

  .hero .hero-img .featured-on-img {
    top: -10px;
    right: -10px;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
  }

  /* latest-articles section */

  .latest-articles {
    padding: 80px 0;
  }

  .latest-articles-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  .latest-articles-content .left-column {
    width: 67%;
  }

  .header-of-content {
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    margin-bottom: 48px;
    gap: 300px;
  }

  .header-of-content h2 {
    font-size: 48px;
    line-height: 48px;
  }

  .fresh-content {
    font-size: 16px;
    margin-bottom: 0;
    transform: rotate(3deg);
    display: block;
  }

  .article {
    flex-direction: row;
    gap: 30px;
    margin-bottom: 32px;
    padding: 32px;
  }

  .article-img img {
    width: 150px;
    height: 150px;
  }

  .btn-btn {
    top: -12px;
    right: -10px;
    padding: 2px 8px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 24px;
  }

  .article-content h4 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
  }

  .article-content p {
    font-size: 18px;
    line-height: 29.25px;
    margin-bottom: 16px;
  }

  .info img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }

  .info span {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }

  .latest-articles-content .right-column {
    position: sticky;
    top: 50px;
    width: 30%;
  }

  .latest-articles-content .right-column .sidebar {
    padding: 32px;
  }

  .latest-articles-content .right-column .sidebar h4 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 24px;
  }

  .latest-articles-content .right-column .number {
    font-size: 36px;
    line-height: 40px;
    margin-right: 16px;
  }

  .latest-articles-content .right-column .sidebar .list {
    margin-bottom: 24px;
  }

  .detail h5 {
    font-size: 18px;
    line-height: 28px;
  }

  .detail p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 4px;
  }

  .category {
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  /* Authors Section */

  .authors {
    padding: 80px 0;
  }

  .authors::before {
    top: 40px;
    right: 40px;
    width: 160px;
    height: 160px;
  }

  .title {
    margin-bottom: 64px;
  }

  .title h3 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 16px;
  }

  .title p {
    font-size: 20px;
    line-height: 28px;
  }

  .author-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .author-card {
    padding: 32px;
  }

  .btn-btn-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 24px;
  }

  .author-card .author-img img {
    width: 150px;
    height: 150px;
    margin-bottom: 24px;
  }

  .author-card h4 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 8px;
  }

  .author-card .author-info span {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  .author-card .author-info p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
  }

  .author-card .socials .con {
    padding: 8px 12px;
  }

  .author-card .socials img {
    width: 25px;
    height: 25px;
  }

  /* communtiy Section */

  .community {
    padding: 80px 0;
  }

  .community-container {
    flex-direction: row;
    gap: 30px;
  }

  .community-container .community-left h4 {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 32px;
  }

  .community-container .community-left p {
    padding: 16px;
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 32.5px;
  }

  .list-img {
    width: 45px;
    height: 45px;
    margin-right: 16px;
  }

  .list img {
    width: 30px;
    height: 30px;
  }

  .list span {
    font-size: 18px;
    line-height: 28px;
  }

  .community-container .community-left button img {
    width: 27px;
    height: 27px;
  }

  .join-now {
    font-size: 24px;
    background-color: black;
    color: white;
  }

  .community-container .community-right {
    padding: 32px;
  }

  .community-container .community-right h5 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 32px;
  }

  .community-container .community-right .review {
    padding: 16px 16px 16px 24px;
    margin-bottom: 32px;
  }

  .community-container .community-right .review p {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 29.25px;
  }

  .community-container .community-right .review .user-info .user-img {
    width: 50px;
    height: 50px;
    margin-right: 16px;
  }

  .community-container .community-right .review .user-info span {
    font-size: 14px;
    line-height: 20px;
  }

  .community-container
    .community-right
    .review
    .user-info
    .user-data
    span.name {
    font-size: 18px;
    line-height: 28px;
  }

  /* footer section */
  .footer {
    padding: 50px 0;
  }

  .footer-container {
    display: flex;
    flex-direction: row;
  }

  .footer-about .logo-name {
    margin-bottom: 24px;
  }

  .logo-img {
    width: 60px;
    height: 60px;
    margin-right: 16px;
  }

  .footer-about .logo-name img {
    width: 35px;
    height: 35px;
  }

  .footer-about .logo-name span {
    font-size: 30px;
  }

  .footer p {
    font-size: 18px;
    line-height: 29.25px;
  }

  .footer-container h4 {
    font-size: 24px;
    margin-bottom: 32px;
    line-height: 32px;
  }

  .footer-categories ul li a {
    color: white;
    font-size: 18px;
    line-height: 28px;
  }

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

  .footer-newsletter .form {
    gap: 16px;
  }

  .footer-newsletter .form input {
    padding: 16px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 28px;
  }

  .footer-newsletter .form input::placeholder {
    font-size: 18px;
    line-height: 28px;
  }

  .footer-newsletter .form button {
    padding: 16px 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
  }

  .footer-copyright {
    padding-inline: 32px;
    flex-direction: row;
  }

  .footer-copyright p {
    font-size: 18px;
    line-height: 28px;
  }

  .footer-copyright ul a {
    color: white;
    font-size: 16px;
    line-height: 28px;
  }
}
/* extra large screen devices  */
@media screen and (min-width: 1280px) {
  .menu-btn {
    display: none;
  }

  nav ul,
  .subscribe-now {
    display: block;
  }

  .author-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
}

/* extra extra large screen devices  */
@media screen and (min-width: 1536px) {
}
