/* ============================================
                Font
============================================ */

@font-face {
  font-family: mainFont;
  src: url(../fonts/Open_Sans/static/OpenSans-Medium.ttf);
}

/* ============================================
                  Global
  ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: mainFont;
  background-color: #000;
}

html {
  font-size: 62.5%;
}

/* ============================================
                  Header
  ============================================ */

header {
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5% 0 5%;
  height: 5vh;
  padding-top: 10px;
}

header div a img {
  height: 32px;
  width: 32px;
}

header span {
  background-image: url(/assets/img/menu.png);
  background-position: center;
  height: 50px;
  width: 50px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* =================================
                Sidebar
===================================*/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.98);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#main {
  transition: margin-left 0.5s;
  padding: 20px 0 0 5%;
}

/* =================================
                Main
===================================*/

main {
  margin: 0;
  padding: 5%;
  min-height: 100vh;
  background-color: #000;
}

main h1 {
  font-size: 5rem;
  color: white;
  margin-bottom: 2%;
}

.contact-card {
  width: 100%;
  max-width: 50%;
  background-color: #000;
}

h2 {
  margin-top: 0;
  color: whitesmoke;
  font-size: 2rem;
}

.intro {
  color: #ccc;
  margin-bottom: 20px;
}

/* Formular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

label {
  font-size: 1.2rem;
  color: #bbb;
}

input,
textarea {
  background: #515151;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--fg);
  transition: border 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--hover);
  background: #151515;
}

button {
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: #111;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

button:hover {
  background: var(--hover);
  color: #ababab;
}

/* Kontaktinfos */
.contact-info p {
  margin: 6px 0;
  color: white;
  font-size: 1.5rem;
}
.contact-info strong {
  color: #aaa;
}

/* =================================
                Main
===================================*/

@media (max-width: 768px) {
  .contact-card {
    width: 100%;
    max-width: 100%;
  }
}
