@font-face {
  font-family: regular;
  src: url("/public/fonts/OpenSans-Regular-webfont.woff2");
}

@font-face {
  font-family: light;
  src: url("/public/fonts/Nunito-Light-webfont.woff2");
}

@font-face {
  font-family: bold;
  src: url("/public/fonts/OpenSans-Bold-webfont.woff2");
}

@font-face {
  font-family: second-m;
  src: url("/public/fonts/RobotoSlab-Medium-webfont.woff2");
}

@font-face {
  font-family: second-b;
  src: url("/public/fonts/RobotoSlab-Bold-webfont.woff2");
}

:root {
  --main-color: #358aff;
  --main-color-100: #60a3ff;
  --black-color: #303030;
  --gray-color-100: #999;
  --gray-color-300: #f7f7f7;
  --transition: all .3s;
  --regular: regular;
  --second-m: second-m;
}

.hero-section {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-section .item {
  width: 100%;
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 991px) {
  .hero-section .item {
    height: 550px;
  }
}

@media (max-width: 767px) {
  .hero-section .item {
    height: 500px;
  }
}

.about-section .top .text {
  max-width: 800px;
  margin: auto;
}

.about-section .about {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  height: 100%;
}

.about-section .about img {
  max-width: 100%;
  width: 100%;
}

.about-section .about div {
  width: 50%;
}

.gallery-section {
  position: relative;
  background: var(--gray-color-300);
  padding: 50px 0 70px;
}

.gallery-section .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 50px;
  border-radius: 6px;
  box-shadow: 0px 0px 5px -1px rgba(0, 126, 158, 0.3);
  background: rgba(255, 255, 255, 0.8) !important;
}

.gallery-section .owl-nav button.owl-prev {
  left: -50px;
}

.gallery-section .owl-nav button.owl-next {
  right: -50px;
}

.gallery-section .owl-nav button span {
  font-size: 40px;
  transform: translateY(-3px);
  color: var(--black-color);
}

.gallery-section .item a {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.gallery-section .item a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  opacity: 0;
  transform: scale(0);
}

.gallery-section .item a svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
  opacity: 0;
}

.gallery-section .item a:hover:before {
  opacity: 1;
  transform: scale(1);
}

.gallery-section .item a:hover svg {
  opacity: 1;
}

@media (max-width: 1290px) {
  .gallery-section .owl-nav button {
    width: 20px;
    height: 40px;
  }

  .gallery-section .owl-nav button.owl-prev {
    left: 10px;
  }

  .gallery-section .owl-nav button.owl-next {
    right: 10px;
  }
}

.events-slider,
.news-slide {
  position: relative;
}

.events-slider .owl-stage-outer,
.news-slide .owl-stage-outer {
  padding-top: 12px;
}

.events-slider .owl-nav button,
.news-slide .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 50px;
  border-radius: 6px;
  box-shadow: 0px 0px 5px -1px rgba(0, 126, 158, 0.3);
  background: rgba(255, 255, 255, 0.8) !important;
}

.events-slider .owl-nav button.owl-prev,
.news-slide .owl-nav button.owl-prev {
  left: -50px;
}

.events-slider .owl-nav button.owl-next,
.news-slide .owl-nav button.owl-next {
  right: -50px;
}

.events-slider .owl-nav button span,
.news-slide .owl-nav button span {
  font-size: 40px;
  transform: translateY(-3px);
  color: var(--black-color);
}

@media (max-width: 1290px) {
  .events-slider .owl-nav button,
  .news-slide .owl-nav button {
    width: 20px;
    height: 40px;
  }

  .events-slider .owl-nav button.owl-prev,
  .news-slide .owl-nav button.owl-prev {
    left: 10px;
  }

  .events-slider .owl-nav button.owl-next,
  .news-slide .owl-nav button.owl-next {
    right: 10px;
  }
}

.anounces-section .announce {
  margin-bottom: 30px;
}

.anounces-section .announce .content {
  padding: 0px 15px 15px;
  transition: all 350ms ease-out;
  border: 1px solid var(--gray-color-300);
  border-radius: 4px;
  position: relative;
  box-shadow: 0px 0px 5px -1px rgba(0, 126, 158, 0.3);
}

.anounces-section .announce .content:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gray-color-300);
}

.anounces-section .announce .content:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--main-color);
  transform: scale(0);
  transition: var(--transition);
}

.anounces-section .announce .content:hover .image img {
  transform: translate(-50%, -50%) scale(1.1);
}

.anounces-section .announce .content:hover:after {
  transform: scale(1);
}

.anounces-section .announce .image {
  height: 184px;
  overflow: hidden;
  position: relative;
  display: block;
}

.anounces-section .announce .image img {
  max-width: 110%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 350ms ease-out;
}

.anounces-section .announce .name {
  font-family: bold;
  color: #000;
  font-size: 19px;
  line-height: 24px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.anounces-section .announce .name:hover {
  color: #2887ef;
}

.anounces-section .announce .date {
  background: var(--main-color-100);
  color: #fff;
  font-size: 14px;
  padding: 2px 5px;
  width: auto;
  display: inline-flex;
  transform: translateY(-15px);
  line-height: 19px;
  border-radius: 4px;
}

.anounces-section .announce p {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .anounces-section .announce {
    margin-bottom: 50px;
  }
}

.anounces-section .separator {
  border-top: 3px solid var(--gray-color-300);
}

@media (max-width: 991px) {
  .about-section .about {
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .about-section .about img {
    max-width: 100%;
    margin-right: 0px;
  }

  .about-section .about div {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .about-section .about {
    justify-content: center;
    flex-wrap: Wrap;
    margin-bottom: 0;
  }

  .about-section .about div {
    width: 100%;
    text-align: center;
  }
}

.partners-section {
  background: #f9f9f9;
  padding-top: 40px;
  padding-bottom: 30px;
}

.partners-section .inner {
  box-shadow: 0px 0px 5px -1px rgba(0, 126, 158, 0.3);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  padding: 15px;
  background: #fff;
}

.partners-section .inner div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: Rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 15px;
}

.partners-section .inner:hover div {
  opacity: 1;
  color: #fff;
}

