*{ margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; } body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(#D5A3FF 0%, #77A5F8 100%); } .container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; } .container .card { width: 330px; height: 330px; padding: 60px 30px; margin: 20px; background: #cfcfcf; border-radius: 20px; } .container .card .content { display: flex; justify-content: center; align-items: center; flex-direction: column; } .container .card .content .imgBx { width: 180px; height: 180px; border-radius: 50%; position: relative; margin-bottom: 20px; overflow: hidden; } .container .card .content .imgBx img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } .container .card .content .contentBx h4 { color: #36187d; font-size: 1.7rem; font-weight: bold; text-align: center; letter-spacing: 1px; } .container .card .content .contentBx h5 { color: #6c758f; font-size: 1.2rem; font-weight: bold; text-align: center; } .container .card .content .sci { margin-top: 20px; } .container .card .content .sci a { text-decoration: none; color: #6c758f; font-size: 30px; margin: 10px; transition: color 0.4s; } .container .card .content .sci a:hover { color: #0196e3; } /* */ .main1{ width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; } .profile-card{ position: relative; width: 220px; height: 220px; background: #fff; padding: 30px; border-radius: 50%; box-shadow: 0 0 22px #3336; transition: .6s; margin: 0 25px; } .profile-card:hover{ border-radius: 10px; height: 260px; } .profile-card .img{ position: relative; width: 100%; height: 100%; transition: .6s; z-index: 99; } .profile-card:hover .img{ transform: translateY(-60px); } .img img{ width: 100%; border-radius: 50%; box-shadow: 0 0 22px #3336; transition: .6s; } .profile-card:hover img{ border-radius: 10px; } .caption{ text-align: center; transform: translateY(-80px); opacity: 0; transition: .6s; } .profile-card:hover .caption{ opacity: 1; } .caption h3{ font-size: 21px; } .caption p{ font-size: 16px; color: #0c52a1; margin: 2px 0 9px 0; } .caption .social-links a{ color: #333; margin-right: 8px; font-size: 21px; transition: .6s; } .social-links a:hover{ color: #0c52a1; } /* */ /* */ .container1 { margin: 20px 40px; color: white; } .heading { font-size: 60px; color: white; } .heading span { font-style: italic; font-size: 30px; } .profiles { display: flex; justify-content: space-around; margin: 20px 80px; } .profile { flex-basis: 260px; } .profile .profile-img { height: 260px; width: 260px; border-radius: 50%; cursor: pointer; transition: 400ms; } .user-name { margin-top: 30px; font-size: 35px; align-items: center; } .user-name1{ margin-top: 30px; font-size: 25px; align-items: center; } .profile h5 { font-size: 18px; font-weight: 100; letter-spacing: 3px; color: #ccc; } .profile p { font-size: 16px; margin-top: 20px; text-align: justify; } @media only screen and (max-width: 1150px) { .profiles { flex-direction: column; } .profile { display: flex; flex-direction: column; align-items: center; } .profile p { text-align: center; margin: 20px 60px 80px 60px; font-size: 20px; } } @media only screen and (max-width: 900px) { .heading { font-size: 40px; color: white; text-align: center; } .heading span { font-size: 15px; } .profiles { margin: 20px 0; } .profile p { margin: 20px 10px 80px 10px; } } /* */ .full-screen-video-container{ position: fixed; height: 100vh; width: 100vw; overflow-x: scroll; -ms-overflow-style: none; /* Internet Explorer 10+ */ scrollbar-width: none; /* Firefox */ } .full-screen-video-container::-webkit-scrollbar { display: none; /* Safari and Chrome */ } .full-screen-video-container video { opacity: 0.6; z-index: -1; position: fixed; width: 100%; height: 600%; min-width: 100%; min-height: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); } @media (min-aspect-ratio: 16/9) { #videoBG { width:100%; height: auto; } } @media (max-aspect-ratio: 16/9) { #videoBG { width:auto; height: 100%; } } /*----------------menu----------------*/ nav{ position: fixed; overflow-x: hidden; padding: 0; margin: 0; } a{ text-decoration: none; } li{ list-style: none; } nav{ background : rgba(240, 235, 235, 0.861); height: 80px; width: 100%; position: absolute; } label.logo{ color: white; font-size: 35px; line-height: 80px; padding: 0 100px; font-weight: bold; } nav ul{ margin-top: 15px; float: right; margin-right : 20px; } nav ul li{ display: inline-block; line-height: 45px; margin: 0 5px; } nav ul li a{ color : rgb(30, 30, 30); font-size: 17px; text-transform: uppercase ; padding: 7px 13px; border-radius: 3px; } nav ul li a:hover{ background : rgb(176, 175, 175); color: black; transition: 0.4s; font-size: 25px; } .checkbtn{ font-size: 30px; color: white; float: right; line-height: 80px; margin-right: 40px; cursor: pointer; display: none; } #check{ display: none; } @media (max-width: 952px) { label.logo{ font-size: 30px; padding-left: 50px; } } nav ul li a{ font-size: 16px; } @media (max-width: 858px) { .checkbtn{ display: block; } nav ul{ opacity: 1; position: fixed; width: 50%; height: 90vh; background: rgb(210, 208, 208); border-bottom-right-radius : 550px ; top: 65px; left: -118%; text-align: center; transition: all 1s; } nav ul li{ margin: 50px 0; display: block; line-height: 30px; } nav ul li a{ font-size: 15px; transition: 0.2s; } nav ul li a:hover{ background : rgb(191, 201, 207); color: black; font-size: 35px; } #check:checked~ul{ left: 0; } } .logo img{ float: left; margin: 5px; border-radius: 30px; width: 150px; } i{ transition: 0.05s; color: rgba(43, 43, 43, 0.635); } i:hover{ color: black; } i:active{ transform: rotate(90deg); } /*---------------content-----------------------*/ /*---------------header-------------------------*/ header{ display: flex; align-items: flex-end; justify-content: center; } .header-content{ margin-bottom: 200px; margin-top: 260px; text-align: center; } .header-content h2{ font-size: 5vmin; } .header-content h3{ margin-bottom: 25px; } .line{ width: 150px; height: 7px; background: rgb(42, 124, 30); border-radius: 5px; margin: 10px auto; } .header-content h1{ color: rgb(0, 2, 40); font-size: 7vmin; } .header-content a{ color: azure; border-radius: 30px; font-size: 2vmin; padding: 10px; background-color: rgb(77, 77, 77); transition: 0.5s; } .header-content a:hover{ color: rgb(77, 77, 77); background-color: azure;; } .header-content a:active{ font-size: 2.5vmin; } /*------------faculty--------------------*/ .about{ background-color: rgba(255, 255, 255, 0); padding: 40px; width: 100%; margin-top: 80px; margin-left: auto; margin-right: auto; margin-bottom: 100px; } .techbrain_about h2{ position: relative; color: #0c233e; font-size: 10vmin; } .title{ text-align: center; font-size: 4vmin; color: rgb(29, 27, 27); } .row{ display: flex; align-items: center; } .col p{ font-size: 2vmin; color: rgb(109, 78, 0); font-weight: bold; } .col img{ border-style: outset ; border-color: rgb(255, 246, 229); border-width: 3px; border-radius: 30px; margin-top: 5%; width: 45%; flex-direction: column; transition: 0.4s; cursor: pointer; } .col img:hover{ width: 53%; } .col h4{ cursor: pointer; padding-top: 50px; position: relative; font-size: 3vmin; color: rgb(48, 48, 63); margin : 10px auto; } .coll p{ font-size: 2.2vmin; color: rgb(109, 78, 0); font-weight: bold; } .coll img{ border-style: outset ; border-color: rgb(255, 246, 229); border-width: 2px; border-radius: 10px; margin-top: 5%; width: 61%; flex-direction: column; transition: 0.4s; cursor: pointer; } .coll img:hover{ width: 68%; } .coll h4{ cursor: pointer; padding-top: 50px; position: relative; font-size: 2.8vmin; color: rgb(48, 48, 63); margin : 10px auto; } .about .row{ mask-type: 50px; } .line_about{ width: 250px; height: 7px; background: rgba(0, 0, 0, 0.797); border-radius: 5px; margin: 10px auto; } /* footer */ @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap'); .footer-area { font-family: 'Poppins', sans-serif; box-sizing:border-box; padding: 100px 0; background: #c6c6c6; background: -moz-linear-gradient(left, #c6c6c6 0%, #6085b2 100%); background: -webkit-linear-gradient(left, #c6c6c6 0%,#6085b2 100%); background: linear-gradient(to right, #c6c6c6 0%,#6085b2 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2749c4', endColorstr='#6085b2',GradientType=1 ); color:rgb(0, 0, 0); position:relative; } .main { width: 1200px; margin: 0 auto; } .footer { display: flex; justify-content: center; flex-wrap: wrap; flex-direction: row; } .single-footer { width: 30%; } .single-footer h4 { text-transform: capitalize; font-size: 22px; margin-bottom: 20px; } .footer-social a { color: #fff; border: 1px solid #fff; width: 40px; height: 40px; display: inline-block; text-align: center; line-height: 40px; border-radius: 50%; margin-right: 10px; } .footer-social { margin-top: 20px; } .single-footer ul { list-style: none; } .single-footer ul li { margin-bottom: 10px; position: relative; padding-left: 20px; } .single-footer ul li a { color: #fff; text-transform: capitalize; text-decoration: none; } .single-footer ul li a i { position: absolute; left: 0; top: 5px; } .copy { text-align: center; text-transform: capitalize; margin-top: 50px; } .footer-wave-box { position: absolute; left: 0; top: 0; height: 45px; right: 0; width: 100%; overflow:hidden; } .footer-wave { background-image: url('../../footer_img/footer-shape.png'); position: absolute; left: 0; top: 0; height: 100%; width: 200%; background-size:50%; background-position:bottom; background-repeat:repeat-x; } .footer-animation{ animation: footer_wave 5s linear infinite; -o-animation: footer_wave 5s linear infinite; -webkit-animation: footer_wave 5s linear infinite; left:auto; right:0; } @keyframes footer_wave{ 0%{ -moz-transform:translateX(0%); } 50%{ -moz-transform:translateX(25%); } 100%{ -moz-transform:translateX(50%); } } @keyframes footer_wave{ 0%{ -o-transform:translateX(0%); } 50%{ -o-transform:translateX(25%); } 100%{ -o-transform:translateX(50%); } } @keyframes footer_wave{ 0%{ -webkit-transform:translateX(0%); } 50%{ -webkit-transform:translateX(25%); } 100%{ -webkit-transform:translateX(50%); } } @media only screen and (max-width:1500px){ .techbrain_about{ margin-bottom: 10%; } .footer-wave-box { display: none; } .footer-area{ border-top-right-radius: 300px ; } } @media only screen and (max-width:1000px){ .main{ width:320px; } .footer-wave-box { display: none; } .single-footer:first-child, .single-footer { width: 100%; margin-bottom:30px; } }