239 lines
4.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
/* font-family: Arial, sans-serif;*/
font-family: 'JetBrains Mono', monospace;
background-color: rgb(8, 8, 8);
scroll-behavior: smooth;
}
.start{
background: linear-gradient(to bottom, #355b7c, #000000);
height: 100vh;
display: flex;
justify-content: center;
background-color: #333;
color: white;
font-size: 2rem;
}
.welcome{
font-family: 'JetBrains Mono', monospace;
}
.grid-container {
position: absolute;
top:40%;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 10%;
width: 55vw;
height: 55vh;
margin: auto;
}
@media (max-width: 768px) {
.grid-container {
position: absolute;
top:40%;
display: grid;
grid-template-columns: 1fr;
gap: 5%;
width: 60vw;
height: 60vh;
margin: auto;
}
}
.grid-item {
position: relative;
overflow: hidden;
border-radius: 22px;
box-shadow: 0 4px 8px rgb(0, 0, 0);
background-size: cover;
background-position: center;
}
.grid-item.image-background {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.grid-item video {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.grid-item a {
display: block;
width: 100%;
height: 100%;
position: relative;
z-index: 1;
text-decoration: none; /* optional: remove underline */
color: inherit; /* optional: use inherited color */
}
.grid-item h2 {
margin: 0;
padding: 0 10px
}
.grid-item h2.default {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 2rem;
margin: 0;
padding: 0 10px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
pointer-events: none;
}
.grid-item h2.under-black {
position: absolute;
top: 70%;
left: 50%;
transform: translate(-50%, -50%);
color: rgb(0, 0, 0);
font-size: 2rem;
margin: 0;
padding: 0 10px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
pointer-events: none;
}
.section {
height: 100vh;
display: flex;
justify-content: center;
color: white;
font-size: 2rem;
text-align: center;
position: relative;
overflow: hidden;
}
.section-video .bg-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}
.section-video .content {
z-index: 1;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center; /* Vertical centering */
height: 100%; /* Full height of section */
width: 100%;
text-align: center;
}
.section-video .skills {
display: flex;
justify-content: center;
gap: 60px;
flex-wrap: wrap;
margin-top: 20px;
}
.skills-column {
min-width: 200px;
}
.section-video .skills h3 {
margin-bottom: 10px;
color: #fff;
}
.section-video .skills ul {
list-style: none;
padding: 0;
}
.section-video .skills li {
background: rgba(255, 255, 255, 0.2);
margin: 5px 0;
padding: 8px 15px;
border-radius: 20px;
font-size: 1rem;
color: white;
text-align: center;
}
.section-image {
background-image: url('images/output.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
#section4 {
background-color: transparent;
}
#section1 {
background-image: url('images/abstractcode.png');
background-color: #000000;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding-top: 50px;
color: white;
font-size: 2rem;
text-align: center;
position: relative;
overflow: hidden;
}
#section3 {
background-color: #000000;
}
.skill-icons img {
height: 50px;
width: auto;
object-fit: contain;
filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
transition: transform 0.3s;
}
.skill-icons img:hover {
transform: scale(1.1);
}
.no-link-style {
color: white;
text-decoration: none;
}
.no-link-style:hover {
text-decoration: underline; /* Optional hover effect */
}
a {
color: inherit !important;
}