:root {
	--red:#f02138;
	--pink:#fc7281;
	--global_padding:7.5vw;
	--nav_width:300px;
	--ease_out:cubic-bezier(.14,.7,.32,1);
	interpolate-size: allow-keywords;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

* {
    padding:0;
    margin:0;
    box-sizing: border-box;
	font-family:inherit;
	color:inherit;
}

*:focus-visible {
	outline:1px solid var(--red);
}

img {
	display:block;
	max-width:100%;
}

::selection {
	background-color:var(--red);
	color:#222;
}

.container,
.image {
	container-type: inline-size;
}

.skip-nav-link {
	position:absolute;
	left:1rem;
	top:0;
	background-color:#000;
	color:#fff;
	padding:0.5rem 1.5rem;
	border-radius: 0 0 0.25rem 0.25rem;
	z-index:100;
	transform:translateY(-120%);
	transition:transform 0.325s ease-out;
}

	.skip-nav-link:focus {
		transform:translateY(0);
	}

.wrap {
  position:relative;
  width:min(calc(1300px + 2rem),100%);
  padding:0 1rem;
  max-width:100%;
  margin:0 auto;
  clear:both;
}

#burger,
#dot-circle {
  display:none;
}

body {
    font-size:62.5%;
    font-family: "Montserrat", sans-serif;
  	font-optical-sizing: auto;
    color:#222;
}

header {
	position:fixed;
	top:0;
	left:0;
    width:100%;
    padding:1rem var(--global_padding);
	background-color:#fff;
	z-index:10;
	transition:padding 0.25s ease-out, border 0.25s ease-out;
	border-bottom:1px solid transparent;
}

    nav {
		float:right;
    }
  
		nav ul {
			list-style: none;
		}

			nav li {
				float:left;
			}

				nav li a {
					float:left;
					text-decoration:none;
					font-size:0.8rem;
					font-weight:500;
					letter-spacing: 0.2em;
					text-transform: uppercase;
					padding:1.7em 1.5em;
					transition:padding 0.25s ease-out;
				}

					nav li a:hover,
					nav .active {
						color:var(--red);
					}

    #logo {
		float:left;
		width:150px;
		transition:width 0.25s ease-out;
		user-select: none;
    }
  
		#logo img {
			width:100%;
		}

	

		header.small {
			padding-block:0.5rem;
			border-bottom:1px solid #eee;
		}

		.small #logo {
			width:100px;
		}

		@media screen and (min-width:1000px){

			.small nav li a {
				padding-block:1em;
			}

		}

.flex {
  display:-webkit-flex;
  display:flex;
  -webkit-flex-direction:row;
  flex-direction:row;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap;
}

.fcw {
  float:left;
  clear:left;
  width:100%;
}

h1,h2,h3,h4,h5,h6 {
	margin-bottom:1em;
	line-height:1.2;
}

main {
	padding-top:93px;
}

  main :is(h2,h3,h4,h5,h6) {
    font-size:2.5rem;
  }

  .title {
  	color:var(--red);
  }

main h3 {
	font-size:3.6em;
}

main h4 {
	font-size:3.2em;
}

main h5 {
	font-size:2.8em;
}

main h6 {
	font-size:2.4em;
}

main p,
main li{
	font-size:1.4em;
	line-height:1.6;
	margin-bottom:1em;
}

main ul,
main ol {
	margin:2em;
}

  main li {
    padding-left:1em;
  }

  main li li,
  main li p {
  	font-size:1em;
  }

main ul {
	list-style-image: url('../img/bullet.svg');
}

main td li {
	font-size:1em;
}

.align_left {
  float:left;
}

.align_right {
  float:right;
}

.align_center {
  text-align: center;
}

img.align_left {
  margin:5px 10px 10px 0;
}

img.align_right {
  margin:5px 0 10px 10px;
}

img.align_center {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

input,
textarea,
label,
hr{
	float:left;
	clear:left;
	width:100%;
	margin-bottom:1em;
}

input,
textarea {
	background-color:#f1f4f4;
	border:1px solid #dee1e1;
	padding:0.5em;
	font-size:1.4em;
}

.robot input {
	float:left;
	width:12px;
	margin-right:1em;
}

input[type="submit"] {
	float:left;
	clear:left;
	text-decoration: none;
	cursor: pointer;
	border:none;
	outline:none;
}

.errortext {
	color:red;
	font-weight:bold;
}

.left {
	float:left;
}

.right {
	float:right;
}

#pt1 {
	position:absolute;
	left:10%;
	top:0;
	width:12%;
}

#pt2 {
	position:absolute;
	right:2%;
	bottom:9em;
	width:12%;
}

#pt3 {
	position:absolute;
	left:0;
	bottom:0;
	width:15%;
	
}

.red-btn {
    display:inline-block;
    font-size:1.2em;
    text-transform: uppercase;
    color:#fff;
    background-color:var(--red);
    text-decoration: none;
    padding:1em 2em;
    margin-top:2.5%;
    letter-spacing: 0.1em;
	border-radius:3px;
	transition:background-color 0.25s ease-out, color 0.25s ease-out;
 }

 	.red-btn:hover {
		background-color: #eee;
		color:#333;
	}

 	td .red-btn {
 		font-size:1em;
 	}
  
footer {
	float:left;
  	clear:both;
  	width:100%;
  	background-color:#222;
  	color:#fff;
  	padding:5% 0 2.5%;
}

	footer .blocks {
		display:grid;
		grid-template-columns: repeat(4,1fr);
		grid-gap:3em;
		text-align: center;
		padding:0 5% 0 0;
	}

		.flinks,
		.address {
			margin-top:6%;
		}

		.flinks a {
			float:left;
			clear:left;
			width:100%;
			font-size:1.1em;
			margin-bottom:0.5em;
			text-decoration: none;
		}

			.flinks a:hover {
				color:var(--red);
			}

	.flogo img {
		margin-bottom:2em;
		width:min(100%,200px);
		margin-inline:auto;
	}

	footer h2,
	footer h3 {
		color:var(--red);
		font-size:3em;
	}

	footer p {
		font-size:1.1em;
		line-height: 1.6;
		margin-bottom:1em;
	}

	footer .copyright {
		width:100%;
		font-size:1em;
		margin-top:3em;
		color:#666;
	}

	.social {
		margin-top:2.5%;
		text-align:center;
	}

		.social a {
			display:inline-block;
			width:30px;
			margin:0.5em;
		}

.fade_up,
.slide_from_left,
.slide_from_right {
	opacity:0;
}

.fade_up.run {
	animation-name: fade_up;
	animation-duration: 0.75s;
	animation-iteration-count:1;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(.36,1.59,.35,1.01);
}

.slide_from_left.run {
	animation-name: slide_from_left;
	animation-duration: 0.75s;
	animation-iteration-count:1;
	animation-fill-mode: forwards;
	animation-timing-function: var(--ease_out);
}

.slide_from_right.run {
	animation-name: slide_from_right;
	animation-duration: 0.75s;
	animation-iteration-count:1;
	animation-fill-mode: forwards;
	animation-timing-function: var(--ease_out);
}

@keyframes fade_up {
	0% {opacity: 0; transform: translateY(100px);}
	100%{opacity:1; transform: translateY(0);}
}
@keyframes slide_from_left {
	0% {opacity: 0; transform: translateX(-100px);}
	100%{opacity:1; transform: translateX(0);}
}
@keyframes slide_from_right {
	0% {opacity: 0; transform: translateX(100px);}
	100%{opacity:1; transform: translateX(0);}
}

@media screen and (max-width:1300px){
	header .wrap {
		display:contents;
	}
}

@media screen and (max-width:1100px) {

	header {
		display:Grid;
		grid-template-columns: 1fr 4rem;
		align-items: center;
	}

		header .wrap {
			display:contents;
		}

	#dot-circle {
		display:block;
		position:Absolute;
		width:100%;
		left:-60%;
		opacity:1;
		z-index:1;
		transition: opacity 1s ease;
	}

	nav {
		position:fixed;
		display:grid;
		align-items:center;
		width:var(--nav_width);
		max-width:calc(86vw - 40px);
		top:0;
		height:100%;
		background-color:#222;
		border-right:1px solid #333;
		padding:2rem;
		left:calc(-1 * var(--nav_width));
		transition:left 0.2s var(--ease_out);

		& ul {
			width:100%;
			position:relative;
			z-index:2;

			& li {
				width:100%;

				& a {
					width:100%;
					text-align:right;
					padding:0.5rem 0;
					color:#fff;
				}
			}
		}
	}
  
	#burger:has(input:checked) ~ nav {
		left:0;
		margin:0;
	}

	#burger {
		position:relative;
		display:block;
		float:right;
		width:100%;
		z-index: 6;
		margin:0;
	}

		#burger input {
			float:right;
			position:absolute;
			width:100%;
			height:100%;
			cursor:pointer;
			opacity:0;
			margin:0;
		}

		#burger img {
			float:right;
			height:35px;
		}
}

@media screen and (max-width:850px) {
	footer .blocks {
		grid-template-columns: repeat(2,1fr);
		text-align:left;
	}

	.flogo img {
		margin-left:0;
	}
}

@media screen and (max-width:600px) {
	footer {
		padding:5rem var(--global_padding);
	}

	footer .wrap {
		padding:0;
	}

	footer .blocks {
		grid-template-columns: repeat(1,1fr);
		padding:0;
	}

	footer .social a {
		float:left;
		margin-left:0;
	}
}

@media screen and (max-width:500px) {
	:root {
		--global_padding:1.5rem;
	}
}

@media screen and (max-width:350px) {

	nav {
		padding:1rem;
	}

	#dot-circle {
		opacity:0.35;
	}
}