/********** Template CSS **********/
:root {
    --primary: #6244C5;
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lavendar {
    background-color:rgb(235,233,249);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.fixed-top {
    display: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}


/*** Header ***/
#home {
    margin-bottom: 6rem;
}

.profile-pic{
    object-fit: cover;
    /* object-position: 0 50%; */
    width: 300px;
    /* height: 400px; */
    /* padding: 1rem 0; */
    border-radius: 50%;
    /* border: 42px #6244d4 groove;    */
    /* border: 5px #6244c5 solid;  */

}
h4.text-justify{
    text-align: justify;
}
/* .about-me{
    line-height: 2em;
    justify-content: center;
} */

.typed-cursor {
    font-size: 30px;
    color: var(--dark);
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    /* animation: pulse-border 1500ms ease-out infinite; */
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 60vw;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 68, 197, .9);
    display: flex;
    /* align-items: flex-end;
    justify-content: flex-start; */
    align-items:center;
    justify-content:center;
    display: block;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.portfolio-btn a{
    display: inline-flex;
}
.portfolio-btn p{
    padding: 20px 0;
    color:#FAFAFB;
    text-justify: auto;
    line-height: 1.3rem;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}


/*** Copyright ***/
.underline{
    border-bottom: 2px solid #6244C5;
    transition: 0.5s;
}


/*** MOBILE ***/

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .portfolio-btn  {
        padding: 15px;
    }
    
    .portfolio-btn p  {
        padding: 10px 0;
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
}

@media (min-width: 991.98px) and (max-width: 1199.99px) {
    .portfolio-btn  {
        padding: 12px;
    }
    
    .portfolio-btn p  {
        padding: 10px 0;
        font-size: 0.8rem;
        line-height: 1rem;
    }
}

@media (min-width: 767.97px) and (max-width: 991.97px) {
    .portfolio-btn  {
        padding: 20px;
    }
    
    .portfolio-btn p  {
        padding: 10px 0;
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
}

@media (min-width: 575.98px) and (max-width: 767.98px) {
    .portfolio-btn p  {
        padding: 60px 0;
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
}
@media (min-width: 420.01px) and (max-width: 575.97px) {
    .portfolio-btn p  {
        padding-top: 30px;
    }
    .profile-pic{
        width: 250px;
    }
}
@media (max-width: 420px) {
    .portfolio-btn p  {
        padding: 5px 0;
        font-size: 0.75rem;
        line-height: 0.9rem;
    }
    .modal-video .modal-dialog {
        max-width: 100vw;
        max-height: 400px;
    }
    .profile-pic{
        width: 200px;
    }
}