:root {
    --background: #fff1f6;
    --border: #d3d3d3;
    --box: #ffffff;
    --text-color: #6d5e54;
}

html,
body {
    flex-direction: column;
    display: flex;
    align-items: center;
    background-color: var( --background);
    color: var( --text-color);
}

.links {
    width: 600px;
    height: auto;
    background-color: transparent;
    border: 10px solid var(--border);
    background-color: var(--box);
}

.box {
    width: 590px;
    padding: 5px;
    height: auto;
    background-color: var( --background);
    border: 10px solid var(--border);
    margin-bottom: 20px;
}

.banner {
    width: 600px;
    height: auto;
    border: 10px solid var(--border);
    background-color: var(--background);
    margin-bottom: 20px;
}

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

li {
 font-size: 20px;
 padding: 10px;
}

li:nth-child(4n+4) {
  background-color: #FFFFF0; /*blue*/
  border-bottom: solid var( --border) 5px;
}

li:nth-child(4n+3) {
  background-color: #E6E6FA; /*green*/
}
li:nth-child(4n+2) {
  background-color: #FFF0F5; /*red*/
}

li:nth-child(4n+1) {
    color: #228B22;
    background-color:#90EE90;
}

li:last-child {
    border-bottom: none;
}

.title2 {
 color: #38302a;
}

h1,
h2,
h3,
h4,
h5,
p {
    color: #6d5e54;
}

p {
    font-size: 1.1em;
}

a:link {
  color: #6495ED;
  text-decoration: none;
}
a:visited {
  color: #6495ED;
  text-decoration: none;
}
a:hover {
  color: lightgrey;
  background-color: transparent;
  text-decoration: underline;
  font-style: italic;
}
a:active {
  color: lightgrey;
}

.title {
    font-size: 3em;
    color: #6d5e54;
    text-align: center;
}


@media only screen and (max-width: 600px) {
    .container, .banner {
        width: fit-content;
    }

}
