/* Fonts */
@font-face {
    font-family: 'Milling Duplex 1mm';
    src: url('/wp-content/themes/kd/fonts/Milling-Duplex1mm.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Milling Duplex 1mm Italic';
    src: url('/wp-content/themes/kd/fonts/Milling-Duplex1mmItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Milling Triplex 1mm';
    src: url('/wp-content/themes/kd/fonts/Milling-Triplex1mm.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Milling Triplex 2mm';
    src: url('/wp-content/themes/kd/fonts/Milling-Triplex2mm.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Milling Triplex 25mm';
    src: url('/wp-content/themes/kd/fonts/Milling-Triplex25mm.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


:root {
    --white: #ffffff;
    --black: #000000;
    --green: #37b89a;
}

.fontHeader {
    font-family: 'Milling Triplex 25mm';
    font-size: 1vw;
    line-height: 1.15vw;
    text-transform: uppercase;
}

.fontTitle {
    font-family: 'Milling Triplex 25mm';
    font-size: 2.95vw;
    line-height: 4.4vw;
}

.fontTitle2 {
    font-family: 'Milling Duplex 1mm Italic';
    font-size: 2.95vw;
    line-height: 4.4vw;
}


/* Scroll */
html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

body,
html {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Sitewide */

* {
    min-width: 0;
}

body {
    margin: 0;
    padding-top: 0;
}

img,svg, video {
    max-width: 100%;
    width: 100%;
    display: block;
    height: auto;
}

h1,h2,h3,h4,h5,h6,p,a,span {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: normal;
}

p, li {
    margin-bottom: 1em;
}

figure {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

a {
    text-decoration: none;
    color: inherit;
}


ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
}

.hidden {
    display: none!important;
}

.main_width {
    padding-top: 3.2vw;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
}

.headerMenu {
    display: flex;
    border-bottom: 0.2vw solid var(--black);
    background-color: var(--white);
}

.headerMenu .menu-item {
    width: calc((99.6vw)/4);
    margin-bottom: 0;
}

.headerMenu .menu-item:nth-child(2),
.headerMenu .menu-item:nth-child(3),
.headerMenu .menu-item:nth-child(4) {
    border-left: 0.2vw solid var(--black);
    
}

.menu-item {
    list-style: none;
    position: relative;
}

.menu-item a,
.menu-item span {
    display: block;
    padding: 1vw;
    padding-left: 1.3vw;
}

.menu-item:hover a,
.menu-item:hover span {
    background-color: var(--green);
}

.current-menu-item::after {
    content: '';
    position: absolute;

    width: 1vw;
    height: 1vw;
    border-radius: 50%;
    background: #000;

    top: 50%;
    right: 1vw;
    transform: translateY(-50%);
}

/* Home */
.template_home  {
    padding-bottom: 3.15vw;
}

.homeHero { 
    width: 100vw;
    height: calc(100vh - 6.5vw);
}


.homeHero img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.homeFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 0.2vw solid var(--black);
    width: 100vw;
    z-index: 2;
    background-color: var(--white);
}

.homeFooterContainer {
    display: flex;
}

.homeFooter .fontHeader {
    padding: 1vw;
}

.homeFooterLeft {
    width: 85.8vw;
}

.homeFooterRight {
    width: 14vw;
    border-left: 0.2vw solid var(--black);
}

.homePost {
    display: flex;
    border-top: 0.2vw solid var(--black);
    justify-content: space-between;
    background-color: var(--white);
}

.homePost:hover {
    background-color: var(--green);
}

.homePost:last-child {
    border-bottom: 0.2vw solid var(--black);
}

.homePostTitle {
    display: flex;
    padding: 1.3vw;
    gap: 1vw;
}

.homePostYear {
    width: 2.34vw;
    border-left: 0.2vw solid var(--black);
    background-color: var(--white);
}

.homePostYear .fontHeader {
    transform: rotate( 270deg) translate(-115%, 0%);
}