#programs {
    margin: 50px 5%;
    margin-top: 100px;
    display: flex;
    justify-content: space-around;
    background: #001e77;
    border-radius: 30px;
    padding: 50px 0px;
}

#programssymbol {
    display: flex;
}

#programssymbol img {
    width: 140px;
    filter: drop-shadow(160px 10px 25px #00095b);
}

#programssymbol h3 {
    font-size: 30px;
    position: relative;
    top: 10px;
    font-weight: inherit;
}

#programssymbol div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#verticalgrad {
    width: 2px;
    border-radius: 90% !important;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.918);
    position: relative;
    left: 70px;
}

.programscomp {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all ease-in-out 1.3s;
}

.programbody{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.programscomp h3 {
    text-align: center;
    font-size: 25px;
    z-index: 0 !important;
}

.programscomp img {
    position: relative;
    top: -10px;
    cursor: pointer;
    filter: drop-shadow(0px 0px 10px #00095b);
    z-index: 0 !important;
}

.arrowss {
    height: 35px;
    align-self: last baseline;
    position: relative;
    left: 10px;
}

.programscomp:hover .programdesc{
    opacity: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.programscomp:hover .programdesc{
    opacity: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.transptext {
    color: white;
    -webkit-text-fill-color: #0000;
    -webkit-text-stroke: 0.3px white;
    font-weight: 600;
}

.programdesc {
    opacity: 0;
    position: absolute;
    background-color: #40407a;
    max-width: 300px;
    padding: 10px;
    border-radius: 10px;
    margin-top: 450px;
    z-index: 9999 !important;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
}

.descheader {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background-color: #7080b2;
    margin-bottom: 10px;
}

.desctext {
    font-size: 12px;
    text-align: center;
    width: 90%;
    margin-left: 5%;
    line-height: 20px;
    font-weight: 300;
}

#desc1 .descheader {
    text-shadow: 0px 0px 3px #8600D8;
}

#desc2 .descheader {
    text-shadow: 0px 0px 3px #C50000;
}

#desc3 .descheader {
    text-shadow: 0px 0px 3px #0063D8;
}

#desc4 .descheader {
    text-shadow: 0px 0px 2px #00BD2A;
}

/* Hover Effects */
#logjika:hover #desc1,
#www:hover #desc2,
#webprog:hover #desc3,
#software:hover #desc4 {
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (min-width: 1250px) and (max-width: 1600px) {
    .programdesc {
        max-width: 240px;
        margin-top: 500px;
    }

    #verticalgrad {
        left: 30px;
    }
}

@media (max-width: 1249px) {
    #verticalgrad {
        display: none !important;
    }
}

@media only screen and (max-width: 1249px) and (min-width: 1101px) {
    .programdesc {
        max-width: 200px;
        margin-top: 540px;
    }
}

@media only screen and (max-width: 1100px) {
    #programs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }

    #programssymbol img {
        filter: none;
    }

    #programssymbol {
        align-self: center;
    }
}

@media (max-width: 420px) {
    .programscomp {
        margin-top: 40px !important;
    }

    .programdesc{
        opacity: 1;
    }

    #programssymbol {
        position: relative;
        left: -10px;
    }
}

@media only screen and (max-width: 470px) {
    .programdesc {
        display: block !important;
    }

    .programscomp {
        margin-top: 300px !important;
    }

    #logjika {
        margin-top: 40px !important;
    }

    #programs {
        padding-bottom: 300px;
        flex-direction: column;
    }
}