body {
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
  background-color: #000;
    background-image: url(portfolio_gif.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
  overflow: hidden;
    
}


::-webkit-scrollbar {
  display: none;
}

/*elements*/
header {
    position:fixed;
	width:100%;
}

section {
    height: 100vh;
    width: 100%;
}

footer {
    position: fixed;
    float: left;
    width: auto;
    bottom: 0;
    left: 0;
}


/*links*/

header a {
        transition: color 0.1s;
}

header a:hover{
    opacity: 100%;
    color:white;
    
}


/*navigation*/
nav{
	position:fixed;
	width:100%;
	margin:0;
	padding:0px;
	top:0;
	height:32px;
	z-index:10;
	background-color:#ccc;
	overflow-x:hidden;
	overflow-y:hidden;
    transition: height 0.5s;
}


nav:hover{
    width:100%;
    height: 160px;
    transition: width 1s, height 1s;
}

nav.mobile{
    height: 280px;
    display: none;
    }

div{
    height:32px;
}

#title{
	position:relative;
	margin:0;
	padding:0;
	display:inline-block;
	max-width: 25vw;
	height:32px;
	margin-left:10px;
	float:left;
	top:6px; 

	}
	
#subtitle{
	position:relative;
	margin:0;
	padding:0;
	display:inline-block;
	max-width: 25vw;
	height:32px;
	float:left;
    margin-left:20px;
	top:6px; 
	}

#contact{
	position:relative;
	margin:0;
	padding:0;
	display:inline-block;
	max-width: 20vw;
	height:32px;
	float:left;
    margin-left:20px;
	top:6px; 

	}

#time{
	position:relative;
	margin:0;
	padding:0;
	display:inline-block;
	max-width:10vw;
	height:32px;
    float:right;
    margin-left:20px;
    margin-right:10px;
	top:6px; 
    }

#info{
	position:relative;
	margin:0;
	padding:0;
	display:inline-block;
	width:auto;
	height:auto;
	margin-left:20px;
	float:left;
    top:6px; 
	}


/*footer*/
#construction{
    position:relative;
	margin:0;
	padding:2px;
	width:auto;
	height:20px;
	margin-left:50vw;
    bottom: 2px;
    }


/*type*/

    .normal{
	font-family: Times, serif;
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 18px;
	color:blue; 
	letter-spacing:0px;
	text-decoration:none;
	list-style-type:none;
}

    .index{
	font-family: Times, serif;
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 18px;
	color:blue; 
	margin-left:0px;
    text-decoration:none;
    text-transform: uppercase;
	list-style-type:none;
	letter-spacing: 1px;
}

    .counter{
    font-family: Courier, Typewriter;
    font-size: 15px;
    letter-spacing:2px;
}
   
    .small{
    font-size: 11px;
    line-height: 18px;
    letter-spacing:0px;
}
    .writer{
    font-family: Courier, Typewriter;
}


    .mobile{
    font-family: Times, serif;
	font-size: 22px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 24px;
	color:blue; 
	margin-left:0px;
    text-decoration:none;
    list-style-type:none;
	letter-spacing: 1px;
    padding: 5px;
    }


/*RESPONSIVE*/
@media (max-width: 1000px) {
    .index{
    font-size: 14px;
	line-height: 16px;
    letter-spacing:0px;
    }
    .normal{
    font-size: 14px;
	line-height: 16px;
    letter-spacing:0px;
    }
    
    .small{
    font-size: 9px;
	line-height: 16px;
    letter-spacing:0px;
    }
    
    #time{
    display: none;
    }
    
    div{
    height: 26px;
    }
    
    nav{
    height:26px;
    }

}



@media (max-width: 600px) {
    
    .index{
    font-size: 20px;
	line-height: 22px;
    letter-spacing:1px;
    }
    
    .normal{
    font-size: 20px;
	line-height: 22px;
    }
    
    #construction{
    margin-left:auto;
    text-align: center;

    }
    .small{
    font-size: 24px;
	line-height: 22px;
        
    }
    
    
    div{
        float: none;
    }
    nav {
        display: none;
        height: 50vh;
    }
    nav.hover{
        display: none;
    }
    nav.mobile{
        display: inherit;
    }
    
    #title{
        float: none;
        width: 100%;
    }
    #subtitle{
        float: none;
        width: 100%;
    }
    #contact{
        float: none;
        width: 100%;
    }
    #time{
        display: none;
    }


}
