.mainimage{
    background-image: url(images/mainimage.jpg);
    width:100%;
    height: 650px;
}
.mainname{
    text-align: center;
    PADDING-TOP: 8%;
    padding-bottom: 40px;
    margin: auto;
    width: 45%;
}
.mainintro{
    PADDING-TOP: 45px;
    font-size: 20px;
    text-align: center;
}


.nav-item,.navbar-brand{
    padding: 5px 15px 5px 15px;
}

.mainaboutme{
    background-color: rgb(244, 244, 244);
    padding-bottom: 30px;
}
.aboutme h2, .myprojects h2, .mycontact h2{
    padding-top: 50px;
    text-align: center;
}
.aboutme p, .myprojects p{
    padding-top: 15px;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
}
.flex{
    display: flex;
    flex-direction: row;
}
.gettoknowme, .skills{
    text-align: left;
    display: block;
    width: 50%;
    padding: 20px 150px 20px 150px;
}

.badge{
    margin-top: 15px;
}

/* .row{
    padding: 30px 150px 30px 150px;
} */

.image{
    position: relative;
    width: 400px;
    margin: 5px 8px 5px 8px;
}
.image__img{
    /* margin: 3px 10px 3px 10px; */
    display: block;
    width: 100%;
}

.image__overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.image__overlay > *{
    transform: translateY(20px);
    transition: transform 0.25s;
    margin-left: 10px;
    margin-right: 10px;
}

.image__overlay:hover{
    opacity: 1;

}
.image__overlay:hover > *{
    transform: translateY(0);
}
.image__title{
    font-size: 2em;
    font-weight: bold;
}

.image_description{
    font-size: 1.25em;
    margin-top: 0.25em;
}

.assignmentimage{
    position: relative;
    width: 400px;
}

.projects{
    margin-left: 10%;
    margin-bottom: 80px;
}

.flexprojects{
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
}

.contact{
    background-image: url(images/mainimage.jpg);
}
.contactform{
    background-color: white;
    margin-left: 26%;
    margin-right: 26%;
    padding: 80px 100px 80px 100px;
    border-radius: 5px;
    box-shadow: 5px 2px 10px 3px  rgb(132, 130, 130);
    margin-top: 80px;
    width: 750px;
}

.contactform input, .contactform textarea{
    width: 100%;
    background-color: rgb(244, 244, 244);
    border-color:  rgb(222, 221, 221);
    border-radius: 5px;
    padding: 5px 5px 5px 5px;
}
.contactform label{
    font-weight: bold;
    color: rgb(132, 130, 130);
    padding-top: 25px;
}

footer{
    background-color: #0b0909;
}
.flexfooter{
    display: flex;
    flex-direction: row;
}
.lastdata, .lastsocial{
    color: white;
    padding: 10mm 10mm 20mm 50mm;
    font-size: 4mm;
    display: block;
    width: 49%;
}
.lastsocial{
    text-align: right;
    padding: 10mm 50mm 20mm 10mm;
}
.social.fab {
    padding: 20px;
    font-size: 300px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    background: #0b0909;
    color: rgb(255, 255, 255);
  }
  
  .lastsocial a:-webkit-any-link {
    color: white;
}

  .lastsocial.fab:hover {
      opacity: 0.7;
  }

  .survey{
    background-color: rgba(255, 255, 255, 0.877);
    margin-left: 400px;
    margin-right: 400px;
    padding: 30px 100px 30px 100px;
    border-radius: 5px;
    box-shadow: 5px 2px 10px 3px  rgb(132, 130, 130);
    margin-top: 30px;
    margin-bottom: 30px;
    width: 750px;
}

input, textarea, select{
    border-radius: 10px;
    padding: 0px 8px 0px 8px;
    border: 1px solid grey;
}

textarea::placeholder{
    font-size: 10px;
    font-style: italic;
}

@media (max-width: 1100px){
    .gettoknowme, .skills{
        padding: 20px 10% 20px 10%;
    }
    .survey{
        margin-left: 2%;
        margin-right: 2%;
        width: 94%;
        padding: 30px 30px 30px 30px;
    }
    .flexprojects{
        flex-direction: row;
    }
    .projects{
        margin-left: 2%;
    }
}

@media (max-width: 700px){
    .flex{
        flex-direction: column;
    }
    .gettoknowme, .skills{
        padding: 0px;
        padding-left: 10%;
        padding-right: 10%;
        width: 100%;
        margin-bottom: 30px;
    }
    .contactform{
        margin-left: 5%;
        margin-right: 5%;
        padding: 30px 50px 30px 50px;
        margin-top: 40px;
        width: 89%;
        height: 550px;
    }
    .flexfooter{
        flex-direction: column;
    }
    .lastsocial, .lastdata{
        width: 100%;
        padding: 4mm 4mm 8mm 4mm;
        text-align: justify;
    }

}
span{
    background-color: #7843e9;
    color: #fff;
}
.btn {
    background-color: #7843e9;
    color: #fff;
    }
    .btn:hover {
        background-color: #5a399f;
        color: #fff;
        }
.btn:active, .btn::after, .btn:focus{
background-color: #5a399f;
box-shadow: none;
box-shadow: 0px 2px 9px 4px #59399f84;
}

