@charset "UTF-8";
/*!
Theme Name: Dilofar
Author: Dilofar
Author URI: 
Description: 
Version: 1.0.0
Requires at least: WordPress 5.3
Tested up to: WordPress 6.7
Requires PHP: 7.0
Text Domain: dilofar
Tags: 

*/


@font-face {
font-family: 'HKGrotesk';
src: url('fnt/HKGrotesk-Light.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'HKGrotesk';
src: url('fnt/HKGrotesk-LightItalic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'HKGrotesk';
src: url('fnt/HKGrotesk-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'HKGrotesk';
src: url('fnt/HKGrotesk-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
}
:root {
	--white: #ffffff;
	--accent: #00abe5;
	--accent-light: #98c23c;
	--gray: #818285;
	--gray-light: #c7c8ca;
	--black: #231f20;
	--widthpadding: calc((100% - 1280px) / 2 + 2rem);
	--widthpaddingsmaller: calc((100% - 960px) / 2 + 2rem);
	--small-padding: 0.5rem;
	--padding: 1rem;
	--border-radius: 0.5rem;
	--dropshadow: drop-shadow(0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
	--font: "HKGrotesk", sans-serif;
	--font-size: 21px;
}

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

::-webkit-scrollbar {
    width: 0.5rem;
    background: var(--accent);
}
::-webkit-scrollbar-track {
    background: var(--accent);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
}
* {
  scrollbar-color: var(--accent) var(black);
  scrollbar-width: thin;
}


html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: var(--font-size);
	font-family: var(--font);
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	scroll-behavior: smooth;

	color: var(--black);
	background-color: var(--white);

	background-image: url(img/bg-pattern.png);
	background-attachment: scroll;
	background-repeat: repeat;
	background-position: 0px 0px;
	background-size: auto;

}
h1,
h2,
h3,
h4,
h5 {
	font-weight: bold;
  font-weight: 600;
	color: var(--accent);
  text-align: center;
}
a,
a:visited {
  color: var(--accent);
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}
strong {
  font-weight: 600;
}
#header {
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  padding: 0 var(--widthpadding);
  z-index: 1000;
  backdrop-filter: blur(0.25rem);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.25);
}
#header-top {
	
}
.header-logo img {
  width: 12rem;
  height: auto;
}
#header h1 {
  margin: 0;
  width: max-content;
}
#header h1 a,
#header h1 a:visited,
#header h1 a:hover,
#header h1 a:focus,
#header h1 a:active {
  text-decoration: none;
  color: var(--accent)
}

#header-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
#header-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}
#header-menu ul a,
#header-menu ul a:visited {
  padding: var(--small-padding) var(--padding);
  text-decoration: none;
  color: var(--accent);
  font-weight: bold;
}

#header-menu ul a:hover,
#header-menu ul a:focus,
#header-menu ul a:active {
  text-decoration: underline;
}
#header-menu ul .social-icon a:hover,
#header-menu ul .social-icon a:focus,
#header-menu ul .social-icon a:active {
  text-decoration: none;
}

li.menu-icon {
	display: inline-block;
	width: 2rem;
	overflow: hidden;
	height: 2rem;
	background-position: center;
	background-size: 1.75rem;
	background-repeat: no-repeat;
	margin-top: -0.5rem;
}
li.menu-icon.menu-icon-home {
	background-image: url(img/icon-home.png);
}
li.menu-icon.menu-icon-login {
	background-image: url(img/icon-login.png);
}
li.menu-icon a {
	opacity: 0;
	
}

.menu-opener,
.menu-image {
  display: none;
}


.header-video {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.header-video img,
.header-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-video figure {
	margin: 0;
}
.header-video p {
	position: absolute;
	top: calc(100% / 3 * 2);
	left: 0;
	padding: 0;
	margin: 0 var(--widthpadding);
	font-weight: bold;
	color: var(--white);
	font-size: 3rem;
	display: flex;
	align-items: center;
	translate: 0 -50%;
}
.header-video p:after {
	content: "";
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	height: 0.25rem;
	width: calc(100% / 3 * 2);
	background: var(--white);
}
.contacts {
  /*background: var(--accent-light);
  color: var(--white);*/
  width: 100%;
  padding: var(--padding) var(--widthpadding);
}

.contacts a,
.contacts a:visited {
  color: var(--white);
  text-decoration: underline;
}
.contacts a:hover,
.contacts a:active,
.contacts a:focus {
  color: var(--white);
  text-decoration: none;
}
.contact-form,
.block-contact,
.wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}
main .wpcf7 {
  color: var(--white);
  background-color: var(--accent-light);
  padding: var(--padding);
  border-radius: var(--border-radius);
}

main .wpcf7 a,
main .wpcf7 a:visited {
  color: var(--white);
  text-decoration: underline;
}
main .wpcf7 a:active,
main .wpcf7 a:hover,
main .wpcf7 a:focus {
  color: var(--white);
  text-decoration: none;
}
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: var(--small-padding);
  border-radius: var(--border-radius);
  border: none;
  background: var(--white);
  margin: var(--small-padding) 0;
  
  font-family: var(--font);
  font-size: 1rem;
}
.wpcf7 input[type="checkbox"] {
  width: min-content;
}
.wpcf7 input[type="submit"] {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
}
.wpcf7 input[type="submit"]:hover {
  
  filter: brightness(110%);
}
.wpcf7-response-output {
  border: none !important;
  text-align: center;
  font-size: 1.5rem;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: bold;

}
#footer {
  background: var(--gray);
  width: 100%;
  padding: var(--padding) var(--widthpadding);
  color: var(--white);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.copyright {
  width: 100%;
  padding: var(--padding);
  font-size: 0.75rem;
  text-align: center;
}

main {
  padding: var(--padding) var(--widthpadding);
}
main:has(#landing-page-content) {
  padding: 0;
}
#landing-page-content {
	background: var(--white);
	padding: var(--padding) var(--widthpaddingsmaller);
	min-height: 50vh;
	display: flex;
	justify-content: center;
	flex-direction: column;
	font-size: 1.25rem;
}
#landing-page-content h1 {
	text-align: left;
	position: relative;
	font-size: 2rem;
	width: max-content;
	max-width: 100%;
}


#landing-page-content h1:after {
	content: "";
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	height: 0.25rem;
	width: calc(100% / 3 * 2);
	background: var(--accent);
}
hr {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
#menu-menu-rodape {
  list-style-type: none;
  padding: 0;
}


#menu-menu-rodape a,
#menu-menu-rodape a:visited {
  color: var(--white);
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
}
#menu-menu-rodape a:hover,
#menu-menu-rodape a:active,
#menu-menu-rodape a:focus {
  color: var(--white);
  text-decoration: underline;
}
.n2-ss-widget.nextend-arrow {
  filter: drop-shadow(0 0 0.1rem rgba(0,0,0,0.25)) !important;
}
.n2-bullet {
  background: var(--gray) !important;
}
.n2-active {
  background: var(--accent) !important;
}
.block-slider-quotes {
  background: var(--white);
  border-radius: var(--border-radius);
  margin: 4rem auto;
}

hr.wp-block-separator {
  border: none;
}

.wp-block-latest-posts__list li {
  padding: var(--padding);
  border: 1px var(--accent) solid;
  border-radius: var(--border-radius);
  background-color: var(--white);
  color: var(--gray);
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem !important;
  position: relative;
}
.wp-block-latest-posts__list li:after {
  content: "";
  z-index: 1000;
  position: absolute;
  top: -2rem;
  left: 50%;
  translate: -50%;
  width: 4rem;
  height: 4rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: url(img/icon-news.png);
  background-size: 2.5rem;
  background-position: center center;
  background-repeat: no-repeat;
}
.wp-block-latest-posts__featured-image {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  margin-bottom: 1rem;
}
.block-hero-image {
  width: 100%;
  /*aspect-ratio: 5/2;
  overflow: hidden;
  position: relative;*/
}
.block-hero-image img {
  /*position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
	
  translate: -50% -50%;
	*/
  width: 100%;
}
.block-portrait {
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: 0 0.25rem 0.5rem 0 rgba(0,0,0,0.1);
}
.block-portrait img {
  width: 100%;
}
.block-portrait figure {
  margin-top: 0;
  
  margin-bottom: 0;
}
.block-portrait p {
  padding: 0 0.5rem;
  text-align: center;
}
.post .entry-title {
  font-size: 2rem;
}
.post .entry-header time {
  text-align: center;
  width: 100%;
  display: block;
}
.entry-media {
  width: 100vw;
  left: 50%;
  position: relative;
  translate: -50vw;
  margin-top: -2rem;
}
body.page-template-default #main-content,
body.archive #main-content {
  padding: 1rem;
}
body.archive .entry-title {
  margin: 0;
  font-size: 1.25rem;
}
body.archive .entry-media {
  width: 100%;
  left: 0;
  translate: 0 0;
  margin: 1rem 0 !important;
}
body.archive .post-card-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
}
body.archive .post-card-list .post-card {
  max-width: calc(100% / 3 - 1rem);
  border: 1px solid var(--accent);
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--border-radius);  
}
.entry-media img {
  width: 100%;
  height: auto;
}
.entry-meta,
.navigation.post-navigation {
  display: none;
}
.entry-time {
  display: block;
  width: 100%;
  text-align: center;
}
.wp-block-latest-posts__list li .wp-block-latest-posts__post-title {
  font-size: 1.25rem;
  font-weight: bold;
}
.block-accent {
  padding: var(--padding);
  background-color: var(--accent-light);
  border-radius: var(--border-radius);
  color: var(--white);
  font-weight: bold;
}
.block-accent h2,
.block-accent h3,
.block-accent h4,
.block-accent h5,
.block-accent h1 {
  text-align: center;
  color: var(--white);
}
.block-accent p {
  text-align: center;
}
.block-accent img {
  width: 6rem;
  margin: 1rem auto;
}

.block-accent-outline {
  padding: var(--padding);
  border: 1px var(--accent) solid;
  border-radius: var(--border-radius);
  background-color: var(--white);
  color: var(--gray);
  font-weight: bold;
  margin-top: 2rem !important;
}
.block-accent-outline p {
  text-align: center;
}

.block-accent-outline .wp-block-image {
  background-color: var(--accent);
  padding: 1rem;
  border-radius: 50%;
  aspect-ratio: 1/1;
  margin: 1rem auto;
  width: 6rem;
  margin-top: -3rem;
  margin-bottom: 2rem;
}
.block-accent-outline img {
  width: 4rem;
}

.block-quote blockquote {
  background: var(--white);
  box-shadow: 0rem 0.125rem 0rem 0.25rem var(--accent);
  border-radius: var(--border-radius);
  padding: 2rem var(--padding) var(--padding) var(--padding);
  margin: 0;
  position: relative;
}
.block-quote blockquote::before {
  content: "❝";
  font-size: 6rem;
  color: var(--accent);
  position: absolute;
  top: -3rem;
}
.block-quote blockquote::after {
  content: "";
  border: 0.5rem solid transparent;
  border-left: 0.5rem solid var(--accent);
  width: 0;
  height: 0;
  padding: 0;
  border-top: 0.5rem solid var(--accent);
  font-size: 0;
  position: absolute;
  bottom: -1.25rem;
  left: 4rem;
}
.block-quote img {
  border-radius: 50%;
  background: var(--accent);
  border: 0.25rem solid var(--accent);
  width: 4rem;
  float: left;
  margin-top: 1rem;
}
.block-quote p {
  font-weight: bold;
  margin: 2.25rem 0 0 4.5rem;
}
.block-quote blockquote p {
  margin: 0;
  font-weight: normal;
}
.widget-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
}
.widget-whatsapp ul {
  margin: 0;
}

.widget-extra-script {
  display: none;
}

.landing-page-counter-section {
  width: 100%;
  padding: 1rem var(--widthpadding);
  height: 30vh;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}
.landing-page-counter-section .wp-block-group__inner-container {
	width: max-content;
}
.landing-page-counter-section p {
	margin: 0;
}
.landing-page-counter-section em {
	font-style: normal;
}
.landing-page-counter-section p.landing-page-counter-pre {
	margin-top: 0.5rem;
	font-size: 1rem;
}
.landing-page-counter-section p.landing-page-counter-current {
	margin-bottom: 0.5rem;
}

.landing-page-counter-1 {
	background-color: var(--accent);
	justify-content: flex-end;
	color: var(--white);
	
	background-image: url(img/counter-warehouse.webp);
	background-repeat: no-repeat;
	background-size: auto calc(100% * 21);
	background-position-y: top;
	background-position-x: left;
}
.landing-page-counter-1[data-on-screen="true"] {	
	animation: 1s landing-page-counter-1 steps(20) both 0.5s;
}
@keyframes landing-page-counter-1 {
	from	{background-position-y: calc(100% * 0);}
	to		{background-position-y: calc(100% * 1);}
}
.landing-page-counter-2 {
	background-color: var(--white);
	color: var(--accent);

	background-image: url(img/counter-boxes.webp);
	background-repeat: no-repeat;
	background-size: auto calc(100% * 26);
	background-position-y: top;
	background-position-x: right;
}
.landing-page-counter-2[data-on-screen="true"] {	
	animation: 1.5s landing-page-counter-2 steps(25) both 0.5s;
}
@keyframes landing-page-counter-2 {
	from	{background-position-y: calc(100% * 0);}
	to		{background-position-y: calc(100% * 1);}
}
.landing-page-counter-3 {
	background-color: var(--accent-light);
	justify-content: flex-end;
	color: var(--white);

	background-image: url(img/counter-vans.webp);
	background-repeat: no-repeat;
	background-size: auto calc(100% * 26);
	background-position-y: top;
	background-position-x: left;
}
.landing-page-counter-3[data-on-screen="true"] {	
	animation: 1.5s landing-page-counter-3 steps(25) both 0.5s;
}
@keyframes landing-page-counter-3 {
	from	{background-position-y: calc(100% * 0);}
	to		{background-position-y: calc(100% * 1);}
}
@media only screen and (max-width: 1280px) {
  :root {
    
	  --widthpadding: calc((100% - 960px) / 2 + 2rem);
	  --widthpaddingsmaller: calc((100% - 640px) / 2 + 2rem);
  }
}
@media only screen and (max-width: 960px) {
  :root {
    
	  --widthpadding: 1rem;
	  --widthpaddingsmaller: 2rem;
  }
}
@media only screen and (max-width: 960px) { /*Mobile Menu*/
  #header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.5s ease;
    padding: 0;
    gap: 2rem;
  }
  #header-menu:has(.menu-opener:checked) {
    height: 100%;
  }
  #header-menu #menu-menu-topo {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }  
  #header-menu #menu-menu-topo a{
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
  }
  #header-menu .widget-header-social ul {

    align-items: center;
    justify-content: center;
    max-height: 5rem;
    gap: 1rem;
  }
  
  #header-menu #menu-menu-topo,
  #header-menu .widget-header-social {
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  #header-menu:has(.menu-opener:checked) #menu-menu-topo,
  #header-menu:has(.menu-opener:checked) .widget-header-social {
    opacity: 1;
    pointer-events: all;
    transition: all 0.25s ease 0.5;
  }
  #header-menu .menu-opener,
  #header-menu .menu-image {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 4rem;
    height: 3rem;
  }
  
  
  #header-menu .menu-opener {
    opacity: 0;
    cursor: pointer;
  }
  #header-menu .menu-image {
    background-image: url(img/icon-menu.webp);
    pointer-events: none;
    background-size: 2rem;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 0.1rem rgba(0,0,0,0.25)) !important;
  }
  #header-menu:has(.menu-opener:checked) .menu-image {
    background-image: url(img/icon-menu-close-white.webp);
  }
}
@media (orientation: portrait) {
  :root {
    
	  --widthpadding: 1rem;
	  --widthpaddingsmaller: 1rem;
  }
  #header-top {
    flex-direction: column;
  }
  #footer {
    flex-direction: column;
  }
  .widget-header-horario {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .header-logo img {
    width: 12rem;
    max-width: 100%;
    height: auto;
  }
  
  body.archive .post-card-list { 
    flex-direction: column;
  }
  body.archive .post-card-list .post-card {
    max-width: 100%;
  }
  
  #cookie-bar { 
    flex-direction: column;
  }
  #cookie-bar h2 {
    text-align: center;
  }
  .cookie-button {
    min-width: 100%;
  }
  #cookie-refuse {
    order: 30;
  }
}

@media (min-width: 2560px) {
	:root {
		--font-size: 28px;
		--widthpadding: calc((100% - 1600px) / 2 + 2rem);
		--widthpaddingsmaller: calc((100% - 1280px) / 2 + 2rem);
	}
}
@media (min-width: 3840px) {
	:root {
		--font-size: 32px;
		--widthpadding: calc((100% - 1920px) / 2 + 2rem);
		--widthpaddingsmaller: calc((100% - 1600px) / 2 + 2rem);
	}
}
[hidden] { display: none !important; }