/* Keyframes */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
   }
    50% {
        background-position: 100% 50%;
   }
    100% {
        background-position: 0% 50%;
   }
}
@keyframes bop {
    0%, 100% {
        transform: translateY(0) scale(1.4);
   }
    50% {
        transform: translateY(-10px) scale(1.5);
   }
}
@keyframes moveBackground {
    0% {
        background-position: 0% 75%;
   }
    50% {
        background-position: 100% 75%;
   }
    100% {
        background-position: 0% 75%;
   }
}
body{
    color: black;
    font-family: "Archivo", sans-serif;
    background: linear-gradient(-45deg, #393350, #05043f, #084e68, #315049);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}
h1, h2, h3, h5 {
    font-family: "Archivo Black", sans-serif;
}
h5 {
    color: #05043f;
}
nav a{
    font-family: "Archivo", sans-serif;
}
.navbar {
    background: #022937;
}
span.strong {
    font-family: "Archivo Black", sans-serif;
}
nav img{
    max-height: 50px;
}
.img-scale {
    transform-origin: center center;
    transition: transform 0.3s ease-out;
}
.skill-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.skill-card img {
    transition: 0.5s ease;
    width: 100%;
}
.skill-card:hover img {
    filter: brightness(70%);
}
.skill-card:hover{
    background: linear-gradient(-45deg, #ee7752, #23a6d5, #23d5ab, #315049);
    background-size: 300% 300%;
    animation: moveBackground 8s linear infinite;
}
.skill-description {
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}
.skill-card:hover .skill-description {
    opacity: 1;
    visibility: visible;
}
.portfolio-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    overflow: hidden;
}
.card-body {
    height: 140px;
    overflow: hidden;
}
.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.portfolio-card {
    cursor: pointer;
    transition: transform 0.7s;
    overflow: hidden;
}
.portfolio-card:hover {
    transform: scale(1.05);
}
.list-group-item-action {
    border-radius: 0.5rem;
    background-color: #495057;
    color: #f8f9fa;
}
.card {
    background-color: #343a40;
    border: none;
    color: #f8f9fa;
}
.card-body {
    border-radius: 0.25rem;
}
.section-header {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #6c757d;
}
.footer-logo {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}
.social-icons i {
    color: black;
    transition: color 0.4s ease;
}
i.bi-github:hover {
    color: #862fa0;
}
i.bi-facebook:hover {
    color: #105fb9;
}
i.bi-instagram:hover {
    color: #e441ae;
}
a.me-4 {
    color: transparent;
}
#btnTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
}
.contact {
    background: linear-gradient(-45deg, #393350, #05043f, #084e68, #315049);
    background-size: 200% 200%;

}


#skills {
 border:solid 2px white;
 border-radius: 3rem;
 padding: 6rem;
}

#additional-details>.container-md {
    border-radius: 3rem;
}



@media (min-width: 768px) {
    .img-scale {
        transform: scale(1.5) translateY(0);
        animation: bop 6s ease-in-out infinite;
   }
}
