* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

#nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 15vh;
    background-color: black;
}

.button,
.form-inline,
.navbar-brand {
    padding: 10px;
}

/* search button rgb */
.btn1 {
    /* width: 100%;
    height: 100%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px;
    border-radius: 10px;
    background: linear-gradient(90deg, red,green,aqua,blue,violet,purple);
    background-size: 300% auto;
    animation: runningRGB 8s linear infinite;
}

@keyframes runningRGB {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.navrap {
    background-color: black;
    width: 75%;
    display: flex;
    justify-content: center;
}

.navimg {
    width: 33%;
    height: 33%;
}

.navimg img {
    width: 100%;
    height: 100%;
}

.text {
    color: aliceblue !important;
}

.text1:hover {
    color: red !important;
}

/* nav2 */
.nav2 {
    width: 85%;
    margin: auto;
    background: linear-gradient(to right, rgb(50, 50, 217), grey, rgb(15, 180, 180)) !important;
    border-radius: 15px;
}

/* button */
.rapper {
    width: 85%;
    height: auto;
    margin: auto;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 5%;
    /* border: 2px solid red; */
}

.container1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* border: 2px solid red; */
}

.container1 .btn {
    margin: 5px;
    /* Add some margin between buttons for spacing */
}

/* grid */
.item {
    width: 85%;
    height: auto;
    margin: auto;
    background-color: rgb(48, 47, 47);
    border-radius: 20px;
}

.item1 {
    width: 95%;
    margin: auto;
    height: auto;
    background-color: rgb(48, 47, 47);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid columns */
    padding: 15px;
    grid-column-gap: 19px;
    grid-row-gap: 10px;
    overflow: hidden;
    place-items: center;
}

.item1 a:hover,
.item1 a {
    text-decoration: none;
}

.card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, #FF596F, #E41421, #ED207B, #6551CC, #47CCCC, #99CCBB, #FF596F);
    background-size: 300% auto;
    animation: runningRGB 8s linear infinite;
}

@keyframes runningRGB {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.card img {
    border: 4px solid goldenrod;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cl {
    background-color: rgb(48, 47, 47);
    padding: 10px;
    flex-grow: 1;
}

.card-text {
    color: aliceblue;
}

/* next button */
.next {
    width: 85%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgb(48, 47, 47);
    padding: 15px;
}

.active,
.disabled{
    background-color: rgb(176, 0, 0) !important;
}

/* card text */
.card-text:hover {
    color: red;
    transition-duration: 0.5s;
    text-decoration: none;
}

/* footer */
.pg-footer {
    font-family: 'Roboto', sans-serif;
}


.footer {
    margin-top: 50px;
    background: linear-gradient(to right, grey, black, grey, black);
    color: #fff;
}

.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: 80px;
    position: relative;
    top: -1px;
    width: 100%;
}

.footer-wave-path {
    fill: black;
}

.footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 450px;
    position: relative;
}

.footer-content-column {
    box-sizing: border-box;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    color: #fff;
}

.footer-content-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-logo-link {
    display: inline-block;
}

.footer-menu {
    margin-top: 30px;
}

.footer-menu-name {
    color: #fffff2;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.footer-menu-list {
    list-style: none;
    margin-bottom: 0;
    margin-top: 10px;
    padding-left: 0;
}

.footer-menu-list li {
    margin-top: 5px;
}

.footer-call-to-action-description {
    color: #fffff2;
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-call-to-action-button:hover {
    background-color: #027b9a;   
    color: red;
    text-decoration: none;
}

.button:last-of-type {
    margin-right: 0;
}

.footer-call-to-action-button {
    background: linear-gradient( black,grey);
    border-radius: 21px;
    color: #fffff2;
    display: inline-block;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s;
    cursor: pointer;
    position: relative;
}

.footer-call-to-action {
    margin-top: 30px;
}

.footer-call-to-action-title {
    color: #fffff2;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.footer-call-to-action-link-wrapper {
    margin-bottom: 0;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-call-to-action-link-wrapper a {
    color: #fff;
    text-decoration: none;
}

.footer-social-links {
    bottom: 0;
    height: 54px;
    position: absolute;
    right: 0;
    width: 236px;
}

.footer-social-amoeba-svg {
    height: 54px;
    left: 0;
    display: block;
    position: absolute;
    top: 0;
    width: 236px;
}

.footer-social-amoeba-path {
    fill: goldenrod;
}

.footer-social-link.linkedin {
    height: 42px;
    left: 3px;
    top: 11px;
    width: 45px;
}

.footer-social-link {
    display: block;
    padding: 10px;
    position: absolute;
}

.hidden-link-text {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    top: 50%;
}

.footer-social-icon-svg {
    display: block;
}

.footer-social-icon-path {
    fill: #fffff2;
    transition: fill .2s;
}

.footer-social-link.twitter {
    height: 42px;
    left: 62px;
    top: 3px;
    width: 52px;
}

.footer-social-link.youtube {
    height: 42px;
    left: 123px;
    top: 12px;
    width: 45px;
}

.footer-social-link.github {
    height: 42px;
    left: 168px;
    top: 7px;
    width: 60px;
}

.footer-copyright {
    background: linear-gradient( gray, black);
    color: #fff;
    padding: 15px 30px;
    text-align: center;
}

.footer-copyright-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.footer-copyright-text {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
}

.footer-copyright-link {
    color: #fff;
    text-decoration: none;
}

/* Media Query For different screens */
@media (min-width:320px) and (max-width:479px) {

    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:480px) and (max-width:599px) {

    /* smartphones, Android phones, landscape iPhone */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:600px) and (max-width: 800px) {

    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:801px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */

}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */

}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */

}

@media (min-width: 760px) {
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 450px;
        position: relative;
    }

    .footer-wave-svg {
        height: 50px;
    }

    .footer-content-column {
        width: 24.99%;
    }
}