@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);  

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

body, html { 
	font-size: 100%; 
	padding: 0; 
	margin: 0; 
	height: 100%;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    color: #f2ede3;
    background: #333;
    font-size: 0.9em;
    font-weight: 300;
	background-image: url("../images/f8.jpg");
	
	 -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
	}

a {
	color: #f0f0f0;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 0 5px;
	text-transform: uppercase;
	font-size: 80%;
}

a:hover {
	color: #fff;
}

.container {
	position: relative;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
	border: 3px double grey;
	opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.bl-main {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.bl-main > section {
	position: absolute;
	width: 50%;
	height: 50%;
}

/* ABOUT collapsed tile */

.bl-main > section:first-child {
  display: block;
  text-align: center;
  padding: 1rem 1rem 0;
  color: #fff;

  overflow: hidden; 
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, rgba(0,0,0,0));
  mask-image: linear-gradient(to bottom, #000 95%, transparent);

  text-shadow:
    0 1px 2px rgba(0,0,0,.85),
    0 2px 6px rgba(0,0,0,.70),
    0 0 10px rgba(0,0,0,.55);
}

.about-avatar {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}

.about-avatar img{
  width: 160px;
  height: 160px;
  object-fit: cover;    
  display: block;
  border: 8px solid rgba(0,0,0,0.2);
  box-shadow: 0 3px 4px rgba(0,0,0,.37);
}

/* ABOUT expanded */

.bl-main > section:nth-child(2) {
	display: block;
	text-align: center;
	top: 0;
	left: 50%;
}

.about-avatar-inner {
  background: url('../images/back.png') center center/cover no-repeat;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 7px rgba(0,0,0,.35);
}

.about-avatar-inner img{
  width: 82%;
  height: 82%;
  object-fit: cover;    
  display: block;
  border-radius: 5px;
}

.status.online  { color: #22c55e; } 
.status.offline { color: #ef4444; } 
.status.online, 
.status.offline {
	font-weight: 700; 
	font-size: 1.1rem; 
	text-shadow:0 1px 2px rgba(0,0,0,.95), 0 3px 8px rgba(0,0,0,.75), 0 -1px 2px rgba(255,255,255,.55);
}

.profile-header {
	margin-top: 5%;
	margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    text-shadow:
      0 1px 2px rgba(0,0,0,.85),
      0 2px 6px rgba(0,0,0,.70),
      0 0 10px rgba(0,0,0,.55);
}

.bl-main > section:first-child .profile-header {
    flex: 0 0 100%;   /* full row in the flex layout for collapsed ABOUT tile */
    width: 100%;
}

/* WORKS & SOCIAL collapsed tiles */

.bl-main > section:nth-child(3) {
	display: block;
	text-align: center;
	top: 50%;
	left: 0;
}

.bl-main > section:nth-child(4) {
	display: block;
	text-align: center;
	top: 50%;
	left: 50%;
	background: #10A296;
}

/* Generic tile box */

.bl-box {
	position: relative;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 1;

	/* Centering with flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    }

.bl-box h2 {
	text-align: center;
	margin: 0;
	padding: 20px;
	width: 100%;
	font-size: 1.8em;
	letter-spacing: 1px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
    overflow: hidden;
}

/* Icons */

.bl-icon {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
}

.bl-icon:before {
	display: block;
	font-size: 2em;
	margin-bottom: 10px;
}

.bl-icon-works:before {
	content: "\e001";
}

.bl-icon-blog:before {
	content: "\e002";
}

.bl-icon-contact:before {
	content: "\e003";
}

/* Section close icon */

.bl-main > section .bl-icon-close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
}

.bl-icon-close:before {
	content: "\e005";
}

/* Content areas (ABOUT / WORKS / SOCIAL / CONTACT) */

.bl-content {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 10px;
	left: 30px;
	right: 30px;
	bottom: 0px;
	padding: 0 20px;
	overflow: hidden;
	overflow-y: auto;
}

/* Custom content */

.bl-content p {
	margin: 0 auto;
	padding-bottom: 15px;
	font-size: 1.7em;
	line-height: 1.2;
}

.bl-content .profile-header p {line-height: 1.05;}

.bl-content h2 {
	font-size: 3em;
	font-weight: 300;
	margin: 0 0 10px 0;
}

.bl-content > ul {
	list-style: none;
	padding: 0;
	margin: 0;
} 

.bl-content > ul li {
	display: inline-block;
	width: 20%;
	margin: 1%;
}

#bl-work-items { 
	font-size: 0;
}

#bl-work-items li {
	width: 27%;
	vertical-align: top;
}

.bl-content > ul li a {
	display: block;
	padding: 0;
	border: 10px solid rgba(0,0,0,0.2);
}

.bl-content > ul li a img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

/* Panel Items (WORK PANELS) */

div.bl-panel-items,
div.bl-panel-items > div {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;

	display: flex;
	justify-content: center;  /* horizontal center */
	align-items: center;      /* vertical center */
}

/* Inner panel content (caption + image) */

div.bl-panel-items > div > div {
	position: static;     /* not absolute anymore */
	width: 70%;
	max-height: 100%;
	overflow-y: auto;
	text-align: center;
	box-shadow: 0 4px 7px rgba(0,0,0,.35);
}



/* Work-panel image: same visual size for all */

div.bl-panel-items > div > div img {
    display: block;
    width: 100%;          /* same width for all images */
    height: auto;         /* keep aspect ratio */
    float: none;
    border: 10px solid rgba(0,0,0,0.2);
}

/* Panel container behaviour */

div.bl-panel-items {
	top: 100%;
	z-index: 9999;
}

div.bl-panel-items > div {
	background: #3ba5db;
	z-index: 0;
	opacity: 0;
	-webkit-transform: translateY(0);
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	-moz-transform: translateY(0);
	-moz-transition: -moz-transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	transform: translateY(0);
	transition: transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	-ms-transform: translateY(0);
}

/* Panel close button (top-right, always visible) h2 */

div.bl-panel-items nav {
	position: absolute;
	z-index: 9999;
	top: 20px;
	right: 20px;
	left: auto;
	width: auto;
	margin-left: 0;
	opacity: 1;

	-webkit-transition: opacity 0.2s ease-in-out 0.5s;
	-moz-transition: opacity 0.2s ease-in-out 0.5s;
	transition: opacity 0.2s ease-in-out 0.5s;
}

div.bl-panel-items.bl-panel-items-show nav span {
	float: left;
	margin: 5px;
}

div.bl-panel-items.bl-panel-items-show nav {
	opacity: 1;
	top: 20px;
}

/* Panel show / hide transitions */

div.bl-panel-items > div.bl-show-work {
	z-index: 1000;
	opacity: 1;
	-webkit-transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.5s ease-in-out;
	-moz-transform: translateY(-100%);
	-moz-transition: -moz-transform 0.5s ease-in-out;
	transform: translateY(-100%);
	transition: transform 0.5s ease-in-out;
	-ms-transform: translateY(-100%);
}

div.bl-panel-items > div.bl-hide-current-work {
	opacity: 0;
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	-webkit-transform: translateY(-100%) scale(0.5);
	-moz-transition: -moz-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	-moz-transform: translateY(-100%) scale(0.5);
	transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	transform: translateY(-100%) scale(0.5);
	-ms-transform: translateY(-100%) scale(0.5);
	z-index: 0;
}

/* Section expand / transitions */

.bl-main > section {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.bl-main > section.bl-expand {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.bl-main > section.bl-expand-top {
	z-index: 100;
}

.bl-main > section:nth-child(4).bl-expand {
	background: #0D8278;
}

.bl-main.bl-expand-item > section:not(.bl-expand),
.bl-main.bl-expand-item > section.bl-scale-down {
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);
	opacity: 0;
}

.bl-box {
	-webkit-transition: opacity 0.2s linear 0.5s;
	-moz-transition: opacity 0.2s linear 0.5s;
	transition: opacity 0.2s linear 0.5s;
}

section.bl-expand .bl-box {
	opacity: 0;
	-webkit-transition: opacity 0s linear;
	-moz-transition: opacity 0s linear;
	transition: opacity 0s linear;
}

.bl-box h2 {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.no-touch section:not(.bl-expand) .bl-box:hover h2 {
	-webkit-transform: translateY(-15px);
	-moz-transform: translateY(-15px);
	-ms-transform: translateY(-15px);
	transform: translateY(-15px);
}

.bl-content,
.bl-icon-close {
	-webkit-transition: opacity 0.1s linear 0s;
	-moz-transition: opacity 0.1s linear 0s;
	transition: opacity 0.1s linear 0s;
}

section.bl-expand .bl-content,
section.bl-expand .bl-icon-close {
	pointer-events: auto;
	opacity: 1;
	-webkit-transition: opacity 0.3s linear 0.5s;
	-moz-transition: opacity 0.3s linear 0.5s;
	transition: opacity 0.3s linear 0.5s;
}

/* Responsive */

@media screen and (max-width: 46.5em) {
	.bl-content,
	.bl-box {
		font-size: 75%;
	}

	.bl-expand .bl-box {
		height: 130px;
	}
}

@media screen and (max-width: 46.5em) and (orientation: portrait) {
	#bl-work-items li {
		width: 35%;
	}

	#bl-work-items li a {
		border-width: 6px;
	}
}

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


/* SOCIAL collapsed tile: show the whole video thumb, not a cropped slice */
.bl-social-box.has-video {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;   /* fit whole image inside the box */
}

/* SOCIAL: layout for the social accounts grid */
.social-links {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem; 
}

.social-links li {
    flex: 0 0 7rem;              /* same width for all boxes */
}

.social-links li a {
    display: block;
    padding: 0.35rem 0.5rem;
    text-align: center;

    border: 2px solid rgba(0,0,0,0.25);
    background: rgba(0,0,0,0.25);
    box-sizing: border-box;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-videos .video-embed iframe {
    display: block;
    width: 80%;
    border: 10px solid rgba(0,0,0,0.2);
    box-sizing: border-box;
	margin: 0 auto 1%; 
}


/* Block / Report buttons stack vertically */
/* Block / Report buttons: always side-by-side, same width & height */
.profile-actions {
	margin-top:0;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 80%;
    margin: 0 auto;
    align-items: stretch;
    transition: transform 0.25s ease;
}

/* Make the form not create its own box so its button becomes a flex item */
.profile-action-form {
    display: contents;
    margin: 0;
}

/* Shared button style for block + report + report actions */
.btn-profile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    border: 2px solid rgba(0,0,0,0.35);
    border-radius: 10px;
    background: rgba(0,0,0,0.35);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;  /* text always on one line */
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Both top-level action buttons flex equally */
.profile-actions .btn-profile-action {
    flex: 1 0 0;
}


/* Inline report panel inside ABOUT content */
.report-panel {
    margin-top: 1%;

    /* centered at 80% width */
    width: 80%;
    margin-left: auto;
    margin-right: auto;

    /* smooth move when report is open */
    transition: transform 0.25s ease;
}

.report-panel-inner {
    background: rgba(0,0,0,0.35);
    border: 2px solid rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

/* Full-width textarea, matching style */
.report-panel textarea {
    width: 100%;
    min-height: 140px;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.45);
    font-family: inherit;
    font-size: 0.9rem;
    background: rgba(10,10,10,0.55);
    color: #f2ede3;
    resize: vertical;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.report-panel textarea::placeholder {color:#ebebeb}

/* Report buttons inside the panel */
.report-actions {
    margin-top: 2%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}



/* When report is open: hide everything except actions + report panel */
.bl-content.report-open > *:not(.profile-actions):not(.report-panel) {
    display: none;
}

/* Let actions + panel sit naturally in the flow (no manual shift) */
.bl-content.report-open .profile-actions,
.bl-content.report-open .report-panel {
    transform: none;
}


/* Messages */
.report-message {
    margin-top: 0.75rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    line-height: 1.4;
}

.report-message.report-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.7);
    color: #d4d4d4;
}

.report-message.report-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.7);
    color: #fecaca;
}


