*{
    margin: 0;
    padding: 0;
    /* font-family: poppins; */
    font-family:"Tinos", serif;
    font-weight: 500;
    font-style: normal;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: black;
}

#header{
    height:100vh;
    background-image: url(background5\ \(3\).jpg);
    background-size: cover;
    background-position: center;
}

.container{
    padding: 10px 10%;
}

nav{
    padding-top:15px;
    padding-right: 15px;
    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav h1{
    color:#fff;
    margin-left: 150px;
    width:280px;
    font-style: italic;
    font-size: 30px;
    font-weight: 600;
}

.logo{
    margin-left: 150px;
    width:350px;
}

nav ul{
    padding-right: 5%;
}

nav ul li{
    display:inline-block;
    list-style: none;
    margin:10px 20px;
    
}

nav ul li a{
    color:white;
    text-decoration: none;
    font-size: 18px;
    position:relative;
}

nav ul li a::after{
    content:'';
    width:0;
    height:3px;
    background: rgb(200, 197, 197);
    position:absolute;
    left:0;
    bottom:-6px;
    transition:0.5s;
}

nav ul li a:hover::after{
    width:100%;
}

/* ------------Home Content------------- */

#content-home{
    display: flex;
    margin-left: 10%;
    color:white;
}

.myimage{
    height:320px;
    width:320px;
    margin-top: 9%;
    margin-left: 10%;
    margin-right: 5%;
    border-radius: 50%;
    border:2px solid grey;
    background-image: url(Rishikesh.jpg);
    background-size: cover;
}

.header-text{
    margin-top:7%;
    margin-left: 50px;
    font-size: 17px;
}

.header-text h1{
    margin-top:50px;
    font-size: 51px;
}

.header-text h1 span1{
    color:rgb(200, 197, 197);
    font-family: "Tinos", serif;
    font-weight: 500;
    font-style: italic;
}

.btn4{
    margin-top: 12%;
    display:block;
    width:fit-content;
    border: 1px solid black;
    padding: 14px 50px;
    border-radius:6px;
    text-decoration:none;
    background: rgb(200, 197, 197);
    color:black;
    transition: background 0.5s;
}

.btn4:hover{
    transform: scale(1.05);
    background: white;
}

/* -----------------about page----------------- */

#about{
    padding:170px 0;
    color:rgb(246, 240, 240);
    background: url(background12.jpg);
    background-size: cover;
}

.row{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 33%;
}

.about-img{
    height:450px;
    width:350px;
    border-radius: 15px;
    background: url(rishi1bw.jpg);
    background-size: cover;
    transition: background 0.3s;
}

.about-img:hover{
    background: url(rishi.webp);
    background-size: cover;
}

.about-col-2{
    flex-basis: 64%;
}

.sub-title{
    font-size: 60px;
    font-weight:550;
}

.tab-titles{
    display:flex;
    margin:20px 0 40px;
}

.tab-links{
    margin-right:50px;
    font-size: 20px;
    font-weight:500;
    cursor:pointer;
    position:relative;
}

.tab-links::after{
    content:'';
    width:0;
    height:3px;
    background:rgb(167, 167, 170);
    position:absolute;
    left:0;
    bottom:-8px;
    transition:0.5s;
}

.tab-links.active-link::after{
    width:60%;
}

.tab-contents ul li{
    list-style:none;
    margin:10px 0;
}

.tab-contents ul li span{
    color:rgb(158, 160, 160);
    font-size:17px;
}

.tab-contents{
    display:none;
}

.tab-contents.active-tab{
    display:block;
}

/* --------- Clubs & Societies --------- */

#clubs{
    padding-top:50px;
    padding-bottom:100px;
    color:white;
    background: url(background11.jpg);
    background-size: cover;
}

.club-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap:70px;
    margin-top: 50px;
    margin-left: 140px;
    margin-right: 100px;
}

.club{
    border-radius:10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.club img{
    width:250px;
    height:250px;
    border-radius:10px;
    opacity: 65%;
    margin-left: 6%;
    margin-top: 6%;
}

.img{
    width:250px;
    height:250px;
    border-radius:10px;
    opacity: 65%;
    margin-left: 6%;
    margin-top: 6%;
}

.img1{
    background: url(MLSA\ 1.jpg);
    background-size: cover;
    transition: background 0.3s;
}

.img1:hover{
    background-image: url(mlsa.jpg);
    background-size: cover;
    transition: background 0.3s;
}

.img2{
    background: url(TM\ 1.jpg);
    background-size: cover;
    transition: background 0.3s;
}

.img2:hover{
    background-image: url(TM.jpg);
    background-size: cover;
}

.img3{
    background: url(NSS\ 1.jpg);
    background-size: cover;
}

.img3:hover{
    background-image: url(NSS.jpg);
    background-size: cover;
}

.layer{
    margin-top: 15px;
    border-radius: 6px;
    margin: 6%;
}

.layer a:hover{
    color:#7f7f7f;
}
.layer i:hover{
    color:#7a7a7a;
}


.layer a{
    text-decoration: none;
    color:#fff;
}

.layer i{
    margin-top: 60px;
    color:white;
}

.layer1 i{
    margin-top: 90px;
}

.layer3 i{
    margin-top: 80px;
}

.layer p{
    margin-top: 8px;
}


/* ------------Portfolio------------ */

#portfolio{
    padding-left: 140px;
    padding-right: 140px;
    padding-top: 100px;
    padding-bottom: 217px;
    background: url(Background.jpg);
    background-size: cover;
    color:white;
}

.projects-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap:40px;
    margin-top: 50px;
}

.projects-list div{
    /* background: #262626; */
    backdrop-filter: blur(10px);
    padding:40px;
    font-size: 13px;
    font-weight: 300px;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;

}

.projects-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}

.projects-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.projects-list div a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 12px;
    margin-top: 20px;
    display:inline-block;
}

.projects-list div a:hover{
    color:#7f7f7f;
}

.projects-list div:hover{
    background:#262626;
    transform: translateY(-10px);
}

/* --------------Contact--------------- */

#contact{
    height:93vh;
    background-image: url(background4.jpg);
    opacity: 83%;
    background-size: cover;

}

.contact-left{
    flex-basis: 35%;
    margin-top: 140px;
}

.contact-right{
    flex-basis: 60%;
    backdrop-filter: blur(10px);
    margin-top: 100px;
    border-radius: 10px;
}

.contact-left h1{
    color:white;
}

.contact-left p{
    margin-top: 30px;
    font-size: 20px;
    color:rgb(200, 197, 197);
}

.contact-left p i{
    color:rgb(200, 197, 197);
    margin-right: 10px;
    font-size: 25px;
    transition: transform 0.5s;
}

.contact-left p i:hover{
    color:white;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    margin-top: 30px;
    color:rgb(200, 197, 197);
    display:inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color:white;
    transform: translateY(-5px);
}

.btn{
    display:block;
    margin:50px auto;
    width:fit-content;
    border: 1px solid #283618;
    padding: 14px 50px;
    border-radius:6px;
    text-decoration:none;
    background: rgb(200, 197, 197);
    color:black;
    transition: background 0.5s;
}

.btn:hover{
    background: white;
}

.btn2{
    display:inline-block;
    transform: scale(1.1);
}

.btn3{
    display:inline-block;
    margin-left: 19px;
    transform: scale(1.1);
}

.contact-right form{
    width:100%;
    margin-top: 30px;
    margin-bottom: 20px;
}

form input, form textarea{
    width:90%;
    border: 1px solid #000000;
    outline:none;
    background:rgb(200, 197, 197);
    padding:15px;
    margin:20px;
    color:#100707;
    font-size:18px;
    border-radius:25px;
}

form .btn2{
    padding:14px 60px;
    font-size:18px;
    margin-top:20px;
    cursor:pointer;
}


form .btn3{
    padding:14px 60px;
    font-size:18px;
    margin-top:20px;
    cursor:pointer;
}

footer{
    height:60px;
    width:100%;
    background: rgb(126, 124, 124);
    display:flex;
    align-items: center;
    justify-content: center;
}

#msg{
    color:#fff;
    margin-top: -40px;
    display:block;
    margin-left: 19px;
}

/* -------------CSS for small screen------------- */

.nav-icon{
    display: none;
}

@media only screen and (max-width:600px){

    /* #header{
        width:100vw;
        height:100vh;
    } */

    nav h1{
        color:#fff;
        margin-left: 5%;
        width:250px;
        font-style: italic;
        font-size: 25px;
        font-weight: 600;
    }
    .mobile{
        display:flex;
        align-items: center;
    }

    .nav-icon{
        display: block;
        color: rgb(203, 202, 202);
        font-size: 25px;
        position: fixed;
        top:34px;
        right:15px;
    }
    .logo {
        margin-left: 0;
        width: 240px;
    }

    nav ul{
        background: rgb(203, 202, 202);
        color:#000000;
        position:fixed;
        top: 0;
        right: -250px;
        width:250px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li a{
        color:#000000;
    }

    nav ul li{
        display:block;
        margin: 25px;
    }

    nav ul .nav-icon1{
        font-size: 25px;
        color:black;
        position: absolute;
        top:25px;
        left:25px;
        cursor: pointer;
    }

    #content-home{
        display:block;
        margin-left: 0%;
        color:white;
        margin-bottom: 30px;
    }
    .header-text{
        margin-top: 50px;
        margin-bottom: 30px;
        font-size: 17px;
    }
    
    .header-text h1{
        margin-top:20px;
        font-size: 40px;
        margin-left: 0%;
    }
    
    .header-text h1 span1{
        color:rgb(200, 197, 197);
        font-family: "Tinos", serif;
        font-weight: 500;
        font-style: italic;
    }

    .myimage{
        height:300px;
        width:300px;
        margin-top: 6%;
        border-radius: 50%;
        border:2px solid grey;
        background-image: url(Rishikesh.jpg);
        background-size: cover;
    }

    .sub-title{
        font-size: 35px;
    }
    .container{
        width:100vw;
    }
    .about-col-1 img{
        height: 350px;
    }
    .about-col-2{
        width:80vw;
    }

    #about h1{
        margin-top: 20px;
    }
    #about {
        padding: 50px 0;
    }

    .about-img{
        margin-right: 10px;
        height:400px;
        width:310px;
    }

    .club-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 70px;
        margin-top: 50px;
        margin-left: 50px;
        margin-right: 50px;
    }

    #portfolio {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 80px;
        padding-bottom: 80px;
        background: url(Background.jpg);
        background-size: cover;
        color: white;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .contact-left{
        margin-top: 50px;
    }
    .contact-left p{
        margin-top: 15px;
    }
    .contact-left .social-icons a{
        margin-top: 15px;
    }
    .contact-left .btn2{
        margin: 15px auto;
        margin-left: 10px;
    }

    .contact-right{
        margin-top:50px;
    }
    .contact-right form{
        margin-top: 0;
    }
    .contact-right form input{
        margin-bottom:0;
    }
    .contact-right form textarea{
        margin-bottom:0;
    }
    .btn3{
        margin-left: 30px;
        border-radius: 50px;
    }
    .btn4{
        margin-bottom:30px;
    }
        

    footer pr{
        font-size: 12px;
    }

}















