/**
 * Alap: betűk, változók, alapstílusok, konténer.
 *
 * @package duna_group_web
 */

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-ExtraLight.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("../../fonts/Onest-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
	--blue: #2f6fd5;
	--blue-dark: #1f56ae;
	--text: #1d2733;
	--muted: #6d7a89;
	--white: #ffffff;
	--bg: #f2f4f7;
	--dark: #2e3136;
	--border: rgba(255, 255, 255, 0.16);
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
	--radius: 8px;
	--container: 1600px;
	--header-h: 86px;
	--transition: 0.35s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Onest", Arial, sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.5;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

img,
video {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

button {
	font: inherit;
	border: 0;
	background: none;
	cursor: pointer;
}

.container {
	width: min(100% - 80px, var(--container));
	margin-inline: auto;
}
