* {
  box-sizing: border-box;
}

/* =============================================================================
SITE-WIDE STYLES
================================================================================ */

html {
  letter-spacing: 0.05rem;

  /* website Layout */
  --site-layout: 120rem;
  --layout-w-480: 30rem;
  --layout-w-720: 45rem;
  --layout-w-960: 60rem;
  --layout-w-1440: 90rem;
  --layout-w-1920: 120rem;

  /* https://colorhunt.co/palette/22283131363f76abaeeeeeee */
  /* website color scheme */
  --website-color-light: rgb(246, 245, 242);
  --website-color-dark: rgb(49, 54, 63);

  --website-color-1: rgb(34, 40, 49);
  --website-color-2: rgb(49, 54, 63);
  --website-color-3: rgb(252, 245, 150);
  --website-color-4: rgb(238, 238, 238);

  --font-color: rgb(238, 238, 238);
  --font-color-alt: rgba(0, 0, 0, 1);

  --color-white: rgba(255, 255, 255, 1);
  --color-gray-50: rgb(242, 242, 242);
  --color-gray-100: rgb(141, 139, 137);
  --color-gray-300: rgb(78, 78, 78);
  --color-gray-400: rgb(70, 65, 60);
  --color-gray-500: rgb(37, 34, 31);
  --color-gray-600: rgb(32, 29, 26);
  --color-gray-700: rgb(0, 0, 0);

  /* error & success */
  --color-error-100: rgb(255, 192, 180);
  --color-error-500: rgb(199, 51, 15);
  --color-error-700: rgb(170, 54, 26);

  --color-success-100: rgb(145, 255, 218);
  --color-success-500: rgb(0, 119, 79);

  /* opacity */
  --opacity-3: 0.3;
  --opacity-5: 0.5;
  --opacity-7: 0.7;
  --opacity-9: 0.9;
  --opacity-1: 1;

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 4rem;
  --space-12: 5.5rem;

  /* border radius */
  --border-radius-small: 4px;
  --border-radius-medium: 6px;
  --border-radius-large: 10px;
  --border-radius-50: 50px;

  /* box shadow */
  --shadow-medium: 0 2px 8px rgba(0, 0, 0, 0.2);

  /* box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.25); */

  /* box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.1); */
}

/* =============================================================================
FONT 
================================================================================ */
.open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "width" 100;
}

.merriweather {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "width" 100;
}

/* =============================================================================
LAYOUT 
================================================================================ */

/* //// */
body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--website-color-2);
  color: var(--font-color-alt);
  margin: 0;
  padding: 0;
}


.loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(252, 245, 150, .98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-content {
  color: var(--font-color);
  font-family: Consolas, Menlo, Monaco, monospace;
  font-weight: 700;
  font-size: calc(1.5rem + 0.75vw);
  opacity: 0.8;
}

.loader-content:before {
  font-size: calc(1.75rem + 1vw);
  color: var(--font-color);
  content: "{";
  display: inline-block;
  animation: pulse 0.4s alternate infinite ease-in-out;
}

.loader-content:after {
  font-size: calc(1.75rem + 1vw);
  color: var(--font-color);
  content: "}";
  display: inline-block;
  animation: pulse 0.4s 0.3s alternate infinite ease-in-out;
}

.btn-loader-1,
.btn-loader-2 {
  color: var(--font-color);
  font-weight: 600;
  opacity: 0.8;
}

.btn-loader-1:before,
.btn-loader-2:before {
  font-size: calc(1.2rem + 0.25vw);
  font-family: Consolas, Menlo, Monaco, monospace;
  color: rgb(148, 148, 148);
  content: "{";
  display: inline-block;
  animation: pulse 0.4s alternate infinite ease-in-out;
}

.btn-loader-1::after,
.btn-loader-2:after {
  font-size: calc(1.2rem + 0.25vw);
  font-family: Consolas, Menlo, Monaco, monospace;
  color: rgb(148, 148, 148);
  content: "}";
  display: inline-block;
  animation: pulse 0.4s 0.3s alternate infinite ease-in-out;
}

@keyframes pulse {
  to {
    transform: scale(0.8);
    opacity: 0.5;
  }
}


/* Skeleton loader container */
.skeleton-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 40, 49);
  background-image: url(../images/site_imgs/bg/loading-bg.png);
  background-attachment: fixed;
  background-size: cover;
  z-index: 9997 !important;
}

.skeleton-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 9999 !important;
  /* left: 50%;
  transform: translateX(-50%);
  max-width: var(--layout-w-1920);
  margin: 0 auto;
  padding: var(--space-2) 0 var(--space-12); */
}
.skeleton-fullpage-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.skeleton-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: var(--layout-w-1440);
  margin: 0 auto;
  padding: var(--space-12) var(--space-4);
}

.skeleton-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-12);
  width: 100%;
  max-width: var(--layout-w-1440);
  margin: var(--space-6) auto 0;
}

.skeleton-hr {
  width: 100%;
  border: 1px solid var(--website-color-4);
}

.skeleton-left-container {
  width: 100%;
  max-width: 10rem;
  margin: 0;
}

.skeleton-middle-container {
  width: 100%;
  max-width: var(--layout-w-720);
  margin: var(--space-12) 0 0 0;
}
.skeleton-middle-featured-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
  height: auto;
}
.skeleton-middle-featured-container article {
  display: flex;
  flex-direction: row;
    justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.skeleton-right-hero-container {
  width: 100%;
  max-width: var(--layout-w-480);
  margin: 0;
}

.skeleton-right-hero-container .skeleton-image {
  width: 480px;
  max-width: var(--layout-w-480);
  height: 480px;
  margin: 0;
}

.skeleton-right-container {
  width: 100%;
  max-width: var(--layout-w-480);
  margin: 0;
}

.skeleton-mid-row {
  max-width: var(--layout-w-1440);
  margin: var(--space-12) auto 0;
  padding: 0 var(--space-4);

}


/* Skeleton item */
.skeleton-item {
  display: block;
  background: linear-gradient(90deg, rgba(240, 240, 240, .5) 25%, #e0e0e0 50%, rgba(240, 240, 240, .5) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite ease-in-out;
  border-radius: 5px;
  border: 1px solid rgb(206, 206, 206);
}

/* Header skeleton */
.skeleton-header {
  width: 100%;
  max-width: 100%;
  height: 1.5rem;
  margin-bottom: var(--space-4);
  z-index: 9999 !important;
}

/* Text skeleton */
.skeleton-text {
  width: 100%;
  max-width: 100%;
  height: 1.5rem;
  margin-bottom: var(--space-4);
  z-index: 9999 !important;
}

/* Image skeleton */
.skeleton-image {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  z-index: 9999 !important;
}

/* Keyframe animation for skeleton effect */
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

hr {
  border-top: 1px solid var(--color-white);
  border-bottom: 1px solid var(--color-gray-400);
}

.flexbox-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--space-4);
}

.flexbox-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
}

/* to see  ul li */
/* .flexbox-row li {
  background-color: greenyellow; 
}*/

/* =============================================================================
SECTIONS 
================================================================================ */
section {
  width: 100%;
  max-width: var(--site-layout);
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

/* =============================================================================
SITE FONTS & BUTTONS 
================================================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", serif;
  text-transform: capitalize;
  color: var(--font-color-alt);
  margin: 0;
  padding: 0 0 0;
}

h1 {
  font-size: calc(1.75rem + 1vw);
  /* Adjusts size based on viewport width */
}

h2 {
  font-size: calc(1.5rem + 0.75vw);
}

h3 {
  font-size: calc(1.125rem + 0.5vw);
}

h4 {
  font-size: calc(1rem + 0.25vw);
}

h5 {
  font-size: calc(0.825rem + 0.2vw);
}

h6 {
  font-size: calc(0.67rem + 0.15vw);
}

a {
  font-size: calc(0.825rem + 0.2vw);
  text-decoration: none;
  cursor: pointer;
  color: var(--font-color-alt);
  margin: 0;
  padding: 0;
  transition-property: color;
  transition-duration: 0.2s;
}

a:hover,
a:active {
  color: var(--font-color);
}

p {
  font-size: calc(0.825rem + 0.2vw);
  line-height: var(--space-6);
  color: var(--font-color);
  margin: 0;
  padding: 0;
}

blockquote {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  color: var(--font-color-alt);
  font-weight: 300;
  font-style: italic;
  margin: 0;
  padding: 0;
}

.spacer {
  display: block;
  width: 100%;
  height: var(--space-2);
}

.space-1 {
  height: var(--space-1);
}

.space-3 {
  height: var(--space-3);
}

.space-4 {
  height: var(--space-4);
}

.space-6 {
  height: var(--space-6);
}

.space-8 {
  height: var(--space-8);
}

.space-10 {
  height: var(--space-10);
}

.space-12 {
  height: var(--space-12);
}

.float-right {
  display: block;
  float: right;
  text-align: right;
  clear: both;
}

.right {
  display: inline-block;
  text-align: right;
}

.float-left {
  display: block;
  float: left;
  text-align: left;
  clear: both;
}

.left {
  display: inline-block;
  text-align: left;
}

.center {
  width: 100%;
  max-width: auto;
  margin: 0 auto;
  text-align: center;
}


/* =============================================================================
LOADER
================================================================================*/


.brackets {
  color: var(--font-color);
}

.brackets:before {
  font-family: Consolas, Menlo, Monaco, monospace;
  color: white;
  content: "{";
  display: inline-block;
  /* animation: pulse 0.4s alternate infinite ease-in-out; */
}

.brackets:after {
  font-family: Consolas, Menlo, Monaco, monospace;
  color: white;
  content: "}";
  display: inline-block;
  /* animation: pulse 0.4s 0.3s alternate infinite ease-in-out */
}

/* =============================================================================
BUTTONS
================================================================================*/

.btn {
  cursor: pointer;
  font: inherit;
  font-size: calc(0.825rem + 0.2vw);
  font-weight: 700;
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  background-color: var(--website-color-2);
  color: var(--font-color);
  border: 1px solid var(--website-color-3);
  border-radius: var(--border-radius-small);
  transition-property: all;
  transition-duration: 0.2s;
}

.btn:hover,
.btn:active {
  color: var(--font-color-alt);
  background-color: var(--website-color-3);
}

.btn-alt {
  font-size: calc(0.825rem + 0.2vw);
  background-color: transparent;
  color: var(--font-color);
  font-weight: 700;
  border: 3px solid var(--website-color-1);
  transition-property: background-color;
  transition-duration: 0.4s;
}

.btn-alt:hover,
.btn-alt:active {
  background-color: var(--website-color-1);
}


.btn_transparent {
  cursor: pointer;
  font: inherit;
  font-size: calc(0.825rem + 0.2vw);
  font-weight: 700;
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  background-color: none;
  color: var(--font-color);
  transition-property: all;
  transition-duration: 0.2s;
}

.btn_transparent:hover,
.btn_transparent:active {
  color: var(--website-color-3);
}

.btn-small {
  display: inline-block;
  width: fit-content;
  max-width: fit-content;
  font-size: calc(0.7rem + 0.1vw);
  font-weight: 600;
  color: var(--font-color-alt);
  background: transparent;
  padding: 1px 10px;
  white-space: nowrap;
  border: 1px solid var(--website-color-1);
  border-radius: var(--border-radius-50);
  transition: background-color 0.4s ease;
}

.btn-small:hover,
.btn-small:active {
  color: var(--font-color);
  background-color: var(--website-color-2);
}

.showInput {
  display: block;
}

.hideInput, hidden {
  display: none;
}

/* =============================================================================
MSG , ALERTS, SUCCESS 
================================================================================ */
.messages {
  display: none;
}

.alert {
  border-radius: var(--border-radius-small);
  background-color: var(--color-error-100);
  color: var(--color-error-500) !important;
  padding: var(--space-4);
  font-weight: 700;
}

.success {
  border-radius: var(--border-radius-small);
  background-color: var(--color-success-100);
  color: var(--color-success-500) !important;
  padding: var(--space-4);
  font-weight: 700;
}

.alert h2,
.success h2 {
  font-size: 1rem;
  margin: var(--space-2) 0;
  text-transform: uppercase;
}

p.alert,
p.success {
  margin: var(--space-2) 0;
}

/* =============================================================================
ICONS, BADGES 
================================================================================ */

.badge {
  margin-left: var(--space-2);
  padding: 0.15rem var(--space-4);
  border-radius: 10rem;
  background-color: transparent;
  color: var(--font-color);
}

/* =============================================================================
BREADCRUMBS
================================================================================ */
.breadcrumbs .container {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-4);
  padding: 0 0 var(--space-4);
  color: var(--font-color);
  font-weight: 500;
}

.breadcrumb-item a {
  color: var(--font-color);
  text-decoration: none;
  transition-property: color;
  transition-duration: 0.4s;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:active,
.breadcrumb-item a.active {
  color: var(--website-color-3) !important;
}

.breadcrumb-item.active .active {
  color: var(--website-color-3);
  font-weight: bold;
}

.breadcrumb-item:not(:last-child)::after {
  content: " / ";
  padding-left: var(--space-4);
}

/* =============================================================================
MISC 
================================================================================ */


/* =============================================================================
FOOTER 
================================================================================ */

footer {
  width: 100%;
  max-width: var(--site-layout);
  height: 100%;
  margin: 0 auto;
}

#footer {
  position: relative;
  background-color: var(--website-color-2);
  color: var(--font-color);
  margin-top: auto;
  border-top: 1px solid var(--website-color-3);
  padding: var(--space-8) var(--space-4) var(--space-8);
}

#footer img {
  width: 100%;
  max-width: 12rem;
  height: 100%;
}

#footer h3,
#footer h4 {
  color: var(--font-color);
}

#footer .flexbox-row ul:first-of-type {
  width: 35%;
}

#footer li,
h4 {
  padding-bottom: var(--space-4);
}

#footer a {
  color: var(--font-color);
}

#footer a:hover,
#footer a:focus {
  color: var(--website-color-3);
}

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(34, 40, 49);
  border-top: 1px solid rgb(252, 245, 150);
  color: white;
  padding: 15px;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
  gap: 30px;
}

#cookie-consent-banner div:first-child {
  max-width: 70%;
  margin-bottom: 0;
}

#cookie-consent-banner a {
  color: rgb(252, 245, 150);
  text-decoration: underline;
}

#cookie-consent-banner button {
  margin-left: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

#accept-cookies {
  background-color: rgb(252, 245, 150);
  color: black;
}

#reject-cookies {
  background-color: #777;
  color: white;
}



/* =============================================================================
MEDIA RESPONSIVE 
================================================================================ */

@media (max-width: 48rem) {

  /* 768px */
  .breadcrumbs .container {
    flex-wrap: wrap;
  }

  .skeleton-hero {
    margin-top: 0;

  }

  .skeleton-hero-row {
    flex-wrap: wrap-reverse;
    margin: var(--space-12) auto;
  }

  .skeleton-left-container,
  .skeleton-right-container {
    display: none;
  }

  .skeleton-mid-row {
    flex-wrap: wrap;
    height: auto;
    position: relative;
    margin: var(--space-6) 0;
  }

  .skeleton-right-hero-container .skeleton-image,
  .skeleton-middle-featured-container article .skeleton-image {
    max-width: 100%;
    height: 300px;
  }

  .skeleton-middle-featured-container article {
    flex-wrap: wrap;
  }

  img {
    width: 100%;
    max-width: auto;
    height: 10rem;
  }

  footer .flexbox-row {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-6);
    text-align: center;
  }

  footer p {
    text-align: center;
  }
}