* {
    box-sizing: border-box;
}
@font-face {
  font-family: 'Lipi';
  src: url('assets/type/Lipi.eot'); /* IE9+ Compat Modes */
  src: url('assets/type/Lipi.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/type/Lipi.woff2') format('woff2'), /* Super modern browsers */
       url('assets/type/Lipi.woff') format('woff'), /* Modern browsers */
       url('assets/type/Lipi.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('assets/type/Lipi.svg#FontName') format('svg'); /* Legacy iOS */
}
@font-face {
    font-family: 'Coconat Ext';
    src: url('assets/type/Coconat-BoldExt.eot');
    src: url('assets/type/Coconat-BoldExt.eot?#iefix') format('embedded-opentype'),
        url('assets/type/Coconat-BoldExt.woff2') format('woff2'),
        url('assets/type/Coconat-BoldExt.woff') format('woff'),
        url('assets/type/Coconat-BoldExt.ttf') format('truetype'),
        url('assets/type/Coconat-BoldExt.svg#Coconat-BoldExt') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Coconat';
    src: url('assets/type/Coconat-Regular.eot');
    src: url('assets/type/Coconat-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/type/Coconat-Regular.woff2') format('woff2'),
        url('assets/type/Coconat-Regular.woff') format('woff'),
        url('assets/type/Coconat-Regular.ttf') format('truetype'),
        url('assets/type/Coconat-Regular.svg#Coconat-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.left{
    float:left;
}
.right{
    float:right;
}
html{
    width: 100vw;
    overflow-x: hidden;
    background-color:white;
    animation: bg-pulse 20s ease infinite alternate;
    
}

body {
        -webkit-animation: fadein 3s ease-in; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 3s ease-in; /* Firefox < 16 */
        -ms-animation: fadein 3s ease-in; /* Internet Explorer */
         -o-animation: fadein 3s ease-in; /* Opera < 12.1 */
            animation: fadein 3s ease-in;  
        width:100vw;    
        padding: 5%;
        height: 100%;
        color: black;
        margin: auto;
        max-width: 1000px;
}
a{
    color:black;
    text-decoration: none;
}

a:hover{
opacity: .6;
}
.lipi{
    text-align: right;
      animation: 
    text-pulse 20s ease infinite alternate;
    font-family:'Lipi', serif;
    font-size: 48px;
}
.element {
  height: 300px;
  width: 300px;
  background-color: red;
    position: fixed;
    margin: auto;
    z-index: -1;
  animation: 
    pulse 20s ease infinite alternate;
  border-radius: 100%;
    box-shadow: 20px 20px 50px 10px red inset;
}

@keyframes pulse {
  0%, 100% {
    background-color: red;
box-shadow: 30px 30px 50px 10px hotpink inset;      

  }
  50% {
    background-color: orange;
    box-shadow: 30px 30px 50px 10px red inset;
  }
}

@keyframes bg-pulse {
    0%, 100%{
        background-color: #d9e021;
    }
    
    50% {
        background-color:#407eff;
    }   
}

@keyframes text-pulse {
    0%, 100%{
         text-shadow: 2px 3px  #d9e021d6;
    }
    
    50% {
        text-shadow: 2px 3px  orange;
    }
    
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
h1{
    width: 100%;
    z-index: 10;
    font-family:'Coconat Ext', serif;
    font-size: 32px;
    line-height: 60px;
}
h3{
font-family:'Coconat Ext', serif;  
}
.portfolio{
    max-width: 1000px;
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}
.wrapper{
    float: right;
    width: 75%;
    margin-top: 5%;
    margin-bottom: 5%;
}
img, .thumb-wrap, video{
    width: 75%;
}

img:hover, video:hover{
    opacity: .5;
    transition-timing-function: ease-in;
	transition: .5s;
}
.thumb{
    width: 20%;
}
.thumb-wrap{
margin-top: 5%;
}
/*
@keyframes img-shadow {
    0%, 100%{
        box-shadow:10px 10px 40px 0px orange;
    }
    50% {
        box-shadow:10px 10px40px 0px d9e021;
    }
}
*/

p{
    font-family:'Coconat', serif;
    font-weight: bold;
    width: 100%;
    font-size: large;
}

.logo{
    width: 30%;
    float: right;
}
@media screen and (max-width:499px){
    h1, h3{
        width: 100%;
    }
    h1{
        line-height: 52px;
    }
    h3{
        margin-top:40px;
        text-align: right;
        font-size: 16px;
    }
    .lipi{
        font-size: 40px;
    }
    p{
    font-size: 14px;
    padding-bottom: 5%;
    }
    .portfolio{
        margin-top: 20%;
        
    }
    .wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
        width: 100%;
        margin: auto;
        margin-bottom: 8%;
        
    }
    .right{
        float: none;
    }
    img, video{
        margin: auto;
        width: 80%;
    }
    .element{
        height: 75vw;
        width: 75vw;
    }
    
}
