/* CSS JUSTIN AMPONIN */

body {
	background-color: #1B2A3D;
}

/* Typography & Stuff */

p {
    font-family: "Sora", sans-serif;
}

a {
    font-family: "Sora", sans-serif;
	color: #07B5FF;
	text-decoration: none;
}

a:hover {
	color: #91DEFF;
}


h1,h2 {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

h3,h4,h5 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
}

.btn {
	 font-family: "Sora", sans-serif;
	 font-weight: 600;
}

 /* Gradient Divider */
 .divider-gradient {
     height: 3px;
     background: linear-gradient(to right, transparent, #FFFFFF, transparent);
 }

/* Navigation */
.navbar{
	background-color: #0F151B;
}

.nav-link {
  	color: white;
}

.nav-link:hover {
  	color: #07B5FF;
}

#nav-logo {
	width:100px;
}

#nav-logo:hover {
	filter: brightness(0) saturate(100%) invert(50%) sepia(32%) saturate(2614%) hue-rotate(170deg) brightness(106%) contrast(102%);
}


/* Homepage */
#mascot-default {
    height: auto;
    max-width: 320px;
    width: 100%;
}
 
#about-me {
	padding: 100px 0px 50px 0px;
	background-color: #1B2A3D;
}
 
#the-works {
	background-color: #1B2A3D;
}
 
.project-card-title {
	color: #07B5FF;
	text-decoration: none;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.card-img-overlay-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 181, 255, 0.85), rgba(15, 21, 27, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-img-wrapper:hover .card-img-overlay-hover {
    opacity: 1;
}

.card-hover-logo {
    height: 180px;
	width: 200px;
}



/* VIDEO HERO */
 
#video-hero {
	margin-top: 60px;
    position: relative;
    overflow: hidden;
	height: 70vh;
}
 
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}
 
#video-overlay {
    position: absolute;
    inset: 0;
	background: #1B2A3D;
background: linear-gradient(0deg,rgba(27, 42, 61, 1) 0%, rgba(27, 42, 61, 0.57) 50%, rgba(27, 42, 61, 0) 100%);
    z-index: 1;
}
 
#video-content {
    z-index: 2;
}

#video-content-row {
    height: 60vh; /* matches #video-hero height so align-items-center works */
}

#project-logo {
	width: 60%;
}
 
/* Hide video on mobile, use fallback image instead */
@media (max-width: 768px) {
    #bg-video {
        display: none;
    }
 
    #video-hero {
        background-color: #1c69b7;
        background-size: cover;
        background-position: center;
		height: 400px;
    }
	#video-content-row {
    height: 30vh; /* matches #video-hero height so align-items-center works */
}
	#project-logo {
		width: 350px;
	}
}