body {
    padding-top: 40px;
}
.gradient-color {
    background: rgb(160,155,157);
    background: linear-gradient(180deg, rgba(160,155,157,1) 0%, rgba(249,255,168,1) 49%, rgba(182,153,92,1) 100%);
}

/*Shadow around boxes*/
.shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.shadow-large {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Header block */
#header .navbar{
    height: 60px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}
#header .collapse{
    margin: auto;
}
#header img{
    float: left;
    margin: 3px 10px 2px 2px;
}
#header .navbar-brand{
    font-weight: bold;
    font-size: 25px;
}
#header p{
    vertical-align: middle;
    margin: 5px;
}
#header .nav-link{
    color: black;
    margin-left: 10px;
}
#header span{
    color: black;
}
#header a:hover {
    color: #217dbb;
    text-decoration: none;
    background: #eee;
    border-radius: 4px;
}

/* Lead block */
#lead .avatar {
    vertical-align: middle;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 5px solid #DCDCDC;
}
#lead {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 1080px;
    background: url(../img/Plain-background.jpg);
    background-size: cover;
    padding: 15px;
    overflow: hidden;
}
#lead-content {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
#lead-content h1{
    margin: 15px;
}
#lead-content h2,
#lead-content h3 {
    margin: 30px;
}
#lead-content h1 {
    color: #fff;
    font-weight: 900;
    font-size: 5em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 0.9em
}
#lead-content h2 {
    color: #5b0016;
    font-weight: bold;
    font-size: 2.25em;
}
#lead-content h3 {
    color: #5b0016;
    font-weight: bold;
    font-size: 1.3em;
}
#connecton-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 50px;
    margin-bottom: 30px;
}
#connecton-container .social-container {
    justify-content: center;
    margin-right: 0px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.social-container .social-btn{
    margin-right: 17px;
    font-size: 1.5em;
}
#lead-down {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    bottom: 15px;
    color: #fff;
}
#lead-down span {
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #cad88d;
    text-align: center
}
#lead-down i {
    animation: pulsate 1.5s ease;
    animation-iteration-count: infinite;
    padding-top: 5px
}

/* About block */
#about {
    padding: 100px 30px 55px 30px;
    border-bottom: 1px solid #dcd9d9;
    padding-top: 100px;
}
#about .about-main{
    background-color: #ffff;
    padding: 20px;
    border-radius: 10px;
}
#about .row{
    justify-content: center;
}

#about .heading{
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    margin: 0 0 20px 70px;
}
#about .personalphoto {
    width: 70%;
}
.col-md-4 .personalphoto{
    display: block;
    margin: auto;
}
#about p {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 550;
    font-size: 20px;
    color: #a09b9d;
    margin: 0;
}
#about .card{
    margin-top: 50px;
    border-radius: 12px;
}
.card .image{
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    width: auto;
    object-fit: cover;
    align-items: stretch;
}
.card .text{
    margin-left: 30px;
    padding: 10px 10px 20px 10px;
    width: 300px;
    height: 280px;
}
.card h3{
    font-size: 25px;
}

.card .card-tag {
    font-family: 'Merriweather Sans', sans-serif;
    color: #ffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    position:absolute;
    bottom: 10px;
    margin-right: 5px;
}
.card .card-tag .card-tags {
    background-color: #074f57;
    border-radius: 10px;
    font-size: .85rem;
    margin: 5px;
    padding: 5px 10px;
}
.image .imageborder {
    display: block;
    border-radius: 10px 10px 0px 0px;
    height: 250px;
}

/* Skills block codes */
#skills{
    border-bottom: 1px solid #dcd9d9;
    padding: 100px 70px 40px 70px;
}
#skills .heading {
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
}
.skills .row{
    display: flex;
    justify-content: center;
}
#skills .card{
    padding:  10px 20px 10px 25px;
    border-radius: 12px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
#skills h4{
    margin-bottom: 23px;
    font-family:  'Varela Round', sans-serif;;
    font-weight: 600;
}
#skills .skill{
    margin-bottom: 8px;
}
#skills .col-2{
    font-size: 35px;
}
#skills .col-10{
    font-size: 20px;
    font-weight: 450;
}

/* Experience block */
#experience {
    padding: 100px 15px 50px 15px;
    text-align: center;
    border-bottom: 1px solid #dcd9d9;
}
#experience .heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    color: #374054;
}
#experience-timeline {
    margin: 30px auto 0 auto;
    position: relative;
    max-width: 1000px
}
#experience-timeline:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 307px;
    right: auto;
    height: 100%;
    width: 5px;
    background: #5b0016;
    z-index: 0;
}
#experience-timeline:after {
    position: absolute;
    content: '';
    width: 5px;
    height: 40px;
    background: #5b0016;
    background: linear-gradient(to bottom, #5b0016, rgba(52, 152, 219, 0));
    top: 100%;
    left: 307px;
}
.vtimeline-block {
    margin-left: 50px;
}
.vtimeline-date {
    width: 260px;
    text-align: right;
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #374054;
}
.vtimeline-icon {
    position: relative;
    color: #fff;
    width: 60px;
    height: 60px;
    background: #5b0016;
    border-radius: 50%;
    float: left;
    z-index: 1;
    margin-left: 280px;
}
.vtimeline-icon i {
    display: block;
    font-size: 2.5em;
    margin-top: 10px;
    margin-bottom: 30px;
}
.vtimeline-point {
    position: relative;
    display: block;
    margin-bottom: 50px;
}
.vtimeline-content {
    margin-left: 350px;
    background: #fff;
    border: 3px solid #e6e6e6;
    padding: 15px;
    border-radius: 17px;
    text-align: left;
}
.vtimeline-content h3 {
    font-size: 1.7em;
    font-weight: bold;
    color: #374054;
    display: inline-block;
    margin: 0
}
.vtimeline-content h4 {
    font-size: 1.2em;
    font-weight: 400;
    color: #7e8890;
    margin: 0 0 15px 0
}
.vtimeline-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500px;
    color: #646f77;
    font-size: 1.1em;
    margin: 0
}
.vtimeline-content li {
    font-family: 'Poppins', sans-serif;
    font-weight: 900px;
    color: #646f77;
    font-size: 0.9em;
    margin: 0
}
.no-js #experience-timeline>div {
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #dcd9d9
}
.no-js #experience-timeline>div h3 {
    font-size: 1.5em;
    font-weight: 300;
    color: #374054;
    display: inline-block;
    margin: 0
}
.no-js #experience-timeline>div h4 {
    font-size: 1.2em;
    font-weight: 300;
    color: #7e8890;
    margin: 0 0 15px 0
}
.no-js #experience-timeline>div p {
    color: #74808a;
    font-size: 0.9em;
    margin: 0
}
.no-js #experience-timeline:before,
.no-js #experience-timeline:after {
    content: none
}
/* Education block */
#education {
    padding: 100px 15px 20px 15px;
    border-bottom: 1px solid #dcd9d9;
    text-align: center;
}
#education .heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
}
#education .container{
    display: flex;
    justify-content: center;
    gap: 25px;
    
}
.education-block {
    max-width: 810px;
    height: auto;
    margin: 0 auto 30px auto;
    padding: 15px;
    border: 3px solid #dcd9d9;
    text-align: left;
    background: #ffff;
    border-radius: 8px;
    flex: 1;
}
#education h2 {
    color: #374054;
    margin-bottom: 50px
}
.education-block h3 {
    font-weight: 500;
    float: left;
    margin: 0;
    width: 100%;
    color: #374054;
}
.education-block span {
    color: #74808a;
    float: left;
    margin-bottom: 5px;
}
.education-block h4 {
    color: #74808a;
    clear: both;
    font-weight: 500;
    margin: 0 0 15px 0
}
.education-block p,
.education-block ul {
    font-family: 'Poppins', sans-serif;
    font-weight: 900px;
    margin: 0;
    color: #74808a;
    font-size: 0.97em
}
.education-block ul {
    padding: 0 0 0 15px;
}

/* Achievements block */
#achievements {
    padding: 100px 15px 20px 15px;
    border-bottom: 1px solid #dcd9d9;
    text-align: center;
}

#achievements .heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
}

#achievements h2 {
    color: #374054;
    margin-bottom: 50px
}
.achievements-block {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 15px;
    border: 3px solid #dcd9d9;
    text-align: left;
    background: #ffff;
    border-radius: 8px;
}
.achievements-block h3 {
    font-weight: 500;
    float: left;
    width: 100%;
    margin: 0;
    color: #374054
}
.achievements-block span {
    color: #74808a;
    float: left;
    margin-bottom: 5px;
}
.achievements-block h4 {
    color: #74808a;
    clear: both;
    font-weight: 500;
    margin: 0 0 15px 0
}
.achievements-block p,
.achievements-block ul {
    font-family: 'Poppins', sans-serif;
    font-weight: 900px;
    margin: 0;
    color: #74808a;
    font-size: 0.97em
}
.achievements-block ul {
    padding: 0 0 0 15px
}

/*Project block */
#projects {
    padding: 100px 15px 50px 15px;
    border-bottom: 1px solid #dcd9d9;
}
#projects .heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
}
#projects h2 {
    color: #374054;
    margin-bottom: 50px;
    text-align: center !important;
}
.project {
    position: relative;
    /*    max-width: 1000px;
    */
    margin: 0 auto 30px auto;
    overflow: hidden;
    background: #ffff;
    border: 3px solid #dcd9d9;
    border-radius: 8px;
}
.project-image{
    width: 350px;
    height: 500px;
}
.project-image img {
    display: flex;
    width: auto;
    height: 500px;
    margin: auto;
    border-radius: 8px;
}
.project-info {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 350px;
    padding: 15px
}
.project-info h3 {
    font-size: 2em;
    font-weight: 300;
    color: #374054;
    text-align: center;
    margin: 0 0 15px 0
}
.project-info p {
    font-family: 'Poppins', sans-serif;
    font-weight: 900px;
    color: #74808a;
    margin: 0 0 15px 0;
    font-size: 1em;
}
.no-image .project-info {
    position: relative;
    margin: 0;
    padding: 30px 15px;
    transform: none
}

/* Contact block */
#contact {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    padding: 100px 15px 50px 15px;
    text-align: center;
    background: rgb(125, 69, 27);
}
#contact h2 {
    margin: 0 0 15px 0;
    color: #fff;
    font-weight: 500
}
#contact-form {
    max-width: 500px;
    margin: 0 auto
}
#contact-form input,
#contact-form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    margin-bottom: 10px;
    background: white;
    color: black;
    transition: .5s ease all
}
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    background: #bef3c5
}
#contact-form textarea {
    height: 150px;
    resize: none
}
#contact-form button {
    display: block;
    width: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    border: none;
    color: #3498db;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: .5s ease all
}
#contact-form button:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23)
}

/* Footer block */
footer {
    padding: 20px;
    background-color: #ffff;
}
.copyright {
    text-align: left;
    padding-top: 11px
}
.copyright p {
    margin: 0;
    color: #74808a
}
.top {
    text-align: center
}
.top span {
    cursor: pointer;
    display: block;
    margin: 5px auto 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #b9bfc4;
    text-align: center
}
.top i {
    animation: pulsate 1.5s ease;
    animation-iteration-count: infinite;
    padding-top: 5px
}
.top i {
    color: #74808a
}
.social {
    text-align: right;
    margin: 5px 0 0 0;
    padding: 0;
    display: inline-block;
    font-size: 1.1em;
}
.social i{
    padding: 8px
}


@keyframes pulsate {
    0% {
        transform: scale(1, 1)
    }
    50% {
        transform: scale(1.2, 1.2)
    }
    100% {
        transform: scale(1, 1)
    }
}

@media only screen and (max-width: 992px) {
    body {
        padding-top: 0px;
    }
    #header .navbar{
        height: auto;
        min-height: auto;
        max-height: auto;
        padding: 0px 0px;
    }
    #lead {
        height: auto;
        min-height: auto;
        max-height: auto;
        padding: 100px 15px;
    }
    #lead-content {
        position: relative;
        transform: none;
        left: auto;
        top: auto
    }
    #lead-content h1 {
        font-size: 3em
    }
    #lead-content h2 {
        font-size: 1.5em
    }
    #lead-content h3 {
        font-size: 1.2em
    }
    #about .personalphoto{
        margin-bottom: 10px;
    }
    #about p{
        font-size: 1em;
    }
    .card .text{
        display: block;
        margin: auto;
    }
    #skills .col-10{
        text-align: center;
    }
    #experience-timeline:before,
    #experience-timeline:after {
        left: 28px
    }
    .vtimeline-date {
        width: auto;
        text-align: left;
        position: relative;
        margin-bottom: 15px;
        display: block;
        margin-left: 30px
    }
    .vtimeline-icon {
        margin-left: 0
    }
    .vtimeline-content {
        margin-left: 30px
    }
    .vtimeline-content p {
        font-size: 0.85em;
    }
    .container{
        flex-direction: column;
        font-size: 0.85em;
    }
    .achievements-block{
        flex-direction: column;
        font-size: 0.85em;
    }
    .project-image {
        display: none
    }
    .project-info {
        position: relative;
        margin: 0;
        padding: 30px 15px;
        top: auto;
        transform: none
    }
    footer {
        padding: 5px;
    }
    .copyright p{
        text-align: center;
    }
    .social {
        text-align: center;
    }
}