/* ----------Navbar-------------- */

#navbar_top {
    background-color: #A6F7CC;
}

.fixed-top {
    top: -40px;
    transform: translateY(40px);
    transition: transform .3s;
}

.navbar .navbar-nav .nav-link {
    color: #000000;
    font-size: 1.1em;
}
.navbar .navbar-nav .nav-link:hover{
  color: #808080;
}

.navbar .navbar-nav {
margin-top: 0.5em;
border-top: 2px solid #000;
}

.title {
  text-align: center;
  text-decoration: none;
  color: black;
  font-family: 'Rubik Vinyl', cursive;
  font-size: 3rem !important;
}

.title:hover {
  text-decoration: none;
}

body {
  font-family: 'Commissioner', sans-serif;
}

/* ------------------------------------------ */




/* ----------Gallery---------- */

.gallery-block{
padding-bottom: 60px;
padding-top: 20px;
}

.gallery-block .heading{
  margin-bottom: 40px;
  text-align: center;
}

.gallery-block .heading h2{
  font-weight: bold;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.gallery-block.cards-gallery h6 {
font-size: 17px;
font-weight: bold; 
}

.gallery-block.cards-gallery .card{
transition: 0.4s ease; 
}

.gallery-block.cards-gallery .card img {
padding: 10px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15); 
}

.gallery-block.cards-gallery .card-body {
text-align: center; 
}

.gallery-block.cards-gallery .card-body p {
font-size: 15px; 
}

.gallery-block.cards-gallery a {
color: #212529; 
}

.gallery-block.cards-gallery a:hover {
text-decoration: none; 
}

.gallery-block.cards-gallery .card {
margin-bottom: 30px; 
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------------------------------- */




/* ----------Slider------------ */

.mySlides {display: none;}

.slideshow-container {
  width: 100%;
  height: 600px;
  position: relative;
  margin: auto;
}

.slider-img {
  display: block;
  width: 70%; 
  height: 600px;
  margin-left: auto; 
  margin-right: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;

  padding: 16px;
  margin-top: -22px;

  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: black;
}

.numbertext {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  height: 15px;
  width: 15px;

  cursor: pointer;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators [data-bs-target] {
  background-color: #717171;
}

.carousel-control-prev-icon {
  margin-left: -300px;
  background-image: url("https://cdn-icons-png.flaticon.com/512/109/109618.png");
}
    
.carousel-control-next-icon {
  margin-right: -300px;
  background-image: url("https://cdn-icons-png.flaticon.com/512/109/109617.png");
}

/* ----------------------------- */


/* Introduction */

.introduction {
  font-size: 1.2rem;
  text-indent: 50px;
}

.introduction-author {
  text-align: right;
  font-size: 22px;
  line-height: 26pt;
}

/* --------------------- */


/* Section */

.section-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px; 
  flex-wrap: wrap;
}

.section-box {
  width: 320px;
  background-color: #ffffff;
  border: 1px solid #67cf98;
  /* border-radius: 10px; */
  margin: 20px;
}

.img {
  width: 100%;
  height: auto;
}

.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-text {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-weight: 500;
  color: #317d55;
}

.section-title:hover {
  color:#317d55;
  transition: all ease 0.3s;
}

.section-text p {
  color: #878787;
  font-size: 0.9rem;  
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-orientation: ellipsis;
  margin: 20px 0px;
}

.section-text a {
  text-decoration: none;
  color:#317d55;
}

.section-text a:hover {
  color: #285d34;
  transition: all ease 0.3s;
}



/* --------------------------------- */



/* ----------Section "History of neurographics"--------- */

.tree-neirographics-text {
  text-align: center;
  font-size: 20px;
  line-height: 26pt;

	margin: 6%;
}

.img-fluid {
  padding-bottom: 30px;
}

.tree-neirographics-text-author {
  text-align: right;
  font-size: 20px;
  line-height: 26pt;

	margin: 6%;
}

/* ---------------------------------- */




/* ----------Section "Science in art"--------- */

.hero-way {
  height: 50%;
  width: 42.5%;
}


.theory {
  padding: 30px;
  font-size: 20px;
}

.principles {
  display: flex;
  flex-direction: row;
  font-size: 20px;
}

.ten-principles {
  width: 45%;
}

/* ---------------------------------- */




/* ----------Section "Neurographics as a psychologist"--------- */

.process-desc {
  display: flex;
  flex-direction: row;
}

.description {
  height: 40%;
  width: 30%;	

	margin: 20px;
  padding: 20px;
}

.description-text {
  text-align: center;
  width: 40%;
  font-size: 20px;
  line-height: 26pt;

  margin: 30px;
}

.psy-text {
  text-align: center;
  font-size: 20px;
  padding: 20px;
}

.psy-text-author {
  text-align: right;
  font-size: 22px;
  line-height: 26pt;
}


/* ---------------------------------- */


/* --------- Section "Neurosoft in school ---------" */

.neurosoft-pictures {
  height: 20%;
  width: 30%;	
  padding-bottom: 20px;
}

.neurosoft-pictures-vertical {
  height: 30%;
  width: 20%;	
  padding-bottom: 20px;
}

/* ---------------------------------- */

.iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ----------Section "Neurographics in the teachers-room"--------- */

.school-text {
  text-align: left;
  font-size: 20px;
  padding: 30px;
}

.school-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.s-photos {
  height: 50%;
  width: 30%;	

	margin: 20px;
  padding: 20px;
}

/* ---------------------------------- */

/* -------Servey------- */

.iframe {
  display: block;
  text-align: center;
}

/* ----------------- */


/* ------- About us -------------- */

body{
  background: #ddd;
  }
  .section-padding{
  padding: 50px 0;
  }
  .single-team {
  padding-bottom: 70px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 10px 20px 12px #727272;
  }
  
  .team-img{
  position: relative;
  z-index: 5;
  overflow: hidden;
  }
  .team-img img{
  width: 100%;
  transition: .3s;
  }
             .team-content {
  height: 80px;
  width: 100%;
  position: absolute;
  text-align: center;
  overflow: hidden;
  bottom: 0;
  transition: all .4s;
  background: #317d55;
  z-index:5;
  }
             .team-info {
  padding: 5px 20px 5px 20px;
  transition: all .5s;
  }
  
  .single-team .team-content .team-info h3 {
  text-transform: uppercase;
  color: #fff;
  font-size: 20px;
  margin: 5px;
  font-weight: bold;
  }
  
  .team-info p {
  margin-top: 9px;
  color: #fff;
  font-size: 18px;
  }
  .single-team-text p{
  margin-top: 5px;
  }
  .team-text {
  color: #fff;
  padding: 0 10px 5px;
  }
  .single-team:hover .team-img img {
  transform: scale(1.1);
  }
  .single-team:hover .team-content{
  height: 150px;
  }
             .single-team:hover .team-info h3{
  color: #333;
  }
             .single-team:hover .team-content{
  background: #67cf98;
  }
  
  @media (max-width:600px){
      .single-team{
          margin-bottom: 30px;
      }
  }

  .radostina {
    display: inline-block; 
    flex-direction: row;
    background-color: white;
    border: 4px solid #317d55;
    padding: 10px;
  }

  .container {
    padding-bottom: 10px;
  }
  

/* -------------------------------- */



/* -----------Contacts----------------- */

.email_img {
  width: 50px;
}

.email {
  text-decoration: none;
  color: black;
  font-size: 20px;
}

.email:hover {
  text-decoration: none;
  color: black;
  font-size: 21px;
}

.contacts {
  text-align: center;
  font-size: 20px;
}

/* ----------------------------- */


/* ----------Back to top button--------- */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}

/* ----------------------------- */


/* ----------Responsive design--------- */

@media (min-width: 576px) {

	.gallery-block .transform-on-hover:hover {
	    transform: translateY(-10px) scale(1.02);
	    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important; 
	}
}

@media (max-width: 767px) {
.mbr-section-nopadding {
    padding-top: 0;
    padding-bottom: 0;
}
}

@media (max-width: 767px) {
  .carousel-control-prev-icon {
    width: 0%;
  }
}
      
  .carousel-control-next-icon {
    width: 0%;
  }


@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media (max-width: 574px) {
.navbar-brand {
    font-size: 25px;
}
}

@media (max-width: 574px) {
  .neurosoft-pictures {
      width: 70%;
      height: 50%;
  }
  .neurosoft-pictures-vertical {
    width: 50%;
    height: 60%;
}
  }

@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

@media only screen and (min-width: 992px) {
  .navbar {
    flex-direction: column;
  }
  .navbar .navbar-nav {
    border-bottom: 2px solid #000;
  }
  .navbar .nav-item {
    font-family: 'Comfortaa', cursive;
  
    padding: 0.5em 1em;
  }
  }

  @media (min-width: 576px) {

    .gallery-block .transform-on-hover:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important; 
    }
  }
/* -------------------------------------------------- */