@font-face {
  font-family: "Bw 3Cat";
  src: url("fonts/Bw3Cat-Regular.eot");
  src: url("fonts/Bw3Cat-Regular.eot?#iefix") format("embedded-opentype"),
    url("fonts/Bw3Cat-Regular.woff2") format("woff2"),
    url("fonts/Bw3Cat-Regular.woff") format("woff"),
    url("fonts/Bw3Cat-Regular.ttf") format("truetype"),
    url("fonts/Bw3Cat-Regular.svg#Bw3Cat-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bw 3Cat";
  src: url("fonts/Bw3Cat-Bold.eot");
  src: url("fonts/Bw3Cat-Bold.eot?#iefix") format("embedded-opentype"),
    url("fonts/Bw3Cat-Bold.woff2") format("woff2"),
    url("fonts/Bw3Cat-Bold.woff") format("woff"),
    url("fonts/Bw3Cat-Bold.ttf") format("truetype"),
    url("fonts/Bw3Cat-Bold.svg#Bw3Cat-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bw 3Cat";
  src: url("fonts/Bw3Cat-Black.eot");
  src: url("fonts/Bw3Cat-Black.eot?#iefix") format("embedded-opentype"),
    url("fonts/Bw3Cat-Black.woff2") format("woff2"),
    url("fonts/Bw3Cat-Black.woff") format("woff"),
    url("fonts/Bw3Cat-Black.ttf") format("truetype"),
    url("fonts/Bw3Cat-Black.svg#Bw3Cat-Black") format("svg");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1F2A51;
  --secondary: #C6D300;
  --tertiary: #3968AB;
  --danger: #c50000;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--primary);
  font-family: "Bw 3Cat", helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}

a, a:hover {
  color: inherit;
}

.wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
  background-image: url(../images/bg_xl_tl.svg);
  background-repeat: no-repeat;
  background-position: calc(50% - 330px) top;
  background-size: 163px 123px;
}

.wrapper::after,
.wrapper::before {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

.wrapper::before {
  background-image: url(../images/bg_xl_bl.svg);
  left: 50%;
  margin-left: calc(-568px - 384px);
  width: 568px;
  height: 570px;
}

.wrapper::after {
  background-image: url(../images/bg_xl_br.svg);
  left: calc(50% + 448px);
  width: 442px;
  height: 619px;
}

.logo {
  display: block;
  height: auto;
  max-width: 100%;
}

.logo-3cat {
  margin: 0 auto;
  width: 357px;
}

.logo-lamarato {
  width: 632px;
    width: 480px;
}

.top {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.bottom {
  font-size: 0.75rem;
  text-align: center;
  margin-top: auto;
  padding-top: 24px;
}

.bottom p {
  margin: 20px 0 0 0;
}

.pictures {
  --picture-height: 32vw;
  background-color: #D9DAD9;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  padding: 20px 0;
}

.pictures::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50vw;
  height: 100%;
  background-color: #D9DAD9;
  z-index: -1;
}

.pictures::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 50vw;
  height: 100%;
  background-color: #D9DAD9;
  z-index: -1;
}

@media (min-width: 576px) {
  .pictures {
    --picture-height: 30vw;
    column-gap: 32px;
    justify-content: center;
    margin-top: auto;
  }
}

@media (min-width: 1200px) {
  .pictures {
    --picture-height: 420px;
  }
}

.picture {
  filter: drop-shadow(20px 10px 10px rgba(0,0,0,0.15));
  display: block;
  height: var(--picture-height);
  width: auto;
}

.container-fluid {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0 auto;
  max-width: 768px;
  padding: 2rem 20px;
  width: 100%;
}

.form { 
  margin: 2rem auto 0 auto;
  max-width: 100%;
  width: 360px;
}

.form-row {
  display: flex;
  column-gap: 8px;
  position: relative;
}

.form-input {
  flex-grow: 1;
}

.form-control {
  background-color: #fff;
  border: none;
  border-radius: 12px 0 12px 12px;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--primary);
  box-shadow: none;
  outline: none;
  text-align: center;
  width: 100%;
}

.btn {
  background-color: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 12px 12px 12px 0;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.35;
  padding: 16px 20px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:not(:disabled):hover {
  cursor: pointer;
}

.btn-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
}

.btn-tertiary {
  background-color: var(--tertiary);
  color: #fff;
}

.text {
  font-size: 0.875rem;
  text-align: center;
  margin-top: 20px;
}

.text p {
  margin: 0 0 0 0;
}

.text p + p {
  margin: 1em 0 0 0;
}

.invalid-feedback {
  background-color: var(--danger);
  border-radius: 0 12px 12px 12px;
  color: #fff;
  font-size: 0.875rem;
  padding: 8px 12px;
  text-align: center;
  margin-top: 4px;
  top: 100%;
  left: 0;
  width: 100%;
}

.invalid-feedback p {
  margin: 0;
}