@import url('https://fonts.googleapis.com/css2?family=Leckerli+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

a {
    text-decoration: none;
}

img {
    pointer-events: none;
}

i {
    font-size: 1.5rem;
}

.menu-items ul li {
    list-style-type: none;
    font-size: 1.2rem; 
    margin: 10px 10px;
    padding: 10px;
}

.menu-items {
    background-color: black;
    position: fixed;
    display: block;
    visibility: hidden;
    right: 0; 
    z-index: 1;
    height: 100%;
}

.menu-items ul li a {
    color: white;
    text-decoration: none;
}

.menu-items ul li a:hover {
    color: gold;
    transition: 0.3s;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    scroll-behavior: smooth;
}

.navbar {
    background-color: rgba(255, 230, 0, 0.938); 
    max-height: 50px;
    align-content: center;
}   

.menu, .close-menu {
    font-size: 2.5rem;    
    margin: 0px;
    cursor: pointer;
}

.min-vh-100 {
    min-height: 90vh !important;
}

.topcontent {
    background-image: linear-gradient(to right, #0575E6, #021B79);
    animation: bg 20s cubic-bezier(0.77, 0, 0.175, 1);
    animation-iteration-count: infinite;
}

@keyframes bg {
    25% {
        background-image: linear-gradient(to right, #000428, #004e92);
    }

    50% {
        background-image: linear-gradient(to right, #00bf8f, #001510);
    }

    100% {
        background-image: linear-gradient(to right, #6441A5, #2a0845);
    }
}

.Typename {
    margin-top: 52%;
    text-align: center;
    display: block;
    font-size: 2rem;
}

.cont_img {
    margin-top: 25%;
    max-width: 100%;
}

.name {
    color: black;
    font-weight: 500;
    font-size: 2rem;
    font-family: Leckerli one;
}

/*typewriter*/
.blinker {
    padding: 0px 3px;
    border-right: 3px solid orange;
    animation: caret 1s steps(1) infinite;
}

@keyframes caret {
    50% {
        border-color: orange;
        opacity: -3;
    }

    100% {
        opacity: 1;
    }
}

/*typewriter*/
/*topics*/
.topics {
    margin: 20px auto;
    color: black;
    font-weight: 600;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/*Programming content*/
.pro_img {
    max-width: 78%;
    animation: 5s floating ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

/*Academic*/
.table,
.table-bordered {
    border: 1px solid black;
}

.table-header {
    background-color: rgb(41, 41, 212);
    color: white;
}

/*ownproject*/
.ownproject img {
    max-width: 60%;
    margin: 20px 0px;
}

/*own project and counter*/
.count {
   text-align: center;
}

.card-major .card {
    padding: 0px 20px;
    margin: 10px 0px;
}

.card:hover {
    cursor: pointer;
    background-color: rgb(158, 226, 156);
}

.card span {
    text-align: center;
}

.card span i {
    margin: 2px 0px;
}

.more1, .more2, .more3 {
    display: none; 
}

/*Hobbies*/
.hobbie-text span {
    display: flex;
    padding: 4px 0px;
}

.hobbie-text i {
    color: orangered;
    padding: 0px 12px;
}

.hobbie-text span {
    align-items: center;
}

.imganimate {
    max-width: 10%;
    margin: 0px 10px;
    animation: shake 6s infinite;
}

.img1 {
    animation-delay: 0;
}

.img2 {
    animation-delay: 0.5s;
}

.img3 {
    animation-delay: 1s;
}

.img4 {
    animation-delay: 1.5s;
}

.img5 {
    animation-delay: 2s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

/*media query 425px*/
@media only screen and (max-width: 425px) {
    .menu {
        font-size: 40px;
        margin: 0px;
    }

    body {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        scroll-behavior: smooth;
    }

    .topics {
        font-size: 1.2rem;
    }

    .table {
        font-size: 0.9rem;
    }

    .Typename {
        margin-top: 17%;
        text-align: center;
        display: block;
        font-size: 1.5rem;
    }

    .cont_img {
        margin-top: 20%;
        max-width: 100%;
    }

    .min-vh-100 {
        min-height: 100vh !important;
    }

    .pro_img {
        max-width: 70%;
    }

    .table {
        max-width: fit-content;
    }

    .card {
        padding: 10px;
    }

    .skill_img,
    .certificate_img,
    .achievement_img,
    .project_img {
        max-width: 50%;
        margin: 20px auto;
    }

    .contact-text, i, h4 {
        font-size: smaller;
    }
}

/*media query 375px*/
@media only screen and (max-width: 385px) {
    .contact-text, i, h4 {
        font-size: x-small;
    }
}