@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
body{
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
    font-family: "Cairo", sans-serif;
}

*{
    padding: 0;
    box-sizing: border-box;
}

/* start css to the projects section */

.projects{
    width: 100%;
    height: auto;
    padding: 70px 0px;
    margin-top: 50px;
    overflow: hidden;
    text-align: center;

}

.projects h2{
    color: #212121;
    font-size: 35px;
    margin: 20px 0px;
    text-align: center;
}
.projects .row:first-child span{
    width: 100px;
    height: 4px;
    background-color: #6d9cca;
    border: 1px solid #6d9cca;
    margin: 30px auto;
    display: block;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    position: relative;
}

.teamwork .row:first-child span {
    width: 100px;
    height: 4px;
    background-color: #6d9cca;
    border: 1px solid #6d9cca;
    margin: 30px auto;
    display: block;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    position: relative;
}
.projects .row:first-child span::before {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    background-color: #6419e6;
    border: 1px solid #6419e6;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    top: -230%;
    left: 0;
    animation: moveright 3s ease-in-out infinite alternate;
    -webkit-animation: moveright 3s ease-in-out infinite alternate;
}
@keyframes moveright{
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }
    100% {
        transform: translateX(95px);
        -webkit-transform: translateX(95px);
        -moz-transform: translateX(95px);
        -ms-transform: translateX(95px);
        -o-transform: translateX(95px);
    }
}
.projects .stars li{
    list-style-type: none;
    display: inline-block;
    margin: 1px;
}

.projects .stars li i{

    color: #2266cc;

}

.projects .box{

    background-color: #f6f6f6;

    border: 1px solid #ccc;

    box-sizing: border-box;

    width: 100%;

    max-width: 100%;

    height: auto;

    text-align: center;

    overflow: hidden;

    margin-top: 20px;

    box-shadow: 2px 2px 4px #ddd;

    padding-top: 8px;

    position: relative;

}

.projects .box img{

    max-width: 100%;

    height: 60px;

    max-height: 100%;

}

.projects .box .text-box{

    padding: 10px;

}

.projects .box .text-box h6{

    color: #212121;

    font-size: 15px;

    margin: 15px 0px;

    font-weight: bold;

}

.projects .box .text-box span{

    color: #444;

    display: block;

    font-size: 14px;

    margin: 10px 0px;

}

.projects .box .text-box button{

    background-color: #2266cc;

    border: 1px solid #2266cc;

    color: #fff;

    text-align: center;

    padding:5px 0px;

    box-sizing: border-box;

    width: 100%;

    height: 40px;

    margin: 10px 0px;

}

.projects .box .text-box button a{

    color: #fff;

    text-decoration: none !important;

    display: block;

}

.projects .box .text-box button:hover{

    background-color: #fff;

    transition: .3s ease-in-out;

}

.projects .box .text-box button:hover a{

    color: #2266cc;

    transition: .3s ease-in-out;

}

#one {

    top: 0px;

    right: 0px;

}

#two {

    top: 0px;

    left: 0px;

}

#three {

    left: 0px;

    bottom: 0px;

}

#four {

    right: 0px;

    bottom: 0px;

}

#one, #two, #three, #four {

    position: absolute;

    content: "";

    background-color: #2266cc;

    height: 0px;

    width: 0px;

}

.projects .box:hover #one , 

.projects .box:hover #three{

    width: 100%;

    height: 2px;

    transition: .3s;

}

.projects .box:hover #two , 

.projects .box:hover #four{

    height: 100%;

    width: 2px;

    transition: .3s;

}