@font-face {
  font-family: "title-font";
  src: url("fonts/title.ttf") format("truetype");
}
@font-face {
  font-family: "body";
  src: url("fonts/body.ttf") format("truetype");
}
@font-face {
  font-family: "header";
  src: url("fonts/header.woff2") format("woff2");
}

@media (prefers-color-scheme: dark) {
  body {
    background: black;
    color: #dcb;
    outline: 5px dashed #000;
  }
  a:link,
  a:visited {
    color: lightblue;
  }

  .logo {
    filter: invert(100);
  }
}

@media screen and (max-width: 900px) {
  .navbar li{
    list-style-position: inside;
    line-height: 30px;
    display: inline-block;
  }

  .contact-table th,
  .contact-table td {
    display: block;
    margin-right: 0; 
    padding: 10px;
  }
  .contact-table tr { display: block; float: left; }
}

body {
  font-family: "body";
  margin: 0;
  margin-top: 50px;
}

header {
  display: flex;
  justify-content: center;
  height: 10vh;
  flex: 1;
  font-family: "header";
  font-size: 150px;
}

a:link,
a:visited {
  text-decoration: none;
}

a {
  position: relative;
  color: red;
  text-decoration: none;
}

a:hover {
  color: gray;
}

a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1.5px;
  bottom: 0;
  left: 0;
  background-color: gray;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

a:hover::before {
  transform: scaleX(1);
}

nav * {
  list-style-type: none;
}
nav ul li {
  padding: 10px ;
  display: inline;
}
.navbar {
  text-align: center;
  flex: 2;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: "body";
  font-size: large;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.about {
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 70px;
}
.about-image {
  position: relative;
  flex: 3;
  text-align: center;
  justify-content: center;
}

.contact-table {
  margin: 0;
  display: flex;
  align-items: center;
  height: auto;
  justify-content: center;
  border-collapse: collapse;
  flex-direction: column;
}
.contact-table td {
  padding-left: 20px;
  padding-right: 20px;
  vertical-align: top;
}

.title-font {
  font-family: "title-font", sans-serif;
  font-weight: bold;
  font-size: x-large;
}

.contact-data {
  line-height: 150%;
  padding-top: 7px;
}

.menu-title {
  font-family: "title-font";
  font-weight: bold;
  font-size: x-large;
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  
}

.menu li {
  margin: 10px 0;
  text-align: center;
  font-family: title-font;
  
}

.menu-extra{
  font-style: italic;
  font-family:'Times New Roman', Times, serif  
}

footer {
  text-align: center;
  padding: 50px;
}
