Added contact section. Refactored image carousel.
This commit is contained in:
@@ -66,7 +66,8 @@ body {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.title-section {
|
||||
.title-section,
|
||||
.page-bottom-section {
|
||||
position: relative;
|
||||
height: 70vh;
|
||||
display: flex;
|
||||
@@ -124,6 +125,24 @@ body {
|
||||
max-width: 1440px;
|
||||
}
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2rem;
|
||||
background: rgba(11, 35, 48, 0.8);
|
||||
padding: 2rem;
|
||||
border-radius: 20px;
|
||||
color: #ffe8e8;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* About box */
|
||||
|
||||
.about-box {
|
||||
@@ -140,6 +159,11 @@ body {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about-box-title {
|
||||
text-align: center;
|
||||
color: #ffe8e8;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
flex: 1;
|
||||
}
|
||||
@@ -156,29 +180,42 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 520px;
|
||||
justify-content: flex-start;
|
||||
height: 500px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
background-color: #001316;
|
||||
}
|
||||
|
||||
.about-image img {
|
||||
.image-container {
|
||||
text-align: center;
|
||||
display: none;
|
||||
height: 400px;
|
||||
width: 95%;
|
||||
margin: 10PX;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.image-container img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
max-height: calc(100% - 40px);
|
||||
object-fit: contain;
|
||||
border-radius: 10px;
|
||||
transition: opacity 0.5s ease;
|
||||
}
|
||||
|
||||
.hidden-image {
|
||||
display: none;
|
||||
.image-container.current-image {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.current-image {
|
||||
display: block;
|
||||
height: calc(100% - 60px);
|
||||
.image-title {
|
||||
margin-top: 10px;
|
||||
font-size: 1rem;
|
||||
color: #ffe8e8;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.about-buttons {
|
||||
@@ -211,23 +248,7 @@ button:hover {
|
||||
|
||||
/* Projects Box */
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2rem;
|
||||
background: rgba(11, 35, 48, 0.8);
|
||||
padding: 2rem;
|
||||
border-radius: 20px;
|
||||
color: #ffe8e8;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.project-box {
|
||||
display: flex;
|
||||
@@ -293,6 +314,27 @@ button:hover {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Project 3 */
|
||||
|
||||
.project3-video-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.project3-video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* Previous Work */
|
||||
|
||||
.work-box {
|
||||
@@ -369,12 +411,62 @@ button:hover {
|
||||
border-radius: 20px;
|
||||
padding: 1rem;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
width: 95%;
|
||||
width: 500px;
|
||||
color: #ffe8e8;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.contact-section-title {
|
||||
text-align: center;
|
||||
font-size: large;
|
||||
color: #ffe8e8;
|
||||
padding: 3rem;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
max-width: 400px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.contact-form label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.contact-form input, .contact-form textarea {
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
.form-buttons {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.form-buttons button {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button[type="submit"] {
|
||||
background-color: #336854;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button[type="reset"] {
|
||||
background-color: #06425a;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
/* Media Queries */
|
||||
|
||||
@media (min-width: 1440px) {
|
||||
|
||||
Reference in New Issue
Block a user