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

html{
  scroll-behavior: smooth;
}

body{
  font-size: 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header{
  position: sticky;
  background-color: #232141;
  text-align: center;
}

header{
  top: 0;
}

nav{
  background-color: white;
  color: #333;
  padding: 0.5rem;
  border-bottom: 2px double black;
  display: flex;
  justify-content: space-evenly;
}

nav a, nav a:visited{
  text-decoration: none;
  color: #333;   
}

nav a:hover, nav a:focus{
color: hsla(0, 0%, 20%, 0.6);
}

main{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
}

.left{
  border-radius: 50%;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

footer{
  bottom: 0;
  background-color: white;
  color: #333;
  padding: 0.5rem;
  border-top: 2px double black;
  display: flex;
  justify-content: space-evenly; 
}

.artwork{
  scroll-margin-top: 8rem;
  width: min(100%, 700px);
  background-color: #cbd5e1;
  border: 2px solid black;
  border-radius: 15px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artwork figure{
  display: flex;
  flex-flow: column nowrap;
}

.artwork img{
  border: 5px double black;
  border-radius: 15px;
}

.artwork figcaption{
  font-weight: bolder;
  font-size: 2rem;
  margin: 1rem;
  text-align: center;
}