:root {
  interpolate-size: allow-keywords;
}

.noselect, .btns {
  -webkit-touch-callout: none; /* iOS Safari, mobiles */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

:not(:root::focus-within) ::selection {
  background: #3b58be;
  color: #fff;
  opacity: 1;
} 

:focus-visible {
	outline: 2px solid #185abc;
	outline-offset: 2px;
}


* {
	box-sizing: border-box;
}
a {
	color: currentColor;
	text-decoration: none;
}	

body, html {
	font-size: 1em;     
	font-family: Arial,Helvetica,sans-serif;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	height: 100vh;
	height: -webkit-fill-available;
	height: 100dvh;
	overflow: hidden;
}
body {
	margin:0; 
	font-size: 1rem;
	overflow: hidden;
	overflow-y: scroll;
/*	scroll-snap-type: y mandatory; */
	scroll-snap-type: y proximity;
	--sbw: 0px;
	--hh: 65px;
}
body:focus-within {
	scroll-behavior: smooth;
}
@media (min-width: 1180px) {
	body {
		--hh: 100px;
	}
}	
@media (min-width: 600px) {
	body {
		/* scroll-snap-type: y proximity; */
		--sbw: 17px;
	}
} 


section {
	scroll-snap-align: start;
	contain: content;
	
	min-height: 100vh;
	min-height: 100dvh;
	padding: var(--hh) 20px 0;
	background: #fff;
	
	position: relative;
	z-index: 1;
}
@media (max-width: 600px){
 section:last-of-type {
	padding-bottom: calc(var(--hh) - 10px);
 }
}
section > div {
    min-height: calc(100vh - var(--hh));
    min-height: calc(100dvh - var(--hh));
    width: 100%;
    max-width: 1240px;
    margin: auto;
}
section, section > div {	
/*	transition: min-height 0.3s 0.2s ease-out; */
}	

section.carousel, section.carousel > div {
	height: 100%;
}
section.carousel > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2vh 0 3.4vh;
}

h2 {
    font: 600 1.4rem "Helvetica_Normal", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}
@media (min-width: 340px) and (min-height: 600px) {	
	h2 {
		font-size: 1.6rem;
		font-weight: 500;
	}	
}
@media (min-width: 700px) and (min-height: 700px) {	
	h2 {
		font-size: 1.8rem;
/*		letter-spacing: 1px;	*/
	}	
}
@media (min-width: 1180px) and (min-height: 700px) {	
	h2 {
		font-size: 2.4rem;
	}	
}
@media (min-width: 1024px) and (min-height: 600px) {
 @supports (animation-timeline: scroll()) {
	h2 {
		filter: grayscale(100%) brightness(0);
		transition: filter .3s 60s ease-out;
	}
	section {
		--show-colors: false;
		
/*		view-timeline: --h2-tl; */
		animation: show_colors steps(1) forwards;
		animation-timeline: view();	/*--h2-tl;*/
		animation-range-end: entry 100%;
	}
	@keyframes show_colors {
		to {
			--show-colors: true;
		}
	}
	@container style(--show-colors: true) {
		h2 {
			filter: grayscale(0%) brightness(1);
			transition-delay: 0s;
		}
	}
 }
}

span.r {
	color: #f11d19;
}
span.g {
	color: #1e8e3e;
}
span.b {
	color: #2039ad;
}
.nobr {
	white-space: nowrap;
}

.go-top {
    position: fixed;
    bottom: 3vh;
    right: 37px;
	right: calc(20px + var(--sbw));
    width: 50px;
    height: 50px;
    border-radius: 100%;
    padding: 10px;
	background: rgb(0 65 125 / 20%) url("/pic/icons.svg#arrow-u") 50%/30px no-repeat;
	z-index: 2;
}
.go-top:hover {
	background-image: url("/pic/icons.svg#arrow-ub");
}
.go-top:active {
	border: 2px solid #185abc;
}

@supports (animation-timeline: scroll()) {
	body {
		timeline-scope: --section2-tl;
	}
	section:nth-of-type(2) {
		view-timeline: --section2-tl block;
	}

    .go-top {
		animation: show-arrow .1ms linear both;
		animation-timeline: --section2-tl;
		animation-range: entry 50%;		
	}
	@keyframes show-arrow {
		0% {
		  opacity: 0;
		  scale: 0;
		}
		10% {
		  opacity: 1;
		  scale: 1;
		}
	}	
}

.mail_wiget {
	margin-bottom: 20px;
	color: #1967d2;
	font: 500 .8rem "Roboto", Helvetica, Arial, sans-serif;
	font-weight: 500;
	text-align: center;
}	
.email {
    position: relative;
    padding-left: 30px;
}
.email:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1em;
    background: currentColor;
    mask: url(/pic/xicons.svg#email-icon) 0 / 22px 100% no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}
@media (min-width: 700px) and (min-height: 700px) {	
 .mail_wiget {
	font-size: 1rem;
 }
}

.underlined {
	border-bottom: 1px solid #ddd;
}
.number {
	word-spacing: -0.1em;
	white-space: nowrap;
}