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

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

:root {
    --color-primary: #fdce0f;
    --color-secondary: #f7f7f7;
    --color-accent: #000000;
    --color-text: #000000;
    --color-text-light: #ffffff;
    --color-background: #ffffff;
    --color-background-light: #f5f5f5;
    --color-border: #e2e2e2;

    --font-heading: 'Outfit', Arial, sans-serif;
    --font-body: 'Outfit', Arial, sans-serif;

    --container-width: 1280px;
    --section-space: 120px;
    --section-space-mobile: 72px;
    --radius-md: 8px;
}

* {
    box-sizing: border-box;
}

html {
    background-color: #171717;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    /*background: var(--color-primary);*/
    background: linear-gradient(to top, #000 0, #000 300px, #fdce0f 300px, #fdce0f 100%);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 110%;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
	margin-top:50px;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
	line-height: 125%;
}
blockquote p{
   font-size:23px;
    font-weight: 500 !important;
}
blockquote {
    padding-left: 0px;
    margin-left: 0px;
    margin-right: 0px;
}
a {
    color: inherit;
	font-weight:500;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
  .aligncenter {
    clear: both;
    border-radius: 30px;
} 
.tp-services-page .tp-services-body {

    max-width: 900px;
}
.tp-services-page .tp-services-body h2 {

   font-size:40px;
	width:65%;
}
.page-template-page-about .section > .container p, .page-template-page-about .section > .container h2, .page-template-page-about .section > .container h3  {
    
    max-width: 900px;
 
}
.container {
    width: 100%;
	max-width: 1400px;
    margin-inline: auto;
	padding:0px 5%;
}

.section {
    padding-block: var(--section-space);
}

.site-header,
.site-footer {
    padding-block: 10px;
}
/* Hoonest, Meist ja Teenused: ühesugune lehe päis ja pealkirja asetus. */
.page-template-page-hoonest .site-main > .section > .container > h1,
.page-template-page-about .site-main > .section > .container > h1,
.page-template-page-services .site-main > .section > .container > h1 {
    margin-top: 50px;
    margin-bottom: 5px;
}
.site-header {
    background: #fdce0f;
}
.page-id-64 .site-header {
    background: white !important;
}
.site-footer {
    border-top: 1px solid var(--color-border);
}

.site-main {
    min-height: 60vh;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.text-block-inside {
    max-width: 860px;
}

.block {
    width: 100%;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    padding: 12px 20px;
    color: var(--color-text-light);
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    text-decoration: none;
}

input,
select,
textarea,
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font: inherit;
}

.site-header__inside,
.site-footer__inside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img,
.custom-logo {
    width: auto;
    max-height: 40px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    top: 20px;
    left: 20px;
    z-index: 9999;
    padding: 10px;
    background: var(--color-background);
}
html {
    background-color: #171717;
}

.page-id-64 {
	background:white;
}
.page-id-64 .tp-root{
	
	margin: clamp(35px, 5vw, 75px) 0;
	
}

/* Responsive */
@media (max-width: 768px) {
	.site-header,
.site-footer {
    padding-block: 0px;
}
    .section {
        padding-block: var(--section-space-mobile);
    }

    .site-header__inside,
    .site-footer__inside {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        min-height: auto;
    }
	.tp-services-page .tp-services-body h2 {

   font-size:35px;
	width:75%;
}
}
