body {
	/*variables*/
	--header-height: 60px;
	--pl-yellow: #FEDD0F;
	--bg-gray: #161616;
	--light-gray: #252525;
	--dirty-white: #e7e7e7;
	--block-height: calc( var(--vh, 1vh) * 100 - var(--header-height,50px) );
	--font-medium: Kanit-Medium;
	--font-light: Kanit-Light;

	background-color: var(--bg-gray);
	margin: 0;
	padding-top: var(--header-height,50px);
	min-height: 100vh;
	box-sizing: border-box;

	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

/*_______________________ DEFAULT STYLES ________________________*/

p {
	font-family: var(--font-light);
	font-size: var(--font-24);
	color: white;
	margin: 0;
}

button, a {
	/*for button*/
	border: none;
	padding: 0;
	/*for link*/
	text-decoration:none;
	/*common*/
	color: black;
	background-color: white;
	font-family: var(--font-medium);
	font-size: var(--font-24);
	cursor: pointer;
	border-radius: 999px;
	padding: 10px 30px;
}

button:hover,
a:hover {
	background-color: #c2c2c2;
}

figure {
	margin: 0;
}

/*_______________________ POPUP WINDOW ________________________*/
.popup {
    position:fixed;
    left:0;
    top:0;
    z-index: 499;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(3px) brightness(70%);
    background-color: rgba(24, 24, 24, 0.863);
}

.popup .window {
    position: fixed;
    z-index: 500;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
	width: 80%;
    max-width: 500px;
    background-color: rgb(90, 90, 90);
    border-radius: 20px;

    display: flex;
    flex-flow: column;
    align-items: center;
    box-sizing: border-box;
    outline: solid 3px rgb(39, 39, 39);
    outline-offset: -3px;
    box-shadow: 5px 5px 5px rgb(0, 0, 0);
}

.popup .window p {
    margin: 30px;
}

.popup .window button {
	margin: 0px 30px;
	margin-bottom: 30px;
}

/*_______________________ CUSTOM CLASSES ________________________*/

.anchor {
	position: relative;
	top: calc(-1*var(--header-height));
}

.content-block {
    min-width: 0px;
    max-width: 1500px;
    width: 95%;
	margin-top: min(5%, 100px);
}

.content-block.margin-bottom {
	margin-bottom: min(8%, 150px);
}

.category-text {
	color: var(--pl-yellow);
	font-family: var(--font-medium);
	font-size: var(--font-36);
}

/*_____________________________ FONTS AND ADAPTIVE FONT SIZES ___________________________*/

@font-face {
	font-family: Kanit-Medium;
	src: url(../fonts/Kanit/Kanit-Medium.ttf);
}

@font-face {
	font-family: Kanit-Light;
	src: url(../fonts/Kanit/Kanit-Light.ttf);
}

body {
	--font-12: 12px;
	--font-16: 16px;
	--font-20: 20px;
	--font-24: 24px;
	--font-30: 30px;
	--font-36: 36px;
	--font-48: 48px;
}

@media only screen and (max-width: 1080px) {
	body {
		--font-12: 10px;
		--font-16: 13px;
		--font-20: 17px;
		--font-24: 20px;
		--font-30: 25px;
		--font-36: 30px;
		--font-48: 40px;
	}
}

@media only screen and (max-width: 600px) {
	body {
		--font-12: 8px;
		--font-16: 10px;
		--font-20: 14px;
		--font-24: 16px;
		--font-30: 20px;
		--font-36: 24px;
		--font-48: 32px;
	}
}

/*----------------------------------------------*/