/* General */
* {
  outline: none;
}
:root {
  --primary: #8fA679;
  --secondary: #AFC7B1;
  --text: #060705;
  --backgroundBody: linear-gradient(180deg, #f5f5f5 0%, #DEE8E2 100%);
}
@font-face {
  font-family: Lato;
  src: url("../fonts/Lato.ttf");
}
@font-face {
  font-family: Raleway;
  src: url("../fonts/Raleway.ttf");
}

body {
  font-family: Lato;
  background: var(--backgroundBody);
}

main {
  min-height: 80vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Raleway;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  font-size: calc(3.5rem + ((1vw - 4px) * 0.5263));
}

h2 {
  font-size: calc(2.75rem + ((1vw - 4px) * 0.5263));
}

h3 {
  font-size: calc(2.25rem + ((1vw - 4px) * 0.5263));
}

h4 {
  font-size: calc(2rem + ((1vw - 4px) * 0.5263));
}

h5 {
  font-size: calc(1.75rem + ((1vw - 4px) * 0.5263));
}

h6 {
  font-size: calc(1.5rem + ((1vw - 4px) * 0.5263));
}

p,
.nav-link,
.page-link,
.message,
.p {
  font-size: calc(1rem + ((1vw - 4px) * 0.2632));
}

body,
p,
small,
input,
label,
h1,
h2,
h3,
h4,
h5,
h6,
.p,
.form-select,
.form-control {
  color: var(--text);
}

a {
  color: var(--primary);
}
a:hover {
  --bs-link-color-rgb: var(--secondary);
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--secondary);
  --bs-btn-hover-border-color: var(--secondary);
  --bs-btn-active-bg: var(--secondary);
  --bs-btn-active-border-color: var(--secondary);
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
}

.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--secondary);
  --bs-btn-hover-border-color: var(--secondary);
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--secondary);
  --bs-btn-active-border-color: var(--secondary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--primary);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--primary);
  --bs-gradient: none;
}

.mylabelrequired:after {
  content: "*";
  color: red;
  padding-left: 0.2em;
}

.form-select:focus,
.form-control:focus {
  color: var(--text);
  border-color: transparent;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #1d7a0040;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 0.2em solid var(--primary);
}
.logo {
  height: 70px;
  width: auto;
}
.nav-link {
  color: var(--text);
  font-weight: 500;
  text-transform: uppercase;
}
.nav-link:hover,
.nav-link.active {
  color: var(--secondary) !important;
  fill: var(--secondary);
}
.nav-link:after {
  width: 10px;
  inset-inline-start: 100%;
  background-color: var(--secondary);
  opacity: 0;
  content: "";
  bottom: 0;
  height: 3px;
  left: 0;
  z-index: 2;
  display: block;
  transition: 0.3s;
  transition-timing-function: cubic-bezier(0.58, 0.3, 0.005, 1);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
  opacity: 1;
  transform: scale(1);
  transform-origin: bottom left;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 0.2em solid var(--primary);
}
