/* COLORS */
:root {
  --primary: #2F2482;
  --secondary: #008AD1;
  --primary-text: #000000;
  --secondary-text: #252525;
  --white: #FFFFFF;
  --light-grey: #F8F9FA;
}

/* FONTS */
@font-face {
  font-family: "Raleway";
  font-weight: 400;
  src: url("/assets/fonts/Raleway-Regular.ttf");
}

@font-face {
  font-family: "Raleway";
  font-weight: 500;
  src: url("/assets/fonts/Raleway-Medium.ttf");
}

@font-face {
  font-family: "Raleway";
  font-weight: 700;
  src: url("/assets/fonts/Raleway-Bold.ttf");
}

h1,
h2,
h3 {
  font-family: "Raleway";
  font-weight: 700;
}

h4,
h5,
.h5 {
  font-family: "Raleway";
  font-weight: 500;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 21px;
}

h5,
.h5 {
  font-size: 18px;
}

.small-text {
  font-size: 13px;
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 15px;
  }

  h5,
  .h5 {
    font-size: 14px;
  }

  .small-text {
    font-size: 9px;
  }
}

/* UNIVERSAL */
body {
  display: flex;
  flex-direction: column;
  font-family: "Raleway";
  font-weight: 400;
  color: var(--primary-text);
  font-size: calc(20px * 0.7);
}

a {
  text-decoration: none;
}

a:hover,
a {
  color: var(--primary-text);
}

.padded-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media screen and (max-width: 991px) {
  .padded-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.header-title {
  padding: 3.5rem 0;
}

.background-header {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: var(--primary);
}

.text-white {
  color: var(--white);
}

.text-blue {
  color: var(--primary);
}

/* NAVBAR */
.navbar .navbar-brand img {
  height: 60px;
}

.navbar .nav-item {
  margin-right: 1rem;
}

.navbar .nav-item .nav-link {
  color: var(--primary);
  font-family: "Raleway";
  font-weight: 500;
  font-size: calc(20px * 0.7);
}

.navbar .nav-item .nav-link.active {
  font-weight: bolder;
}

/* FOOTER */
footer {
  background-color: var(--secondary);
  padding: 3rem 0;
}

footer,
footer a,
footer a:hover,
footer .footer-socmed a i {
  color: var(--white);
}

footer .footer-menu a:not(:last-child),
footer .footer-socmed a:not(:last-child) {
  margin-right: 1rem;
}

@media screen and (max-width: 991px) {
  footer .footer-menu a:not(:last-child) {
    margin-right: 0.5rem;
  }
}

footer .footer-socmed a {
  padding: 0;
  margin-bottom: 1.5rem;
}

/* SOCIAL MEDIA */
.social-media-section .socmed-image img {
  width: 100%;
}

.social-media-section h2,
.social-media-section .socmed-image img {
  margin-bottom: 3rem;
}

.social-media-section h2,
.social-media-section h3 {
  text-align: center;
}

.instagram-image img {
  width: 100%;
  margin-top: 3rem;
}

/* home event card */
.acara-section .container {
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
}

.events-slider .slick-slide {
  margin: 0rem 15px;
}

.event-card {
  aspect-ratio: 597 / 419;
  border-radius: calc(20 / 16 * 1rem);

  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;

  position: relative;
  cursor: pointer;
}

.event-card .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
  width: 100%;
  padding: calc(60 / 16 * 1rem);
  position: relative;
  z-index: 2;
}

.event-card .text {
  color: var(--white);
}

.event-card .text.date {
  font-size: calc(32 / 16 * 1rem);
  line-height: 1;
}

.event-card .text.title {
  font-size: calc(36 / 16 * 1rem);
  font-weight: bold;
  line-height: 1;
}

.event-card .overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0%;
  left: 0%;

  z-index: 1;

  background: linear-gradient(0deg, var(--primary) 5%, rgba(47, 36, 130, 0.5));
  border-radius: calc(20 / 16 * 1rem);
}

.events-slider .slick-prev,
.events-slider .slick-next {
  height: unset;
  width: unset;
}

/* about event section */
.about-acara-section {
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: calc(120 / 16 * 1rem);
}

.event-list-item {
  display: flex;
  gap: calc(70 / 16 * 1rem);
}

.event-list-item .image-container {
  align-items: center;
  display: flex;
  justify-content: center;
}

.event-list-item .image-container .image {
  aspect-ratio: 391 / 489;
  width: calc(390 / 16 * 1rem);
}

.event-list-item .text {
  display: flex;
  flex-direction: column;
  font-size: calc(20 / 16 * 1rem);
  font-weight: 700;
  gap: calc(32 / 16 * 1rem);
  margin: calc(60 / 16 * 1rem) 0;
}

.event-list-item .text .title {
  color: var(--primary);
  font-size: calc(25 / 16 * 1rem);
}

.event-list-item .text .date {
  text-decoration: underline;
}

.event-list-item .text .description {
  font-weight: 400;
}

@media (max-width: 768px) {
  .event-list-item {
    flex-direction: column;
    gap: calc(16 / 16 * 1rem);
  }

  .event-list-item .text {
    margin: calc(32 / 16 * 1rem) 0;
    text-align: center;
  }
}

.filter-wrapper {
  align-items: center;
  display: flex;
  gap: calc(23 / 16 * 1rem);
  justify-content: space-between;

  margin-top: calc(60 / 16 * 1rem);
  margin-bottom: calc(80 / 16 * 1rem);
}

.filter-wrapper .input-field {
  background-color: #F2F4F8;
  border-radius: calc(12 / 16 * 1rem);
  font-size: calc(20 / 16 * 1rem);
  padding: calc(24 / 16 * 1rem);
}

.filter-wrapper .event-title-wrapper {
  align-items: center;
  display: flex;
  gap: calc(10 / 16 * 1rem);
  height: calc(74 / 16 * 1rem);
  width: 74%;
}

.filter-wrapper .event-title-wrapper .event-title-field {
  border: none;
  background: none;
  width: 100%;
}

.filter-wrapper .dropdown-wrapper {
  height: calc(74 / 16 * 1rem);
  width: 24%;
}

.filter-wrapper .year-dropdown {
  border: none;
  height: 100%;
  width: 100%;

  -moz-appearance:none; /* Firefox */
  -webkit-appearance:none; /* Safari and Chrome */
  appearance:none;
}

.filter-button {
  border: none;
  background: none;
}

.dropdown-wrapper {
  position: relative;
}

.dropdown-wrapper .custom-caret {
  position: absolute;
  right: 34px;
  top: calc(50% - 5px);
}

.event-header {
  color: var(--primary);
  font-size: calc(32 / 16 * 1rem);
  font-weight: 700;
  margin-bottom: calc(52 / 16 * 1rem);
}

.events-pagination {
  margin-bottom: calc(72 / 16 * 1rem);
}

.events-pagination .pagination {
  display: flex;
  gap: calc(24 / 16 * 1rem);
  justify-content: center;
}

.events-pagination .active>.page-link,
.events-pagination .page-link.active {
  background-color: var(--primary);
  border-color: var(--primary);
}

.events-pagination .page-link {
  color: var(--primary);

  height: calc(65 / 16 * 1rem);
  width: calc(65 / 16 * 1rem);
  font-size: calc(32 / 16 * 1rem);

  align-items: center;
  display: flex;
  justify-content: center;

  border-radius: calc(10 / 16 * 1rem) !important;
}

.events-pagination .active .page-link,
.events-pagination .page-link:hover {
  color: var(--white);
}

.no-events {
  color: var(--primary);
  font-size: calc(16 / 16 * 1rem);
  font-weight: 700;
}

.event-popup {
  position: relative;
}

.event-popup .btn-close {
  position: absolute;
  top: calc(16 / 16 * 1rem);
  right: calc(12 / 16 * 1rem);

  background-color: white;
  border-radius: 100%;
  padding: .5rem;
  opacity: 1;
}

.event-popup .content {
  display: flex;
}

.event-popup .content .image-container {
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-popup .content .image-container .image {
  width: 100%;
}

.event-popup .content .text {
  background-color: var(--primary);
  color: var(--white);
  flex: 2;

  padding: calc(0.6 * 60 / 16 * 1rem) calc(0.6 * 45 / 16 * 1rem);

  display: flex;
  flex-direction: column;
  gap: calc(0.6 * 32 / 16 * 1rem);
  justify-content: space-between;

}

.event-popup .content .text .title {
  font-size: calc(0.6 * 36 / 16 * 1rem);
  font-weight: 700;
  line-height: 1;
}

.event-popup .content .text .date {
  font-size: calc(0.6 * 25 / 16 * 1rem);
  font-weight: 700;
}

.event-popup .content .text .location {
  font-size: calc(0.6 * 20 / 16 * 1rem);
  font-weight: 700;
}

.event-popup .content .text .description {
  font-size: calc(0.6 * 20 / 16 * 1rem);
  font-weight: 400;
}
