@import './_hero.css';

:root {
  --primary-light-font-color: #3b3c43;
  --primary-dark-font-color: #f3f3f3;
  --secondary-color: #fbc600;
  --primary-font-family: 'Synchrony Sans', sans-serif;
  --secondary-font-family: 'Synchrony Sans', sans-serif;
}

@font-face {
  font-family: 'Synchrony Sans';
  src: url('./a/fonts/SynchronySans.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Synchrony Sans Medium';
  src: url('./a/fonts/SynchronySans-Medium.woff') format('woff');
  font-weight: 500;
}

@font-face {
  font-family: 'Synchrony Sans Bold';
  src: url('./a/fonts/SynchronySans-Bold.woff') format('woff');
  font-weight: 600;
}

html,
body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

body {
  background-color: #fefefa;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of other content */
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.button-container {
  display: inline-flex;
  flex-direction: row;
  gap: 20px;
}

.button-container button.primary {
  background-color: var(--secondary-color);
  color: var(--primary-light-font-color);
  font-family: var(--secondary-font-family);
  padding: 10px 26px;
  font-weight: 500;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
}
