Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUCCESSFULLY ENHANCED AND RESTRUCTURED THE STUDENTS SECTION #216

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
315 changes: 114 additions & 201 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1051,241 +1051,154 @@ h3 {
z-index: 2;
}

/* section4 styling */
/* Student Section Styling */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Sketch&display=swap');
.section4 {
background-color: #ededee;
background-color: #f5f5f5;
padding: 100px 0;
}

.section4 h2 {
font-family: 'Londrina Sketch', cursive;
text-shadow: 3px 3px 3px #0A66C2;
position: relative;
display: inline-block;
}

.section4 h2::after {
content: '';
position: absolute;
width: 0;
height: 3px;
background-color: #0A66C2;
bottom: 0;
left: 0;
transition: width 0.4s ease; /* Smooth transition */
}

.section4 h2:hover::after {
width: 100%; /* Expand the underline to full width on hover */
}

.section-title {
text-align: center;
color: black;
font-size: 48px;
padding-top: 180px;
font-family: 'Montserrat', sans-serif;
font-size: 42px;
font-weight: 700;
color: #333;
margin-bottom: 50px;
}

.img_container {
display: flex;
justify-content: center;
margin: 50px 0px;
position: relative;
justify-content: space-around;
flex-wrap:wrap;
}

.image_boxes {
border: 2px solid red;
background-color: rgb(250, 247, 247);
width: 20vw;
height: 80vh;
position: relative;
width: 300px;
margin: 20px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease-in-out;
}
@media (max-width: 830px) {
.image_boxes {
height: 60vh;
width: 28vw;
}
}
@media (max-width: 600px) {
.image_boxes {
height: 52vh;
width: 32vw;
}

.image_boxes:hover {
transform: translateY(-10px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.image_boxes img {
border-radius: 10px;
width: 100%;
height: auto;
}
.image_boxes:nth-child(1) {
position: absolute;
left: 14%;
top: 15%;
animation-name: img1;
animation-duration: 1.5s;
animation-timing-function: ease-in-out;
}
@keyframes img1 {
from {
left: 34%;
}
to {
left: 14%;
}
}
.image_boxes:nth-child(1):hover {
z-index: 2;
}
.image_boxes:nth-child(2) {
position: absolute;
left: 26%;
top: 8%;
animation-name: img2;
animation-duration: 1.5s;
animation-timing-function: ease-in-out;
}
@keyframes img2 {
from {
left: 39%;
}
to {
left: 26%;
}
}
@media (max-width: 800px) {
.image_boxes:nth-child(2) {
left: 24%;
}
border-radius: 10px;
}

.image_boxes:nth-child(2):hover {
z-index: 2;
}
.image_boxes:nth-child(3) {
overflow: hidden;
z-index: 1;
}
.image_boxes:nth-child(4) {
.overlay {
position: absolute;
right: 14%;
top: 15%;
animation-name: img3;
animation-duration: 1.5s;
animation-timing-function: ease-in-out;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
display: flex;
justify-content: center;
align-items: center;
transition: opacity 0.3s ease-in-out;
}
@keyframes img3 {
from {
right: 32%;
}
to {
right: 14%;
}

.image_boxes:hover .overlay {
opacity: .5;
}
.image_boxes:nth-child(4):hover {
z-index: 2;

.overlay .text {
color: #dfd9d9;
text-shadow: 3px 3px 3px #000000;
font-family: 'Roboto', sans-serif;
font-size: 20px;
font-weight: 500;
text-align: center;
padding: 0 20px;
}
.image_boxes:nth-child(5) {
position: absolute;
right: 26%;
top: 8%;
animation-name: img4;
animation-duration: 1.5s;
animation-timing-function: ease-in-out;

.details {
padding: 20px;
text-align: left;
}
@keyframes img4 {
from {
right: 40%;
}
to {
right: 26%;
}

.details h3 {
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-weight: 700;
font-size: 24px;
color: #333;
margin-bottom: 10px;
}
.image_boxes:nth-child(5):hover {
z-index: 2;

.details p {
font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: 16px;
color: #555;
}

.stu_section {
padding: 120px 0px 50px 0px;
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 60px;
text-align: center;
margin-top: 50px;
}

.stu_para {
width: 600px;
font-size: 20px;
line-height: 1.5;
}
.stu_section button {
padding: 14px 15px 14px 35px;
font-size: 18px;
background-color: black;
color: white;
cursor: pointer;
}
.stk_section {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
text-align: justify;
}
.stk_section p {
width: 500px;
/* padding: 20px; */
font-size: 20px;
line-height: 1.5;
word-wrap: break-word;
}
@media (max-width: 580px) {
.stk_section p {
width: auto;
}
font-family: cursive;
font-weight: 400;
font-style: normal;
color: #333;
margin-bottom: 20px;
padding: 0 20px;
}
.stk_section button {
padding: 14px 15px 14px 35px;

.explore-btn {
padding: 12px 30px;
background-color: #008080;
color: #fff;
border: none;
font-family: 'Montserrat', sans-serif;
font-size: 18px;
background-color: black;
color: white;
border-radius: 5px;
cursor: pointer;
margin: 30px 20px;
}
.last_img {
display: flex;
position: relative;
}
.last_img_boxes {
width: 18vw;
}
.last_img img {
border-radius: 10px;
width: 100%;
height: auto;
}
.last_img_boxes:nth-child(1) {
position: absolute;
top: 20%;
left: 60%;
}
.last_img_boxes:nth-child(1):hover {
z-index: 2;
transition: background-color 0.3s ease-in-out;
}
.last_img_boxes:nth-child(2) {
z-index: 1;
}
.last_img_boxes:nth-child(3) {
position: absolute;
top: 20%;
left: -60%;
}
.last_img_boxes:nth-child(3):hover {
z-index: 2;
}
.last_img_animation1 img {
animation-name: last_anim1;
animation-duration: 1.4s;
animation-timing-function: ease-in-out;
transform: perspective(320px) rotateY(-14deg);
}
@keyframes last_anim1 {
from {
transform: perspective(300px) rotateY(0);
opacity: 0;
}
to {
transform: perspective(300px) rotateY(-14deg);
opacity: 1;
}
}
.last_img_animation2 img {
animation-name: last_anim2;
animation-duration: 1.4s;
animation-timing-function: ease-in-out;
transform: perspective(300px) rotateY(14deg);

.explore-btn:hover {
background-color: #005959;
}
@keyframes last_anim2 {
from {
transform: perspective(300px) rotateY(0);
opacity: 0;
}
to {
transform: perspective(300px) rotateY(14deg);
opacity: 1;
}

.explore-btn i {
margin-left: 10px;
}


/* footer styling */

/* Container styling */
Expand Down
Binary file added public/images/face1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/face2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/face3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/face4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/face5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/face6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/face8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading