:root {
  box-sizing: border-box;

  --primary: #e70146;
  --hover-color: #fdd052;
  --dark: #1c2022;
  --light: #fff;

  --header-bg: var(--primary);
}
*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: "josefin sans", "helvetica", sans-serif;
  font-size: 1rem;
}

header {
  /*background: var(--header-bg);*/
  background-color: #0093D6;
 /* padding-left: 1.5em;*/
  /*position: sticky-top;*/
  top: 0;
  font-family: 'Times New Roman', Times, serif;
}
.branding-logo {
  color: var(--light);
  font-size: calc(0.8rem + 1vw);
  text-decoration: none;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu {
  display: flex;
  flex-direction: row;
  color: white;
}
.menu li {
  list-style: none;
}
.menu li a {
  display: block;
  text-decoration: none;
  color:white;
  padding: 1em 1.3em;
  font-size: 0.9rem;
}

/* Styling submenu */
.has-dropdown {
  position: relative;
}
.submenu {
  position: absolute;
  left: 0;
  background-color: rgb(79 78 78);
  white-space: nowrap;
  padding: 1.5em 0;
  min-width: 16em;
  /* hide submenus */
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
}
.submenu > li > a {
  padding: 0.8em 1.5em;
}
.submenu .submenu {
  left: 100%;
  top: 0;
}
.submenu .submenu .submenu {
  left: -100%;
  top: 0;
}

.menu > li:hover > a,
.submenu > li:hover > a {
  background-color: #0093D6;
  color: var(--hover-color);
}
.menu > li:hover > a {
  background-color: hsla(0, 0%, 0%, 0.95);
}

/* Arrows */

.arrow {
  width: 0.5em;
  height: 0.5em;
  display: inline-block;
  vertical-align: middle;
  border-left: 0.15em solid currentColor;
  border-bottom: 0.15em solid currentColor;
  transform: rotate(-45deg);
  margin-top: -0.25em;
  transition: transform 100ms ease-in-out;
}

/* Reveal  */
.menu > li:hover > a + .submenu,
.submenu > li:hover > a + .submenu {
  opacity: 1;
  transform: scaleY(1);
}

/* ANIMATE aRROWS */
.menu > li:hover > a > .arrow,
.submenu > li:hover > a > .arrow {
  transform: rotate(225deg);
}

@media only screen and (max-width: 78.75em) {
  .submenu .submenu .submenu {
    left: -100%;
    top: 0.5em;
  }
  .submenu {
    min-width: 16em;
  }
}
@media only screen and (max-width: 58.75em) {
  .menu li a {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 50em) {
  header {
/*     position: relative; */
    padding: 0em 1em;
  }
  .menu {
    flex-flow: column;
    position: absolute;
    background: var(--light);
    top: 3.55em;
    left: 0;
    right: 0;
    height: 100vh;

    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: 200ms transform cubic-bezier(0.36, 0.4, 0.42, 1.48) 100ms,
      100ms opacity ease-in-out;
    
    overflow-y: scroll;
    
  }
  .menu > li > a {
    font-size: 1rem;
    color: var(--dark);
  }
  .submenu > li > a {
    font-size: 1rem;
  }

  .submenu {
    top: 0;
    padding-left: 1.5em;
    border-left: 0.12em dotted hsla(342, 99%, 45%, 0.95);
  }
  .submenu .submenu {
    left: 0;
    top: 0;
  }
  .submenu .submenu .submenu {
    left: 0;
    top: 0;
  }

  .menu > li:hover > a + .submenu,
  .submenu > li:hover > a + .submenu {
    position: relative;
  }

  .hamburger {
    width: 2em;
    height: 0.25em;
    display: block;
    background: var(--light);
    position: relative;
    cursor: pointer;
    transition: 0.2s transform ease-in-out;
  }
  .hamburger::after,
  .hamburger::before {
    content: "";
    position: absolute;
    left: 0;
    background: inherit;
    width: inherit;
    height: inherit;

    transition: 0.2s transform ease-in-out;
  }

  .hamburger::after {
    top: 0.65em;
  }
  .hamburger::before {
    bottom: 0.65em;
  }

  .close::after,
  .close::before {
    top: 0;
    transition: 0.2s transform ease-in-out;
  }
  .close::before {
    display: none;
  }
  .close {
    transform: rotate(45deg);
    transition: 0.2s transform ease-in-out;
  }
  .close::after {
    transform: rotate(-90deg);
  }

  /* reveal menu */
  input[type="checkbox"]:checked + .menu {
    position: absolute;
    opacity: 1;
    transform: scaleY(1);
  }
}













main {
/* just to make scrollable vertically to see sticky navbar    */
  height: 200vh;
}




/*
new csss*/

.slogan{
  background-color:black;
  color:white;
  size:5px;
  height:30px;
}

.slogan{
  background-color:black;
  color:white;
  size:5px;
  height:30px;
}
.logo{
  text-align: left;
}

.nav-item{
  padding-left: 5px;
  font-family: 'Times New Roman', Times, serif;
  size: 50px;
}
 .card-body-text :hover{
  background-color: black;
}
/* card effects */
/* .card :hover{
  background-color: black;
  color: white;
} */
.media-content{
  background-color: white;
  
}
.service-text{
  background-color: whitesmoke;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
}
.service-text:hover{
  background-color: black;
  color:#fff;
}
.volunteet-section{
  /* background-color:darkblue; */
  background-image: url(./images/evening-view.jpeg);
  
  position: relative;
  text-align: center;

}
.quote_sign-1{
  background-color: white;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 20px;
  color: black;

}

.blog-posts module{
  background-color: whitesmoke;
}


.textof{
  color: whitesmoke;
}

.media12{
  background-color: none;
  margin-top: 10px;
  border-radius: 10px;

}
/* 
.card :hover {
    
    color: white;
} */
.footrsection{
  /* background-color: #21566d; */
  background-color: none;
  
  /* background-color:  #0d6efdc9; */
}
.footerofvolunteers{
  background-color: rgb(6, 6, 43);
}
.coloroffooter{
  color: #fff;
}

.testimonial-card .card-up {
  height: 120px;
  overflow: hidden;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  }
  
  .testimonial-card .avatar {
  width: 110px;
  margin-top: -60px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  }

  .services{
    margin-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 20px;
    
  }
.card-body a :hover{
  color:gray;
}
.card:hover{
  cursor: pointer;
  transform: scale(1.1);
  transition: 1s;
  margin-top: 10px;
  margin-bottom: 10px;
}
/* .card:hover .intro{
  background-color: black;
  height: 200px;
  width: 240px;
  border-radius: 10px;
  color:white;
} */
.card:hover.p{
  opacity: 1;
  visibility: visible;
}
.card:hover .img {
  transform: scale(1.1) rotate(-5dg);
}
.card{
  overflow: hidden;
}
ul li a{
  color: white;
}
ul li a:hover{
  color: white;
}
.navbar .navbar-nav .nav-link:hover{
  background-color: rgb(5, 5, 43);
  color: black;
}
.dp1:hover .dm1{
  display: block;
}
.dp1 .dm1{
  display: none;
}
.scrollable{
  height: 400px;
  width: auto;
  overflow: scroll;
  overflow-x: hidden; 
}
.scrollable1{
  height: 300px;
  width: 550px;
  overflow: scroll;
}
body {
  overflow-x: hidden; 
  }
  .scrollable4{
  height: 150px;
  overflow: scroll;
  overflow-x: hidden; 
  }