.data-box{
    z-index: 2;
}

#fade1, #fade2, #fade3{
    opacity: 0;
    font-weight: normal;
}


html{
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
}


.w-92{
    width: 27rem;
}

.p-6{
    padding: 1rem;
}

.main-div{
    display: none;
    /* position: absolute;
    top: 10rem; */

}

/* #container{
    position: relative;
} */

canvas{
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -1;
}

body{
    margin: 0;
    overflow-x: hidden;
}

.wrapper{
    margin : 20px;
}

#intro{
   position: relative;
   top: 5rem;
   margin: 0 auto;
   background-color: #252934;
   opacity: 0.85;
    color: #fff;
    text-align: center;
    width:  1px;
    height: 1px;
    
}




.wrapper{
    margin : 20px;
}

.main-div h1{
    text-align: center;
    font-size: 30pt;
    font-weight: bold;
    color: #444649;
}

.main-div section .header-bar {
    background-color: #fff;
}

#contact{
    background-color: #252934;
    text-align: center;
    position: relative;
    color: #fff;
    padding-bottom: 130px;
}

#contact p{
    color: #04C2C9;
    font-weight: 600;
}

#contact h1{
    color: #fff;
}


svg{
    margin-bottom: 50px;
}

.header-bar{
    background-color: #444649;
    margin: 25px auto 40px auto;
    height: 4px;
    width: 110px;
    position: inherit;
}

form{
    margin: 40px auto 0 auto;
    width: 500px;
}

form input, textarea{
    width: 100%;
    padding: 10px 15px;
    background-color: #1e242c;
    font-size: 12pt;
    margin-bottom: 4px;
    outline: none;
    border: 0;
    color: #fff;
    resize: none;
}

.button{
    float: right;
    font-size: 12pt;
    padding: 10px 30px;
    color: #fff;
    width: 25%;
    border: 2px solid #fff;
    transition: 1s; 
}

.button:hover { 
    background-color:#04C2C9;
               }


footer{
    background-color: #1B242F;
}

#up{
    width: 42px;
    height: 45px;
    /* border: 2px solid #fff; */

    margin: 0px auto;
    display: block;
    top: -25px;
    position: relative;
    background-color: #E31B6D;
    transition: 0.5s;
}

#up:hover{
    background-color:#04C2C9;
    
}

#github:hover{
    background-color:#04C2C9;
    
}

.github_img{
    padding: 10px;
    background-color: #252934;
    margin-left: 20px;
    margin-right: 20px;
    transition: 0.5s;
}


.icons svg{
    width: 30px;
    height: 30px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    background-color: #252934;
    transition: 0.5s;
    margin-bottom: 0px;
}

.icons svg:hover {
    background-color:#04C2C9;
}

.footnote{
    font-size: 13px;
    color: #8f9aa7;
    margin-top: 50px;
    padding-bottom: 30px;
    opacity: 0.75;
    text-align: center;
    letter-spacing: 3px;
}

.footnote span{
    color: #E31B6D;
    letter-spacing: 0px;
}

.icons{
    flex-direction: row;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scrollTop{
    transition: 4s;
}

#myPicture{
    display: block;
    margin: 5em auto 5em auto;
    max-width: 1000px;
    width: 100%;
}

#aboutMe{
    font-size: 1.2em;
    margin-left: auto;
    margin-right: auto;
    max-width: 730px;
    width: 85%;
    line-height: 1.7em;
    text-align: justify;
}

#aboutMe a{
    background-color: #cacdd1;
}

#myProjects{

    margin-left: auto;
    margin-right: auto;
    width:85%;
    margin-bottom: 100px;

    flex-direction: row;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sideProjects{
    padding-top: 50px;
}

p span{
    font-size: 0.7em;
}

/*<------------- project section work -------------> */


figure {
    /* float: left; */
    height: 6em;
    margin: 1.5em;
    width: 12em;
    -webkit-transform: perspective(500); 
    -webkit-transform-style: preserve-3d;
    -webkit-transition: .5s;

}
figure:hover {
     -webkit-transform: perspective(500) rotateX(90deg) translateY(-3em) translateZ(3em);
     -moz-transform: rotateX(90deg) translateY(-3em) translateZ(3em);
     -ms-transform: rotateX(90deg) translateY(-3em) translateZ(3em);
}
figure img {
    background-color: #222;
    box-shadow: 0 20px 15px -10px hsla(0,0%,0%,.25);
    display: block;
    height: 100%;
    transition: .5s;
}
figure:hover img {
    box-shadow: none;
}
figcaption {
    background-color: #222;
    color: #fff;
    padding: 0.1em;
    -webkit-transform: rotateX(-90deg);
    -webkit-transform-origin: 100% 0;
    -webkit-transition: .5s;
}

figcaption p {
    padding-left: 5px;
    font-size: 10px;
}

figure:hover figcaption {
    box-shadow: 0 20px 15px -10px hsla(0,0%,0%,.25);
}
h3 {
    text-align: center;
    font-weight: bold;
}
