 /*
Theme Name: Mohammad Safarpour
Theme URI: https://www.mohammadsafarpour.com/
Author: 
Version: 1.0
License:

/* =Reset
-------------------------------------------------------------- */

@import 'css/reset.css';
@import 'css/responsive.gs.24col.css';
@import 'css/swipebox.css';
@import 'css/flickity.css';


/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Text:wght@100..900&family=Comfortaa:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Glegoo:wght@400;700&display=swap');

:root {
	--first: rgb(245,245,245);
	--second: rgb(26,26,26);
	--third: rgb(189, 204, 212);
}

html, body {
	height:100%;
}

/* Body */
body {
	cursor:default;
	background:var(--first);
	color:var(--second);
	margin:0;
	padding:0;
	overflow-x:hidden;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	font-family: "Big Shoulders Text", sans-serif;
	display: table;
	width:100%;
	height:100%;
}

::selection {
	color:var(--first);
	background:var(--second);
/* Safari */
}

::-moz-selection {
	color:var(--first);
	background:var(--second);
/* Firefox */
}
a  {
	color:var(--second);
	text-decoration: none;
}
a:hover {
	color:var(--third);
	text-decoration:none;
}

b {
	font-weight:700;
}

strong {
	font-weight:900;
}

.container {
	width: 100%;
	max-width: 1440px;
	padding:2rem;
	margin: 0 auto;
}


header .mohammad-safarpour {
	text-transform:uppercase;
	font-size:2.5rem;
}

header nav ul li {
	text-transform:uppercase;
	font-size:1.5rem;
	font-weight:600;
}

section h2 {
	display:block;
	font-weight:300;
	font-size:3rem;
	color:var(--third);
	text-transform:uppercase;
	margin-top:2rem;
}

section p {
	font-family: "Glegoo", serif;
	font-size:1.5rem;
	line-height:2rem;
	display:block;
	margin-top:1rem;
}

section img.portrait {
	display:block;
	width:100%;
	max-width:300px;
	height:auto;
	margin-top:1.5rem;
}

.items {
	display: grid;
	grid-gap:1rem 3rem;
	grid-template-columns: repeat(4, 1fr);
}

.items .item figure {
	position:relative;
}

.items .item img {
	width:100%;
	height:auto;
	transition:.2s all ease-in-out;
}

.items .item a:hover img {
	opacity:.6;
}

.items .item span.title {
	text-transform:uppercase;
	font-size:1.4rem;
	display:block;
}

.items .item span.year {
	display:block;
}

.items .item span.year font.ongoing {
	text-transform:uppercase;
	color:#64c9be;
}

.items .item ul {
	position:absolute;
	top:.5rem;
	left:.5rem;
}

.items .item ul li {
	font-family: "Glegoo", serif;
	font-weight:700;
	text-transform:uppercase;
	font-size:.55rem;
	padding:.25rem .3rem;
	background-color:rgba(0,0,0,.3);
	backdrop-filter: blur(10px);
	color:var(--first);
	width: max-content;
	border-radius:5px;
	margin-bottom:.2rem;
	margin-right:.2rem;
	display:inline-block;
}


.inside h1 {
	text-transform:uppercase;
	font-weight:700;
	font-size:3rem;
	line-height:3.4rem;
}

.inside span.year {
	text-transform:uppercase;
	font-size:1.4rem;
}

.inside span.year font.ongoing {
	text-transform:uppercase;
	color:#64c9be;
}

.inside ul {
	margin-top:.5rem;
}

.inside ul li {
	font-family: "Glegoo", serif;
	font-weight:700;
	text-transform:uppercase;
	font-size:.65rem;
	padding:.25rem .3rem;
	background-color:rgba(0,0,0,1);
	backdrop-filter: blur(10px);
	color:var(--first);
	width: max-content;
	border-radius:5px;
	margin-bottom:.2rem;
	margin-right:.2rem;
	display:inline-block;
}

.inside .description {
	margin-top:1.5rem;
}

.inside p {
	font-family: "Glegoo", serif;
	font-size: 1.1rem;
	line-height: 1.5rem;
	margin-top:1rem;
}

.inside a.link {
	display:block;
	font-family: "Glegoo", serif;
	font-weight:700;
	margin-top:1rem;
	width:max-content;
	border-bottom:2px solid transparent;
}

.inside a.link:hover {
	border-bottom:2px solid var(--third);
	color:var(--second);
}

.inside .gallery {
	display:grid;
	grid-template-columns: repeat(8, 1fr);
	grid-gap:1rem;
	margin-top:1rem;
}

.inside .gallery a:hover {
	opacity:.6;
}

.gallery.events a {
	display:none;
}

.gallery.events a:first-child {
	display:block;
	cursor:zoom-in;
}

.items.events {
	margin-top:2rem;
}


@media (max-width: 1024px) {
.inside .gallery {
	grid-template-columns: repeat(6, 1fr);
   }
}

@media (max-width: 680px) {
.inside .gallery {
	grid-template-columns: repeat(4, 1fr);
   }
}

@media (max-width: 575.98px) {
.inside .gallery {
	grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 320px) {
.inside .gallery {
	grid-gap:.5rem;
   }
}

.inside .gallery img {
	width:100%;
	height:auto;
}

iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height:auto;
  margin-top:1rem;
}

.inside .externals {
	
}

.inside .externals span {
	text-transform:uppercase;
	display:block;
	margin:1rem 0;
	font-size:1.2rem;
	color:var(--second);
}

.inside .externals a {
	display:block;
	font-family: "Glegoo", serif;
	font-weight:700;
	margin-top:.2rem;
	width:max-content;
	border-bottom:2px solid transparent;
}

.inside .externals a:hover {
	border-bottom:2px solid var(--third);
	color:var(--second);
}


@keyframes slides {
  from {
	transform: translateX(0);
  }
  to {
	transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0px;
  white-space: nowrap;
  position: relative;
  width:100%;
}

.logo_items {
  display: inline-flex;
  column-gap:2rem;
  animation: 35s slides infinite linear;
  margin-right:2rem;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img{
  height: 80px;
}

.logos:before, .logos:after {
  position: absolute;
  top: 0;
  content: '';
  width: 150px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(245,245,245,0), rgb(245,245,245));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(245,245,245,0), rgb(245,245,245));
}


.lozad[data-loaded="true"], [data-loaded="true"] .lozad {
	animation-name: lozad;
	animation-duration: .3s;
	animation-timing-function:ease-in-out;
}

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