@import url("https://fonts.googleapis.com/css?family=Open+Sans");
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css?family=Thasadith");
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

html {
  box-sizing: border-box;
  -webkit-appearance: none;
}

body {
  margin: 0;
  font-family: "Thasadith";
}

main {
  width: 100%;
  height: auto;
  background: rgba(240, 239, 237, 0.212);
}

a {
  text-decoration: none;
}

/* ------------------------------------------NAVIGATION------------------------ */

nav {
  width: 100%;
  height: 6rem;
  background: rgb(255, 255, 255);
  user-select: none;
  display: flex;
  align-items: center;
  /* służy do utrzymywania nagłówka na stronie */
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

nav a:hover {
  color: #b0b0b0;
}

.left-box {
  width: 40%;
  height: 100%;
  line-height: 4rem;
  padding-left: 2rem;
  text-align: end;
  display: flex;
  justify-content: flex-start;
}

.left-box img {
  height: 90%;
  margin: 5px;
  padding: 0;
}

@media all and (max-width: 900px) {
  .left-box span {
    font-size: 12px;
  }
  /* .left-box img { */
    /* position: absolute;
    top: 0px;
    left: 0px;
    height: 90%;
    margin: 5px;
    padding: 0; */
  /* } */
}

.middle-box {
  display: flex;
  width: 60%;
  height: 100%;
  text-align: center;
  justify-content: flex-end;
  vertical-align: middle;
  align-items: center;
  margin-right: 5%;
}

.middle-box a {
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 1em;
  align-self: center;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 4rem;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #1b1d1f;
  z-index: 1000;
}

.dropdown-menu a {
  text-transform: uppercase;
  font-size: calc(15px + 0.390625vw);
  font-weight: 500;
  color: #fff;
  padding: 1.5rem 30vw 1.5rem 30vw;
  position: center;
  text-align: center;
}

.dropdown-menu a:hover {
  color: #808080;
}

/* ------------------------------------------NAVIGATION------------------------ */

/* -----------------------------------------TOP-BACKGROUND------------------------*/

.top-background {
  width: 100%;
  height: 100vh;
  background-image: url("assets/tlo2.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: rgb(255, 255, 255);
}

.top-background .header {
  color: #ffffffec;
  font-size: 7vw;
  font-weight: 550;
}

@media all and (max-width: 1200px) {
  .top-background .header {
    padding-top: 5vh;
  }
}
@media all and (max-width: 900px) {
  .top-background .header {
    padding-top: 25vh;
  }
  .top-background {
    height: 80vh;
  }
}

i {
  font-size: 25px;
  color: rgb(255, 255, 255);
}

.wypelniacz {
  padding-bottom: 0.5%;
  color: white;
  padding: 0;
  margin: 0;
}

/* -----------------------------------------TOP-BACKGROUND------------------------*/

/* -------------------------------------------BOTTOM-STUFF---------------------------------*/

.bottom-title {
  margin-top: 1em;
  width: 100%;
  height: auto;
  padding: 2rem 0 0 0;
  text-align: center;
  color: rgb(0, 0, 0);
  font-weight: 900;
}

.bottom-title p {
  margin: 0 0.5em 0 0.5em;
  display: block;
  font-size: 50px;
  text-transform: capitalize;
  transition: 150ms all;
}

.bottom-title p:after {
  content: "";
  position: relative;
  display: block;
  margin: 0.5em auto 0.5em auto;
  width: 2em;
  height: 3px;
  left: 0;
  background: rgb(0, 0, 0);
}

.bottom-background {
  width: 100%;
  height: auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bottom-bg-cover {
  width: 100%;
  height: 100%;
  background: #1b1d1f;
  opacity: 0.5;
  padding: 10rem 0 10rem 0;
  font-size: 30px;
  color: #fff;
  text-align: center;
}

/* -------------------------------------------BOTTOM-STUFF---------------------------------*/

/* Nasze prace */
.tekst {
  width: 100%;
  font-size: 50px;
  text-transform: capitalize;
  text-align: center;
  font: bold;
  padding: 0;
  margin: 10px 0 30px 0;
  font-weight: 900;
}

.tekst:after {
  content: "";
  position: relative;
  display: block;
  margin: 0.5em auto 0 auto;
  width: 2em;
  height: 3px;
  left: 0;
  background: rgb(0, 0, 0);
}

/* O nas */
.About {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10%;
  margin-right: 10%;
}

.About .huge-photo {
  width: auto;
}

.About img {
  height: 50%;
  width: 50%;
  padding-right: 5%;
}

.About .text-about {
  font-size: calc(17px + 0.390625vw);
  padding: 10px;
  text-align: justify;
  width: 60%;
}

@media all and (max-width: 1300px) {
  .About {
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  .About img {
    padding-left: 5%;
    padding-right: 0;
  }
  .About .huge-photo img {
    padding: 0;
    display: block;
    width: 80vw;
    position: center;
    margin-bottom: 50px;
    height: 40%;
  }
  .About .text-about {
    font-size: calc(17px + 0.390625vw);
    padding: 0.1px;
    text-align: justify;
    width: 90%;
  }
}

/* Oferta */

.row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 3%;
  width: 100%;
}

.col {
  width: 30%;
  max-width: 880px;
  /* height: 100%; */
  gap: 2%;
  box-shadow: 5px 5px 5px 5px rgba(129, 128, 128, 0.699);
  background-color: #ffffff;
  justify-content: center;
  border-radius: 50px;
}
.col:last-child {
  border: 0;
}

.col .box_title {
  font-size: calc(35px + 0.390625vw);
  padding: 0;
  margin: 1rem 5px 1rem 5px;
  font-weight: black;
  text-align: center;
  color: #000000fd;
}

.col p {
  padding: 20px;
  font-size: calc(13px + 0.390625vw);
  word-spacing: 0.2rem;
  text-align: left;
  color: #000000;
  margin: 0;
  font-weight: 600;
}
.col img {
  display: block;
  width: 70%;
  border-style: none;
  padding-left: 15%;
}

.col .tools-photo::after {
  content: "";
  position: relative;
  display: block;
  margin: 0 auto 0 auto;
  padding: 0;
  width: 10em;
  height: 3px;
  left: 0;
  background: rgb(0, 0, 0);
}

@media all and (max-width: 900px) {
  .tekst b {
    font-size: 30px;
  }
  .name-and-email input.input {
    font-size: 10px;
  }
  .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }
  .col {
    font-size: 10px;
    width: 80vw;
    margin: 0 0 5rem 0;
    box-shadow: 5px 5px 5px 5px rgba(129, 128, 128, 0.699);
  }
  .col .box_title b {
    font-size: 20px;
  }
  .col .textContent {
    font-size: 11px;
  }
  .col img {
    width: 70%;
    vertical-align: middle;
    border-style: none;
    padding-left: 15%;
  }
}

/* Referencje */

.wiele_ref {
  padding-left: 25%;
  padding-right: 25%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.referencja {
  display: block;
  height: 50%;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  max-height: 1000x;
  max-width: 500px;
}

@media all and (max-width: 600px) {
  .wiele_ref {
    display: flex;
    flex-wrap: wrap;
  }
  .referencja:last-child {
    padding-top: 5%;
  }
  .referencja {
    display: block;
    height: 80%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* -------------------------------------------CONTACT-FORM---------------------------------*/

.form {
  width: 100%;
  height: auto;
  padding-bottom: 5%;
}

.contact-form-section {
  background: #fff;
  padding: 0 0 0 0;
}

form .name-and-email {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
  padding: 1em 0 1em 0;
}

form .coach-trained {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
  padding: 1em 0 1em 0;
}

.name-and-email input.input {
  width: 250px;
  height: 30px;
  margin: 1em;
  outline: none;
  border: 2px solid #141618;
  color: #141618;
  font-family: "Open Sans", sans-serif;
  padding: 1em;
  font-weight: 900;
  font-size: 20px;
  transition: 0.2s ease-in-out;
  background: #fff;
}

.coach-trained select {
  width: 250px;
  height: 40px;
  margin: 1em;
  outline: none;
  border: 2px solid #141618;
  color: #141618;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  background: #fff;
}

form textarea {
  display: block;
  outline: none;
  width: 500px;
  height: 250px;
  margin: auto;
  color: #141618;
  font-weight: 900;
  padding: 1em;
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  border: 2px solid #141618;
  letter-spacing: 5px;
  transition: 0.2s ease-in-out;
  background: #fff;
  resize: none;
}

form input.input:focus,
form textarea:focus {
  border: 5px solid #141618;
}

form input[type="submit"] {
  display: block;
  width: 250px;
  height: 80px;
  background: none;
  outline: none;
  border: 5px solid #141618;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 5px;
  cursor: pointer;
  text-transform: uppercase;
  margin: 1em auto 0 auto;
  transition: 300ms all;
  color: #141618;
}

form input[type="submit"]:hover {
  background: #141618;
  color: #fff;
}

.rodo {
  display: flex;
  justify-content: baseline;
  align-items: baseline;
  padding: 3% 10% 0 10%;
}
.rodo p {
  margin: 0;
  padding: 0;
}

@media all and (max-width: 900px) {
  form input .input {
    width: 150px;
  }
}

/* -------------------------------------------CONTACT-FORM---------------------------------*/

/* -------------------------------------------FOOTER----------------------------------------*/

footer {
  width: 100%;
  height: auto;
  background: #1b1d1f;
  text-align: center;
  padding: 1rem 0 0 0;
  font-size: calc(15px + 0.390625vw);
}
footer .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

footer .flex .flex2 {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

footer .rights,
footer p {
  color: #fff;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
}
footer .rights {
  padding: 0 0 20px 0;
}
footer .zdjecia {
  padding: 30px 0 10px 0;
  margin: 0;
  color: grey;
}
footer .zdjecia a {
  text-decoration: none;
  color: grey;
}
@media (max-width: 1150px) {
  footer .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding-top: 15px;
  }
}
/* -------------------------------------------FOOTER----------------------------------------*/

/* -----------------------------------------MEDIA---------------------------*/

@media all and (min-width: 960px) {
  .dropdown-menu {
    display: none !important;
  }

  nav .bars span {
    display: none !important;
  }
}

@media all and (max-width: 959px) {
  .dropdown-menu,
  .top-background span:last-child {
    display: none;
  }

  .middle-box,
  .right-box {
    display: none;
  }

  .top-background {
    padding: 0 0 12rem 0;
  }

  nav .bars {
    width: 100%;
    font-size: 20px;
    color: #1b1d1f;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  nav .bars span {
    margin-right: 2em;
    cursor: pointer;
  }

  .left-box {
    justify-content: flex-start;
    width: 180px;
    padding: 0;
    margin: 0;
  }

  .left-box span {
    margin: 0 0 0 2em;
  }
}

@media all and (max-width: 760px) {
  .name-and-email input.input,
  form textarea {
    width: 70vw;
  }
}

@media all and (max-width: 600px) {
  .top-background span:first-child {
    font-size: 35px;
  }
  .bottom-title p {
    margin: 0 0.5em 0 0.5em;
    display: block;
    font-size: 25px;
    text-transform: capitalize;
    transition: 150ms all;
  }
}

@media all and (max-width: 300px) {
  .gallery-button {
    transform: scale(0.8);
  }

  footer a {
    font-size: 25px;
    display: inline-block;
    padding: 0.8em 1.125em 0.8em 1.125em;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    transition: 400ms all;
  }

  footer a:first-child {
    padding: 0.8em 1.25em 0.8em 1.25em;
  }

  .bottom-title p span {
    font-size: 35px;
  }
  form input[type="submit"] {
    display: block;
    width: 100%;
    height: 100%;
    background: none;
    outline: none;
    border: 5px solid #141618;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 5px;
    cursor: pointer;
    text-transform: uppercase;
    margin: 1em auto 0 auto;
    transition: 300ms all;
    color: #141618;
  }

  form input[type="submit"]:hover {
    background: #141618;
    color: #fff;
  }
}

@media screen and (max-width: 250px) {
  body,
  nav {
    width: 100vw;
  }
}

/* -----------------------------------------MEDIA---------------------------*/
