@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-primary: rgb(70,90,104);
  --c-muted: rgb(219,219,219);
  --c-bg: rgb(249,247,246);
  
  --frame-width: 3rem;
  --arrow-icon-size: 4rem;
  --image-height: 50%;
  --cta-text-size: 1.5rem;
}

@media (max-width: 575px) {
  :root {
    --frame-width: 1.5rem;
    --arrow-icon-size: 2rem;
    --image-height: 35%;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(20px);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(5px);}
}

html,
body {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

.frame {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.frame:before,
.frame:after,
.frame > div:before,
.frame > div:after {
  content: '';
  position: absolute;
  height: 50%;
  width: 50%;
  pointer-events: none;
}

/* Top-Right */
.frame:after {
  right: 0;
  top: 0;
  border-right: var(--frame-width) solid var(--c-bg);
  border-top: var(--frame-width) solid var(--c-bg);
}

/* Top-Left */
.frame:before {
  border-left: var(--frame-width) solid var(--c-muted);
  border-top: var(--frame-width) solid var(--c-muted);
}

/* Bottom-Left */
.frame > div:before {
  bottom: 0;
  border-left: var(--frame-width) solid var(--c-primary);
  border-bottom: var(--frame-width) solid var(--c-primary);
}

/* Bottom-Right */
.frame > div:after {
  bottom: 0;
  right: 0;
  border-right: var(--frame-width) solid var(--c-muted);
  border-bottom: var(--frame-width) solid var(--c-muted);
}

a {
  color: var(--c-primary);
  text-decoration: none;
}

a:hover {
  color: #3c5260;
  text-decoration: underline;
}

.site-header{
  height: 100vh;
  width: 100%;
}

main {
  min-height: 100vh;
}

footer {
  padding-bottom: calc(var(--frame-width) + 1rem);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 75%);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff;
}

.company-card {
  padding: 1rem 0;
  border-top: 1px solid var(--c-muted);
  border-bottom: 1px solid var(--c-muted);
}

.btn-primary {
  --bs-btn-bg: var(--c-primary);
  --bs-btn-border-color: var(--c-primary);
  --bs-btn-hover-bg: #3c5260;
  --bs-btn-hover-border-color: #3c5260;
  --bs-btn-active-bg: #344754;
  --bs-btn-active-border-color: #344754;
}

.site-footer a {
  color: #31424d;
}

.form-control, .form-select {
  border-color: var(--c-muted);
}
.form-control:focus, .form-select:focus {
  border-color: #7d8c96;
  box-shadow: 0 0 0 .25rem rgba(70,90,104,.15);
}

.border-top { border-top: 1px solid var(--c-muted) !important; }
.border-bottom { border-bottom: 1px solid var(--c-muted) !important; }

#formSuccess {
  color: var(--c-primary);
}

.arrow-circle {
  background-color: transparent;
  height: var(--arrow-icon-size);
  padding: 0;
  border: none;
  animation: bounce 2s infinite;
}

.call-to-action {
  position: absolute;
  top: clamp(70vh, calc(100vh - 10rem), calc(100vh - var(--arrow-icon-size) - 20px));
  font-size: var(--cta-text-size);
}

.bi-arrow-down-circle {
  width: var(--arrow-icon-size);
  height: var(--arrow-icon-size);
}

header img {
  aspect-ratio: auto;
  margin-top: 8%;
  height: var(--image-height);
}

.card-header {
  background-color: var(--c-bg);
}

body:not(:has(header)) main {
  padding-top: calc(var(--frame-width) + 1rem);
  padding-bottom: calc(var(--frame-width) + 1rem);
}