/*
Theme Name: Custom theme
Theme URI: https://custom.org
Author: @puravariedad
Author URI: https://custom.org
Description: Custom theme
Version: 1.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puravar
*/

:root {
    --primary: #17171c;
    --highlight: #fe19fe;
	--gray: #bdbdc7;
    --gray-dark: #070708;
    --bg: #ffffff;
	--radius: 8px;

	--font: 'FunnelSans', sans-serif;
	--font-heading: 'YoungSerif', serif;
}

@font-face {
    font-family: 'FunnelSans';
	src: url('assets/fonts/FunnelSans-Regular.woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'YoungSerif';
	src: url('assets/fonts/YoungSerif-Bold.woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'YoungSerif';
	src: url('assets/fonts/FunnelSans-Light.woff2');
	font-weight: Light;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'YoungSerif';
	src: url('assets/fonts/FunnelSans-LightItalic.woff2');
	font-weight: Light;
	font-style: italic;
	font-display: swap;
}
/*-----------------------------------------------------------------------------------*/
/*Main*/
/*-----------------------------------------------------------------------------------*/
body {
	font-family: var(--font);
	background: var(--bg);
	font-size: 18px;
	padding: 0;
	margin: 0;
	color: var(--primary);
	line-height: 1.3;
}
ol, ul {
	padding-left: 40px;
	margin: 1em 0
}
hr {
	height: 1px;
	background: var(--primary);
	margin: 2rem 0;
	outline: 0;
	border: 0!important;
}
/*-----------------------------------------------------------------------------------*/
/*Fonts*/
/*-----------------------------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: bold;
  line-height: 1.2;
}
p {
	margin: 1rem 0;
	line-height: 1.3;
}
a {
	color: var(--primary);
}
.small {
  font-size: 14px;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
.huge {
  font-size: 90px;
}

@media (max-width:768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 20px;
  }
  .huge {
    font-size: 50px;
  }
  .sm-px {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.text-center {
	text-align:center
}
.text-lg {
	font-size: 24px
}
.text-gray {
	color: var(--gray)
}
/*-----------------------------------------------------------------------------------*/
/*Buttons*/
/*-----------------------------------------------------------------------------------*/
.btn,
button {
    color: var(--bg);
	background: var(--primary);
	font-family: var(--font);
	border: none;
	padding: 1rem;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.1s ease-in-out;
	text-decoration: none;
	display: inline-block;
}
.btn {
	display: inline-block;
}

		
/*-----------------------------------------------------------------------------------*/
/*Grid*/
/*-----------------------------------------------------------------------------------*/	    
@media screen and (min-width: 780px) {
	.flex {
		display: flex;
	}
	.row {
		column-count: 2;
		column-gap: 1rem;
		column-rule: none;
	}
	.col_70 {
		width: 70%;
	}
	.col_60 {
		width: 60%;
	}
	.col_50 {
		width: 50%;
	}
	.col_40 {
		width: 40%;
	}
	.col_30 {
		width: 30%;
	}
	.col_20 {
		width: 20%;
	}		
}
@media screen and (min-width: 780px) {
	.flex-nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}
.container {
	max-width: 1180px;
	margin: 0 auto
}
.container_sm {
	max-width: 840px;
	margin: 0 auto
}
.gap-2 {
	gap: 2rem
}
/*-----------------------------------------------------------------------------------*/
/*General Elements*/
/*-----------------------------------------------------------------------------------*/
/* 
  ***********************************************
    *Header*
  ***********************************************
*/
.main-header {
	padding: 3rem 0 3rem 0
}
.logo {
	max-width: 200px;
}
.top-nav {
	position: absolute;
	top: 0.5rem;
	right: 1.5rem;
}
.main-nav .current-menu-item a {
	font-weight: 700;
}
.main-nav .brand--ct {
	display: block;
}
.btn-lang {
	padding: 0;
	background: var(--bg);
  	border: 1px solid var(--secondary);
  	color: var(--primary);
  	line-height: 1.2;
	list-style: none;
}
.btn-lang:hover {
	background: var(--secondary);
}
.btn-lang select {
	padding: 1rem;
	font-family: 'openrunde';
	background: none;
	border: 0;
	color: var(--primary);
}
.d-lg {
	background: var(--bg);
}
.main-header .lang-item:last-of-type {
	border-right: 1px solid #fff;
}
@media (min-width: 916px) {
	.main-header--inner {
		display: flex;
		justify-content: space-between;
	}
	.header_menu {
		display: flex;
    	align-items: center;
		justify-content: flex-end
	}
}
@media (max-width: 780px) {
	.main-nav {
		text-align: center;
	}
	.main-nav .brand--ct {
		margin: 1rem 0 1rem;
	}
}
/* 
  ***********************************************
    *Burger menu*
  ***********************************************
*/
.burgmenu {
	background: none;
    border: 0;
    outline: none;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 3.1rem;
    right: 1rem;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
.burgmenu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--bg);
    opacity: 1;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.burgmenu span:nth-child(1) {
    top: 0;
}
.burgmenu span:nth-child(2),
.burgmenu span:nth-child(3) {
    top: 12px;
}
.burgmenu span:nth-child(4) {
    top: 24px;
}
/* 
  ***********************************************
    *Open Menu*
  ***********************************************
*/
.openAction .burgmenu span:nth-child(1) {
    top: 24px;
    width: 0%;
    left: 50%;
}
.openAction .burgmenu span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 40px;
}
.openAction .burgmenu span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 40px;
}
.openAction .burgmenu span:nth-child(4) {
    top: 24px;
    width: 0%;
    left: 50%;
}
/* 
  ***********************************************
    *Footer*
  ***********************************************
*/
.main-footer {
	padding: 2rem 0
}
.footer-logo a {
	text-decoration: none;
}


/*-----------------------------------------------------------------------------------*/
/*Components*/
/*-----------------------------------------------------------------------------------*/
.menu--ct ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
  	gap: 1.5rem;
  	justify-content: center;
}
.menu--ct a {
	text-decoration: none;
}

.card {
	border: 1px solid var(--gray);
	border-radius: var(--radius);
	padding: 1.7rem;
	margin-bottom: 1rem;
	break-inside: avoid-column;
}
.card img {
	width: 100%;
}
.center {
	text-align: center
}
.sz-100 {
	width: 100%;
}
.mx-100px {
	max-width: 100px;
}

.separator {
	margin: 0.5rem 0
}

.spacer {
	margin: 4rem 0
}
	
.bg_primary {
	background: var(--primary);
	color: var(--bg);
}
.bg_primary a {
	color: var(--bg);
}
.bg_primary a:hover {
	color: var(--gray);
}

.mx-4 {
	margin: 3rem 0 4rem 0
}

/*-----------------------------------------------------------------------------------*/
/*Pages*/
/*-----------------------------------------------------------------------------------*/
/* 
  ***********************************************
    *Error page*
  ***********************************************
*/
.error404 {
	background: url('https://fairplayer.org/wp-content/uploads/2026/03/bg-musgo-darks-scaled.jpg') no-repeat;
	background-size: auto;
	color: var(--bg);
}
.error404 .bg_primary {
	background: transparent
}
.error404 a {
	color: var(--bg)
}

.error-container {
	position: relative;
	display: inline-block;
}
.error-ninot {
	position: absolute;
	right: 0;
	top: -50px
}
/* 
  ***********************************************
    *Home*
  ***********************************************
*/
.heroe {
	padding: 3rem 1rem;
}
.title--ct {
	margin-top: 0;
}
.heroe .flex {
	margin-top: 2rem
}
/*-----------------------------------------------------------------------------------*/
/*Mediaqueries*/
/*-----------------------------------------------------------------------------------*/
@media (min-width: 916px) {
    .header_anart .menu_anart ul {
        display: flex; 
        align-items: center;
        justify-content: center
    }
    .burgmenu {
        display: none;
    }
	.d-mobile {
		display: none;
	}
	.main_top {
		display: flex;
  		align-items: center;
	}
	.mx-4 {
		min-height: calc(100vh - 215px)
	}
}
@media (max-width: 916px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
        width: calc(100% - 2rem)
    }
    .header_anart .menu_anart li a {
        width: calc(100% - 4rem);
		display: block;
		margin: 1rem
    }
    .openAction .header_menu {
        height: 100vh;
        transform: scaleY(1);
    }
    .header_menu {
        background: var(--primary);
        overflow: hidden;
        position: absolute;
       	top: 100px;
		left: 0;
        width: 100%;
        height: 0;
        transform: scaleY(0);    
        transform-origin: top;
        transition: transform 0.26s ease;
        z-index: 9;
		text-align: center
    }
	.main-header .menu--ct ul {
		display: initial;
	}
	.main-header .menu--ct li {
		font-size: 1.5rem;
		margin-top: 1.5rem
	}
	.main-footer {
		text-align: center
	}
	.footer_link {
		padding: 1rem 0
	}

}