@import url("accessibility-styles.css");

div.trilange::before,
h2.to-do::before {
  content: ''
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: Montserrat, sans-serif
}

header.header2 {
  position: relative;
  height: 50vh;
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/new_conct.jpg);
  background-size: cover;
  background-position: top
}

.div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.div>img {
  width: 300px
}

div.brand {
  display: grid;
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "title title""picture tekst""button button";
  grid-gap: .5rem;
  align-items: center
}

div.brand div:nth-child(1) {
  grid-area: title;
  text-align: center
}

div.brand div:nth-child(2) {
  grid-area: picture;
  text-align: center;
  padding: 0 2rem
}

div.brand div img {
  width: 80%
}

div.brand div:nth-child(3) {
  grid-area: tekst;
  padding: 0 2rem
}

div.brand div:nth-child(4) {
  grid-area: button;
  text-align: center;
  margin: 1rem 0 2.5rem;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

.b_back {
  color: #fff;
  font-size: .9rem;
  margin: 1rem 2rem;
  padding: .4rem 1.5rem;
  background-color: #467DE3;
  border-radius: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #467DE3;
  transition: .3s
}

.b_brand {
  color: #fff;
  font-size: .9rem;
  margin: 1rem 2rem;
  padding: .4rem 1.5rem;
  background-color: #fc8e28;
  border-radius: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #fc8e28;
  transition: .3s
}

div.top_footer p,
h2.to-do {
  text-transform: uppercase;
  letter-spacing: 1px
}

.b_back:hover {
  text-decoration: none;
  box-shadow: 0 0 0 6px #fff, 0 0 0 12px #467DE3;
  color: #fff
}

.b_brand:hover {
  text-decoration: none;
  box-shadow: 0 0 0 6px #fff, 0 0 0 12px #fc8e28;
  color: #fff
}

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.top_footer {
  width: 100%;
  background-color: #467de3;
  padding: .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, .5), rgba(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: .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;
  text-decoration: none;
  font-size: 1.1rem
}

.footer ul.quick-links li {
  padding: .2rem 0
}

.footer ul.quick-links li a {
  color: #fff;
  -webkit-transition: .3s all ease;
  -moz-transition: .3s all ease;
  transition: .3s all ease
}

.footer ul.quick-links li a:hover {
  color: #467de3
}

.footer ul.social li {
  padding: .3rem .5rem
}

.footer ul.social li a i {
  -webkit-transition: .3s all ease;
  -moz-transition: .3s all ease;
  transition: .3s all ease
}

.footer ul.social li:hover a i.face {
  color: #3b5999;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, .3)
}

.footer ul.social li:hover a i.goog {
  color: #dd4b39;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, .3)
}

.footer ul.social li:hover a i.mail {
  color: #467de3;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, .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
}

@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: .7rem
}

/* WSPÓŁPRACA */
div.przycisk-wspolpraca {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

aside.for-free {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
}

aside.for-free.show-form {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: block;
}

div.try {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: fit-content !important;
  min-height: 45% !important;
  padding: 4rem;
  border-radius: 10px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/contact.jpg);
  background-position: center;
  background-size: cover;
}

#ajax-contact2 {
  width: 100%;

  display: flex;
  align-items: center;

}

#ajax-contact2 > * {
  width: 100%;
}

p.preferContact {
  color: #fafafa;
}

div.exit {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  text-align: center;
  cursor: pointer;
  color: rgba(250,250,250, .8);
  transition: .4s;
}

div.exit i:hover {
  transform: rotate(-45deg);
}

aside.for-free form {
  width: 90%;
  display: flex;
  flex-direction: column;
  color: #1F1F1F;
}

form label {
  font-size: 1rem;
  padding: 1.2rem 1rem .7rem 0;
  color: #fafafa;
}

form input {
  background: transparent;
  border-color: transparent;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  transition: all .8s;
  color: #fff;
}

form input:focus  { 
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #fff;
  border-bottom: 2px solid #3864B5;
}

/* 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: .8rem;
  margin-bottom: .4rem;
}

div.reliable-wrapper a.reliable-link {
  text-transform: lowercase;
  color: #3EDAF0;
  font-size: .9rem;
  letter-spacing: normal;
  transition: .3s;
}

div.reliable-wrapper a.reliable-link:hover {
  color: #467de3 ;
}

@media (max-width:1400px) {
  div.try {
    top: 30%;
    right: -15%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 55%;
    padding: 2rem;
  }
}

@media (max-width:768px) {
  div.brand {
    grid-template-columns: 1fr;
    grid-template-areas: "title""picture""tekst""button";
    grid-gap: .5rem;
    align-items: center
  }

  div.brand div img {
    width: 100%
  }

  div.brand div:nth-child(3) {
    padding: 2rem
  }

  .footer h5 {
    padding-left: 0;
    border-left: transparent;
    padding-bottom: 0;
    margin-bottom: 10px
  }

  h2.to-do::before {
    left: 30%;
    right: 30%
  }

  div.brand div:nth-child(4) {
    padding: 1rem 0
  }
}

@media (max-width:480px) {
  h2.to-do {
    font-size: 1.9rem;
    padding: 2rem 1rem
  }

  div.top_footer p {
    font-size: 1.5rem;
    padding: .8rem
  }

  .footer a {
    margin-top: 1rem
  }

  div.trilange::before {
    left: 50%
  }

  .b_back {
    margin-bottom: 16px
  }
  div.try {
    top: 40%;
    right: -40%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 65%;
    padding: 2rem;
  }
}

@media (max-width: 375px) {
  footer a { font-size: .7rem !important; }
}

@media (max-width: 1024px) {
  div.try #ajax-contact2 .disclaimer-form * {
    font-size: 0.8rem;
  }
}

#ajax-contact > div.form-check.p-3 > label {
  padding-top: 0 !important;
}

div.try #ajax-contact2 .disclaimer-form {
  padding-left: 0 !important;
}

#ajax-contact2 {
  width: 80% !important;
}

div.try #ajax-contact2 .disclaimer-form .form-check {

  display: flex;
  flex-direction: column;
  gap: .5rem;
  
  color: white;
}

div.try #ajax-contact2 .disclaimer-form .form-check {
  padding-top: 1rem;
}

div.try #ajax-contact2 .disclaimer-form .form-check label {
  padding: 0;
}

.footer .container {
  width: 90vw !important;
  max-width: 1750px !important;
}
