/* Creating main backround image */
body{
    background-size: cover;
    background-image: url('../assets/wp2732950.jpg');
    color: #3498bd;
}

/* Styling main features */
p{
    font-weight: bold;
    font-size: 20px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

h1{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.navbar-brand {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;  
}

.nav-link {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;  
}

.navbar {
    background-color: black;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5%;
}

.title {
    color: #3498bd;
    font-size: 90px;
    text-align: center;
}

.title2 {
    color: #3498bd;
    font-size: 30px;
    text-align: center;
}

.rounded {
  border-radius: 50%;
}


.title-main {
    display: table-cell;
}

.main-row {
    height: 600px;
}

.col-md-4 {
    height: 200px;
    padding: 10px;
}


/* Styling for About ME */
.aboutMe p {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

/* STYLING THE PORTFOLIO PAGE*/
.contain {
    position: relative;
    width: 50%;
    float: left;
}

.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    transition: .5s ease;
    backface-visibility: hidden;
}
  
.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}
  
.contain:hover .image {
    opacity: 0.3;
}
  
.contain:hover .middle {
    opacity: 1;
}
  
.text {
    background-color: #3498bd;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

.center{
    position: relative;
    text-align: center;
    display: block;
}

.center-main {
    display: table-cell;
    height: 800px;
    vertical-align: middle;
    width: 50%;
  }

/* STYLING THE CONTACT PAGE */
.form-group{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bold;
}

/* styling connect with me buttons in contact page */
.wrapper{
    text-align: center;
}

.btn-link{
    display: inline-block;
    width: 90px;
    height: 90px;
    background: #f1f1f1;
    margin: 10px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #3498bd;
    color: #3498bd;
    overflow: hidden;
    position: relative;
}

.btn-link i{
    line-height: 90px;
    font-size: 26px;
    transition: 0.2s linear;
    box-shadow: 0 5px 15px -5px #3498bd;
}

.btn-link:hover i{
    transform: scale(1.3);
    color: #f1f1f1;
}

.btn-link::before{
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: #3498bd;
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
}

.btn-link:hover::before{
    animation: aaa 0.7s 1;
    top: -10%;
    left: -10%;
}

@keyframes aaa{
    0%{
        left: -110%;
        top: 90%;
    }
    50%{
        left: 10%;
        top:-30%;
    }
    100%{
        top: -10%;
        left: -10%;
    }
}

/* send button style */
.btn{
    background: #3498bd;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

img{
    margin-right: 20px;
}