html {
    scroll-behavior: smooth;
}










/* CONTENT */

.content{
  min-height: 580px;
  margin-left: 20vw;
  padding: 112px 100px 140px 60px;
  /* background: yellow; */
}

.content img{
  width: 100%;
  margin-bottom: 40px;
}

#mainpage{
  padding-top: 0;
}

#hero{
  height: 50vh;
  margin-left: 20vw;
  padding-left: 60px;
}

#hero img{
  height: 50vh;
  object-fit: cover;
}

#hero video{
  height: 50vh;
  object-fit: cover;
}

.nogap{
  margin-bottom: 40px;
}

.nogap img{
  margin-bottom: 0px;
}

.content .youtubevideo{
  margin-bottom: 40px;
}

.content a h1{
  margin-bottom: 40px;
  color: black;
}

.content a h1:hover{
  color: red;
}

h1{
  font-family: montserratextrabold;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

h4{
  font-family: montserratextrabold;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

h3{
  font-family: montserratextrabold;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 0px;
  margin-top: 20px;
}

h5{
  font-family: montserratextrabold;
  font-size: 17px;
}

h5 a{
  text-decoration: none;
  color: black;
}

h5 a:hover{
  color:red;
}

p{
  font-family: montserratregular;
  font-size: 15px;
  margin: 0 0 40px 0;
}

p a{
  text-decoration: none;
  color: black;
}

p a:hover{
  color:red;
}

.center{
  padding-top: 40px;
  /* padding-bottom: 70px; */
  text-align: center;
}

#hello{
  text-align: right;
}

#profile{
  width: 200px;
}

#up{
  position: absolute;
  color: black;
}

#up:hover{
  color: red;
}

.row{
  width: 100%;
  height: 100%;
  margin: 30px 0 0 0;
  max-width: 100%;
}

.images{
  margin: 0 0 0 0;
}

.column{
  /* background: red; */
  padding: 0;
}

.smallimage{
  padding: 0 0 33px 0;
  transition: transform .2s;
}

.left{
  padding-right: 13px;
}

.right{
  padding-left: 13px;
}

.smallimage img{
  width: 100%;
  margin: 0 auto;
  transition: transform .2s;
}

.smallimage:hover{
  transform: scale(1.02);
}

a h3{
  color: black;
}

.smallimage:hover h3{
  color:red;
}

.textinside{
  padding-bottom: 0;
  margin-bottom: 33px;
  position: relative;
  text-align: center;
}

.textinside h3{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 0;
  color: white;
  opacity: 0%;
  transition: opacity .2s;
  font-size: 17px;
}

.textinside:hover h3{
  color:white;
  opacity: 100%;
}

.black{
  position: absolute;
  top: 0%;
  background-color: black;
  width: 100%;
  height: 100%;
  opacity: 0%;
  transition: opacity .2s;
}

.textinside:hover .black{
  opacity: 35%;
}

.youtubevideo{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.youtubevideo iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtubevideo video{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

#abouttext{
  float: left;
  margin-bottom: 80px;
  width: 65%;
}

#selfportrait{
  position: relative;
  width: 25%;
  margin-left: auto;
  top: -580px;
}

#selfportrait_mobile{
  display: none;
}

.mobile_index{
  display: none;
}













/* MENU */

nav{
  z-index: 1000;
}

.topnav{
  display: none;
}

.logo{
  width: 100%;
  padding: 30px 30px 40px 30px;
}

.logo img{
  width: 30px;
}

.logo video{
  width: 30px;
}

h2{
  font-family: montserratregular;
  font-size: 12px;
  margin: 0;
  color: black;
  padding: 10px 0 10px 30px;
  text-transform: uppercase;
}

nav h2:hover{
  color: red;
}

ul {
  margin-left: 0;
}

li a {
  text-decoration : none;
}

nav {
  width : 20vw;
  /* background: white; */
  margin : 0px;
  position: fixed;
}

span {

  /* background : blue; */
  cursor : pointer;
  display: block;
}

span::after {
  float: right;
  right: 10%;
}

.slide {
  clear:both;
  width:100%;
  height:0px;
  overflow: hidden;
  transition: height .4s ease;
  margin: 0;
  /* background: red; */
}

.slide h2 {
  padding: 12px 0 12px 50px;
}

#touch {position: absolute; opacity: 0; height: 0px;}

#touch:checked + .slide {height: 326.4px;}

#touch2 {position: absolute; opacity: 0; height: 0px;}

#touch2:checked + .slide {height: 326.4px;}








/* FOOTER */

.footer {
   position:relative;
   bottom:0;
   width:100%;
   height:130px;
   display: flex;
   flex-direction: row;
   border-top: 0.5px solid black;
}

.footer h2{
  padding-top: 30px;
  padding-left: 30px;
}

#copyright{
  width: 60vw;
  padding: 30px 98px 0 0;
  text-align: right;
}

#contact{
  padding-left: 30px;
  padding-right: 0;
  width: 10vw;
}

.socialmedia{
  width: 30vw;
  height: 130px;
  padding: 23px 0px 60px 0px;
}

.socialmedia svg{
  width: 30px;
  margin: 0 0 0 20px;
}

.socialmedia svg:hover{
  fill: red;
}

.static {
  position:absolute;
}

.static:hover {
  opacity:0;
}








/* Email */


.mailto-link {
	position: relative;
}
.mailto-message {
	top: 40px;
	left: 70%;
	margin-bottom: -5px;
	transform: translate(-50%, -100%);
	position: absolute;
	display: none;
	width: auto;
	white-space: nowrap;
  font-family: montserratregular;
  text-transform: uppercase;
	font-size: 10px;
	background-color: white;
	color: black;
	padding: 2px 6px;
	border-radius: 2px;
	&:after,
	&:before {
		content: '';
	}
	&:before {
		top: 100%;
		left: 50%;
		border: solid transparent;
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(0, 0, 0, 0);
		border-top-color: white;
		border-width: 4px;
		margin-left: -4px;
	}
}
.mailto-link:hover .mailto-message,
.mailto-link:focus .mailto-message,
.mailto-link:focus-within .mailto-message {
	display: block;
}














/* Small only */
@media screen and (max-width: 39.9375em) {

  .content{
    margin: 0;
    padding: 100px 60px 100px 60px;
  }

  #mainpage{
    padding-top: 100px;
  }

  .left{
    padding-right: 0;
  }

  .right{
    padding-left: 0;
  }

  .menu{
    display: none;
  }

  .logo{
    padding: 0;
  }

  .logo video{
    width: 45px;
  }

  .mobile-container {
  width: 100vw;
  }

  .topnav {
  display: block;
  overflow: hidden;
  background-color: white;
  position: relative;
  padding: 20px 16px;
  }

  .topnav #myLinks {
    display: none;
    padding-top: 30px;
  }

  .topnav #myLinks2 {
    display: none;
  }

  #myLinks li{
    list-style: none;
  }

  .topnav a.icon {
    color: white;
    padding: 20px 20px 20px 16px;
    text-decoration: none;
    display: block;
  }

  .topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav a.icon svg{
    fill: black;
    width: 40px;
    height: 40px;
    margin-top: 3px;
  }

  .topnav a.icon svg:active {
    fill: red;
  }

  h2{
    padding: 14px 0 14px 5px;
    font-size: 15px;

  }

  #hero{
    height: 30vh;
    margin-left: 0;
    padding-left: 0;
    margin-top: 91.4px;
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
  }

  #hero img{
    height: 30vh;
  }

  #hero video{
    height: 30vh;
  }

  #profilkep{
    padding-top: 30vh;
  }

  #profilkep img{
    width: 40vw;
  }

  .footer{
    display: block;
  }

  #copyright{
    width: 100%;
    padding: 10px 0 70px 0;
    text-align: center;
  }

  #contact{
    width: 100%;
    padding: 30px 0 14px 0;
    text-align: center;
  }

  .socialmedia{
    width: 100%;
    padding: 23px 0 50px 0;
    display: flex;
    justify-content: center;
  }

  .socialmedia svg{
    margin: 0 20px 0 20px;
  }

  .socialmedia svg:active{
    fill: red;
  }

  .textinside{
    margin-bottom: 0;
  }

  .textinside h3{
    display: none;
  }

  .textinside .black:hover{
    opacity: 0;
  }

  .mobile_index{
    display: block;
    margin: 20px 0 33px 0;
  }

  #showreel{
    position: absolute;
    left: 0;
    right: 0;
  }

  #selfportrait{
    display: none;
  }

  #selfportrait_mobile{
    display: block;
  }

  #abouttext{
    width: 100%;
    float: none;
  }

  .mailto-message {
  	top: 60px;
  	left: 50%;
  }

}


/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {

  .left{
    padding-right: 0;
  }

  .right{
    padding-left: 0;
  }

  #copyright{
    width: 45vw;
  }

  #contact{
    width: 15vw;
  }

  .socialmedia{
    width: 40vw;
  }

}
