﻿@font-face {
    font-family: "Roboto";
    src: url("/Fonts/Roboto-Regular.eot");
    src: url("/Fonts/Roboto-Regular.eot?#iefix") format('embedded-opentype'),
         url("/Fonts/Roboto-Regular.woff2") format('woff2'),
         url("/Fonts/Roboto-Regular.woff") format('woff'),
         url("../Fonts/Roboto-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}
html {
  scroll-behavior: smooth;
}
body {
    font-family: "Roboto";
    padding: 0;
    margin: 0;
    background-color:black;
    min-height: 100vh; 
    margin: 0; 
    
    display: grid;
    grid-template-rows: auto 1fr auto;
  }
footer{ 
min-height:50px; 
}
  
.logo {
max-width: 200px;
}

.navbar {
align-items: center;
background: black;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: row;
padding: 10px 50px;

}

.push-left {
margin-left: auto;
}

/* Menu */
.hamburger {
background: transparent;
border: none;
cursor: pointer;
display: none;
outline: none;
height: 30px;
position: relative;
width: 30px;
z-index: 1000;
}
@media screen and (max-width: 768px) {
.hamburger {
    display: inline-block;
}
}
.hamburger-line {
background: #272727;
height: 3px;
position: absolute;
left: 0;
transition: all 0.2s ease-out;
width: 100%;
}
.hamburger:hover .hamburger-line {
background: #777;
}
.hamburger-line-top {
top: 3px;
}
.menu-active .hamburger-line-top {
top: 50%;
transform: rotate(45deg) translatey(-50%);
}
.hamburger-line-middle {
top: 50%;
transform: translatey(-50%);
}
.menu-active .hamburger-line-middle {
left: 50%;
opacity: 0;
width: 0;
}
.hamburger-line-bottom {
bottom: 3px;
}
.menu-active .hamburger-line-bottom {
bottom: 50%;
transform: rotate(-45deg) translatey(50%);
}

.nav-menu {
display: flex;
list-style: none;
margin: 0;
padding: 0;
transition: all 0.25s ease-in;
}
@media screen and (max-width: 768px) {
.nav-menu {
    background: #fff;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translatey(-100%);
    text-align: center;
}
.menu-active .nav-menu {
    transform: translatey(0%);
    opacity: 1;
}
#LogoTontechnikWhite{
    display:block;
}
}
.nav-menu .menu-item a {
color: white;
display: block;
line-height: 30px;
margin: 0px 10px;
text-decoration: none;
text-transform: uppercase;
}

.nav-menu .menu-item a:hover {
color: white;
text-decoration: underline;
}
@media screen and (max-width: 768px) {
.nav-menu .menu-item a {
    color: black;
    display: block;
    line-height: 30px;
    font-size: 20px;
    margin: 8px;
    text-decoration: none;
    text-transform: uppercase;
}
.nav-menu .menu-item a:hover {
    color: black;
    text-decoration: underline;
}
}

.sub-nav {
border: 1px solid #ccc;
display: none;
position: absolute;
background-color: #fff;
padding: 5px 5px;
list-style: none;
width: 230px;
}
@media screen and (max-width: 768px) {
.sub-nav {
    position: relative;
    width: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}
}

.nav__link:hover + .sub-nav {
display: block;
}

.sub-nav:hover {
display: block;
}
#main-image{
position:relative;
}