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

@font-face {
  font-family: "Tahoma";
  src: url("/fonts/Tahoma Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  color: #305949;
  font-family: Tahoma, sans-serif;
  font-size: 16px;
}

.container-fluid {
  max-width: 1440px;
}

header {
  position: relative;
  z-index: 1000;
  display: flex;
  background-color: #005844;
  align-items: center;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.4);
}

header .navbar-nav {
  gap: 1rem;
  padding: 24px 0;
}

@media screen and (max-width: 991px) {
  header .navbar-nav {
    padding: 0;
  }
}

header .navbar-toggler {
  color: #ffffff;
  border-color: #ffffff;
}

header .navbar-expand-lg .navbar-nav .nav-link {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 40px;
  border: 2px transparent solid;
  padding: 0.2rem 1.2rem;
  text-wrap: nowrap;
}

header .navbar-expand-lg .navbar-nav .nav-link:hover {
  color: #83e351;
  border: 2px #83e351 solid;
}

header .navbar-expand-lg .navbar-nav .nav-item.active .nav-link {
  color: #83e351;
  border: 2px #83e351 solid;
}

@media screen and (max-width: 991px) {
  header {
    align-items: flex-start;
  }

  header .container-fluid {
    height: 100%;
  }

  header .navbar-toggler__open {
    display: block;
  }

  header .navbar-toggler__close {
    display: none;
  }

  header.menu-visible {
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 10;
  }

  header.menu-visible .navbar-toggler__open {
    display: none;
  }

  header.menu-visible .navbar-toggler__close {
    display: block;
  }

  header.menu-visible .navbar {
    height: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  header.menu-visible .collapse {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  header.menu-visible .collapse .navbar-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header.menu-visible .collapse .navbar-nav .nav-link {
    font-size: 1.8rem;
    text-align: center;
  }
}

.navbar-brand img {
  max-width: 180px;
}

main {
  position: relative;
  flex: 1;
  background-color: #67b127;
}

@media screen and (max-width: 767px) {
  main {
    z-index: 1;
  }
}

main.bg-gray {
  background: #efefef;
}

.btn,
.form-control {
  /* border-radius: 50px;
  padding: 0.8rem 2rem; */
}

.btn-link {
  padding: 0;
  border-radius: none;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.btn-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.btn-primary {
  font-size: 1rem;
  color: #325849;
  background-color: #b2f704;
  border: none;
  border-radius: 50px;
  font-weight: bold;
}

.btn-primary:hover,
.btn-primary:active {
  color: #ffffff !important;
  background-color: #005844 !important;
}

.btn-outline {
  font-size: 1rem;
  color: #b2f704;
  background-color: transparent;
  border: 2px #b2f704 solid;
  border-radius: 50px;
  padding: 0.2rem 1.2rem;
  font-weight: bold;
}

.login-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 120px;
  padding: 40px;
  width: 400px;
  background-color: #acd488;
  border-top-right-radius: 100px;
}

.login-box .campaign-name {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
}

.login-box .login-button {
  width: 180px;
  position: absolute;
  bottom: 0;
  font-size: 1.6rem;
  color: #325849;
  background-color: #b2f704;
  border: none;
  border-radius: 50px;
  padding: 0.2rem 1rem;
  font-weight: bold;
  bottom: -1.2rem;
  right: calc(50% - 90px);
}

.login-box.login-box--image::before {
  content: "";
  position: absolute;
  top: -46%;
  left: -8%;
  width: 60%;
  height: 60%;
  background-image: url(/images/vetmax.png);
  background-position: top right;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
  .login-box {
    width: 100%;
    margin-bottom: 4rem;
    border-top-right-radius: 0;
  }
}

.user-box {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  background: #005843d0;
  border-bottom-left-radius: 150px;
  max-width: 300px;
  width: 100%;
  color: #ffffff;
}

.user-box .username {
  font-size: 1rem;
  word-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.user-box .btn-link {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .user-box {
    position: static;
    border-radius: 0;
    max-width: 100%;
  }
}

.logo-box {
  margin-bottom: 8rem;
}

@media screen and (max-width: 767px) {
  .logo-box {
    margin: 40px 0 100px;
  }
}

.social-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  width: 20%;
  gap: 1em;
  padding: 1em;
}

.social-box .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 50%;
  color: #67b127;
  background-color: #305949;
  width: 30px;
  height: 30px;
  text-decoration: none;
}

@media screen and (max-width: 967px) {
  .social-box {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
  }
}

footer {
  background-color: #ffffff;
}

footer .container-fluid {
  position: relative;
  padding: 20px;
}

footer .container-fluid.dog-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 70vh;
  width: 60vw;
  background-image: url(/images/pets.png);
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
  footer .container-fluid.dog-bg::after {
    z-index: 0;
    height: 22vh;
  }
}

@media screen and (max-width: 479px) {
  footer .container-fluid.dog-bg {
    padding-bottom: 30%;
  }
}

.contacts {
  gap: 2em;
  padding: 1rem;
}

.contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
}

.contact__icon {
  width: auto;
  height: 56px;
}

.contact__icon.mail-icon {
  height: 40px;
}

.contact__link {
  color: #305949;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
}

.contact__link:hover {
  color: #305949;
  text-decoration: none;
}

.social-footer {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.social-footer .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: 50%;
  color: #ffffff;
  background-color: #305949;
  width: 40px;
  height: 40px;
  text-decoration: none;
}

.campaign-logo {
  max-width: 300px;
}

.campaigns {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

@media screen and (max-width: 767px) {
  .campaigns {
    flex-direction: column;
  }
}

.campaigns .campaign {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #b2d395;
  padding: 20px;
  border-radius: 20px;
  border: 1px #005844 solid;
  color: #005844;
  text-decoration: none;
}

.campaigns .campaign .title {
  font-size: 1.8rem;
}

.campaigns .campaign .year {
  font-size: 3rem;
  font-weight: bold;
}

.carousel .bi {
  font-size: 3rem;
  color: #ffffff;
}

.contact-form {
  width: 100%;
  max-width: 600px;
}

