div.trilange::before,
h2.to-do::before {
  content: "";
}

.footer a,
div.headquarters div ul li a:hover {
  text-decoration: none;
}

@import url("accessibility-styles.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: Montserrat, sans-serif;
}

.menu-item {
  font-size: 13px;
  letter-spacing: 3px;
  color: #eee;
  transition: all 0.5s;
}

div.top_footer p,
h2.to-do {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-item:hover {
  color: #84b3ff;
}

.line1,
.line2,
.line3 {
  width: 23px;
  height: 3px;
  margin: 5px;
  transition: all 0.5s;
}

.custom-navbar,
.scrolled {
  transition: background-color 0.4s ease-in-out;
}

.change .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.change .line2 {
  opacity: 0;
}

.change .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.custom-navbar {
  padding: 0 30px;
}

.menu-lang {
  position: absolute;
  top: 70px;
  right: 0;
  background-color: rgba(20, 20, 20, 0.8);
  border-radius: 4px 0 0 4px;
}

.menu-lang a {
  padding: 0.5rem 0.5rem 0;
  display: block;
}

.menu-lang a:last-child {
  padding-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .menu-lang {
    top: calc(59px / 2 - 20px);
    right: calc(30px + 0.75rem);
    background-color: transparent;
    border-radius: none;
    display: flex;
  }
}

.navbar-nav {
  flex-wrap: wrap;
}

.scrolled {
  background-color: rgba(20, 20, 20, 0.8);
}

.no-box-shadow:focus {
  outline: 0;
}

header.header2 {
  position: relative;
  height: 50vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../img/contact.jpg);
  background-size: cover;
  background-position: center;
}

h2.to-do {
  font-size: 2.2rem;
  position: relative;
  text-align: center;
  color: #3d3d3d;
  font-weight: 700;
  padding: 2rem 1rem;
}

h2.to-do::before {
  position: absolute;
  left: 40%;
  right: 40%;
  bottom: 0;
  height: 15px;
  clip-path: polygon(50% 0, 100% 0, 50% 25%, 0 0);
  background-color: rgba(70, 125, 227, 1);
}

div.brand {
  display: grid;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  grid-template-columns: 1fr 40%;
  grid-template-areas: "title title" "tekst picture" "map map";
  grid-gap: 0.5rem;
}

div.brand > div:nth-child(1) {
  grid-area: title;
  text-align: center;
  padding: 2rem 1rem 3rem;
}

div.brand > div:nth-child(2) {
  grid-area: picture;
  text-align: center;
  padding: 0 2rem;
}

div.brand div img {
  width: 100%;
}

div.brand > div:nth-child(3) {
  display: grid;
  grid-area: tekst;
  padding: 0 2rem;
}

div.brand > div:nth-child(4) {
  grid-area: map;
  height: 25rem;
  padding: 2rem 1rem;
  margin: 2rem 0;
}

div.brand > div:nth-child(4) iframe {
  width: 100%;
  height: 100%;
}

div.headquarters {
  width: 100%;
  grid-template-columns: 40% 1fr;
  grid-template-rows: 1fr 1fr;
  justify-content: center;
  grid-gap: 0.8rem;
  grid-template-areas: "quarterBydgoszcz addressBydgoszcz" "quarterTorun addressTorun";
}

div.headquarters div h5 {
  font-size: 1.2rem;
  font-weight: 700;
}

div.headquarters div ul li {
  line-height: 1.7rem;
}

div.headquarters div:nth-child(1) {
  grid-area: quarterBydgoszcz;
  text-align: center;
}

div.headquarters div:nth-child(2) {
  grid-area: addressBydgoszcz;
}

div.headquarters div:nth-child(3) {
  grid-area: quarterTorun;
  text-align: center;
}

div.headquarters div:nth-child(4) {
  grid-area: addressTorun;
}

div.headquarters div ul {
  list-style: none;
}

div.headquarters div img {
  width: 85%;
}

div.top_footer {
  width: 100%;
  background-color: #467de3;
  padding: 0.5rem;
}

div.trilange {
  position: relative;
}

div.trilange::before {
  position: absolute;
  bottom: -3.8rem;
  left: 20%;
  transform: translateX(-50%);
  height: 5rem;
  width: 5rem;
  clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0 50%);
  background-color: #467de3;
  z-index: 2;
}

div.top_footer p {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  padding: 1rem;
}

.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/footer.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 4rem;
}

div h5.footer_title {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 0 1.5rem;
  color: #fff;
}

.footer a,
div.address p {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

div.address p {
  font-size: 1rem;
}

.footer a {
  color: #fff;
  font-size: 1.1rem;
}

.footer ul.quick-links li {
  padding: 0.2rem 0;
}

.footer ul.quick-links li a {
  color: #fff;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.footer ul.quick-links li a:hover {
  color: #467de3;
}

.footer ul.social li {
  padding: 0.3rem 0.5rem;
}

.footer ul.social li a i {
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.footer ul.social li:hover a i.face {
  color: #3b5999;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.3);
}

.footer ul.social li:hover a i.goog {
  color: #dd4b39;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.3);
}

.footer ul.social li:hover a i.mail {
  color: #467de3;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.3);
}

div.line {
  border-top: 2px solid #467de3;
}

div.logo2 {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(80px, 230px));
  justify-content: space-around;
  align-items: center;
}

/* RZETELNA FIRMA */
div.reliable-wrapper {
  display: flex;
  flex-direction: column;
}

div.reliable-wrapper h3.reliable-title {
  color: #fff;
  font-weight: 600;
}

div.reliable-wrapper h3.reliable-title span {
  font-weight: 900;
  color: red;
}

div.reliable-wrapper p.reliable-text {
  color: #f0f0f0;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

div.reliable-wrapper a.reliable-link {
  text-transform: lowercase;
  color: #3edaf0;
  font-size: 0.9rem;
  letter-spacing: normal;
  transition: 0.3s;
}

div.reliable-wrapper a.reliable-link:hover {
  color: #467de3;
}

@media (max-width: 480px) {
  div.logo2 {
    grid-template-columns: repeat(auto-fit, minmax(80px, 100px));
  }
}

div.logo2 div {
  justify-self: center;
}

.logo2 img {
  padding: 1rem;
  width: 100%;
}

div .code {
  font-size: 0.7rem;
}

@media (max-width: 1024px) {
  div.headquarters div h5 {
    font-size: 1.1rem;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    background-color: rgba(20, 20, 20, 0.8);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .footer h5 {
    padding-left: 0;
    border-left: transparent;
    padding-bottom: 0;
    margin-bottom: 10px;
  }

  h2.to-do::before {
    left: 30%;
    right: 30%;
  }
}

@media (max-width: 640px) {
  div.brand {
    grid-template-columns: 1fr;
    grid-template-rows: 10vh (auto-fit, minmax(550px, 1fr));
    grid-template-areas: "title" "picture" "tekst" "map";
    grid-gap: 0.5rem;
    align-items: center;
  }

  div.brand > div:nth-child(1) {
    padding: 1rem;
  }

  div.brand > div:nth-child(2) {
    padding: 0 1rem 3rem;
  }

  div.headquarters {
    grid-template-columns: 1fr;
    justify-content: center;
    grid-gap: 0.8rem;
    grid-template-areas: "quarterBydgoszcz" "addressBydgoszcz" "quarterTorun" "addressTorun";
  }

  div.headquarters div h5 {
    font-size: 1rem;
    font-weight: 700;
  }

  div.headquarters div:nth-child(2),
  div.headquarters div:nth-child(4) {
    text-align: center;
    padding-top: 0.5rem;
  }

  h2.to-do {
    font-size: 1.9rem;
    padding: 2rem 1rem;
  }

  div.top_footer p {
    font-size: 1.5rem;
    padding: 0.8rem;
  }

  .footer a {
    margin-top: 1rem;
  }

  div.trilange::before {
    left: 50%;
  }
}

h2.h2-contact {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d3d3d;
}

.input {
  background: transparent;
  border-color: transparent;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  transition: all 0.8s;
  color: #3d3d3d;
}

.input:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #3d3d3d;
  border-bottom: 2px solid #3864b5;
}

.submit-button {
  width: 45%;
  padding: 0.8rem 2.5rem;
  margin: 1.3rem 0;
  text-transform: uppercase;
  font-weight: 700;
  background-color: #467de3;
  color: #eee;
  transition: all 0.3s;
  letter-spacing: 3px;
}

.submit-button:hover {
  background-color: #3864b5;
}

.label {
  color: #777;
  display: block;
  margin-top: -70px;
  margin-left: 4px;
  font-size: 13px;
  transition: all 0.3s;
}

.input:placeholder-shown + .label {
  transform: translate(20px, 20px);
  opacity: 0;
  visibility: hidden;
}

.textarea {
  color: #777;
  font-size: 13px;
  border: 0;
}

.textarea-change {
  color: #3d3d3d !important;
  background: transparent !important;
  border: 0;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
}

.textarea-change:focus {
  border-bottom: 2px solid #3864b5;
  box-shadow: none;
}

.success {
  color: #53ba2a;
}

.error {
  color: #cc0c0c;
}

.info {
  font-size: 10px;
}

div.g-recaptcha {
  margin: 0 auto;
  width: 304px;
}

@media (max-width: 375px) {
  footer a {
    font-size: 0.9rem !important;
  }
}


.footer .container {
  width: 90vw !important;
  max-width: 1750px !important;
}
