/* IMPORT FONTS */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import 'material-icons/iconfont/material-icons.css';

/* DEFINE FONTS */

$font-family-headings: 'Anton', sans-serif;
$font-family-base: 'Open Sans', sans-serif;

/* DEFINE COLORS */

$primary: #089abf;
$secondary: #6c757d;
$success: #45cc7a;
$info: #016299;
$warning: #ffc107;
$danger: #cc4f47;
$dark: #393f4f;

/* DEFINE BODY */

$body-bg: #dddddd;

/* GENERAL STYLES OVERRIDES */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: $font-family-base;
  background-color: $body-bg;
}
p {
  margin-bottom: 0.5em;
}
a {
  color: $primary;
  font-weight: bold;
}

a:hover {
  color: $info;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: $font-family-headings;
  font-weight: 400;
  margin-bottom: 0.5em;
}
h1 {
  color: $info;
  padding-bottom: 0.25em;
  border-bottom: 2px solid $info;
}
h2 {
  color: $secondary;
  padding-bottom: 0.25em;
  margin-top: 0.5em;
  border-bottom: 2px solid $secondary;
}
h3,
h4,
h5 {
  color: $primary;
  margin-top: 0.5em;
}
h6 {
  color: $secondary;
  padding-bottom: 0.25em;
  margin-top: 0.5em;
  margin-left: 2em;
  border-bottom: 2px solid $secondary;
}
h1,
.h1 {
  font-size: 2.2em;
}
h2,
.h2 {
  font-size: 1.8em;
}
h3,
.h3 {
  font-size: 1.6em;
}
h4,
.h4 {
  font-size: 1.4em;
}
h5,
.h5 {
  font-size: 1.2em;
}
h6,
.h6 {
  font-size: 1em;
}

ol,
ul {
  margin-left: 1.5rem;
}

/* FORM OVERRIDES */

label {
  font-weight: bold;
}

/* BACKGROUNDS OVERRIDES */

.bg-primary {
  background-color: $primary !important;
}
.bg-secondary {
  background-color: $secondary !important;
}
.bg-success {
  background-color: $success !important;
}
.bg-info {
  background-color: $info !important;
}
.bg-warning {
  background-color: $warning !important;
}
.bg-danger {
  background-color: $danger !important;
}
.bg-dark {
  background-color: $dark !important;
}

/* GAP UTILITIES (Bootstrap 4 has no gap-* utilities — Bootstrap 5 only) */

.gap-1 {
  gap: 0.25rem !important;
}
.gap-2 {
  gap: 0.5rem !important;
}
.gap-3 {
  gap: 1rem !important;
}

/* LAYOUT STYLES */

.main-wrapper {
  width: 100%;
  min-height: calc(100vh - 90px);
  padding-top: 80px;
  padding-bottom: 60px;
}
.bg-photo {
  background-image: url(../../content/images/ieric_photo_02.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

/* BOOTSTRAP OVERRIDES */

.card {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ffffff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}
.btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.btn:not([class*='btn-outline-']) {
  color: #ffffff;
}
.btn:disabled:not([class*='btn-outline-']) {
  color: #ffffff;
}
.btn-light {
  color: #6c757d !important;
}
.btn-primary:hover {
  background-color: $primary !important;
  border-color: $primary !important;
  filter: brightness(0.8);
}
.btn-secondary:hover {
  background-color: $secondary !important;
  border-color: $secondary !important;
  filter: brightness(0.8);
}
.btn-success:hover {
  background-color: $success !important;
  border-color: $success !important;
  filter: brightness(0.8);
}
.btn-info:hover {
  background-color: $info !important;
  border-color: $info !important;
  filter: brightness(0.8);
}
.btn-warning:hover {
  background-color: $warning !important;
  border-color: $warning !important;
  filter: brightness(0.8);
}
.btn-danger:hover {
  background-color: $danger !important;
  border-color: $danger !important;
  filter: brightness(0.8);
}

/* MATERIAL ICONS */

.material-icons {
  margin: 0 0.25em;
  vertical-align: middle;
}
