:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #dddddd;
    --yellow: #c21f5d;
    --blue: #333;
}

@font-face {
    font-family: rotaryr;
    src: url(../fonts/RobotoSlab-Regular.ttf);
}

@font-face {
    font-family: rotaryb;
    src: url(../fonts/RobotoSlab-Bold.ttf);
}

@font-face {
    font-family: rotarym;
    src: url(../fonts/RobotoSlab-Medium.ttf);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: rotaryr;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: rotaryb;
}

a {
    text-decoration: none;
}

.breadcrumb {
    color: var(--white);
}

.breadcrumb a {
    color: var(--white);
}

/* theme */
.t-blue {
    color: var(--blue);
}

.t-yellow {
    color: var(--yellow);
}

.bg-rotary-blue {
    background-color: var(--blue);
}

.fs-2 {
    font-size: 2rem;
}

.navbar-expand-lg .navbar-nav .nav-join {
    font-size: 0.9em;
    color: var(--white) !important;
    background-color: var(--yellow);
}

/* navbar */
.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 0.9em;
    /* font-weight: bold; */
    color: var(--blue);
    padding: 0.5rem 0.8rem;
    border: 1pt solid var(--white);
    border-radius: 10px;
    margin-right: 6px;
    /* border-top-left-radius: 15px;
    border-bottom-right-radius: 15px; */
    text-transform: uppercase;
    box-shadow: 2px 2px 1px var(--white);
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    /* background-color: var(--yellow); */
    color: var(--yellow);
    /* box-shadow: 2px 2px 1px var(--blue); */
    border: 1pt solid var(--yellow);
}

.active {
    color: var(--yellow) !important;
    border: 1pt solid var(--yellow) !important;
    /* border-radius: 10px; */
}

.activeh {
    color: var(--yellow);

}

/* section-about */
.section-about {
    /* background-image: url(../images/patten1.png);
    background-repeat: no-repeat;
    background-position: left; */
    padding: 60px 0px;
    background-color: #fcfcfc;
}

/* team */
.team {
    background-image: url(../images/pattern.png);
    padding: 50px 0px 70px 0px;
}

.team-box {
    background-color: var(--white);
    /* background: linear-gradient(var(--white),var(--yellow)); */
    border: 4px double var(--yellow);
    padding: 15px 8px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.team-box h5 {
    margin-top: 5px;
}

/* about page */
.header-top-title-section {
    /* background-image: url(../images/favicon.png);
    background-repeat: no-repeat;
    background-position:right;
    background-size: contain; */
    background-color: var(--blue);
    padding: 3rem 0rem 1rem 0rem;
    /* height:10rem; */
}

.section-about-page {
    padding: 50px 0px;
}

.other-page-header {
    /* top: -30px; */
    /* background-color: var(--white); */
    /* border-radius:50px; */
    /* padding:10px 0px; */
    /* border: 1px solid var(--yellow); */
    /* width: 50%; */
    /* margin: 0 auto; */
    text-align: center;
    color: var(--yellow);
    margin-bottom: 1rem;
}

/*  */
.event-description {
    padding: 20px;
    border-radius: 8px;
}

.event-description p {
    margin-bottom: 0px;
}

/* card */
.card {
    border-radius: 0px;
    border: none;
}

.card .card-img-top {
    border-radius: 0px;
    height: 300px;
    width: 100%;
    object-fit: contain;
}

/* what-we-do */
.what-we-do {
    padding: 60px 0px;
    background-image: url(../images/pattern.png);
}

.what-we-do label {
    margin-top: 15px;
}
/* why-join */
.why-join{
    padding: 60px 0px;
}
.why-joinus-points{
    border: 1px solid var(--yellow);
    padding: 10px;
    border-radius: 6px;
}
/* events */
.mentor {
    padding: 60px 0px;
    background-color: var(--blue);
    border-top: 5px solid var(--yellow);
    border-bottom: 5px solid var(--yellow);
}

.mentor-photo img {
    border: 1px solid var(--yellow);
    padding: 10px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.mentor-description {
    background-color: var(--yellow);
    padding: 20px;
}

.mentor-description p {
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    text-align: justify;
}

/*  */
.img-focus {
    border: 1px solid var(--blue);
    padding: 10px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.desc-focus {
    /* text-align: justify; */
    margin-bottom: 0px;
}

.desc-container {
    background-color: var(--blue);
    padding: 15px 25px;
    color: var(--white);
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

/* 4way-test */
.way-test {
    padding: 60px 0px;
}

.way-test p {
    text-align: justify;
}

/* footer */
footer {

    background-color: #dddddd;
    padding: 60px 0px 30px 0px;
    /* padding-top: 80px;
    padding-bottom:40px; */
    color: var(--black);
    /* border-top: 5px solid var(--blue);
    border-bottom: 5px solid var(--blue); */
}

footer h5 {
    color: var(--yellow) !important;
}

.footer-menu li {
    list-style: none;
    line-height: 1.8rem;
}

footer .get-in-touch a {
    color: var(--black);
    transition: 0.5s;
}

footer .get-in-touch a:hover {
    padding-left: 10px;
}

.footer-menu li i {
    color: var(--black);
}

.footer-menu li a {
    color: var(--black);
    transition: 0.5s;
}

.footer-menu li a:hover {
    color: var(--yellow);
}

/*  */
.bottom-website a {
    color: var(--blue);
}

.bottom-website a:hover {
    color: var(--yellow);
}

/* credit-line */
.credit-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--black);
}

.credit-line a {
    color: var(--black);
}

.contact-icons {
    background-color: var(--blue);
    color: var(--white);
    font-size: 3rem;
    padding: 0.7rem 1.5rem;
    border-radius: 100%;
    position: absolute;
    margin-top: -50px;
    left: -1%;
}

.join-icons {
    background-color: var(--blue);
    color: var(--white);
    font-size: 3rem;
    padding: 1rem 1.5rem;
    border-radius: 100%;

}

.join-links a .join-icons {
    transition: all 0.3s;
}

.join-links a:hover .join-icons {
    background-color: var(--yellow);
}

.contact-box {
    border: 1px solid var(--blue);
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.contact-info-container {
    padding: 20px 0px 20px 0px;
    margin-top: 0px;
    text-align: center;
}

.contact-info-container a {
    color: var(--blue);
}

.contact-info-container a:hover {
    color: var(--yellow);
}

/* animation */
.rotate {
    -webkit-animation: rotate 5s normal linear infinite;
    animation: rotate 5s normal linear infinite;
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }

    25% {
        -webkit-transform: rotate3d(0, 0, 1, 90deg);
        transform: rotate3d(0, 0, 1, 90deg);
    }

    50% {
        -webkit-transform: rotate3d(0, 0, 1, 180deg);
        transform: rotate3d(0, 0, 1, 180deg);
    }

    75% {
        -webkit-transform: rotate3d(0, 0, 1, 270deg);
        transform: rotate3d(0, 0, 1, 270deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
        transform: rotate3d(0, 0, 1, 360deg);
    }
}