:root {
  --primary: #78eac1;
  --secondary: #7954ff;
  --dark-background: #1d1d1d;
  --semi-dark-background: #262626;
  --light-background: #393939;
  --gray-contrast: #828282;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-y: auto;
}

nav {
  background-color: var(--dark-background);
  border-color: var(--light-background);
  color: var(--gray-contrast);
}

.main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.header-labels {
  color: var(--gray-contrast);
}

.button-primary:hover {
  background-color: var(--secondary);
  color: white;
  cursor: pointer;
}

.button-secondary {
  background-color: var(--secondary);
  color: white;
  transition: all 0.3s ease;
}

.button-secondary:hover {
  background-color: var(--primary);
  color: var(--dark-background);
  cursor: pointer;
}

.button-primary-outlined {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.button-primary-outlined:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: white;
  cursor: pointer;
}

/* Other */
.max-w-lg {
  max-width: 600px;
}

.striped-background {
  background-image: repeating-linear-gradient(
    135deg,
    var(--light-background) 0,
    var(--light-background) 1px,
    transparent 1px,
    transparent 10px
  );

  background-color: var(--dark-background);
}

.terminal-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.terminal-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-right-block {
  margin-left: -100px;
}

.modal-backdrop {
  backdrop-filter: blur(10px);
  background-color: #181818cc;
}

.modal-body {
  background-color: var(--dark-background);
  border-color: var(--primary);
}

/* TODO: fix the media queries, they are not working as expected */

/* Desktop to Tablet */
@media (max-width: 1718) {
  .home-right-block {
    margin-left: -250px;
  }
}

@media (min-width: 768px) and (max-width: 1536) {
  .home-right-block {
    margin-left: -350px;
  }
}

/* Tablet and below */
@media (max-width: 1023px) {
  .terminal-image {
    max-height: 400px;
  }

  .flex-col-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .home-right-block {
    margin-left: 0;
  }
}

/* Small tablets and large phones */
@media (max-width: 767px) {
  .terminal-image {
    max-height: 350px;
  }
}

/* Phones */
@media (max-width: 639px) {
  .home-right-block {
    margin-left: 0;
  }
}

/* Fonts */

@font-face {
  font-family: "Aldrich";
  src: url("/assets/fonts/Aldrich-Regular-5c61c870.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/SourceSans3-SemiBold-1fdd4f72.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
