/*
    Theme Name: Fansport 2025; 
    Author: Valju Aloel
    Author URI: http://aloel.ee/
    Description: Suusalaenutuse teema, üks tulp, sobib ka mobiilile
    Version: 2.0.0
*/
@font-face {
	font-family:"fira-sans";
	src:url("https://use.typekit.net/af/8b0c66/00000000000000007735a3a4/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/8b0c66/00000000000000007735a3a4/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/8b0c66/00000000000000007735a3a4/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
	font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
	}
	
	@font-face {
	font-family:"fira-sans";
	src:url("https://use.typekit.net/af/31da61/00000000000000007735a3a7/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),url("https://use.typekit.net/af/31da61/00000000000000007735a3a7/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),url("https://use.typekit.net/af/31da61/00000000000000007735a3a7/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
	font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
	}
	
	@font-face {
	font-family:"fira-sans";
	src:url("https://use.typekit.net/af/f42564/00000000000000007735a3b1/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/f42564/00000000000000007735a3b1/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/f42564/00000000000000007735a3b1/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
	font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
	}
	
	@font-face {
	font-family:"zuume";
	src:url("https://use.typekit.net/af/67dd18/0000000000000000774d3f4f/31/l?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=i9&v=3") format("woff2"),url("https://use.typekit.net/af/67dd18/0000000000000000774d3f4f/31/d?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=i9&v=3") format("woff"),url("https://use.typekit.net/af/67dd18/0000000000000000774d3f4f/31/a?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=i9&v=3") format("opentype");
	font-display:swap;font-style:italic;font-weight:900;font-stretch:normal;
	}

:root {
    --punane: #FF4100;
    --logosinine: #0075bf;
    --kollane: #FFBC00;
    --hele: #edf8ff7d;
    --sinine: #34457c;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    min-height: 100lvh;
    font-family: fira-sans, system-ui;
    font-weight: 400;
    background-color: var(--hele);
	color: #333;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

h1 {
	height: 0;
	width: 0;
	overflow: hidden;
	text-indent: -9999px;
	position: absolute;
	}


h2,
h3,
h4,
h5,
h6, 
strong {
    text-wrap: balance; color: var(--sinine);
}

h2, dt {
    font-size: 150%;
	font-weight: 200;
	text-transform: uppercase;
	letter-spacing: -0.022em;
	margin-block-start: 2rem;
}

h3 {
    font-size: 140%;
}

h4 {
    font-size: 130%;
}

article :is(p, li, dt) {
    text-wrap: pretty;
}

a,
a:visited {
    text-decoration: none;
}



#kontakt {
	display: grid;
	justify-content: end;
	gap: 2px;
}

#kontakt a {
	color: var(--logosinine);
	background: var(--kollane);
	padding-inline: 1rem;
	display: flex;
	min-height: 48px;
	place-items: center;
}

#kontakt a:hover {
	background: var(--logosinine);
	color: #fff;
}

#keeled {
	display: flex;
	justify-content: end;
	margin-block: 1vh 3.24vh;
}

.site-header {
	background-image: url(pildid/Snowboard-Snow.jpg);
	background-size: cover;
	background-position-x: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-position-y: bottom;
}

.logo * {
    margin: 0;
    padding: 0;
}
.site-name {
	color: var(--sinine);
	text-align: center;
	margin-block-end: 1rem;
	font-size: min(3.6vw, 16px);
	text-transform: uppercase;
	padding-inline-end: .9rem;
}


/* Fan-Sport */


.site-description {
	font-family: "zuume", sans-serif;
	font-size: min(28vw, 140px);
	letter-spacing: 0.018em;
	text-align: center;
	line-height: .7;
}

/*

.site-description * {
    text-decoration-line: underline;
    text-decoration-thickness: 1vw;
}
    
*/

fan {
    color: var(--punane);
    text-decoration-color: var(--logosinine);
}

sport {
    color: var(--sinine);
    text-decoration-color: var(--punane);
}


/* Menüü */



#menu-lang {
	list-style: none;
	margin-block: 0;
	padding: 0;
	display: grid;
	width: max-content;

	gap: 2px;

}

.menu-item a {
	min-height: 48px;
	display: flex;
	place-items: center;
	color: #000;
	background: #34457c29;
	aspect-ratio: 1;
	place-content: center;
}

.menu-item a:hover {
	background: #34457c;
	color: #fff;
}

.menu-item a:active {
	background: #34457c;
	color: #fff;
}

article {line-height: 1.62;}

article :is( h2, h3, h4, h5, h6, p) {
	margin-block-end: 0;
	padding-inline: 1rem;
}

article :is( h2, dt) {
	background: var(--sinine);
	color: #fff;
	width: max-content;
}

#post-95 p:first-of-type strong {font-size: 100%;}

strong {
	color: var(--logosinine);
}

.wp-block-image.size-full {
	margin-block: 1rem;
}

iframe {
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-block: 1rem;
	border: none;
}
.wp-block-table {
	margin-block: 1rem;
}

.wp-block-table td {
	text-align: end;
	padding-inline-end: .8rem;
	border-color: #34457c21;
}
.wp-block-table thead {
	border: 0;
	color: var(--sinine);
}
.wp-block-table th {
	font-weight: normal;
	min-width: 4rem;
	border-color: #34457c21;
}

.muugil dt {
	padding-inline: 1rem;
}
