html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}
.header {
  background-image: url(img/header.png);
  background-size: cover;
  height: 300px;
  background-repeat: no-repeat;
}

/* Style the body */
body {
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  background: #f0f0f0;
}

h1 {
  font-size: 50px;
}

/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
.navbar {
  overflow: hidden;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  margin-top: -50px;
}

/* Style the navigation bar links */
.navbar a {
  float: left;
  display: block;
  color: #333333;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}


/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  color: black;
}

/* Active/current link */
.navbar a.active {
  background-color: #666;
  color: white;
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Column container */
.column {
  flex-direction: column;
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.logo {
  margin-top: -10px;
}
/* Main column */
.main {
  width: 60%;
  -ms-flex: 70%; /* IE10 */
  flex: 100%;
  background: #f0f0f0;
  padding: 20px;
  display: inline-block;
  text-align: center;
}

/* Fake image, just for this example */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Footer */
.footer {
  padding: 50px;

}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .main {
      width: 100%;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}
