/*
  This is the CSS file for general content pages on my website. It has a dark grey and blue-green
  theme.
*/

h1 {
  text-align: center;
  color: rgb(99, 114, 116);
  font-size: 50px;
  font-family: 'Saira Condensed', sans-serif;
  text-decoration: underline;
}

section {
  width: 70%;
  margin: auto;
}

.main {
  background-color: rgb(99, 114, 116);
  margin-bottom: 20px;
  margin-top: 20px;
  color: rgb(30, 30, 30);
  padding: 20px;
  font-size: 20px;
}

.main img {
  width: 35%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.main h2 {
  text-align: center;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 35px;
}

.main a {
  color: rgb(30, 30, 30);
}

.cse154 {
  width: 40%;
}

img:hover {
  transform: scale(1.05);
}

#intro {
  display: flex;
}

#intro div {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: rgb(99, 114, 116);
}

#intro div:first-child {
  flex-basis: 40%;
}

#intro div:last-child {
  flex-basis: 60%;
}

#intro div:last-child p {
  background-color: rgb(99, 114, 116);
  border: 5px double rgb(49, 58, 50);
  line-height: 2;
  color: rgb(30, 30, 30);
  font-size: 20px;
  padding: 20px;
}

#intro img {
  width: 85%;
}

[id="classes"] ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style-type: none;
  color: rgb(70, 70, 70);
}

[id="classes"] li {
  padding: 10px;
  margin: 5px;
  border: 1px solid rgb(70, 70, 70);
  border-radius: 30px;
}

[id="classes"] li:hover, li.expand {
  color: rgb(200, 200, 200);
  border-color: rgb(200, 200, 200);
}

#images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#quote {
  width: 60%;
  margin: auto;
  text-align: center;
}

#quote p {
  color:rgb(200, 200, 200);
}

#quote a {
  word-wrap: break-word;
}

#quote a:hover {
  color: rgb(70, 70, 70);
}

#tips {
  color: rgb(108, 14, 17);
}