/*
  Theme Name: Anesca Dames - Portfolio
  Theme URL:
  Author: Anesca Dames
  Author URL: http://www.anescadames.com
*/

/*** Breakpoints: 

smartphone-portrait: 320px;
smartphone-landscape: 480px;
phablet: 640px;
phablet-landscape: 736px;
tablet-portrait: 768px;
tablet-landscape: 1024px;
desktop-small: 1280px;
desktop-large: 1900px;

***/

@font-face {
	font-family: 'Pixelmix';
	src: url('../fonts/pixelmix/pixelmix.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

*,
*:before,
*:after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, 
body {
    margin: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.glitch:hover, .glitch-active {
    background: url('../assets/noiseblue.gif') no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spotify-embed {
    width: 230px;
    height: 300px;
}

@media screen and (min-width: 375px) { /* larger smartphones */
    .spotify-embed {
        width: 270px;
        height: 350px;
    }
}

@media screen and (min-width: 768px) { /* tablet portrait */
    .spotify-embed {
        width: 300px;
        height: 380px;
    }
}

/*** Text ***/
.title {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 30px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-weight: 700;
}

.subtitle {
    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 20px 0;
    font-weight: 300;
    font-style: italic;
}

.text-white {
    color: white;
}

.text-white a {
    color: white;
    text-decoration: underline;
}

.text-white a:hover {
    color: #ffdb00;
}

.text-yellow {
    color: #ffdb00;
}

.text-dark {
    color: #131313;
}

.text-dark a {
    color: #131313;
}

.text-dark a:hover {
    color: #ffdb00;
}

.center-text {
    text-align: center;
}

.content {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 20px 0;
}

.content a {
    text-decoration: underline;
}

.quote {
    position: relative;
    display: block;
    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 26px;
    margin: 20px 0;
    font-weight: 300;
    font-style: italic;
    text-align: center;
}

.quote:before,
.quote:after {
    content: '\201C';
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    color:  white;
    opacity: 0.4;
    font-size: 60px;
}

.quote:before {
    top: 5px;
    left: -15px;
}

.quote:after {
    bottom: 5px;
    right: -15px;
    transform: rotate(180deg);
}

@media screen and (min-width: 480px) { /* smartphone landscape */

    .quote:before {
        left: 10px;
    }
    
    .quote:after {
        right: 10px;
    }

}

.underline {
    width: 80%;
}

.underline--center {
   margin: 0 auto;
}

.underline--white {
    border-color: white;
}

.underline--dark {
    border-color: #131313;
}

.hide-mobile {
    display: none;
}

.show-mobile {
    display: block;
}

@media screen and (min-width: 480px) { /* smartphone landscape */

    .hide-mobile {
        display: block;
    }
    
    .show-mobile {
        display: none;
    }

}

/*** Nav ***/
nav {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 60px;
    background: rgba(0, 0, 0, 0.2);
    background: -moz-linear-gradient(left, rgba(0,0,0,0.2) 0%, transparent 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,0,0,0.2)), color-stop(100%, transparent));
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.2) 0%, transparent 100%);
    background: -o-linear-gradient(left, rgba(0,0,0,0.2) 0%, transparent 100%);
    background: -ms-linear-gradient(left, rgba(0,0,0,0.2) 0%, transparent 100%);
    background: linear-gradient(to right, rgba(0,0,0,0.2) 0%, transparent 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='transparent', GradientType=1 );
}

.social-list {
    padding: 15px;
    margin: 0;
    position: relative;
    bottom: 0;
}

.social-list li {
    display: block;
    margin: 10px 0;
    list-style-type: none;
}

.social-list li:first-child {
    margin-top: 0;
}

.social-list li a {
    text-decoration: none !important;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.social-list li a:hover:before {
    background: url('../assets/noiseblue.gif') no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (min-width: 768px) { /* tablet portrait */

    .social-list {
        padding: 20px;
    }

    .social-list li {
        margin: 15px 0;
    }

    .social-list li a {
        font-size: 25px;
    }

}

/*** Header ***/
header {
    z-index: 9;
    position: relative;
    height: 100vh;
    width: 100%;
}

.background-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
}

.background-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.header-content {
    padding: 60px;
    width: 100%;
    max-width: 920px;
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-content h1 {
    font-family: 'Pixelmix', 'Courier New', Courier, monospace;
    color: white;
    font-size: 18px;
    line-height: 28px;
}

@media screen and (min-width: 480px) { /* smartphone landscape */

    .header-content h1 {
        font-size: 32px;
        line-height: 42px;
    }
    
}

@media screen and (min-width: 1024px) { /* tablet landscape */

    .header-content {
        padding: 40px;
    }

    .header-content h1 {
        font-size: 42px;
        line-height: 52px;
    }

}

/*** Main ***/
.section {
    position: relative;
    width: 100%;
    height: auto;
    padding: 40px;
}

.section--dark {
    background-color: #131313;
}

.section--light {
    background-color: #f4f4f4;
}

.section--code {
    background-image: url('../assets/code-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #131313;
}

/*** About ***/
.profile-pic {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0 auto 30px auto;
    border-radius: 50%;
}

.jason {
    position: absolute;
    display: block;
    right: 2%;
    bottom: 0;
    width: 100%;
    max-width: 40px;
    cursor: pointer;
}

.jason-audio {
    
}


@media screen and (min-width: 480px) { /* smartphone landscape */


}

/* Masonry */
.masonry {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
    margin: 1.5em;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    padding: 40px 0;
}

.tech-item {
    position: relative;
    display: inline-block;
    margin: 0 0 1.5em;
    width: 100%;
    -webkit-transition: 1s ease all;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    overflow: visible;
    text-align: center;
    cursor: pointer;
}

.tech-item img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.tech-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #131313;
    border-radius: 4px;
    padding: 5px 10px;
    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 12px;
    font-weight: 300;
    font-style: italic;
    color: #131313;
    opacity: 0;
    /* display: none; */
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.tech-tooltip--show {
    /* display: block; */
    visibility: visible;
    opacity: 1;
}

@media only screen and (max-width: 320px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1200px) {
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

@media only screen and (min-width: 1201px) {
    .masonry {
        -moz-column-count: 6;
        -webkit-column-count: 6;
        column-count: 6;
    }
}

/*** Star Wars animation ***/
.pew-container {
    position: relative;
}

.pewpew {	
    position: absolute;
    bottom: -4px;
    left: 15%;
    width: 55px;
    height: 60px;
    background-image: url('../assets/pewpew.png');

    -ms-animation: animate-pewpew 0.8s steps(7)infinite;
    animation: animate-pewpew 0.8s steps(7)infinite;
    -o-animation: animate-pewpew 0.8s steps(7)infinite;
    -moz-animation: animate-pewpew 0.8s steps(7)infinite;
    -webkit-animation: animate-pewpew 0.8s steps(7)infinite;
}

@-webkit-keyframes animate-pewpew {
   from { background-position:    0px; }
     to { background-position: -385px; }
}

@-moz-keyframes animate-pewpew {
   from { background-position:    0px; }
     to { background-position: -385px; }
}

@-ms-keyframes animate-pewpew {
   from { background-position:    0px; }
     to { background-position: -385px; }
}

@-o-keyframes animate-pewpew {
   from { background-position:    0px; }
     to { background-position: -385px; }
}

@keyframes animate-pewpew {
   from { background-position:    0px; }
     to { background-position: -385px; }
}

/*** Portfolio/Projects ***/
.portfolio {
    padding: 40px 15px;
}

.portfolio__item {
    display: block;
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
}

.portfolio__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 219, 0, 0.8);
    cursor: pointer;
    text-decoration: none !important;
    left: 0;
    top: 0;
    right: 0;
    opacity: 0;
    height: 0;
    transition: opacity 0.25s ease, height 0.5s ease;
}

.portfolio__overlay--show {
    opacity: 1;
    height: 100%;
}

.portfolio__content {
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.portfolio__content h3 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}

.portfolio__content span {
    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 20px 0;
    font-weight: 300;
    font-style: italic;
    text-decoration: none !important;
    cursor: pointer;
}

.portfolio__image {
    display: block;
    width: 100%;
}

/*** Modal ***/
.modal {
    position: fixed;
    width: 100%;
    height: 0;
    top: -80px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal--show {
    opacity: 1;
    top: 0;
    height: 100vh;
}

.modal__dialog {
    background-color: white;
    width: 100%;
    height: 100%;
    overflow: scroll;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: -100px;
    transition: margin-top 0.5s ease;
    padding: 10px;
}

.modal__dialog--show {
    margin-top: 0px;
}  

.modal__header {
    padding: 10px 20px;
}

.modal__close {
    float: right;
    appearance: none;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 40px;
    line-height: 40px;
    color: #131313;
    z-index: 9999;
    padding: 5px 0;
    cursor: pointer;
}

.modal__inner {
    padding: 20px;
}

.modal__image {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.gif-img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/*** Footer ***/
footer {
    padding: 20px;
    background-color: black;
}

footer span {
    color: white;
    font-size: 12px;
    line-height: 16px;
}

.footer-social {
    display: block;
    float: right;
    margin: 0;
    padding: 0;
    position: relative;
}

.footer-social li {
    display: inline-block;
    margin: 0 5px;
    list-style-type: none;
}

.footer-social li a {
    text-decoration: none !important;
    font-size: 18px;
    color: white;
    cursor: pointer;
}

.footer-social li a:hover:before {
    background: url('../assets/noiseblue.gif') no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (min-width: 768px) { /* tablet portrait */

    .footer-social li a {
        font-size: 20px;
    }

}
