html, body {
    margin: 0;
    padding: 0;
    background-color: #0f0f0f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
}

.header-div {
    z-index: 2;
    position: fixed;
    background: rgba(27, 27, 27, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0px 0px 8px 8px;
    padding: 0 20px;
    width: 98%;
    height: 65px;

    backdrop-filter: blur(6px);
    overflow: hidden;
}

.header-div::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-radial-gradient(
            circle at 30% 40%,
            rgba(255,255,255,0.08) 0 1px,
            transparent 1px 2px
        );
    opacity: 0.2;
    mix-blend-mode: overlay;
    animation: noise 0.05s infinite;
    pointer-events: none;
}


@keyframes noise {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-3%, 3%); }
    50%  { transform: translate(3%, -3%); }
    75%  { transform: translate(-3%, -3%); }
    100% { transform: translate(0, 0); }
}

.ico {
    height: 40px;
}

.fl {
    font-weight: bold;
    font-size: 25px;
}

.back {
    background-color: #242424;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.1s;
    color: white;
    text-decoration: none;
}

.back:hover {
    background-color: #313131;
}

.headernew {
    display: flex;
    height: 350px;
    width: auto;
}

.title {
    font-family: "Montserrat", sans-serif;
    font-size: 100px;
    width: 500px;
    height: 500px;
    margin: 50px 100px;
    background: linear-gradient(90deg, #008f94, #ebebeb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.title-mh {
    font-family: "Montserrat", sans-serif;
    font-size: 60px;
    width: 500px;
    height: 200px;
    margin: 25px 80px;
    background: linear-gradient(90deg, #6f3cb1, #fff171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.img-header {
    width: 550px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    margin: auto;

    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1),
        rgba(0,0,0,0)
    );

    mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1),
        rgba(0,0,0,0)
    );
}

.about {
    font-size: 16px;
    width: 85%;
    margin: auto;
}

.subtitle {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 40px;
    margin:auto;
    text-align: center;
}

.subtitle2 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin:auto;
    text-align: center;
}

footer {
    text-align: center;
}

hr {
    width: 90%;
    border: none;
    height: 2px;
    background-color: #353535;
}

.inv {
    clear: both;
    height: 10px;
}

.inv-giant {
    clear: both;
    height: 100px;
}

.projects {
    width: 85%;
    height: auto;
    display: flex;
    margin: auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.project {
    display: block;
}

.img2 {
    border-radius: 5px;
}

.linkimg-mh {
    display: flex;
    width: 455px;
    height: 255px;
    transition: 0.2s;
    border-radius: 5px;
}

.linkimg-rsmp {
    display: flex;
    width: 455px;
    height: 255px;
    transition: 0.2s;
    border-radius: 5px;
}

.linkimg-mh:hover {
    box-shadow: 
    0 0 30px #390094;
}

.linkimg-rsmp:hover {
    box-shadow: 
    0 0 30px #006594;
}

@media (max-width: 768px) {

    .header-div {
        width: 100%;
        padding: 0 10px;
    }

    .fl {
        font-size: 18px;
    }

    .back {
        padding: 8px 12px;
        font-size: 14px;
    }

    .headernew {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .title {
        font-size: 42px;
        width: 100%;
        height: auto;
        margin: 40px 20px;
        text-align: center;
    }

    .title-mh {
        font-size: 36px;
        width: 100%;
        height: auto;
        margin: 20px;
        text-align: center;
    }

    .img-header {
        width: 90%;
        height: auto;
        margin: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .about {
        width: 90%;
        font-size: 15px;
    }

    .subtitle {
        font-size: 28px;
    }

    .subtitle2 {
        font-size: 16px;
    }

    .projects {
        width: 95%;
    }

    .linkimg {
        width: 100%;
        height: auto;
    }

    .img2 {
        width: 100%;
        height: auto;
    }
}
