/*
Theme Name: Twenty Twenty Child
Theme URI: https://wordpress.org/themes/twentytwenty/
Template: twentytwenty
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog,one-column,custom-background,custom-colors,custom-logo,custom-menu,editor-style,featured-images,footer-widgets,full-width-template,rtl-language-support,sticky-post,theme-options,threaded-comments,translation-ready,block-patterns,block-styles,wide-blocks,accessibility-ready
Version: 1.6.1614563898
Updated: 2021-03-01 01:58:18

*/

:root {
  	--bg-color: #000;
	--primary-color: #e33aa4;
}

html, body {
	background-color: var(--bg-color) !important;
}

.narrow-container {
	max-width: 1230px;
	margin: 0 auto;
}

.main-container {
	width: 100%;
	padding: 5px;
}

.logo-container {
    max-width: 60px;
	margin-right: auto;
}

.small-paragraph p {
    line-height: 1;
}

.contact-column {
	max-width: 700px;
}

.contact-column-data {
    margin-left: auto;
    max-width: 270px;
}

/* LINKS */
.contact-column-data a, .bespoke-link a {
	color: white !important;
}

.bespoke-button .elementor-button, input.bespoke-button {
	cursor: pointer;
	border: solid 2px var(--primary-color);
	padding: 10px 20px;
}

.bespoke-button .elementor-button:hover, input.bespoke-button:hover {
	background-color: white !important;
	color: var(--primary-color) !important; 
	box-sizing: content-box;
	text-decoration: none;
}

.entry-content > div {
	max-width: 100% !important;
}

.posts-grid {
	display: flex;
	flex-wrap: wrap;
}

.post-container {
	padding: 5px;
}

.post-container, .bespoke-loading {
	position: relative;
	font-family: 'Roboto';
	text-align: center;
}

.post-50 {
	width: 50%;
}

.post-25 {
	width: 25%;
}

.post-container img {
	width: 100%;
	max-height: 400px;
	height: 100%;
	object-fit: cover;
}

.post-container .post-info {
	display: none;
}

.post-container:hover .post-info {
	display: flex;
	justify-content: center;
    align-items: center;
    flex-direction: column;
	background: rgba(0,0,0,0.3);
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
}

.post-info a {
	border: solid 2px white;
	color: white;
	padding: 5px 15px;
}

#filter {
	text-align: center;
    margin-bottom: 2rem;
}

.cat-button-filter {
	background: transparent;
	border: none;
	color: white;
}

/* LINK COLOR ON PROJECTS PAGE */
.elementor-widget-theme-post-content a {
	color: var(--primary-color);
}

.hero-video {
	position: absolute;
    padding: 0;
}
#backVideo {
  position: relative;
	object-fit: cover;
  top: 0;
	bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
}


/* Loading overlay */
.loading-projects {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
    justify-content: center;
}

.loading-projects svg {
  max-width: 40px;
  opacity: 0.9;
  animation: rotate-center 0.6s infinite linear;
  position: absolute;
}

@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@media only screen and (max-width: 780px) {
	
}

@media only screen and (max-width: 845px) {
	.footer-item-container {
		max-width: 330px !important; 
		margin: 0 auto;
	}
	.narrow-container {
		padding: 0 15px;
		max-width: 100%;
	}
	.main-container {
		padding: 5px !important;
	}
	.contact-column-data {
		margin-left: 0;
		max-width: 98%;
	}
	.post-info h5 {
		font-size: 13px;
		margin: 1px;
	}
	.post-info a {
		font-size: 11px;
		padding: 5px;
	}
	.post-container {
		padding: 2px;
	}
}
