@font-face {
  font-family: 'Matter';
  src: url('../fonts/Matter.ttf') format('ttf'),
	  url('../fonts/Matter.woff') format('woff'),
	  url('../fonts/Matter.woff2') format('woff2');
}

@font-face {
  font-family: 'Matter Mono';
src: url('../fonts/Matter Mono.ttf') format('ttf'),
  	url('../fonts/Matter Mono.woff') format('woff'),
	  url('../fonts/Matter Mono.woff2') format('woff2');
}

@font-face {
  font-family: 'Azeret Mono';
src: url('../fonts/AzeretMono.ttf') format('ttf'),
  	url('../fonts/AzeretMono.woff') format('woff'),
	  url('../fonts/AzeretMono.woff2') format('woff2');
}
@font-face {
  font-family: 'Riccione';
src: url('../fonts/Riccione-Xlight.otf') format('otf'),
	 url('../fonts/Riccione-Xlight.woff') format('woff'),

}

@font-face {
  font-family: 'HK Grotesk';
src: url('../fonts/HKGrotesk-Regular.otf') format('otf'),
  	url('../fonts/HKGrotesk-Regular.woff') format('woff'),
	 url('../fonts/HKGrotesk-Regular.woff2') format('woff2'),
}

body {
	font-family: 'Matter Mono', sans-serif !important;
	-webkit-text-size-adjust: none;
}
html, body {
	font-style: normal;
	font-weight: slim;
    height: 100%;
    width: 100%;
    min-height: 100%;
    max-width:100%;
	line-height: normal;
}
.nav a:hover
{
	text-decoration: underline;
	cursor: grabbing;
}

.small-text a:hover
{
	text-decoration: underline;
	cursor: grabbing;
}

ul {
	position: fixed;
	top: 0;
	height: 50px;
	z-index: 100;
	background: white;
	width: 100%;
}
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 100%;	
}
.span_3 {
	display: block;
 	margin-left: 40%;
 	margin-right: 10px;
	margin-top: 10%;
	margin-bottom: 3%;
}
.row {
	margin-left: 40%;
	margin-right: 10px;
	margin-top: 50px;
	margin-bottom: 50px;
}

.box {
	margin-top: 50px;
	margin-left: 10px;
	margin-right: 10px;
}
.left-group {
  display: flex;
width: 40%;
  align-items: center;
}
.right-group {
	 display: flex;
  align-items: center;
}

.nav li {
  margin: 0;
}

.nav li.small-text {
  text-align: left;
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1.2;
}

.nav li.contact {
  margin-left: auto;
	font-size: 1.5em;
	letter-spacing: -0.05em;
}

.nav li:first-child,
.nav li:nth-child(2) {
  margin-right: 10px;
}

ul .logo {
	font-family: 'Matter', sans-serif !important;
	letter-spacing: -0.01em;
}
ul .logo:hover 
{
	text-decoration: none;
}
.logo {
	font-size: 2em;
}
.logo::after {
  content: "MODESTA ŽEMGULYTĖ";
}

li {
padding: 2px;
padding-right: 10px;
}

li a {
	color: black;
}

.element
{
	height: 5em;
}
.logo_black
{
	width: 200px;
}
.logo_white
{
	filter: invert(1);
}
.photo-me {
	width: 50%;
}

/* Copyright & credits */
p1 {
	font-family: 'HK Grotesk';
	display: block;
	font-size: 0.6em;
	letter-spacing: 0;
	line-height: 1.5em;
	text-transform: uppercase;
	margin-top: 3%;
	color: black;
	opacity: 0.5;
}
a {
	text-decoration: none;
}
/* Categories & description */
p2 {
	font-family: 'HK Grotesk';
	display: block;
	font-size: 0.8em;
	line-height: 1.3em;
	margin-bottom: 4%;
}
/* About me */
p3 {
	display: block;
	font-size: 0.8em;
	color: white;
	line-height: 1.3em;
	margin-top: 10%;
	font-family: 'HK Grotesk';
}
/* Paragprah headline & project title */

.overlay-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height:100%;
  width: 100%;
  opacity: 0;
  transition: .2s ease;
  background-color: #fff;
}

h1 {
	font-family: 'Riccione' !important;
	font-size: 2.3em;
	letter-spacing: -0.01em;
	width: 100%;
	color: #000;
	line-height: 1.2em;
	padding-bottom:0%;
	font-weight: 100;
	margin-top: 2%;
}
/* About me e-mail link */
h2 {
	font-family: 'Matter Mono' !important;
	font-size: 2.2em;
	width: 100%;
	color: #fff;
	line-height: 1.2em;
	padding-top: 2%;
	padding-bottom: 2%;
	font-weight: 100;
}
/* Main project title*/
h3 {
	font-family: 'Riccione' !important;
	font-size: 5em;
	color: #000;
	width: 100%;
	line-height: 1em;
	font-weight: 100;
    display: block;
	margin-bottom: 1%;
	letter-spacing: -0.01em;
}
/* Homepage title */

h4 {
	font-family: 'Riccione' !important;
	align-content: center;
	text-align: left;
	font-size: 8em;
	color: #000;
	width: 100%;
	line-height: 0.9em;
	letter-spacing: -0.035em;
	font-weight: 100;
    display: block;
	margin-bottom: 5%;
	margin-top: 5%;
}
.content {
    position: relative;
    bottom:0;
}
.content:hover .overlay-img,
.content:focus .overlay-img {
    transition: .5s ease;
    opacity: 0.9;
    display: block;
}

.content .thumb_title {
    position: absolute;
    max-width: 80%;
    font-size: 14px;
    text-align: center;
    color:#000;
	top:50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.content:hover .thumb_title,
.content:focus .thumb_title {
    opacity: 1;
}
video::-webkit-media-controls-panel { 
	background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.39119397759103647) 0%, rgba(0,0,0,0) 15%);
} 
/* Header */
.header {
	overflow: auto;
	padding-left: 10%;
	padding-right: 10%;
	padding-bottom: 4%;
	padding-top: 4%;
	display: flex;
    align-items: center;
}
.header a {
  float: left;
  color: black;
  margin-top:10px;
  text-decoration: none;
  border-radius: 4px;
	
}
.logo_black	{
	
	width: 50px;	
}

.logo_white	{
	width: 50px;
}

.header-right {
  float: right;
}
/* About me */
.overlay {
  position: fixed;
  overflow: scroll;
  height: 0;
  width: 100%;
  left: 0;
  top: 0;
  background: #fff;
  opacity: 1;
  z-index: 2;
  transition: 0.1s;
}

#myAbout {
  background-color: #000;
  height: 0;
  position: fixed;
  transition: height 0.3s ease;
  overflow: hidden;
}

#myAbout.active {
  height: 100%;
}

p3 a {
text-decoration: none;
color:#fff;
cursor:pointer;
}

p3 a:hover {
text-decoration: underline;
}

span a:hover {
	background-color: #000;
}
/* About button */
.about img {
  animation: pulse 2s linear infinite;
  transform-origin: 50% 50%;
  cursor: pointer;
  transition: .4s ease-in-out;
  z-index: 2;
  width:25px;
}
.about {
	margin-left: 15px;
}

@keyframes pulse {
  0% { transform: scale(0.5); }
  30% { transform: scale(0.8); }
  100% { transform: scale(0.5); }
}
.about:hover {
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
	-webkit-filter: blur(3px);
 	filter: blur(3px);
}
.about_cls {
	-webkit-animation-name: pulse;
    -webkit-animation-duration: 2000ms;
    -webkit-transform-origin:50% 50%;
    -webkit-animation-iteration-count: infinite; /* The magic keyword for infinite*/
    -webkit-animation-timing-function: linear;
	position: absolute;
	left: 1%;
	cursor: pointer;
	z-index: 1000;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
}
.about_cls:hover {
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
	-webkit-filter: blur(3px);
 	filter: blur(3px);
}
img {
	max-height: 100%;
	max-width: 100%;
}

video {
	max-height: 100%;
	max-width: 100%;
}

.column_1 {
  float: left;
  width: 30%;
  margin-left: 3%;
}

.wrapper {
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center; /* optional: horizontal center */
  height: 100vh;  
}
.text-block {
  max-width: 400px; /* optional for controlling width */
  margin-right: 20%;
  text-align: left; /* or center if you want */
}

.column_4 {
 float: left;
 margin-right: 10px;
 column-gap: 3%;
 column-count: 2;
 margin-bottom: 3%;
}

.column_5 {
  width: 100%;

}
.column_5 img {
width: 55%;
display:block;
margin-left: auto;
margin-right: auto;

}
.column_6 {
	width: 100%;
	margin-top: 10%;
}
.column_6 img {
margin-bottom: 3%;
}
.ows {
	width:100%;
	display: inline-block;
}
.ows img {
	display: inline-block;
}
.ows-1 {
	width:30%;
	display: inline-block;
}
.ows-2 {
	width:45%;
	display: inline-block;
	padding-left: 20%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.column_about {
		width: 40%;
		margin-left: 10%;
		margin-right: auto;
	}
.column_about a, p4 {
		color: #fff;
}
.about_image {
		width: 40%;
		margin-left: 10%;
		margin-right: auto;
	}
figcaption {
	font-size: 11px;
	text-align: left;
	padding-top: 0,5%;
	opacity: 0.3;
	
}

:not(.photo-me) > img, video {

}

.photo-me {
	border-radius: 0em;
}


footer {
  position:static;
  width: 100%;
  height: 100px;
  margin-top: 5%;
  margin-left: 40%;
}
.social-icons{
  position: fixed;
  top: 50%;
  left:2.5%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.social-icons li{
  display: block;
  text-align: center;
  padding: 10px;
  transition: all 0.3s ease;
}
.social-icons li:hover {
	opacity: 0.5;
}
.overlay {
  position: fixed;
  overflow: scroll;
  width: 100%;
  background: #fff;
  opacity: 1;
  z-index: 2;
  transition: 0.3s;
	
} 


/* Extra large devices (large laptops and desktops) */
@media screen and (min-width: 1920px) {
	.column_3 {
		width: 43%;
	}
	h4 {
		font-size: 10em;
	}
	.logo_black
	{
	width: 100px;
	}
	.logo_white
	{
	width: 100px;
	}
	p3
	{
		font-size: 2em;
	}
	p2 {
	font-size: 1.5em;
}
	h1 {
	font-size: 3em;
}
}

@media screen and (max-width: 1440px) {
.span_3 {
	margin-left: 40%;
	}
		.row {
	margin-left: 40%;
	}
h1 {
	font-size: 2em;
}
h4 {
	font-size: 4em;
}
p2 {
	font-size: 0.7em;
	}
.logo {
	font-size: 1.8em;
}
}

@media screen and (max-width: 1200px) {
.span_3 {
	margin-left: 20px;
	}
	.row {
	margin-left: 20px;
	}
h1 {
	font-size: 2em;
}
h4 {
	font-size: 4em;
}
p2 {
	font-size: 0.7em;
	}
	.small-text {
		display: none;
	}
	.logo {
	font-size: 1.5em;
}
}

@media (max-width: 768px) {
  .myVideo {
    /* Ensure visible */
    display: block;
  }
		.row {
	margin-left: 10px;
	}
.span_3 {
	margin-left: 10px;
	}
	.nav li {
  margin: 0 2em;
}
	.logo::after {
		display: none;
  }
	ul {
		height: 70px;
	}
	
	.about img {
		width: 40px;
	}

  .small-text {
	  display: none;
  }
	
 .wrapper {
    flex-direction: column;     /* stack vertically */
    justify-content: center;    /* vertical center */
    align-items: center;        /* horizontal center */
    height: 100vh;              /* take full screen height */
    padding: 20px;
    text-align: left;           /* text stays left aligned */
  }

  .column_1 {
    width: 100%;
    margin: 0 0 20px 0;         /* spacing below image */
    display: flex;
    justify-content: center;    /* center image */
  }

  .photo-me {
    width: 50%;               /* adjust size for mobile */
  }

  .text-block {
    max-width: 90%;
    margin: 0 auto;
    text-align: left;           /* left align text */
  }
	
	h1 {
		font-size: 1.5em;
	}
	h2 {
		font-size: 32px;
	}
	h3 {
		font-size: 32px;
	}
	h4 {
		font-size: 2em;
	}

	p1 {
		font-size: 10px;
	}
	p2 {
		font-size: 12px;
	}
	p3 {
		font-size: 16px;
	}
	footer {
		margin-top: 10%;
	}
}