/*  cards*/

.container1 {
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.card-item {
  width: 300px;
  margin: 1rem;
  position: relative;
  border-radius: 8px;
  background: white;
  padding-bottom: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(87, 84, 84, 0.328);
}

.card-item:hover {
  transform: rotate(1deg);
  box-shadow: 0 20px 40px rgba(16, 14, 14, 0.5);
}

.image10 {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  position: relative;
  transition: all 0.5s;
  background-size: cover;
  background-position: center center;
}

.image2 {
  background-image: url("./card-image-2.jpg");
}

.image3 {
  background-image: url("./card-image-3.jpg");
}

.image4 {
  background-image: url("./card-image-4.jpg");
}

.content1 {
  padding: 1rem;
}

.title10 {
  font-family: "bahnschrift";
  margin: 1rem 0;
  color: #ffffff;
  font-size: 2.5rem;
}

.title15 {
  font-family: "bahnschrift";
  margin: 1rem 0;
  color: #000000;
  font-size: 2.5rem;
}

.title20 {
  margin: 1rem 0;
  color: #06b10f;
  font-size: 2rem;
}

.title30 {
  margin: 1rem 0;
  color: #116df7;
  font-size: 2rem;
}

.title40 {
  margin: 1rem 0;
  color: #e65b00;
  font-size: 2rem;
}

p1 {
  font-size: 14px;
  margin-bottom: 2rem;
  font-family: sans-serif;
  color: rgb(124, 133, 141);
}

.button10 {
  color: white;
  font-size: 12px;
  text-align: center;
  padding: 10px 18px;
  text-decoration: none;
  background-color: #d10ac7;
}

.button20 {
  color: white;
  font-size: 12px;
  text-align: center;
  padding: 10px 18px;
  text-decoration: none;
  background-color: #f1b209;
}

.button30 {
  color: white;
  font-size: 12px;
  text-align: center;
  padding: 10px 18px;
  text-decoration: none;
  background-color: #116df7;
}

.button40 {
  color: white;
  font-size: 12px;
  text-align: center;
  padding: 10px 18px;
  text-decoration: none;
  background-color: #e75a22;
}

.center1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

/* flex*/

.dov {
  justify-content: space-between;
}

.row.no-gutter {
  margin-left: 0px;
  margin-right: 0px;
}

.no-gutter [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

/*--flip--*/
/*
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  font: 16px Arial, Helvetica, sans-serif;
  color: #333;
  background: #f7f7f7;
  margin: 0;
}

.main{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
}
*/
h2,
p {
  margin: 0;
}

h2 {
  font-size: 32px;
}

a {
  text-decoration: none;
}

.img100 {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.cards100-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.card100 {
  display: flex;
  flex-direction: column;
  perspective: 1000px;
}

.card100:hover .card100-front {
  transform: rotateY(-180deg);
  visibility: hidden;
  opacity: 0;
}

.card100:hover .card100-back {
  transform: rotateY(0deg);
  visibility: visible;
  opacity: 1;
}

.card100:hover .card100-back-content {
  animation: translate 1s ease-in-out;
}

.card100-front {
  transition: all 500ms ease-in-out;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(51, 51, 51, 0.1), 0 0 10px rgba(51, 51, 51, 0.1);
  overflow: hidden;
  height: 100%;
  background-color: #eee;
}

.card100-back {
  position: absolute;
  height: 100%;
  padding: 20px;
  background: #eee;
  transform: rotateY(180deg);
  transition: all 500ms ease-in-out;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(51, 51, 51, 0.1), 0 0 10px rgba(51, 51, 51, 0.1);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}

.card100-back-content {
  display: flex;
  flex-direction: column;
  height: inherit;
  justify-content: space-between;
  gap: 12px;
}

.button100 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  background: hsl(222, 66%, 50%);
  padding: 16px;
  transition: all 300ms ease-in-out;
  border-radius: 8px;
}

.button100:hover,
.button100:focus {
  background: hsl(222, 66%, 45%);
}

.button100:active {
  background: hsl(222, 66%, 40%);
}

@keyframes translate {
  0% {
    transform: translateX(-12px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .cards100-wrapper {
    grid-template-columns: auto;
    width: auto;
  }
}

.text-block {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background-color: rgba(2, 1, 1, 0.5);
  color: white;
  padding-left: 20px;
  padding-right: 20px;
}

.news-section {
  padding: 4em 0 3.5em;
}

.news-column h4 {
  font-size: 1.3em;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
  padding: 0.8em 0 0.3em;
  margin: 0;
}

.news-column p {
  color: #777;
  line-height: 1.7em;
  padding: 0.1em 0 0em;
  display: block;
  font-size: 1em;
}

.news-column:hover {
  background-color: rgb(66, 85, 173);
}

.text-block2:hover {
  background-color: transparent;
  /*background-color: rgb(18, 134, 230);*/
}

.text-block2:hover {
  background-color: black;
  /*background-color: rgb(18, 134, 230);*/
}
/*--*/

.center2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.text-block {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background-color: rgba(2, 1, 1, 0.5);
  color: white;
  padding-left: 20px;
  padding-right: 20px;
}

.bline {
  border-bottom: 5px solid;
  border-bottom-color: rgba(255, 188, 2, 0.918);
}

/*-----gallery*/
div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.button60 {
  color: white;
  font-size: 12px;
  text-align: right;
  padding: 10px 18px;
  text-decoration: none;
  background-color: #116df7;
}

.text-block1 {
  position: absolute;
  bottom: 0px;
  right: 40px;
  left: 0px;
  background-color: white;
  color: BLACK;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}

.text-block2 {
  position: absolute;
  bottom: 0px;
  right: 10px;
  left: 10px;
  background-color: rgba(2, 1, 1, 0.5);
  color: white;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
}

.card-item1 {
  width: 100%;

  position: relative;
  border-radius: 8px;
  background: rgb(224, 223, 223);
  padding-bottom: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(87, 84, 84, 0.328);
}

.card-item2 {
  width: 100%;
  color: white;
  position: relative;
  border-radius: 8px;
  background: rgba(1, 57, 137, 1);
  padding-bottom: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(87, 84, 84, 0.328);
}

.card-item12:hover {
  background-color: rgba(16, 14, 14, 0.5);
  /*transform: rotate(1deg);*/
  box-shadow: 0 20px 40px rgba(16, 14, 14, 0.5);
}

.img-car {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
}

#adco1 .boxe {
  padding: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 10px 10px;
  background: #f1b209;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  text-align: center;
  background-image: url(/images/acad.jpg);
}

.container12 ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.container12 ul .category {
  list-style: none;
  padding: 8px 15px;
  margin-right: 15px;
  margin-bottom: 10px;
  background: rgba(1, 57, 137, 1);
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.container12 ul .category.active {
  background: #f1b209;
  color: black;
}

.container12 .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.container12 .gallery .image {
  width: 340px;
  height: 200px;
  overflow: hidden;
  margin: 5px;
  border: 5px solid white;
}

.container12 .gallery .image:hover img {
  transform: scale(1.2);
}

.container12 .gallery .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
