#wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 175px)) minmax(0, 1fr);
}

body {
  background: linear-gradient(180deg, #97D9E1 0%, #D9AFD9 100%);
  background-attachment: fixed;
}

h2 {
  border-bottom: 2px solid purple;
  font-family: Lato;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 20px;
  color: #333; 
}


header {
  grid-column: 1 ;
  align-items: flex-start;
  color: white; 
  padding: 20px; 
  display: flex;
  justify-content: center; 
}

nav ul li:not(#logo) a {
  text-decoration: none;
  color: white;
  transition: background-color 0.3s;
  padding: 5px;
  display: flex;
}

nav ul li:not(#logo) a:hover {
  background-color: white;
  color: #333;
}

nav {
  
  display: flex;
  flex-direction: column; 
  font-family: Lato;
font-size: 14px;
font-weight: 700;
line-height: 17px;
letter-spacing: 0em;
text-align: left;

}

#logo {
  max-width: 100%; 
}

ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column; 
  align-items: flex-start; 
}

li {
  margin-bottom: 10px; 
}

main {
  grid-column: 2 / -2; 
  padding: 20px; 
  background-color: white; 
}

p {
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0em;
  
}

.side {
 float: right;
  max-width: 100%;
  height: auto;
  margin-left: 20px;
  
}

footer {
  grid-column: 1 / -1; 
  color: white; 
  text-align: center;
  font-family: Lato;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0em;
  padding: 20px;
}


@media only screen and (max-width: 960px) {
  .side {
    float: none;
    width: 100%;
    align-items: center;
  }

  #wrapper {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: row; 
    align-items: center;
    text-align: center;

  }

  #logo {
    align-self: center;
  }

  nav ul{
    flex-direction: row;
  
  }

}