﻿* {
    min-width: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-section,
.navbar,
.container,
.container-fluid {
    overflow-x: clip;
}


#app {
    min-height: 100%;
}

svg, video {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.custom-loader {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #aaa;
}

.navbar {
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-brand {
    color: white;
    transition: all 0.5s ease;
    opacity: 0;
}

    .navbar-brand.visible {
        opacity: 1;
    }

    .navbar-brand:hover, .navbar-brand:focus {
        text-decoration: none;
        color: grey;
    }

.nav-lang {
    height: 1rem;
    background-color: black;
}

.btn-portfolio {
    background: linear-gradient(135deg, #66d1ff, #4aa3df);
    color: #0b0b0b;
    border: none;
    padding: 0.6rem 1.4rem;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

    .btn-portfolio:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 209, 255, 0.35);
        color: #0b0b0b;
    }

    .btn-portfolio:active {
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(102, 209, 255, 0.25);
    }

.btn-portfolio-green {
    background: linear-gradient(120deg, #4fb100, #00b13a);
    color: #0b0b0b;
    border: none;
    padding: 0.6rem 1.4rem;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

    .btn-portfolio-green:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 209, 255, 0.35);
        color: #0b0b0b;
    }

    .btn-portfolio-green:active {
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(102, 209, 255, 0.25);
    }

.hero-section {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: linear-gradient(135deg, #1e1e1e, #2e2e2e);
    color: white;
}

.dynamic-text {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
    font-weight: bold;
    color: #66d1ff;
}

    .dynamic-text.fade-out {
        opacity: 0;
    }

.section-title {
    margin-top: 60px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.project-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

    .project-card img {
        width: 100%;
        height: auto;
        min-height: 20%;
        min-width: 200px;
        border-radius: 8px;
        object-fit: contain;
    }

.project-button {
    position: absolute;
    margin-bottom: 1rem;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-image {
    border-radius: 8px;
    max-width: 320px;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    object-fit: cover;
}

.about-text {
    max-width: 500px;
    width: 20rem;
    font-weight: 375;
    color: black;
    margin-left: 1rem;
}

.techstack-image img {
    width: auto;
    height: 5rem;
    transition: 0.3s ease;
}

    .techstack-image img:hover {
        transform: scale(1.10);
    }

#blazor-error-ui {
    display: none !important;
}

.contact-form-box {
    padding: 0 10%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

.contact-sent-box {
    max-width: 100%;
    padding: 20rem 0;
}