/* to solve right space problem */

html,
body,footer {
    overflow-y: auto;
    overflow-x: hidden;
}

.foot {
    background-color: #a3c7f1;
}

.bodyback {
    background: linear-gradient(141deg, #5f98da 0%, #1fc8db 51%, #5f98da 75%);
}


/* color for every section heading */

h2 {
    color: white
}


/* for teams list heading */

h4 {
    color: #ffee00;
}


/* nav bar customisation */

nav {
    visibility: hidden;
    /* opacity: 0.8; */
    /* background-color: rgb(0, 40, 92); */
    background-image: linear-gradient(141deg, #5f98da 0%, #1fc8db 51%, #5f98da 75%)!important;
    z-index: 1;
    background-position-y: 65px;
    border-bottom: 2px inset floralwhite;
}

.navbar-brand {
    padding: 5px;
    /* border:2px solid transparent; */
    color: #Fff;
    border-radius: 1.5rem;
    box-shadow: -5px 0 transparent;
}

.navbar-brand:hover {
    /* border-left:2px solid whitesmoke; */
    /* top right bottom left */
    color: rgb(47, 53, 126);
    /* background-color: rgb(241, 241, 241); */
    /* box-shadow: -5px 0 white; */
}

.nav-link {
    color: rgba(0, 0, 0, 0.658)!important;
    border-bottom: 2px solid transparent;
    margin: 0px 5px;
    box-shadow: 0 -4px transparent inset;
    /* border-radius: 5.5rem; */
    /* box-shadow: -5px 0 transparent; */
}
.content-section h2 {
    padding-top: 50px;
}

#navbarResponsive .active {
    border-bottom: 2px solid whitesmoke;
    color: whitesmoke!important;
    font-weight: bold;
}
.menu-center li {
    border-bottom: 2px solid transparent;
    
  
  }
.menu-center li:hover {
  border-bottom: 2px solid whitesmoke;
  color: whitesmoke!important;
  font-weight: bold;
}


/* infinity design */

.container_org h2 {
    display: flex;
    text-align: center;
    width: 50%;
    margin-top: -10px;
    margin-left: 25%;
    margin-right: 25%;
    flex-direction: row;
}

.container_org h2:before,
.container_org h2:after {
    content: "";
    flex: 1 1;
    border-bottom: 2px solid #000;
    margin: auto;
}

.container_org img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}


/* p {
  display: flex;
  text-align: center;
  align-items: center;
  width: 50%!important;
  flex-direction: row;
}

p:before,
p:after {
  content: "";
  flex: 1;
  text-align: center;
  border-bottom: 2px solid #000;
 
  margin: auto;
} */


/*----------------------------------------------------------------------
# teams
----------------------------------------------------------------------*/

.card {
    border-color: inherit;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    margin: 10px;

}

.card-img-top {
    width: 100%;
    height: 18vw;
    object-fit: cover;
}

.card-header {
    font-family: 'Aldrich';
    font-weight: 900;
    font-size: 16px;
    border-bottom-color: black;
}

.cd1 {
    height: 100px;
}

.card-body {
    font-family: 'Akaya Kanadaka';
}
@media only screen and (max-width: 508px) {
    .card-img-top {
        height: 400px;
        width: auto;
        max-width: 100%;
    }
}

@media only screen  and (max-width: 400px) {
    .card-img-top {
        height: 380px;
        width: auto;
        max-width: 100%;
    }
}


/* On mouse-over, add a deeper shadow */

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

#events .card{
  max-height: 450px;
  height: 400px;
}
#events .card-img-top{
  max-height: 200px;
  height:200px;
}

#members, #event-names {
    padding: 0;
    margin: 0 auto 25px auto;
    list-style: none;
    text-align: center;
}

#members li, #event-names li{
    cursor: pointer;
    display: inline-block;
    padding: 10px 18px 10px 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    margin: 0 4px 10px 4px;
    background-color: aliceblue;
    color: rgb(0, 41, 75);
    border-radius: 20px;
}

#members li:hover,
#members li.active, #event-names li:hover,
#event-names li.active {
    background: rgb(0, 41, 75);
    color: aliceblue;
}

#members li:last-child {
    margin-right: 0;
}

#btn-back-to-tops {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}


/*---------------------------------------------------------------------
# Legacy
---------------------------------------------------------------------*/


/* .row_l {
    transform: translateX(0%) translateY(50%)
} */

#legacy {
    margin-bottom: 120px!important;
}

.legacy {
    border-radius: 10px;
    margin: 20px;
    /* padding: -5px; */
    color: black;
    transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 500ms linear;
}

.legacy:hover {
    border-color: white;
    background: linear-gradient(45deg, #FC466B, #3F5EFB);
    color: white;
    transform: scale(1.1);
}

.card-header_l {
    border-bottom-color: white;
}

.card-header_l:hover {
    border-bottom-color: inherit;
}


/*----------------------------------------------------------------------
#end of #teams
----------------------------------------------------------------------*/

section {
    width: 100%;
    min-height: 700px;
    /* height: 100%; */
}


/*----------------------------------------------------------------------
# Home
----------------------------------------------------------------------*/

#home {
    visibility: hidden;
}

.ct-btn-scroll {
    visibility: hidden;
    width: 100px;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    margin-bottom: 10px;
    padding-top: 500px;
    z-index: 9;
    border-radius: 50%;
    -webkit-transition: background-color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out;
}

.ct-btn-scroll-img:hover {
    transform: scale(1.1);
}


/* Add some padding inside the card container */

.container {
    padding: 2px 16px;
}

.container_org {
    width: 100%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.org_name {
    font-family: 'Bubblegum Sans';
    font-size: 60px;
    font-weight: 500;
    line-height: 56px;
    margin-bottom: 20px;
}

.details {
    font-size: 40px;
    font-family: 'Nunito', sans-serif;
    ;
    color: ghostwhite;
}


/*----------------------------------------------------------------------
# Footer social media icons
----------------------------------------------------------------------*/

.social-icons a {
    padding: 2% 3%;
    color: white;
    border: 2px solid transparent;
    border-radius: 5.5rem;
}

.social-icons a:hover {
    border: 2px solid white;
    box-shadow: -5px 0 white;
}

.footer-copyright {
    color: #ffff;
    background-color: rgb(0, 40, 92);
}

footer h6 {
    color: white;
}


/*----------------------------------------------------------------------
# end of footer
----------------------------------------------------------------------*/

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(141deg, #07866056 0%, #1fc8db 51%, #5f98da 75%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #Fff;
    -webkit-animation: loader 2s infinite ease;
    animation: loader 2s infinite ease;
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    -webkit-animation: loader-inner 2s infinite ease-in;
    animation: loader-inner 2s infinite ease-in;
}

@-webkit-keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    75% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    75% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-inner {
    0% {
        height: 0%;
    }
    25% {
        height: 0%;
    }
    50% {
        height: 100%;
    }
    75% {
        height: 100%;
    }
    100% {
        height: 0%;
    }
}

@keyframes loader-inner {
    0% {
        height: 0%;
    }
    25% {
        height: 0%;
    }
    50% {
        height: 100%;
    }
    75% {
        height: 100%;
    }
    100% {
        height: 0%;
    }
}


/* --------------------------------------------
 gallery
-----------------------------------------------
 */

.carousel-item img {
    height: 600px;
    width: auto;
    max-width: 100%;
    border: 10px solid #fff;
}

.carousel-caption {
    color: #fff;
}
@media only screen and (min-width: 509px) and (max-width: 708px) {
    .carousel-item img {
        height: 300px;
        max-width: 100%;
    }
}

@media only screen and (min-width: 400px) and (max-width: 508px) {
    .carousel-item img {
        height: 250px;
        max-width: 100%;
    }
}

@media only screen and (min-width: 300px) and (max-width: 400px) {
    .carousel-item img {
        height: 200px;
        width: auto;
        max-width: 100%;
    }
}


/*  ------------------------
 end of gallery
 --------------------------*/


/*---------------------------------------------------------------
Scroll Up button
----------------------------------------------------------------*/

#top {
    -ms-flex-line-pack: center;
    align-content: center;
    background: white;
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-transition: all 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#top:hover {
    transform: scale(1.1);
}

#top.show {
    opacity: 1;
    visibility: visible;
}

#top:active {
    -webkit-box-shadow: 15px 20px rgba(0, 0, 0, 0.02);
    box-shadow: 15px 20px rgba(0, 0, 0, 0.02);
}