* {margin: 0; padding: 0}

canvas {display: block; }

.course_card:hover{
    box-shadow: 0 4px 8px 0 rgba(219,30,30,0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    transition: .5s;
}
.course_card_link{
    position: absolute;
    bottom: 5px !important;
    right: 0;
    font-size: 14px;
    padding: 0 5px 0 5px;
    box-shadow: 0 4px 8px 0 rgba(219,30,30,0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    background-color: yellow !important;
    color: black !important;
    transition: .5s !important;
}

.course_card_link:hover{
    background-color: navy !important;
    color: whitesmoke !important;
    transition: .5s !important;
}

.start_learning{
    position: absolute;
    bottom: 5px !important;
    right: 0;
    font-size: 14px;
    padding: 0 5px 0 5px;
    box-shadow: 0 4px 8px 0 rgba(219,30,30,0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    background-color: greenyellow !important;
    color: navy !important;
    transition: .5s !important;
}


.form-control:focus{
    border: 1px solid deepskyblue !important;
    outline: none !important;
    box-shadow: none !important;
    transition: 1s !important;

}


.zoom-in-out-box {
    height: 80px;
    animation: zoom-in-zoom-out 15s ease infinite;
    margin-bottom: 20px !important;
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.5, 1.5);
    }
    100% {
        transform: scale(1, 1);
    }
}



.typewriter h1 {
    overflow: hidden;

    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation:
            typing 5s steps(40, end),
            blink-caret .75s ease infinite;
}


.heading {
    position: relative;
    text-align: center;
    color: white;
}


.centered {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}


/* curved background*/

section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    padding-top: 100px;
    background: #3c31dd;
}
.curve {
    position: absolute;
    height: 250px;
    width: 100%;
    bottom: 0;
    text-align: center;
}
.curve::before {
    content: '';
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 55%;
    height: 100%;
    transform: translate(85%, 60%);
    background-color: hsl(216, 21%, 16%);
}
.curve::after {
    content: '';
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 55%;
    height: 100%;
    background-color: #3c31dd;
    transform: translate(-4%, 40%);
    z-index: -1;
}



@keyframes typing {
    from { width: 0 }
    to { width: 100%;}
}


@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}



