.cover {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: url("../images/compressed_images/cover.jpg") center center/cover no-repeat;
    &::before {
        content: "";
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4), rgba(0, 0, 0, .4), black);
    }
    @media (max-width: 1080px) and (orientation: portrait) {
        background: url("../images/cover-phone.jpg") center center/cover no-repeat;
        .coverText {
            h2 {
                font-size: 8dvw;
            }
            p {
                font-size: 5dvw;
            }
        }
    }
}

.coverText {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(.5);
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100vh;
    padding: 2vw;
    h2 {
        font-size: 4.5dvw;
        transition: all .3s ease-in-out;
            background: url("../images/text-bg.png") center;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
            filter: hue-rotate(0deg);

            &::after {
                content: "Welcome to my showcase !";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url("../images/text-bg.png") center;
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                filter: blur(1rem) brightness(1.5) ;
                z-index: -1;
            }
    }
    p {
        font-size: 2dvw;
        transition: all .3s ease-in-out;
            background: url("../images/text-bg.png") center;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
            filter: hue-rotate(0deg);
            &::after {
                content: "and remember... don't let it stop spinning...";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
            height: 100%;
            background: url("../images/text-bg.png") center;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            filter: blur(.5rem) brightness(1.5);
            z-index: -1;
        }
    }
    @media (max-width: 1080px) and (orientation: portrait) {
        text-align: center;
        gap: 5rem;
    }
    @media (max-width: 320px) and (orientation: portrait) {
       height: 100dvh;
       gap: 2rem;
    }
}