@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


/*Project styling*/
.projects{
    background: #01031d;
    font-family: 'Poppins', sans-serif;
    padding-top: 130px;
    height: 100%;
    min-height: 500px;
    color: #fff;
    padding-bottom: 130px;
}

.projects .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 35px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}

.projects .title::before{
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 220px;
    height: 3px;
    background: crimson;
    transform: translateX(-50%);
}

.projects .projects-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.projects .projects-content .card{
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    transition: all 0.3s ease;
    margin-top: 25px;
    min-height: 225px;
}

.projects .projects-content .card:hover{
    background: crimson;
}

.projects .projects-content .card .project{
    transition: all 0.3s ease;
}

.projects .projects-content .card:hover .project{
    transform: scale(1.05);
}

.projects .projects-content .card i{
    font-size: 50px;
    color: crimson;
    transition: color 0.3s ease;
}

.projects .projects-content .card:hover i{
    color: #fff;
}

.projects .projects-content .card .text{
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

.projects .projects-content .card p{
    color: #fff;
}

.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}


/*Responsive media*/
@media (max-width: 1456px){
    .projects .projects-content .card{
        min-height: 275px;
    }
}

@media (max-width: 1125px){
    .projects .projects-content .card{
        min-height: 300px;
    }
}

@media (max-width: 1007px){
    .projects .projects-content .card{
        min-height: 325px;
    }
}

@media (max-width: 947px){
    .projects .projects-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 690px){
    .projects .projects-content .card{
        width: 100%;
        min-height: 100%;
    }
}