* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  background-color: #54f0a2;
  color: #2c4299;

}

html {
  scroll-behavior: smooth;
}

header {
  width: 100%;
  padding: 5px;
  position: fixed;
  background-color: #33cff0;
  color: #2c4299;
  font-size: 30px;
  display: grid;
    grid-template-columns: 5fr repeat(5, 0fr);
}

header h1 {
  margin-left: 103px;
}

p {
  font-size: 20px;
}

header h1 {
  padding: 10px;
}

nav {
  position: relative;
  left: calc(100% - 700px);
  
}

nav ul li {
  padding: 10px;
  margin-top: 15px;
  display: inline-block;
}

nav a {
  color: #2c4299;
  text-decoration: none;
}

#banner {
  background-image: url(../img/banner.jpg);
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
}

#container {
  padding: 28px;
  display: grid;
  grid-column: 2 / 6;
  grid-row: 4 / 6;
}

pre {
  color: black;
}

button {
  width: 100%;
  height: 35px;
  display: inline-block ;
  padding: 25px 30px;
  font-weight: bold;
  text-align: center;
  border: 5px solid;
  border-radius: 1px;
  cursor: pointer;
  margin-bottom: 10px;
  border-color: rgb(0, 0, 0);
  background-color: #1f8bf0;
  border-bottom-color: #057793;
  border-right-color: #057793;
  text-wrap: nowrap;
}

button:hover,
button:focus {
  background-color: rgb(9, 99, 173);
  border-bottom-color: #02303b;
  border-right-color: #02303b;
}

section {
  text-align: center;
}

#about {
  padding: 20px;
}

#interests {
  margin: 30px;
  background-color: #5cd8f5;
  padding: 20px;
}

#interests img {
  
}

#contact {
  padding-top: 20px;
  background-color: #1f8bf0;
}

#contact img {
  width: auto;
  height: 70px;
  margin: 10px;
}

footer {
  background-color: #33cff0;
  padding-top: 50px;
  color: white;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-style: italic;
  padding-left: 50px;
  padding-bottom: 20px;
}

.fancy{
  display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
}

@media screen and (max-width:1175px) {
  header {
    position: relative;
    font-size: 19px;
    grid-template-columns: 1fr;
  }
  nav {
    left: 0px;
    top: 0px;
  }
  nav ul li {
    display: block;
  }
  .fancy {
    display: block;
  }
}
