@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&family=Raleway:wght@400;700&display=swap'); */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.header-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgb(71, 70, 69);
    text-align: center;
}

.header-box-title {
    width: 888px;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.header-box-title .main-title {
    text-align: center;
    font-size: 24.1px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 5px;
    word-spacing: 5px;
    letter-spacing: 1px;
    font-family: "Playfair Display", serif;
    font-weight: 400;
}

.header-box-title .subtitle-logo-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
    text-align: center;
}

.header-box-title .subtitle-logo-container .subtitles-container {
    display: flex;
    flex-direction: column;
    flex: wrap;
    justify-content: center;
    align-items: center;
    margin: 0px 20px;
    text-align: center;
}

.header-box-title .sub-title {
    text-align: center;
    margin-bottom: 5px;
    color: rgb(244, 238, 117);
    word-spacing: 1px;
    letter-spacing: 2px;
    text-transform: capitalize;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.header-box-title .sub-title-iisc {
    margin-top: 5px;
    font-size: 12px;
    color: rgb(244, 238, 117);
    word-spacing: 1px;
    letter-spacing: 2px;
    text-transform: capitalize;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    text-align: center;
}

.iisc-logo1 {
    width: 105px;
    height: 78px;
    background-color: white;
    border: 1px solid transparent;
    border-radius: 10px;
}

.iisc-logo2 {
    width: 105px;
    height: 78px;
    background-color: white;
    border: 1px solid transparent;
    border-radius: 10px;
}

.iisc-logo1>img {
    width: 75px;
    height: 75px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.iisc-logo2>img {
    width: 100px;
    height: 75px;
    border: 1px solid transparent;
    border-radius: 10px;
}

/*****************nav container******************/
.nav-container {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.nav-flex {
    display: flex;
    width: 100%;
    height: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: cent;
}

.nav-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 826px;
    font-size: 12px;
    word-spacing: 5px;
    color: rgb(255, 255, 255);
    padding: 10px;
    background-color: rgb(163, 165, 165);
    border: 2px solid transparent;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    list-style-type: none;
    text-align: center;
}

.nav-title a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.nav-title a:nth-child(8) {
    border-right: 0px;
}

/*******************dropdown menu code*****************************/
.nav-title li ul {
    display: block;
    position: absolute;
    top: 177px;
}

.nav-title li ul li {
    display: none;
    position: relative;
    top: 11px;
    left: -50px;
    width: 180px;
    list-style-type: none;
    margin: 0 auto;
    text-align: center;
    padding: 5px;
}

.nav-title li:hover ul li {
    display: block;
    background-color: #ccc;
}

.nav-title li ul li a {
    text-decoration: none;
    color: rgb(71, 70, 69);
}

/**********code for go to top**********/
#goToTop {
    position: fixed;
    right: 0;
    bottom: 0;
    font-size: 40px;
    margin-right: 20px;
}

/******************gallery menu code end*********************/
#technologies-title,
#rf-title {
    display: flex;
    justify-content: center;
}

.technologies-title,
.rf-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 1px;
    width: 826px;
    height: 1.6em;
    font-size: 18px;
    padding-left: 20px;
    text-transform: capitalize;
    text-align: center;
    background: linear-gradient(to right, rgba(71, 70, 69, 0), rgba(71, 70, 69, 0.2), rgba(71, 70, 69, 0.4), rgba(71, 70, 69, 0.8), rgba(71, 70, 69, 1), rgba(71, 70, 69, 0.8), rgba(71, 70, 69, 0.4), rgba(71, 70, 69, 0.2), rgba(71, 70, 69, 0));
    color: white;
}

/***************News & Events container************************/
.technologies-container,
.rf-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    color: rgb(71, 70, 69);
    word-spacing: 2px;
    font-weight: normal;
    letter-spacing: 1px;
    list-style-type: none;
    text-transform: capitalize;
    font-family: "Raleway", sans-serif;
    text-align: justify;
    padding: 10px;
}

.technologies-inner,
.rf-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 860px;
    justify-content: center;
    align-items: center;
}

/*************technologies-index********************/
.technologies-index,
.rf-index {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    word-spacing: 0px;
    font-family: 'Poppins', sans-serif;
}

.two-index {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.technologies-index .two-index a,
.rf-index .two-index a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(71, 70, 69);
    border-radius: 14px 0px;
    width: 45%;
    height: 35px;
    margin: 5px;
    padding: 10px;
    text-decoration: none;
    color: rgb(71, 70, 69);
    text-align: center;
}

.technologies-index .technologies-date,
.rf-index .rf-date {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: white;
    width: 11em;
    height: 2.5em;
    border: 1px solid rgb(79, 92, 142);
    border-radius: 3px;
    background: rgb(130, 140, 149);
    text-align: center;
    text-transform: capitalize;
}

.technologies-index .two-index a div,
.rf-index .two-index a div {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    word-spacing: 0px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin-left: 10px;
}

.technologies-index .two-index a:hover,
.rf-index .two-index a:hover {
    background: rgb(71, 70, 69);
    color: white;
    transition: all 0.3s ease-in-out;
}

.technologies-container .technologies-inner div,
.rf-container .rf-inner div {
    text-align: justify;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 500;
}

.separate-technologies,
.separate-rf {
    width: 100%;
    height: auto;
    margin-top: 5px;
    text-transform:none
}

.technologies-container .technologies-inner img,
.rf-container .rf-inner img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    margin: 5px 0px 25px 0px;
}

.technologies-container .technologies-inner p,
.rf-container .rf-inner p {
    line-height: 20px;
    text-align: justify;
    text-transform: none;
    font-weight: 400;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}
