@font-face {
    font-family: "Minecraft";
    src: url(../font/Minecraft.ttf);
}

@font-face {
    font-family: "TheWitcher";
    src: url(../font/Thewitcher-jnOj.ttf);
}

:root {
    --root-bg-light: #eef4fb;
    --LightGray: hsla(0, 0%, 87%, 0.322);
    --c1: #021027;
    --c2: #000000;
    --blue-light: #40abfc;
    --white: #fff;
    --white-alpha: #fff;
    --red: rgba(238, 12, 50, 1);
    --ff-Minecraft: "Minecraft";
    --ff-witcher: "TheWitcher";
}

* {
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background: black;
    background-image: url("../images/hero-dark@90.dba36cdf.jpg");
    background-attachment: fixed;
    /* background-repeat: no-repeat; */
    background-size: 100%;
    position: relative;
}

body::before {
    position: fixed;
    content: '';
    height: 100vh;
    width: 100%;
    background-attachment: fixed;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(148 163 184 / 0.05)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
    background-repeat: repeat;
    opacity: .5;
    top: 0;
  left: 0;
}

header.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.container {
    width: min(90%, 75rem);
    margin: 0 auto;
    display: flex;
    transition: .4s liner ease-in-out;
    /* justify-content: center;
    align-items: center; */
}

header.header>.container {
    padding: 2rem;
}

header.header>.container>h1 {
    text-transform: uppercase;
    font-size: clamp(3rem,5.5rem,6rem);
    font-family: var(--ff-witcher);
    background: -webkit-linear-gradient(90deg, var(--blue-light) 22.4%, var(--red) 80.8%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 525.3px;
    transition: .5s ease-in-out;
}

.card-container {
    margin: 23.8rem auto;
}

.card-container>.container {
    padding: 0 2rem;
}

div.data-container {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
}

div.project-card {
    background: linear-gradient(to right, transparent, #03030348 60%);
    /* border: 1px solid rgba(235, 235, 235, 0.034); */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    /* height: max(20rem, 5vh); */
    border-radius: .51rem;
    position: relative;
    z-index: 45;
}

div.project-card>.left-box,
div.project-card>.right-box {
    flex: 1;
}

div.project-card>.left-box {
    padding: 1rem;
    color: var(--white);
    display: flex;
    flex-flow: column;
    /* gap: 1rem; */
    justify-content: space-between;
}
div.project-card > p#bg-number {
    font-family: var(--ff-witcher);
    color: var(--LightGray);
    font-size: 10rem;
    position: absolute;
    z-index: 70;
    left:-20px;
    top:-30px;
}

div.project-card>.left-box>.pTitle {
    font-size: 2rem;
    font-family: var(--ff-witcher);
    color: var(--white);
    /* text-decoration: underline; */
    transition: .5s linear ease-in-out;
    z-index: 999;
}

div.project-card>.left-box>.pTitle a:hover {
    color: var(--red);
    text-decoration: underline;
}

div.project-card>.left-box>.pTitle>a {
    text-decoration: none;
    transition: .3s ease-in-out;
    color: #fff;
}

.pDiscription {
    font-family: var(--ff-witcher);
    height: 3rem;
    flex: 1;
    line-height: 1.7rem;
    display: flex;
    align-items: center;
    width: 76%;
    z-index: 99;
}

.label-container {
    height: 3rem;
    width: 100%;
    align-items: center;
    display: flex;
}

.label-container>p.label {
    font-family: var(--ff-witcher);
    font-size: 1rem;
    background: linear-gradient(to right, var(--red) 20%, var(--blue-light) 90% );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    outline: 2px solid var(--red);
    padding: 3px 15px;
    margin: 0 .4rem;
    border-radius: 1rem;
}

div.project-card>.right-box img {
    width: 100%;
    height: 100%;
    padding: .5rem;
    border-radius: 1rem;
}

@media only screen and (max-width: 900px) {
    /* div.project-card .left-box{
        width: 100%;
    } */
    header.header > div.container {
        padding: 1rem;
    }
    header.header > div.container > h1 {
        /* font-size:; */
    }
    div.project-card {
        display: flex;
        flex-direction: column-reverse !important;
    }
    div.project-card  > p#bg-number {
        left: -30px;
        top: -50px;
        --LightGray: hsla(0, 89%, 51%, 0.322);
    }
    section.card-container > .container {
        padding: 0;
    }
}