body {
  margin: 0;
  background-color: #d0df53;
  overflow-x: hidden;
}
.container {
  overflow: hidden;
  height: auto;
  width: 100vw;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.navigation {
  align-items: center;
  display: flex;
  background-color: #ec1561;
  width: 100vw;
  height: 6em;
  z-index: 1;
}
.logo {
  display: flex;
  justify-content: center;
}
.logo img {
  width: 4em;
}
.menu {
  display: flex;
  align-items: center;
  z-index: 2;
  color: white;
  width: 80%;
  justify-content: center;
}
a {
  text-decoration: none;
  color: #ffffff;
  padding: 1.5em;
  font-size: 1.06em;
  font-weight: 400;
}
.title_page {
  display: flex;
  justify-content: center;
  margin: 2em;
}
.title_page h1 {
  color: #41786f;
  font-size: 5.5em;
  font-weight: 600;
  text-shadow: 0 0 0.2em rgb(49 49 49 / 15%);
}
.three_squares {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 100vw;
  margin-top: -3em;
}
.blue-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: url(./../images/blue-square.svg);
  width: 40em;
  height: 30em;
  padding: 2em;
  padding-right: 4em;
  margin-left: -10em;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
.p {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 61%);
  border-radius: 0.5em;
  padding: 1em 3em;
  margin-bottom: -3em;
  margin-left: 3em;
  box-shadow: 0 0 1em #00000023;
  width: 15em;
}
.p p{
 font-size: 1.1em;
 margin: 0.8em 0;
}
.p p:first-child {
  font-weight: 500;
}
.p:hover {
  box-shadow: 0 0 1em #00000045;
  transition-duration: 150ms;
}
.orange-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f25720;
  width: 25em;
  overflow: hidden;
  padding: 2em 26em;
  margin: 0 -20em;
  border-radius: 2em;
  z-index: 0;
  height: 27em;
}

.orange-p {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: rgba(255, 255, 255, 61%);
  border-radius: 0.5em;
  padding: 0.5em 2em;
  font-size: 77%;
  margin-bottom: -3em;
  min-width: 25em;
  max-width: 25em;
  height: 25em;
  box-shadow: 0 0 2em rgb(49 49 49 / 20%);
  transition-duration: 100ms;
}

.orange-p:hover {
  box-shadow: 0 0 2em rgb(30 30 30 / 30%);
  transition-duration: 100ms;
}

.email {
  font-size: 1.3em;
  color: #707070;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}

input[type="email" i] {
  height: 2.4em;
  padding: 0.5em 1em;
  font-size: 1.2em;
  color: #505050;
  border: none;
  border-radius: 0.5em;
  background: rgba(255, 255, 255, 61%);
}
textarea {
  max-height: 6em;
  min-height: 6em;
  max-width: 19em;
  min-width: 19em;
  margin-bottom: 2em;
  border: none;
  border-radius: 0.5em;
  background: rgba(255, 255, 255, 61%);
  padding: 0.5em 1em;
  font-size: 1.2em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
input[type="button" i] {
  margin-left: auto;
  margin-right: -3em;
  width: 7em;
  height: 3em;
  margin-bottom: -2em;
  background-color: #f6c035;
  border: solid #f6c035;
  border-radius: 0.5em;
  font-size: 1.5em;
  box-shadow: 0 0 2em rgb(49 49 49 / 20%);
  transition-duration: 100ms;
  cursor: pointer;
  color: #606060;
  font-weight: 600;
}

input[type="button" i]:hover {
  box-shadow: 0 0 2em rgb(30 30 30 / 30%);
  transition-duration: 100ms;
  transform: scale(1.1);
}

::placeholder {
  color: #606060;
}

.pink-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: url(./../images/pink-square.svg);
  width: 45em;
  height: 37em;
  padding: 2em;
  margin-right: -10em;
  background-size: cover;
  background-repeat: no-repeat;
  font-size: 82%;
  padding-left: 4em;
  z-index: 1;
}
body > div > div.three_squares > div.pink-box > div > iframe {
  border-radius: 1em;
  width: 30em;
  height: 30em;
  z-index: 3;
}

.footer {
  background-color: #f5992c;
  display: flex;
  z-index: 2;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-top: 2em;
  width: 100%;
}
.footer p {
  font-size: 0.95em;
  color: #ffffff;
  line-height: 3em;
  margin-right: auto;
  margin-left: 10em;
  columns: 2;
  column-gap: 18em;
}

.line7 {
  position: absolute;
  z-index: 1;
  top: 20em;
  left:25%;
}

.info {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 2em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

h5 {
  font-size: 3em;
  width: 100%;
  text-align: center;
  margin-bottom: 0;

  font-variant: small-caps;
  color: #3c93f6;
}

.info-box {
  padding: 1em 2em;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 0.7em;
  box-shadow: 0 0 1em #00000023;
  transition-duration: 150ms;
  height: auto;
  width: 39%;

  display: flex;
  margin: 1% 3%;
  text-align: center;
  justify-content: center;
}

.info-box:nth-child(5) {
  width: 88.4%;
}

.info-box:hover {
  box-shadow: 0 0 1em #00000045;
  transition-duration: 150ms;
}

.osoba {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.osoba h3,
.osoba p{
  margin: 0.4em 0;
}

.osoba a{
  color: #f5992c;
}

.time {
  margin: 4em 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
}

.time article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.time h5{
  font-variant: small-caps;
    color: #9d1bb3;
    font-size: 1.5em;
}

.time p {
  font-size: 1.2em;
  color: #000 !important;
  text-align: left !important;

}

.time article {
  padding: 1em 3em;
  border-radius: 1em;
  background-color: rgb(255 255 255 / 27%);
  box-shadow: 0 0 1em #00000023;
}


@media screen and (max-width: 1800px) {
  .line7 {
    transform: scale(0.88);
  }
  
}


@media screen and (max-width: 1700px) {
  .line7 {
    transform: scale(0.75);
  }
}

@media screen and (max-width: 1450px) {
  .orange-box {
    padding: 2em 14em;
    margin: 0 -8em;
  }

  body > div > div.three_squares > div.pink-box > div > iframe {
    width: 25em;
    height: 25em;
  }

  .line7 {
    display: none;
  }
}

@media screen and (max-width: 1400px) {
  .three_squares {
    font-size: 90%;
  }
}

@media screen and (max-width: 1279px) {

  .info-box:nth-child(5) {
    width: 90%;
  }
  .info-box {
    width: 90% !important;
    padding: 1em 0.3em;
  }
}

@media screen and (max-width: 1200px) {
  .three_squares {
    font-size: 80%;
  }
}

@media screen and (max-width: 1050px) {
  .three_squares {
    flex-direction: column;
    font-size: 100%;
    align-items: center;
  }
  .blue-box {
    width: 100%;
    background: #3c93f6;
    justify-content: center;
    margin: 0;
    padding-right: 2em;
    height: 23em;
  }

  .blue-box .p {
    margin: 0;
  }

  .orange-box {
    width: 100%;
    background: #f25720;
    justify-content: center;
    margin: 0;
    height: 25em;
    margin-top: -3em;
  }

  .pink-box {
    width: 100%;
    background: #e9295f;
    justify-content: center;
    margin: 0;
    padding-right: 2em;
    height: 23em;
  }

  body > div > div.three_squares > div.pink-box > div > iframe {
    width: 90%;
    padding: 5%;
  }

  .pink {
    width: 100%;
  }

  .pink-box .p {
    margin: 0;
  }

  .pink-box {
    padding-left: 0;
    z-index: 0;
  }
}

@media screen and (max-width: 1100px) {
  .footer p {
    margin: 0 auto;
  }
}

@media screen and (max-width: 950px) {
  .footer p {
    line-height: 2.4em;
    columns: 1;
    text-align: left;
    padding: 1em;
  }

  .footer p span {
    font-weight: 700;
  }

  .title_page h1 {
    font-size: 4em;
  }

  .time {
    flex-direction: column;
    align-items: center;
  }

  .time article {
    margin: 5%;
    width: 60%;
  }

  .info-box:nth-child(5) {
    flex-direction: column;
  }

  .info-box:nth-child(5) .osoba:last-child {
    margin-top: 2em;
  }
}

@media screen and (max-width: 620px) {
  .info-box:nth-child(5) {
    flex-direction: column;
  }
}


@media screen and (max-width: 450px) {
  .three_squares {
    font-size: 90%;
  }
}



/* footer redesign */
.footer {
  background: linear-gradient(180deg, #f59b2e 0%, #f28a1c 100%);
  display: flex;
  z-index: 2;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 2.8em 0;
  width: 100%;
}
.footer-wrap {
  width: min(1400px, 92%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 6em;
}
.footer-col {
  padding-left: 0;
  text-align: left;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.35em;
  letter-spacing: 0.02em;
  margin-bottom: 0.6em;
  font-family: inherit;
}
.footer-col p {
  font-size: 0.98em;
  color: #ffffff;
  line-height: 1.8em;
  margin: 0.2em 0;
  columns: 1;
  column-gap: 0;
}
.footer-col a {
  color: #ffffff;
  text-decoration: none;
}
.footer-col a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 950px) {
  .footer-wrap {
    width: 96%;
    grid-template-columns: 1fr;
    row-gap: 1.4em;
  }

  .footer-col h4 {
    font-size: 1.12em;
  }

  .footer-col p {
    font-size: 0.95em;
  }
}
