/* COPYRIGHT 2022 Mypatro.com */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-family: "Space Grotesk", sans-serif;
  --primary1-clr: #e71c31;
  --primary2-clr: #e71c31;
  --border-clr: #f1f3f5;
  --white-clr: #ffffff;
  --bg1-clr: #fee7ea;
  --bg2-clr: #ffd0da;
  --bg3-clr: #f8f9fa;

  /* SHADES */
  --primary-txt-clr: #33040e;
  --secondary-txt-clr: #000000;

  /* ICON CLR */
  --icon-clr1: #868e96;
  --icon-clr2: #343a40;
}

.md {
  color: var(--icon-clr1);
}

html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1;
  font-weight: 400;
  color: #666666;
}

/* //////////////////////////////// */
/* HEADER SECTION BEGIN */
/* //////////////////////////////// */
/* .section-header {
  background-color: var(--white-clr);
} */

.header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.8rem 2rem;
}

/* LOGO */

.logo {
  height: 20px;
}

/* NAVIGATION */
.main-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4rem;
  padding: 10px;
}

.main-nav-link {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-txt-clr);
}

.main-nav-link::after {
  content: "";
  width: 20%;
  border-radius: 50px;
  display: block;
  margin: auto;
  height: 3px;
  background-color: transparent;
  transition: all 0.3s;
}

.active::after {
  content: "";
  width: 20%;
  border-radius: 50px;
  display: block;
  margin: auto;
  height: 3px;
  background: rgb(231, 28, 49);
  background: linear-gradient(
    45deg,
    rgba(231, 28, 49, 1) 0%,
    rgba(231, 35, 108, 1) 100%
  );
  transition: all 0.3s;
}

.main-nav-link:hover::after {
  width: 60%;
  background: rgb(231, 28, 49);
  background: linear-gradient(
    45deg,
    rgba(231, 28, 49, 1) 0%,
    rgba(231, 35, 108, 1) 100%
  );
}

.main-nav-link a {
  display: block;
  text-decoration: none;
  padding: 10px 0;
  color: inherit;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.icon-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-cta-more {
  color: var(--icon-clr1);
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.more-nav-icon {
  font-size: 4rem;
}

.nav-hide-me {
  display: none;
}

.nav-cta {
  padding: 1.2rem 2.4rem;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  background: var(--primary1-clr);
}

.nav-cta:hover {
  color: black;
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--primary1-clr);
}

/* //////////////////////////////// */
/* TODAY SECTION BEGIN */
/* //////////////////////////////// */
.section-today {
  padding: 0 2rem;
}

.today {
  column-gap: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  gap: 1rem;
}

.today-info {
  padding: 3rem 3rem;
}

.today-date-info {
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
}

.today-jotyish-info-time {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 1.2rem;
  line-height: 1.3;
}

.two-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  font-size: 1.6rem;
}

.today-right-time {
  align-self: flex-start;
  font-weight: 600;
  display: inline-block;
  color: var(--secondary-txt-clr);
}

.today-right-eng-time {
  font-weight: 600;
  display: inline-block;
  color: var(--secondary-txt-clr);
}

.calendy-info {
  font-weight: 600;
  color: #fff;
}

/* SEARCH BOX */
.search-event {
  padding: 0 4rem;
}

.today-search-event {
  display: flex;
  align-items: center;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 5px transparent;
  transition: all 0.3s;
}

.today-search-event:active {
  box-shadow: 0 0 0 5px #00000047;
}

.event-icon {
  color: var(--primary-clr);
  font-size: 2.3rem;
  font-weight: 500;
}

.event--day-left,
.day-left {
  color: var(--primary-txt-clr);
}

.search-event-btn {
  background-color: #fff;
  width: 50px;
  height: 40px;
  padding: 0 1rem;
  border: none;
  outline: none;
  cursor: pointer;
}

.search-event-input {
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 400;
  border: none;
  outline: none;
  padding: 10px 20px 10px 5px;
}

/* //////////////////////////////// */
/* CALENDAR SECTION BEGIN */
/* //////////////////////////////// */

.section-calendy {
  padding: 5rem 2rem;
}

.calendar {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  column-gap: 2rem;
  padding: 0 2rem;
}

/* EVENT UPCOMMING BEGIN */
.event-box {
  width: 100%;
  background-color: var(--bg1-clr);
  padding: 3rem 2rem;
  overflow: hidden;
}

.event-heading {
  font-weight: 700;
}

/* UPCOMMING EVENT SCROOL BAR */
.upcoming-event::-webkit-scrollbar {
  width: 6px;
}

.upcoming-event::-webkit-scrollbar-track {
  border-radius: 1em;
  margin: 10px;
}

.upcoming-event::-webkit-scrollbar-thumb {
  background-color: var(--primary1-clr);
  border-radius: 1em;
}

.upcoming-event {
  display: grid;
  row-gap: 2rem;
  grid-template-columns: 1fr;

  height: 420px;
  margin-top: 3rem;
  overflow-y: auto;
  padding: 1rem 0;
  padding-right: 1rem;
}

.event-came {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background-color: var(--bg2-clr);
  font-size: 1.2rem;
  font-family: "Noto Sans", sans-serif;
}

.event-came-time {
  width: 40px;
  height: 40px;
  display: flex;
  padding: 0.7rem 1rem;
  font-weight: 600;
  flex-flow: column;
  align-items: center;
  color: white;
  justify-content: space-between;
  background-color: var(--primary1-clr);
  border-radius: 30px;
}

.event-came-info {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  font-weight: 600;
  gap: 1rem;
}

.event-links {
  color: #1864ab;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s;
}

.event-links:hover {
  text-decoration: underline;
}

/* CALENDAR BOX BEGIN */
.calendar-time-box {
  grid-column: 2 / -1;
  color: var(--primary-txt-clr);
}

.date-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.today-time {
  padding: 10px 20px;
  font-weight: 600;
  font-size: 1.6rem;
}

.range-box {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.range-left {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.range-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}

.range-btn:hover,
.range-btn:active .range-icon {
  font-size: 1.3rem;
}

.range-icon {
  color: #fff !important
  ;
  font-size: 2rem;
  transition: all 0.2s;
}

.range-form {
  font-size: 1.6rem;
}

.range-form select {
  font-size: 1.6rem;
  font-family: inherit;
  padding: 1rem 1.5rem;
  outline: none;
  border: none;
  border-radius: 10px;
  background-color: var(--bg3-clr);
  font-weight: 600;
}

.right-time {
  font-size: 1.6rem;
  font-weight: 600;
}

.calendar-day-box {
  margin-top: 1rem;
  overflow: hidden;
  border: 2px solid var(--border-clr);
}

.weekend {
  border-bottom: 2px solid var(--border-clr);
  color: #495057;
}

.weekend--box:last-child {
  border: none;
}

.weekend--box {
  height: 80px;
  padding: 1.5rem 0rem;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: #f8f9fa;

  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-around;
  border-right: 2px solid var(--border-clr);
}

.small-week {
  display: none;
}

.month-box {
  height: 115px;
  display: flex;
  cursor: pointer;
  font-size: 1.6rem;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.5rem;
  font-weight: 500;
  border-right: 2px solid var(--border-clr);
  border-bottom: 2px solid var(--border-clr);
  font-family: "Noto Sans", sans-serif;
}

.month-box:nth-child(7),
.month-box:nth-child(14),
.month-box:nth-child(21),
.month-box:nth-child(28),
.month-box:nth-child(35),
.month-box:nth-child(42) {
  color: red;
  border-right: none;
}

.month-box:nth-child(36),
.month-box:nth-child(37),
.month-box:nth-child(38),
.month-box:nth-child(39),
.month-box:nth-child(40),
.month-box:nth-child(41),
.month-box:nth-child(42) {
  border-bottom: none;
}

.month-dull {
  /* opacity: 0.1; */
  color: #f1f3f5;
}

.month-dull:last-child {
  color: #f1f3f5;
}

.month-dull:hover {
  color: var(--primary-txt-clr);
}

.month-dull:last-child:hover {
  color: red;
}

.today-date {
  color: #fff;
  background-color: var(--primary1-clr) !important;
}

.month-box:hover {
  background-color: #ffd0da;
}

.month-info {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.month-time {
  font-size: 3rem;
  font-weight: 700;
}

.month-laxmi {
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  align-items: center;
}

.month-laxmi:last-child {
  font-family: "Space Grotesk", sans-serif !important;
}

.month-data {
  font-size: 1.2rem;
}

/* //////////////////////////////// */
/* RASHIFAL SECTION BEGIN */
/* //////////////////////////////// */
.section-rashifal {
  padding: 2rem;
  padding-bottom: 10rem;
}

/* .rashifal {
  display: flex;
  align-items: center;
  justify-content: space-between;
} */

.rashi-navigation--box {
  margin: 5rem 0;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rashi-today {
  font-size: 2.4rem;
  font-weight: 600;
}

.rashi-nav {
  display: flex;
  list-style: none;
  border-radius: 50px;
  overflow: hidden;
}

.rashi-nav-link a {
  display: block;
  color: var(--primary-txt-clr);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.4rem 2.2rem;
  text-decoration: none;
  background-color: var(--bg3-clr);
  transition: all 0.3s;
  text-transform: uppercase;
}

.rashi-nav-link a:hover {
  color: #fff;
  background-color: var(--primary1-clr);
}

.rashi-active {
  color: #fff !important;
  background-color: var(--primary1-clr) !important;
}

#daily--box,
#weekly--box,
#monthly--box,
#yearly--box {
  border-right: 1px solid var(--white-clr);
}

#yearly--box {
  border: none !important;
}

.rashi-today--box {
  margin-top: 3rem;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
}

.nepali-astrology {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 4rem;
  row-gap: 3rem;
}

.astrology {
  padding: 2rem 2.5rem;
  font-size: 1.6rem;
  background-color: var(--bg1-clr);
  border-radius: 12px;
}

.astro-up--box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.astro-name--box {
  font-size: 2.4rem;
  font-weight: 800;
}

.astro-link-words {
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.astro-down--box {
  margin-top: 4rem;
  font-weight: 500;
  align-items: center;
  grid-template-columns: 2fr 1fr;
}

.astro-data--box {
  line-height: 1.6;
  font-size: 1.6rem;
}

.astro-img-box {
  height: 90px;
  justify-self: end;
}

/* RECENT NEWS */

.news-box {
  display: block;
  background-color: #e6fcf5;
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 3rem 0;
  text-align: center;
  align-self: start;
}

.news-mail-icon {
  height: 100px;
}

.news-heading {
  font-size: 2.4rem;
  padding: 2rem 3rem 0.5rem 3rem;
}

.news-para {
  font-size: 1.6rem;
  padding: 0.5rem 3rem 1rem 3rem;
}

.news-form-box {
  display: flex;
  flex-flow: column;
  width: 100%;
  padding: 5rem 4rem;
  gap: 1.4rem;
}

.news-form-box input {
  font-size: 1.6rem;
  font-family: inherit;
  border: none;
  outline: none;
  font-weight: 500;
  padding: 1.4rem 3rem;
  border-radius: 11px;
  background-color: var(--bg2-clr);
  border-radius: 30px;
}

.news-form-box input:focus {
  box-shadow: 0 0 1px 2px var(--primary1-clr);
}

.newsl-cta {
  color: var(--white-clr) !important;
}

.newsl-cta:hover {
  color: var(--secondary-txt-clr) !important;
  background: transparent;
  box-shadow: inset 0 0 1px 2px var(--primary1-clr);
}

/* //////////////////////////////// */
/* FOREX SECTION BEGIN */
/* //////////////////////////////// */
.section-forex {
  padding: 2rem;
  padding-bottom: 10rem;
}

.forex {
  padding: 0 2rem;
}

.forex-main--head {
  padding: 3rem 0;
  font-size: 2.4rem;
  font-weight: bolder;
}

.forex-secondry-head {
  font-size: 1.6rem;
  padding: 1rem 1rem;
}

.forex-border-box {
  width: 100%;
  overflow: hidden;
  margin-top: 1rem;
  border: 2px solid var(--border-clr);
}

.forex-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  font-size: 1.6rem;
}

thead {
  background-color: #f8f9fa;
}

tr {
  transition: all 0.3s;
}

tbody tr:hover {
  background-color: #f1f3f5bb;
  cursor: pointer;
}

th,
td {
  padding: 2.2rem 3rem;
}

.currency--box {
  width: 60%;
}

td {
  border-top: 2px solid var(--border-clr);
}

.table--2 {
  margin-top: 5rem;
}

.forex-source {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 3rem 2rem;
  display: flex;
  justify-content: flex-end;
}

.forex--links {
  color: #1864ab;
  font-weight: 500;
  text-decoration: none;
}

.forex--links:hover {
  text-decoration: underline;
}

/* //////////////////////////////// */
/* BLOG SECTION BEGIN */
/* //////////////////////////////// */
.section-blog {
  padding: 2rem;
  padding-bottom: 10rem;
}

.blog {
  padding: 0 2rem;
}

.blog-heading {
  padding: 0 2rem;
  font-size: 2rem;
}

.blog-posts {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  justify-content: center;
  gap: 3rem;
  margin-top: 5rem;
  padding: 4rem 3rem;
  background-color: #e6fcf5;
}

.blog-img--box {
  height: 310px;
  background-image: url(../img/blog/1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 10px;
}

.blog-content {
  height: 260px;
}

.up-blog-btn {
  margin-top: 3rem;
}

.blog-cta {
  display: inline-block;
  padding: 1.5rem 2.4rem;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  align-self: flex-start;
}

.blog-cta:hover {
  color: black;
  background-color: transparent;
  box-shadow: inset 0 0 0 2px var(--primary1-clr);
}

.blog-btn-arrow {
  margin-left: 0.3rem;
}

.lable--date {
  font-size: 1.6rem;
  color: var(--primary-txt-clr);
}

.type-tag {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.blog-headline {
  margin-top: 2.5rem;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -1.1px;
  color: var(--primary-txt-clr);
}

.preview-data {
  margin-top: 1.8rem;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #777777;
}

.blog-posts--container {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 4rem;
  row-gap: 5rem;
}
.blog-posts:first-child {
  grid-column: 1 / -1;
}

.down-blog--post:nth-child(2) {
  grid-column: 1 / 3;
}

.down-blog--post:nth-child(3) {
  grid-column: 3 / -1;
}

.down-blog--post {
  display: flex;
  flex-flow: column;
  gap: 3rem;
  padding: 4rem 3rem;
  background-color: #e7f5ff;
}

.down-blog--post .blog-img--box {
  height: 200px;
}

.img-box-1 {
  background-image: url(../img/blog/2.png);
}

.img-box-2 {
  background-image: url(../img/blog/3.png);
}

/* //////////////////////////////// */
/* FOOTER SECTION BEGIN */
/* //////////////////////////////// */
/* .section-footer {
} */

.footer {
  padding: 6rem 3rem 1rem 3rem;
  grid-template-columns: repeat(5, 1fr);
  color: #fff;
  align-items: start;
}

.logo-box {
  grid-column: 1 / 5;
}

.product-box {
  grid-column: 5 / 6;
}

.company-box {
  grid-column: 6 / -1;
}

.policy--box {
  grid-column: 1 / 7;
}

.footer-heading {
  color: var(--primary-txt-clr);
  font-size: 1.8rem;
  text-transform: uppercase;
}

.footer-para {
  font-size: 1.6rem;
  margin-top: 1.5rem;
}

.social-links {
  font-size: 2.5rem;
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-icon {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-ion-icon {
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-ion-icon:hover {
  transform: scale(1.2);
}

.footer-links {
  font-size: 1.6rem;
}

.ul-box {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-flow: column;
  gap: 1.3rem;
}

.footer-links a {
  text-decoration: none;
  transition: all 0.1s;
  color: #fff;
}

.footer-links a:hover {
  border-bottom: 2px solid #fff;
}

.policy--box {
  margin-top: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-size: 1.6rem;
  padding: 1rem 0;
}

.policy-ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 1rem 0;
}
