/* FONTS */

html,
body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  line-height: 1.4;
  color: #000000;
  -webkit-tap-highlight-color: transparent;
}

h1, .label {
  font-weight: 600;
}

.dropdown_menu {
  font-size: 50px;
  line-height: 1.5;
}

h1 {
  font-size: 21px;
  margin-bottom: 15px;
}

h2 {
  font-size: inherit;
  font-weight: 600;
}

.beschriftung {
  font-size: 17px;
}

.navbar ul li a{
  font-size: 21px;
}

.grau, footer {
  color: #a2a2a2;
}

.banner, .contact {
  font-size: 40px;
  line-height: 1.15;
}

.link {
  transition: .2s;
} 

.link:hover {
  color: #cd0000;
  transition: .2s;
} 

/* LAYOUT */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  background-color: #ffffff;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

main {
  flex-grow: 1;
  min-height: calc(100vh - 120px);
  margin-bottom: 50px;
  padding: 0 35px;
}

.noSelect {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.noSelect:focus {
  outline: none !important;
}

/* NAVBAR */

header {
  position: fixed;
  top: 0;
  padding: 25px 35px;
  width: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  z-index: 10;
}

.logo img {
  width: 150px;
}

.navbar {
  display: flex;
  justify-content:space-between;
}

.navbar ul li {
  float: left;
}

.navbar ul li a {
  margin-left: 20px;
}

.navbar ul li a:hover {
  color: #cd0000;
  transition: .2s;
}

.navbar ul li a {
  color: #000000;
  transition: .2s;
}

#menu {
  visibility: hidden;
  position: absolute;
  cursor: pointer;
  color: #000000;
}

.dropdown_menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  background-color: #ffffffee;
}

.dropdown_menu.open {
  height: 100vh;
  width: 100%;
  z-index: -1;
}

.dropdown_menu ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* FOOTER */

body > footer {
  position: sticky;
  top: 100vh;
}

.footer {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 20px 35px;
}

footer ul li {
float: left;
}

footer ul li:last-child {
  margin-left: 20px;
  }

footer a img {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* INDEX */

.banner, .contact {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

/* PROFIL, KONTAKT */

.text {
  max-width: 1000px;
  margin-top: 150px;
  text-align: left;
}

.profil_text {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 150px;
  text-align: left;
}

#profile {
 text-align: center;
}

#profile img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.info {
  margin: 150px auto;
}

/* PROJECT */

#customers {
  margin: 0 auto;
  border-collapse: collapse;
  width: auto;
}

#customers td, #customers th {
  border-bottom: 1px solid #000000;
  padding: 8px;
}

#customers tr:hover:not(:first-child) {
  color: #cd0000;
  transition: .2s;
  cursor: pointer;
  
}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
}

/* RESPONSIVE */

@media (max-width: 1500px) {
  header, main, .footer {
    padding: 20px 35px;
   }
}

@media (max-width: 1200px) {
  #customers {
    width: 100%;
    font-size: 1.4vw;
   }
}

@media (max-width: 1000px) {
  .banner, .contact {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .navbar ul li a {
    visibility: hidden;
    position: absolute;
  }

  #menu {
    visibility: visible;
    position: relative;
  }
  .logo img {
    width: 110px;
  }

  .navbar ul li a{
    font-size: 19px;
  }

  .footer {
    font-size: 17px;
  }

  .info {
    margin: 100px auto;
  }

  .profil_text {
    margin-top: 100px;
  }

  #customers td, #customers th {
    border-bottom: 0.5px solid #545454;
    padding: 4px;
  }
}

@media (max-width: 700px) {
 header, main, .footer {
  padding: 20px 20px;
 }

  .dropdown_menu {
    font-size: 8vw;
  }
}

@media (max-width: 650px) {
  .banner, .contact {
    font-size: 19px;
  }
 }

@media (max-width: 450px) {
  body {
    font-size: 17px;
  }

header {
  padding: 15px 20px;
}

.navbar ul li a, h1{
    font-size: 20px;
  }

  #profile img {
    max-height: 90vh;
  }
  .banner, .contact {
    font-size: inherit;
  }
}

@media (max-width: 300px) {
  
  html, body {
    font-size: 16px;
  }

  .dropdown_menu {
    font-size: 10vw;
  }
}
