/*
Theme Name: Romarto Paper 
Description: A custom theme designed by me.
Version: 1.1
*/

section{
	display: flex;
	align-items: center;
	flex-direction: column;
}

.extra-margin{
	margin: 0 6vw;
}

.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  height:100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-section .hero-text {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.hero-section div{
	display: flex;
	flex-direction: column;
    width: 50%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.hero-image{
	display: flex;
	justify-content: center;
}
.hero-image img{
	width: 100%;
}

.slogan-button-wrap{
	margin-left: 2vw;
	text-align: center;
}

.slogan{
	line-height: 1.2;
	letter-spacing: 1.5px;
	font-size: 3vw;
	color:white;
	font-family: 'Nw';
	text-align: center;
	text-shadow: 0 0 10px hsl(0deg 0% 0% / 45%);
}

/* .slogan span{
	line-height: 1.35;
	padding: 5px 19px;
	background-color: #177d00;
} */

.btn-transp{
	margin: 24px 5px;
	padding: 12px 24px;
}

.btn-transp{
	display: inline-block;
	margin-top: 14px;
    padding: 14px 25px;
	font-family: 'Poppins Bold';
    font-size: 20px;
	color:white;
	border: 1px solid #ffffff77;
	border-radius: 24px;
	text-shadow: 1px 1px 0px hsl(0deg 0% 0% / 45%);
}

.section-title{
	margin: 64px 0;
	font-size: 64px;
}

.wp-block-columns{
    width: 100%;
    height: 33.3333vw;
    display: flex;
}


.wp-block-column:has(.shadow-frame) {
	flex-basis: 33.3333vw;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wp-block-columns figure{
    margin: 0;
}

.wp-block-columns img{
  width: 100%;
  height: 33.3333vw;
} 

.shadow-frame{
	width: 90%;
}

.shadow-frame img{
	width: 100%;
	height: auto;
	box-shadow: 0 0 32px #00000077;
}



.projects-wrap{
	display: flex;
	flex-wrap: wrap;
	align-items:center;
	justify-content: space-evenly;
}

.project{
	position: relative;
	width: 33.33%;
	line-height: 0;
	overflow: hidden;
}

.project img{
	width: 100%;
}

.project:hover:after{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #00000077;
	z-index: 2;
}

.project:hover img{
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

.section-shadow{
	border-radius: 32px;
	box-shadow: 0 16px 32px #00000019;
}

.section-shadow:before{
	border-radius: 32px;
}

.btn-transp:hover{
	background-color: #ffffff35;
	border: 1px solid #ffffff00;
}

.title{
	position: relative;
	margin-top: 120px;
	margin-bottom: 52px;
	font-size: 64px;
	font-family: 'Nw';	
	text-align: center;
	z-index: 0;
	scroll-margin-top: 50px;
}

.portfolio{
	position: relative;
	display:flex;
	flex-wrap: wrap;
	padding:0 0.5%;
	margin-top: 10px;
}

.portfolio-item{
	position: relative;
	width: calc(25% - 16px);
	margin: 8px;
	height:auto;
	overflow: hidden;
	cursor: pointer;
	border-radius: 4px;
}

.portfolio-item img{
	width:100%;
    height:100%;
    object-fit: cover;
    transition: transform .5s ease;   
}

.item-desc{
	position: absolute;
	width: 84px;
    height: 64px;
    color: black;
    font-size: 14px;
    padding: 12px 10px 0 29px;
	right: 0;
	bottom:0;
	background-color: #00000015;
	border-radius: 128px 0 0 0;
	line-height: 1.2;
	text-align: center;
	margin: auto
}

.item-desc:after{
	content: 'More details \279C';
}

.item-desc-white:after{
	color: white;
}

.why-paper{	 
	position: relative;
	background-color: #fff; 
	color: black;
}	

.why-paper:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url('img/bg-paper.jpg');
	background-repeat: repeat;	
	opacity: 0.6;
}

.section-image{	 
	max-width: 50%;
	position: relative;
	display: flex;
	justify-content: right;
	padding-right: 5vw;
	align-items: center;
	flex-grow: 1;
	text-align: center;
	min-height: 35vh;
}	

.section-image img{	
	width: 100%; 
}

.image-content-wrap{
	display: flex;
	justify-content: center;
	padding: 100px 0;
}

.section-content-wrap{
	display: flex;
	flex-shrink: 0;
	justify-content: flex-start;
	align-items: center;
}

.section-content{	
  display:inline-flex;
  flex-direction:column;
  align-items:baseline;
}

.text-list div{
	border-radius: 64px;
	font-family: 'Nw';
	font-size: 30px;
	padding: 20px 28px;	
	margin:14px 0;
	z-index: 1;
	text-align: center;
}

.items-bg-shadow div{
	background-color: #ffffff88;
	box-shadow: 0 0 20px #00000017;
}

.items-border div{
	border: 2px #ffffff77 solid;
	box-shadow: none;
	background-color: #ffffff00;
  }


.process{	 
	position: relative;
	color: white;
}	

.process:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 1;	
	background-image: url('img/bg-process.jpg');
	background-size: cover ;
	background-repeat: repeat;	
	background-position: center;
}

.services{
	display: flex;
	justify-content: center;
}

.service{
	width: 32%;
	margin: 0 20px;
	display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.35;
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0px 0px 35px #e8e8e8;
    font-size: 28px;
    padding: 50px 20px 20px 20px;
}

.service-img-wrap{
    max-height: 20vw;
}

.service-img-wrap img{
	max-height: 10vw;
    object-fit: cover;
	margin-bottom: 24px;
}

.service-1{
	background-image: url('img/illustration.png');
}

.service-2{
	background-image: url('img/diagram.png');
}

.service-3{
	background-image: url('img/5-.png');
}

.why{
	background-color:#f3f8ff;
}

.why img{
	max-width: 320px;
	border-radius: 400px;
}

#lab{
	flex-direction: column;
	align-items: center;
}

.posts{
	display: flex;
}

.post{
	border: 4px white solid;
	box-shadow: 0px 0px 35px #e8e8e8;
	border-radius: 12px;
	margin: 0 10px;
}

.post img{
	width: 100%;
	border-radius: 12px 12px 0 0;
}
.post div{
	margin: 10px;
	line-height: 1.2;
	text-align: center;
}

.lab-link{
	display: flex;
	align-items:center;
	justify-content: center;
	text-align: center;
	background-color: #f1f1f1;
	font-family: "Nw";
	font-size: 24px;
	border-radius: 16px;
	color:#000;
	padding: 0 4vw;
	margin-left: 12px;
}

/*---------------------------------------------------*/
@media screen and (max-width:1380px) {

.portfolio-item{
	position: relative;
	width: calc(50% - 16px);
}	

/*---------------------------------------------------*/
@media screen and (max-width:1259px) {

	.slogan{
	}

	.image-content-wrap{
		padding: 0 16px;
	}

	.item-desc{
		width: 150px;
		height: 32px;
		font-size: 16px;
		padding:8px 8px 10px 22px;
		border-radius: 32px 0 0 0;
	}	

	.posts{
		flex-wrap: wrap;
	}

	.post, .lab-link{
		width: 30%;
		margin:0 12px 24px 12px;
	}
}


/*--------------------------------------------------------------------------*/
@media screen and (max-width:1024px) {

	.slogan{
	}

	.emoji{
		font-size: 32px;
	}


	h2{
		font-size: 24px;
		padding-top: 0;
		width: 60%;
	}

	.client-text{
		font-size: 17px;
	}

.portfolio-wrap:before{
 	margin: -40px auto 0 auto;
 	width: 240px;
 	height: 40px;
	}

	.list-font{
		font-size: 28px;
		width: auto;
	}

	.why:after{
 	margin: -54px auto 0 auto;
 	width: 240px;
 	height: 54px;
	}

	.services:after{
 	margin: -50px auto 0 auto;
 	width: 240px;
 	height: 50px;
	}

	.services .section-image{
		height: auto;
	}

	.services .section-content a{
		text-align: left;
	}

	.section-content div{
		font-size: 24px;
	}
}	

/*---------------------------------------------------*/
@media screen and (max-width:768px) {

	.image-content-wrap{
		flex-direction: column;
		align-items: center;
	}
	.section-image{
		max-width: 100%;
		padding-right: 0;
		justify-content: center;
	}

	.hero-section{
		flex-direction: column;
		padding-bottom: 5vh;
	}
	.hero-section div{
		width: 100%;
		height: auto;
	}

	.btn-transp{
	    margin:0;
	}
	.project{
		width: 100%;
	}
	.portfolio{
		padding: 0;
	}

	.services{
		flex-direction: column;
	}

	.service{
		width: auto;
		margin: 0 0 24px 0;
	}
	.service-img-wrap {
		width: 100%;
		max-height: 100%;
	}
	.service-img-wrap img {
		width: 70%;
		max-height: 100%;
	}

	section.posts{
		margin: 0;
	}

	.post{
		width: 46%;
		margin-bottom: 24px;
	}

	.lab-link{
		width: 44%;
	}
}
/*---------------------------------------------------*/
@media screen and (max-width:440px) {
	
.hero-section {
  background: url(image.jpg) center/cover no-repeat;
  animation: bg-move 30s infinite ease-in-out;
}

@keyframes bg-move {
  from   { background-position: center; }
  28%    { background-position: calc(100% - 16%); }
  72%    { background-position: calc(0% + 22%); }
  to     { background-position: center; }
}
	

.section-title{
	font-size: 42px;
}

.slogan-button-wrap{
	z-index: 0;
	margin-top: 24px;
	padding: 0 20px;
}

.slogan{
	font-size: 11vw;
	text-shadow: 0 0 8px hsl(0deg 0% 0% / 45%);
}

.emoji{
	font-size: 30px;
}

 h2{
 	padding-top: 24px;
 	color: white;
 	font-size: 16px;
 	line-height: 1.3;
 	width: 90%;
    margin: 0 auto;
 }

 .btn-transp{
 	padding: 12px 20px;
}
	.title{
	margin-top: 64px;
	margin-bottom: 42px;
	}

	.image-content-wrap{
		flex-direction: column;
		padding: 24px 16px;
	}

	.section-image{
		min-height: 0;
		margin-bottom: 24px;
	}

	.section-content div{
		width: 100%;
	}

	.wp-block-columns{
		flex-direction: column;
		height: auto;
	}

	.wp-block-columns figure{
		overflow: hidden;
	}

	.wp-block-column :not(.shadow-frame) > img{
		display: block;
		height: 100vw;
        width: fit-content;
	} 

	img.animate {
  animation: move 5s ease-in-out infinite alternate;
}

@keyframes move {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% + 100vw)); }
}

	.wp-block-columns .shadow-frame {
		margin: 5% 0;
}
.portfolio{
	padding: 0;
}	

.portfolio-item{
	width: 100%;
	margin:0 0 16px 0;
}

.item-desc{		
	width: 134px;
    height: 28px;
    font-size: 16px;
    padding: 6px 6px 6px 20px;
	font-size: 14px;
}

.why{	 
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}	

.section-image{	
	width: 100%; 
}	

.section-image img{	
	max-width: 92%; 
}

.section-content{
	width: 100%;
	bottom: 30px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	font-family: 'Poppins Regular';
	font-size: 20px;
	line-height: 1.3;
}

.section-content-item{
	align-items: center;
	border-radius: 64px;
	z-index: 1;
	border-radius: 50px;
	margin: 10px 12px;
}

.list-bold{
	font-size: 28px;
	font-family: 'Poppins Black';
}

.list-font-light{
  border: 2px #ffffff77 solid;
  box-shadow: none;
  background-color: #ffffff00;
}

.services .section-content div{
	margin: 12px;
}

.services .section-content a{
	text-align: center;
	color: white;
}

.post{
	margin: 0 6px 24px 6px
}

.clients:after{
 	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
 	margin: -32px auto 0 auto;
 	width: 142px;
 	height: 32px;
 	background: url('img/top-clients.png');
 	background-repeat: no-repeat;
 	background-size: contain;	
 }


.clients{
	font-family: 'Nw';	
	background-color: #FABC00;
	text-align: center;
	color:#401600;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 70px;
}

.clients:before{
	background-image: url('img/bg-clients.jpg'); 
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.28;
} 

.clients-list-wrap{
	width: 100%;
	flex-grow: 1;
	display: flex;
	align-items: center;
	align-self: center;
	align-content: center;
}	

.clients-list{
	width: 85%;
	font-family: 'Poppins Regular';
	font-size: 20px;
	line-height: 1.3;
	margin: 0 auto;
	margin-top: 35px;
}	

.client-logo{
	height: 150px;	
}

.client-name{
	line-height: 1.3;
	font-size: 20px;
	background-color: rgba(255,255,255,0.35);
	padding: 10px 20px;
	font-family: 'Chunkfive';	
}

.client-text{
	font-family: 'Poppins Regular';
	font-size: 15px;
	line-height: 1.5;
	padding: 10px 20px 0px 20px;
}

.client-logo{
	background-repeat: no-repeat;
	background-position: center center;
}

}