@keyframes portfolio-anim{

    to{
        opacity: 100%;
        -webkit-box-shadow:  0px 0px 20px 1px rgba(255,255,255, .2);
        box-shadow: 0px 0px 6px 1px rgba(255, 255, 255, 0.2);
    }
}

@keyframes arrow{
    from{
        transform: translateY(0px);
    }
    to{
        transform: translateY(6vh);
    }
}

:root{
    --section-color: #333333;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    transition-duration: 0.3s;
    scroll-behavior: smooth;
}

.cell a, .cell h1{
    text-decoration: none;
    font-size: .95em;
    font-weight:lighter;
}

.wrapper{
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

.header{
    width: 100vw;
    height: 100vh;

}
.header-img{

    height: 100%;
    background: url(img/header-img.jpg) no-repeat center center / cover;
}
#arrow{
    position: absolute;
    
    bottom: 0;
    background-size:cover;
    animation-name: arrow;
    animation-iteration-count: infinite;
    animation-duration: 1s
}

.nav{

    z-index: 2;
    width: 100%;
    top: 0;
    position: fixed;
}

.nav ul{
    background-color: rgba(66,66,66,0.2);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.nav ul li{
    margin: 2% 4%;
    list-style: none;
}

.nav ul li a{
    text-decoration: none;
    font-size: 1.1em;
    position: relative;
}

.nav a:after {
    content: "";
    background: none repeat scroll 0 0 transparent;
    bottom: -7px;
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #00ebff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}
.nav a:hover:after { 
    width: 100%; 
    left: 0; 
}

.header-box{
    position: absolute;
    top: 40%;
    width: 40%;
    height: 20%;
    left: 30%;
    right: 30%;
    border: 3px solid white;


}

.boxtext{
    color: white;
    font-size: 3.6vh;
    text-transform: uppercase;
    position: absolute;
    text-align: center;
    top: 35%;
    width: 50%;
    left: 25%;
    right: 25%;
    font-weight: bold;

}
.header-name{
    font-size: 6vh;
}

.header-text{
    font-size: 3.7vh;

}

@media (max-width: 700px){
    .header-name{
        font-size: 6vw;
    }
    .header-text, .boxtext{
        font-size: 3.7vw;

    }
}

.center{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; 
    justify-content: center;

    text-align: center;

}


.about{
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    width: 100vw;
}

.section-header{
    padding: 15vh 0;
    width: 100%;

    text-align: center;
}

.section-header2{
    padding: 10vh 0;
    width: 100%;

    text-align: center;
}

.text{
    text-transform: lowercase;
    font-weight: bold;
    font-size: 50px;
    padding: 0 15px;
    color: rgba(0, 0, 0, 0.7);
}
.text.me{
    background-color: #6666;
    color: white;
    border-radius: 10px;
}

.line{
    width: 100px;
    height: 3px;
    display: inline-block;
    background: #999;
    position: relative;
    top: -9px;
}

.about-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 5vw;

}

.left-side{
    width: 25%;
}
.left-side ul li{
    list-style: none;
    padding: 1vh 0;
    color: #999;
}
.left-side ul li a{
    color: #999;
    text-decoration: none;
}
.left-side ul li a:hover{
    color: black;
    text-decoration:underline;
}

.info{
    color: black;
    font-weight: bold;
}

.center-side{
    width: 45%;
    text-align: center;
}

.center-side .quoteline{
    font-size: 2.5vw;
    display: block;
    text-align: center;
    color: black; 
    margin: 0 auto;
}

.center-side .quote-text{
    color: black;
    font-size: 1.4vw;

}

.right-side{
    width: 30%;
    min-width: 500px;
}


@media (max-width: 1000px){

    .left-side{
        width: 100vw;

        text-align: center;
    }

    .center-side .quoteline{
        font-size:  4.4vw
    }

    .center-side .quote-text{
        padding: 25px 0;

        font-size: 3vw;
    }
    .center-side{
        width: 100vw;
        padding: 25px 0;

        font-size: 3vw;
    }

}


.my-photo{
    overflow: hidden;
    position: relative;
    width: 450px;
    height: 530px;
    margin: 0 auto;
    display: flex;

}
.img-dsc{
    text-transform: uppercase;
    position: absolute;
    text-align: center;
    line-height: 45px;
    width: 100%;
    height: 100px;
    background-color: rgba(33,33,33,0.7);
    bottom: 0;
    opacity: 0;
}

.nametag{
    font-weight: bold;
}
.nametag2{
    font-size: 0.9em;
}

.my-photo:hover img{
    transform: scale(1.2);

}
.my-photo:hover .img-dsc{
    opacity: 1;

}

.my-photo img{
    width: 450px;
    height: 674px;
}

.portfolio{
    margin-top: 5vh;
    width: 100vw;
    text-align: center;
    background-color: var(--section-color);
}



.nd{
    color: white;
}
.text-holder{
    padding: 10vh 0 9vh 0;
}

.grid{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(0px, 600px)) ;
    grid-template-rows: 1fr 1fr ;
    grid-row-gap: 10vh;
    justify-content: center;
    justify-items: center;
    padding-bottom: 15vh;
}

.cell{
    position: relative;
    width: 450px;
    height: 278px;

}

.cell:hover{

    transform: scale(1.03);
    animation-name: portfolio-anim;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;

}


.link{
    opacity: 0;
}

.cell:hover .link{
    animation-name: portfolio-anim;
    animation-duration: .3s;
    animation-fill-mode: forwards;
    position: absolute;
    bottom: 0;
    width: 100%;   
    height: 100%;
    line-height: 300px;
    background-color: rgba(56, 56, 56, 0.56);
}


.cell:hover .pic-title{
    padding: 1vh;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact{  
    width: 100vw;
    background-color: #efefef;
    padding-bottom: 8vh;
}

.form{
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form input, textarea{
    resize: vertical;
    outline: none;
    transition-duration: .5s;
    width: 30%;
    border: 0;
    color: black;
    margin: 1vh 0;
    height: 6vh;
}

.form textarea{
    height: 15vh;
}

.form input:hover, textarea:hover{
    background-color: #efefef;
}

.form input:focus, textarea:focus{
    background-color: #efefef;
    -webkit-box-shadow:  0px 0px 4px 1px rgba(0, 235, 255, .35);
    box-shadow: 0px 0px 4px 1px rgba(0, 235, 255, .35);
}
.form input[type="submit"]{
    border: 2px solid rgba(0, 0, 0, 0.7);;
}
.form input[type="submit"]:hover{
    background-color: var(--section-color);
    color: white;
}

@media (max-width: 1000px){ 
    .form-area{        
        width: 70vw !important;
    }
}

footer{
    background-color: var(--section-color);
    width: 100vw;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.decoration{
    font-size: 2em;
    padding: 2vh;
    text-shadow: 0px 0px 20px rgba(255,255,255,0.4);
}
