body {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
}

.page1 {
    height: 100vh !important;
    width: 100% !important;
    background-image: url(./images/ales-nesetril-Im7lZjxeLhg-unsplash.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.image-logo {
    width: 300px;
    height: 100%;
    margin-right: 100px;
}

.nav-item {
    margin-right: 30px;
    transition: 0.3s;
    border-radius: 10px;
}

.nav-item:hover {
    background-color: #ccc;
}

.nav-link {
    font-size: 25px !important;
}

.home-text {
    position: absolute;
    top: 20%;
    font-family: Georgia, 'Times New Roman', Times, serif;
    width: 45% !important;
    position: relative !important;
    
}

.webkit {
    font-size: 3rem;
    opacity: 0.9;
    -webkit-text-stroke: 0.1px rgb(255, 255, 255);
}

/* ------------------------------------------------------------------ */
.anitext {
    border-right: solid 3px rgba(0, 255, 0, .75);
    white-space: nowrap;
    overflow: hidden;
    font-size: 28px;
    color: rgba(255, 255, 255, .70);
}

/* Animation */
.anitext {
    animation: animated-text 4s steps(29, end) 1s 1 normal both,
        animated-cursor 600ms steps(29, end) infinite;
}

/* text animation */

@keyframes animated-text {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* cursor animations */

@keyframes animated-cursor {
    from {
        border-right-color: rgba(255, 255, 255, 0.75);
    }

    to {
        border-right-color: transparent;
    }
}

/* -------------------------------------------- */

.social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    font-size: 17px;
    margin-right: 22px;
    margin-bottom: 30px;
}

.social a:hover {
    transform: scale(1.3);
    transition: .5s;
}


/*-------------------------------------------------------page1-------------------------------------------------------------*/
/*-----------------------------------------------------page2--------------------------------------------------------*/
.page2 {
    background-color: #ffffff;
    background-size: 100% 100%;
    height: 100vh;
    background-repeat: no-repeat;
}

.skills h1 {
    padding-top: 5rem;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.skill-list {
    font-size: larger;
    padding: 15px;
    background-color: #eee;
    color: #00163F;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 0 12px black;
}

/*-----------------------------------------------------page2--------------------------------------------------------*/
/*-----------------------------------------------------page3--------------------------------------------------------*/
.page3 {
    background-color: #111111;
    padding: 100px 0 150px 0;
    padding-left: 50px;
    padding-right: 50px;
}

.Qualifications h1 {
    margin-bottom: 20px !important;
    text-align: center;

}

.Qualifications-col {
    font-size: larger;
    background-color: #eee;
    color: #00163F;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 12px black;
}


/*--------------------------------------------page3--------------------------------------------------------------------*/
/*--------------------------------------------page4--------------------------------------------------------------------*/
.page4 {
    background-color: #ffffff;
    height: fit-content;
    margin-top: 50px;
    padding: 100px 0;

}

.My-Project {
    /* padding: 50px !important;  */

    text-align: center;
}

.row .card {

    width: 300px;
    height: 215px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out;

}

.row .card:hover {
    height: 450px;
}

.row .card .imgContainer {
    position: relative;
    width: 250px;
    height: 250px;
    top: -50px;
    left: 10px;

    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.row .card .imgContainer img {
    max-width: 100%;
    border-radius: 4px;
}

.row .card .content {
    position: relative;
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease-in-out;
}

.row .card:hover .content {
    visibility: visible;
    opacity: 1;
    margin-top: -40px;
    transition-delay: 0.3s;
}


.footer {
    background-color: #222222;
    height: 5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;


}

.footer a {
    color: white;
}






@media (max-width:767px) {
    .page4 {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .My-Project {
        padding: 50px !important;
        /**/

    }

    .row .card {
        max-width: 100% !important;
        width: 100%;
        margin-bottom: 50px;
    }

    .row .card .imgContainer {

        left: 50%;
        /**/
        transform: translateX(-50%);
        /**/

    }

    .image-logo {
        width: 180px;
        height: 100%;
        margin-right: 20px;
    }
}