@charset "UTF-8";
.container {
  display: flex;
  justify-content: center;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
.container .wrapper {
  max-width: min(95%, 1200px);
  width: 100%;
  position: relative;
  transform-style: preserve-3d; /* Zachowuje perspektywę 3D */
  transition: transform 0.6s; /* Animacja obrotu */
}
.container .wrapper .title {
  position: relative;
  justify-content: center;
  display: flex;
}
.container .wrapper .title::before {
  background: #032970;
  height: 3px;
  width: 100%;
  content: "";
  display: block;
  bottom: 48px;
  left: 0;
  z-index: 100;
  position: absolute;
}
.container .wrapper .title h2 {
  font-size: 24px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  padding: 20px 0.8em;
  color: #161616;
  position: relative;
  font-weight: normal;
  text-align: center;
  background: white;
  width: max-content;
  display: flex;
  z-index: 110;
}
@media (max-width: 600px) {
  .container .wrapper .title h2 {
    max-width: 80%;
  }
}
.container .wrapper .twoColumnContainer {
  display: flex;
  gap: 140px;
  justify-content: space-between;
  padding: 0 1vw 0 10vw;
}
@media (max-width: 900px) {
  .container .wrapper .twoColumnContainer {
    padding: 0 1vw 0 1vw;
    gap: 100px;
  }
}

 
@media (max-width: 700px) {
  .container .wrapper .twoColumnContainer {
    padding: 0 1vw 0 4vw;
    gap: 75px;
  }
}
@media (max-width: 600px) {
  .container .wrapper .twoColumnContainer {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .container .wrapper .twoColumnContainer {
    padding: 0 1vw 0 1vw;
    flex-direction: column;
  }
}
.container .wrapper .twoColumnContainer .column {
  font-size: 16px;
  width: 100%;
}
.container .wrapper .twoColumnContainer .column p {
  margin: 5px 0;
}
.container .wrapper .blueBlock {
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  background-color: #062b64 !important;
  border-radius: 10px !important;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.container .wrapper .blueBlock:hover {
  cursor: pointer;
}
.container .wrapper .blueBlock:hover img {
  scale: 1.3;
}
.container .wrapper .blueBlock img {
  width: 125px;
  transition: scale 300ms;
}
.container .wrapper .blueBlock h3 {
  color: white;
}
.container .wrapper .threeColumnContainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
  width: 100%;
}
@media (max-width: 950px) {
  .container .wrapper .threeColumnContainer {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 750px) {
  .container .wrapper .threeColumnContainer {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }
}
.container .wrapper .threeColumnContainer .smallBlueBlock {
  height: 370px;
  margin-bottom: 20px;
  
  overflow: hidden;
}
@media (max-width: 750px) {
  .container .wrapper .threeColumnContainer .smallBlueBlock {
    max-width: 500px;
    width: 100%;
  }
}
.container .wrapper .threeColumnContainer .smallBlueBlock .innerBlock {
   
  margin: auto;
}
@media (max-width: 750px) {
  .container .wrapper .threeColumnContainer .smallBlueBlock.flipped .innerBlock {
    transform: rotateY(180deg); /* Obrót o 180 stopni */
  }
}
.container .wrapper .threeColumnContainer .smallBlueBlock .innerBlock {
  width: 93%;
  height: 100%;
  perspective: 1000px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.container .wrapper .threeColumnContainer .smallBlueBlock:hover .innerBlock {
  transform: rotateY(180deg);
}
.container .wrapper .threeColumnContainer .smallBlueBlock .front, .container .wrapper .threeColumnContainer .smallBlueBlock .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.container .wrapper .threeColumnContainer .smallBlueBlock .front {
  background: #062b64;
  color: white;
  gap: 20px;
  box-sizing: border-box;
}
.container .wrapper .threeColumnContainer .smallBlueBlock .front img {
  width: 120px;
}
.container .wrapper .threeColumnContainer .smallBlueBlock .front h3 {
  text-align: center;
  font-size: 1.1rem;
}
.container .wrapper .threeColumnContainer .smallBlueBlock .back {
  background: #0a447d;
  color: white;
  transform: rotateY(180deg);
  box-sizing: border-box;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 10px;
  justify-content: center;
}
.container .wrapper .threeColumnContainer .smallBlueBlock .back p {
  margin: 3px 0;
  font-size: 0.84rem;
  line-height: 1.23;
  font-weight: bold;
  text-indent: 0;
  text-align: center;
}
.container .wrapper .threeColumnContainer .smallBlueBlock .back p a {
  padding-top: 3px;
  padding-bottom: 3px;
  display: inline;
  font-weight: normal;
  color: white !important;
  cursor: pointer;
  text-decoration: underline;
  word-wrap: anywhere;
}

/*# sourceMappingURL=main.css.map */
