/*------- CSS reset default and bg-image -----------*/

* {
    margin: 0;
    padding: 0;
    background: url(../image/bg3.jpg);
    color: white;
}


/*------------- about section ------------*/

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
}

.about-title {
    text-align: center;
    font-size: 2.6rem;
}

.about-subtitle {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.about-para {
    width: 100%;
    border: 2px solid #a09292;
    border-radius: 9px;
    margin: auto;
}

.about-container {
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: auto;
    margin-top: 3rem;
}

.about-img {
    width: 253px;
    border-radius: .5rem;
    justify-self: center;
}

.about-intro {
    text-align: left;
    margin: 2rem;
    font-size: 1.3rem;

}

.about-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    text-align: center;
    padding: 18px;
}

.about-info-name {
    font-size: 1rem;

}

.about-info-title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;

}

/*------- Download CV section ---------*/

.download-cv {
    width: 88%;
    margin: auto;
}

.download-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    background: linear-gradient(to right, #70abe2, #24A2FF);
    font-size: 20px;
    border: 0;
    width: 185px;
    height: 43px;
    border-radius: 25px;
    cursor: pointer;
    margin: auto;
}

.download-cv a {
    text-decoration: none;
}

.download-cv a .icn {
    width: 20px;
    height: 24px;
    margin-left: 8px;
}



/*---------- container-portfolio section ------------*/
    /* (Coding Power, 2022) */

.container-port {
    margin-top: 6%;
}

.title-cont {
    margin-bottom: 22px;


}

#port {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 98%;
    margin: auto;
}

#port .box {

    width: 350px;
    height: 441px;
    box-sizing: border-box;
    border-radius: 23px;
    background-color: #f4f4f4;
    margin: 10px;

}

.box .img {
    width: 100%;
    height: 255px;
    display: block;
    margin: auto;
    border-top-right-radius: 23px;
    border-top-left-radius: 23px;

}

/*---------- font style section -------*/
.project-title {
    text-align: center;
    font-size: 2.1rem;
    padding: 12px;

}

.title-port {
    color: black;
    background: white;
    text-align: center;
    font-size: 2.1rem;
    padding: 12px;

}

.para-port {
    color: black;
    background: white;
    text-align: center;
    font-size: 1.4rem;
    padding: 0 0 41px 0;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}


/* -------footer----------- */
.foot-text {
    background: none;
}



/* ------------Media Query Section----------------- */
@media only screen and (max-width:1050px) {

    .about-intro {
        text-align: center;
    }

}

@media only screen and (max-width:338px) {

    #port .box {
        margin-bottom: 20px;
        height: 435px;
    }



    .para-port {
        padding: 15px;
    
    }

}


/* CodingNepal (2020) How to Create Responsive Navigation Bar using HTML and CSS. YouTube[Online]. 
Available from:https://www.youtube.com/watch?v=oLgtucwjVII [Accessed 12 MAR 2023]. */

/* Coding Power (2022)  Responsive eCommerce Website Product Cards using Html & CSS | Responsive Product Cards Design. YouTube[Online].  
Available from:https://www.youtube.com/watch?v=hn9K-WRbn-w[Accessed 13 Mar 2023]. */