/* 
--------------CSS File--------------

Topics:
#1 General
#2 Navbar Section
#3 Hero Section
#4 Projects Section
#5 About Section
#6 Footer Section
#7 Preloader
#8 Media Queries

*/


/*------#1 General------*/

@import url('https://fonts.googleapis.com/css?family=Raleway');

body,html{
    font-family: 'Raleway', sans-serif !important; 
    font-size: 1rem;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

input,textarea{
    background-color: #DDDDDD;
    color: black;
    overflow: auto; 
}

::-webkit-input-placeholder {
  color: black;
}

/*------#2 The Navbar------*/

nav{
     box-shadow: 0px 2px 5px grey;
}

.white-text{
    color: white;
}

#logo-btn{
    display: none;
}

/*------#3 The Hero section------*/

.hero-image {
    background-attachment: fixed;
    background-image: url('https://images.unsplash.com/photo-1509459924413-27565170a056?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=267f5458e73a7ee9a6eab20b1fae8911&auto=format&fit=crop&w=1050&q=80');
    height: 100%;
    color: black;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

.hero-text {
    text-align: center;
    position: absolute;
    font-size: 3em !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 100%;
}

.hero-text h1{
    font-size: 1.3em;
}

.get-btn{
    font-family: 'Raleway', sans-serif !important; 
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .5rem 1rem;
    border-radius: .25rem;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background-color: transparent;
    border: 5px solid #028BB1;
    border-radius: 50px;
    color: white;
    width: 12%;
    margin-top: 15px;
}

.get-btn:focus{
    outline: none;
}
.get-btn:active{
    background-color: #028BB1;
    border: 3px solid white;
    
}
/*------#4 Projects Section------*/ 

.Projects{
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 4em;
}

#myprojects{
    padding-bottom: 50px;
}

#ProjectsPics{
    cursor: pointer;
    padding: 13px;
    margin-top: 20px;
}

.back a{
    color: black;
}


/*------#5 About Section------*/

.bgcolor{
    background-image: url('background.png');
    background-color: black;
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
}

.about{
    color: black;
    text-align: center;
    font-weight: 700;
    font-size: 4em;
 }

 .ptext{
    color: black;
    text-align: center;
    font-size: 1.4em;
    padding-left: 10%;
    padding-right: 10%;
 }

.about-image{
    height: 25%;
    width: 25%;   
    max-height: 100%; 
    max-width: 100%; 
    border-radius:50%;
}

/*------#6 Footer Section------*/

.fa{
    color: black;
}

.footer_bg{
    background-color: white;
}
.footer-below{
    color: white;
    text-align: center;
    background-color: black;
    background-image: url('background.png');
    background-attachment: fixed;
}

.footer_header{
    color: black;
    text-align: center;
    color: black;
    font-weight: bold;
    text-align: center;
    font-size: 3em;
    margin-top: 10px;
}

.footer_para{
    color: black;
    text-align: center;
    font-weight: 700;
    font-size: 1.5em;
}

.footer_text{
    color: black;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 50px;
}

/*GO TO TOP BUTTON*/
.gototop{
    z-index: 800;
    position: absolute;
    top: -25px;
    background: #028BB1;
    font-size: 30pt;
    width: 40px;
    height: 50px;
    padding: 0px !important;
    left: 0;
    right: 0;
    margin: 0px auto;
    cursor: pointer;
}


/*------#7 Preloader------*/
.spinner {
    width: 40px;
    height: 40px;
    background-color: white;
    position: absolute;
    top: 48%;
    left: 48%;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

.spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    z-index: 999999;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

/*------#8 Media Queries------*/ 

/*Phone*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .hero-text h1{
      font-size: 0.7em;
    }

    .ptext{
        color: black;
        text-align: center;
        font-size: 1.2em;
        padding-left: 2%;
        padding-right: 2%;
    }
    .about-image{
        height: 70%;
        width: 70%;   
        max-height: 100%; 
        max-width: 100%; 
        border-radius:50%;
    }
    .footer_text{
        color: black;
        text-align: center;
        font-size: 1.5em;
        padding-left: 2%;
        padding-right: 2%;
        font-weight: bold;
        margin-top: 30px;
    }
    #myprojects{
       padding-bottom: 20px;
    }
    #ProjectsPics{
        padding: 7px;
        margin-top: 10px;
        min-height: 100%;
    }
    .get-btn{
        font-size: 1rem;
        width: 40%;
    }
    #logo-btn{
        display: block;
    }
}

/*Tablets*/
@media (min-width: 700px) and (max-width: 1024px){
  
  .hero-text h1{
      font-size: 1.18em;
    }

    .ptext{
        color: black;
        text-align: center;
        font-size: 1.6em;
        padding-left: 2%;
        padding-right: 2%;
    }
    .about-image{
        height: 70%;
        width: 70%;   
        max-height: 100%; 
        max-width: 100%; 
        border-radius:50%;
    }
    .footer_text{
        color: black;
        text-align: center;
        font-size: 1.4em;
        padding-left: 2%;
        padding-right: 2%;
        font-weight: bold;
    }
    #myprojects{
       padding-bottom: 20px;
    }

    #ProjectsPics{
        padding: 7px;
        margin-top: 10px;
        max-height: 300px;
    }
    .get-btn{
        font-size: 1rem;
        width: 20%;
    }
    #logo-btn{
        display: block;
    }
}
