html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    position: relative;
    background-color: #283131 !important;
    color: #EEEEEE !important;
    overflow-x: hidden;
    font-family: 'Noto Sans', Arial, sans-serif !important;
}

/* Header and video adjustments */
header {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    padding-top: 70px;
}
@media (max-width: 575.98px) {
    header {
        padding-top: 56px;
    }
}
header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    min-width: 100%;
    min-height: 100vh;
}
header .container {
    position: relative;
    z-index: 2;
}
header .container.h-100 {
    padding-top: 70px;
}
@media (max-width: 575.98px) {
    header .container.h-100 {
        padding-top: 56px;
    }
}
header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

/* Navbar styles */
.navbar-blur {
    background: rgba(30, 30, 30, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar .navbar-brand img {
    height: 40px;
}
.navbar-blur .nav-link {
    color: #fff !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    text-transform: none !important;
    font-family: 'Noto Sans', Arial, sans-serif !important;
}
.navbar-blur .nav-link:hover,
.navbar-blur .nav-link.active {
    color: #EE8464 !important;
}

/* Section scroll offset for fixed navbar */
#about, #portfolio, #contact {
    scroll-margin-top: 80px;
}

/* Footer */
.myFooter {
    background-color: #191919;
    padding: 30px;
    color: #eeeeee;
}
.madein {
    padding-top: 30px;
}
.smi i {
    font-size: 35px;
    color: #eeeeee;
    padding-top: 10px;
    margin: 8px;
}
.smi i:hover {
    color: #CA433A;
    transition: all .3s ease !important;
}
#copyright {
    padding-top: 20px;
    color: #eeeeee;
}

/* Portfolio and About section font size */
#portfolio,
#about {
    font-size: 20px;
}

/* Card styles */
.card {
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    background: rgba(255,255,255,0.95);
}
.card-title {
    font-weight: 700;
    font-size: 1.5rem;
}
.card-img-top {
    object-fit: cover;
    max-height: 250px;
}

/* Profile images */
#pfp,
#pfp-contact {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#pfp {
    padding: 20px;
    width: 400px;
}
#pfp-contact {
    padding: 20px;
    width: 300px;
}
@media only screen and (max-width: 700px) {
    #pfp {
        padding-left: 0;
        padding-right: 20px;
        width: 400px;
    }
    #pfp-contact {
        width: 300px;
    }
}

/* Scroll-down mouse animation */
.scroll-downs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: -85vh;
    left: 0;
    margin: auto;
    width: 34px;
    height: 55px;
}
.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}
.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}

/* Image drop shadow */
img {
    -webkit-filter: drop-shadow(5px 5px 5px #222222);
    filter: drop-shadow(5px 5px 5px #222222);
}
.name {
    font-size: 3rem;
    font-weight: 700;
}
.profession {
    font-size: 1.5rem;
    font-weight: 400;
}