:root {
  --red: #dc3545;
}

/*******NAVBAR********/
.navbar {
  height: 100px;
  z-index: 1;
  background: #CC95C0;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #7AA1D2, #DBD4B4, #CC95C0);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #7AA1D2, #DBD4B4, #CC95C0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  
}
/* .navbar:visited{
  height: 20rem;
  
} */
 .neselilogo img{
  height: 3rem;
  width: 3rem;
 border-radius: 1rem;
 }
 h1 {
  font-family: "Caveat", serif;
  font-optical-sizing: auto;
  font-weight: 830;
  font-style: normal;
  width: 15rem;
  /* border: #dc3545 5px solid; */
 }
.social img{
  width: 2rem;
  
  /* height: 100%; */
  /* border: #dc3545 2px solid; */
}
/* .navbar-brand .wp{
  width: 2.5rem;
} */
.nav-link {
  transition: color 0.7s;
}

.nav-link.active:hover {
  color: var(--red) !important;
}

.nav-link:hover {
  color: var(--red);
}

/* ********************CAROUSEL****************/
.home{
  background-color: #D9AFD9;
  background-image: linear-gradient(0deg, #D9AFD9 0%, #97D9E1 100%);
  }

.carousel-item {
  max-height: calc(100vh - 100px);
  z-index: 0;
}
.carousel-item img {
  max-height: calc(100vh - 100px);
  max-width: 90rem;
  margin: auto;
  z-index: 0;
  border-radius: 3rem;
}

.carousel-indicators button {
  background-color: rgb(224, 8, 8) !important ;
  padding: 0.1rem !important;
  width: 5rem !important;
  /* margin-right: 1rem !important; */
}

/* *****************ABOUT *******************/
/* *****************Actor *******************/

#okul img {
  height: 15rem;
}

#okul .card {
  transition: transform 0.3s;
}

#okul .card:hover {
  transform: scale(1.03);
}
/* *****************Contact*******************/

.btn {
  /* display: block;
    width: 10%;
    height: 1rem;
    padding: 1rem; */
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 50%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 90%;
  width: 100%;
  position: absolute;
}

/**************footer***************/
.list-inline-item:hover {
  color: var(--red);
}

/** -------------- UP-BUTTON ------------------ */
.btn-up {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  color: white;
  background-color: var(--red);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
}

.btn-up:hover {
  color: black;
}

.btn-up:hover i {
  transform: scale(1.2);
  font-size: 1.4rem;
}

#airplane{
  width:8rem;
  position:absolute;
  top:380px;
  left:-250px;
  z-index:2;
  animation: fly 15s linear infinite;
  /* opacity: 70%; */
}
@keyframes fly{
  0%{
      left: -250px;
  }
  20%{
      left: 250px;
  }
  80%{
      top:250px;
  }
  100%{
      left:80%;
  }
}