#h1 {
    font-size: 4vw;
    margin: 0;
    background-image: url('../assets/josephine.jpg');
    background-size: contain;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: cursive;
}

.jugnu-text {
    height: 100%;
}

.middle-text {
    font-family: cursive, Helvetica, sans-serif;
    font-size: 16px;
    color: white;
}

#mh-photo {
    width: 60%;
    height: 50%;
    border-radius: 10px;
    opacity: 0.4;
    margin-top: 35%;
}

#logo {
    width: 40px;
    height: 40px;
}

#logo-div {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

#logo-div:hover {
    background-color: rgba(38, 112, 35, 1.0);
    backdrop-filter: blur(10px);
}

.glass-text {
    background-color: rgba(140, 140, 144, 0.3);
    border: 1px solid rgb(255, 255, 255, 0.3);
    border-radius: 10px;
}

.bg-glass {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    /* background-color: rgba(255, 255, 255, 0.05); */
    background-color: rgba(141, 131, 227, 0.1);
    backdrop-filter: blur(20px);
    font-family: Cursive;
    color: white;
}

#bottom-line {
    background-color: grey;
    border-radius: 2px;
    height: 5px;
}

#top-text {
    font-size: 12px;
    border: 1px dotted whitesmoke;
    border-radius: 5px;
    padding-top: 5px;
    color: white;
}

#video-side {
    width: 70%;
    height: 70%;
    opacity: 0.2;
}

#card-row {height: 15%;}
.card-div {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    justify-items: center;
}

.card-size {
    margin-top: 3px;
    background-size: cover;
    width: 95%;
    height: 95%;
    border-radius: 10px;
    background-repeat: no-repeat;
    text-align: center;
}

#card1 {
    background-image: url('../assets/swift1.png');
}

#card2 {
    background-image: url('../assets/flutter.jpg');
}

#card3 {
    background-image: url('../assets/all.png');
    animation: a-card3 20s ease-in-out 0s infinite;
    animation-fill-mode: both;
}

@keyframes a-card3 {
    5% {
        background-image: url('../assets/all.png');
    }
    
    10% {
        background-image: url('../assets/ai_1.jpeg');
    }

    15% {
        background-image: url('../assets/html_1.jpg');
    }

    30% {
        background-image: url('../assets/js.png');
    }

    45% {
        background-image: url('../assets/css_1.jpg');
    }

    60% {
        background-image: url('../assets/bootstrap.jpg');
    }

    75% {
        background-image: url('../assets/php2.jpg');
    }

    90% {
        background-image: url('../assets/nodejs_1.png');
    }
    
    95% {
        background-image: url('../assets/ai_1.jpeg');
    }

    100% {
        background-image: url('../assets/ml.jpg');
    }
}

@keyframes animate2 {
    from {
        background-image: url('../assets/josephine.jpg');
    }

    to {
        background-image: url('../assets/glazed_color.jpg');
    }
}


@media screen and (max-width:576px) {
    #top-text {
        font-size: 10px;
        text-align: center;
        color: white;
        margin-top: 10px;
    }
    .jugnu-text {
        text-align: center;
    }
    span {
        font-size: 20px;
    }
    #card-row {height: 15%;margin-top: 1px;}
    #mh-photo-1 {
        width: 100%;
        height: 100%;
        padding: 2px 0px 2px 0px;
        border-radius: 7px;
    }
    .middle-text {
        font-family: Helvetica, sans-serif;
        font-size: 14px;
    }

    span {
        font-family: Helvetica, sans-serif;
        font-size: 12px;
    }

    #video-side {
        margin: auto;
        margin-top: 5%;
        width: 40%;
        height: 40%;
        display: block;
        justify-self: top;
        align-self: end;
    }
    .card-size {
        width: 95%;
        height: 95%;
        background-size: cover;
    }
    .card-div {
        width: 100%;
        height: 70%;
    }
}

@media screen and (min-width:576px) {
    #top-text {
        font-size: 10px;
        text-align: center;
    }
    #mh-photo-1 {
        width: 100%;
        height: 100%;
        padding: 2px 0px 2px 0px;
        border-radius: 7px;
    }
    #card-row {margin-top: 3px;}
    #video-side {
        margin-top: 2%;
        width: 20%;
        height: 20%;
        justify-self: center;
        text-align: center;
    }
}

@media screen and (min-width:768px) {
    #top-text {
        color: white;
    }
    #video-side {
        margin-top: 1%;
        width: 60%;
        height: 60%;
        justify-self: top;
        align-self:center;
    }
}

@media screen and (min-width:992px) {
    #top-text {
        color: yellow;
    }
}

@media screen and (min-width:1200px) {
    #top-text {
        color:white;
    }
}