* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Helvetica, Verdana, sans-serif;
  margin: 0px; 
  background color: #d40078;
  background-image: url(images/synthwave.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  }


/* Social media links header bar */

.soc {
  display: flex;
  background-color: #f706cf;
  text-align: center;
}

.soc a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

.soc a:hover {
  background-color: #d40078;
  color: black;
  opacity: 0.7;
}

/* Social media buttons */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  background-color: #f706cf;
  color: white;
  font-family: "Roboto", sans-serif;
}

/* Column container */

.row {  
  display: flex;
  flex-wrap: wrap;
}

/* Sidebar navigation */
nav {
  flex: 25%;
  color: white;
  padding: 20px;
  margin: 10px;
  position: relative;
  text-align: center;
  border-radius: 8px; 
}

nav h1 {
  color: #2de2e6;
  margin: 20px 50px 20px 50px;
  background-color: d40078;
  border-radius: 6px;
  border-style: solid;
  border-color: #2de2e6;
  opacity: 0.8;
}

nav h2 {
  font-family: Times New Roman, serif;
}

nav img {
  height: 150px;
  border-radius: 8px; 
  opacity: 0.8;
}

.links {
text-align: center;
}

.button {
  display: inline-block;
  border-radius: 4px;
  background-color: #261447;
  border: solid 2px #2de2e6;
  color: #f706cf;
  text-align: left;
  font-size: 18px;
  padding: 20px;
  width: 50%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  vertical-align:middle;
}

.button2 {
  display: inline-block;
  border-radius: 4px;
  background-color: #d3eebe;
  border: solid #c98282;
  text-align: left;
  padding: 20px;
  width: 50%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  vertical-align:middle;
  background-repeat: no-repeat;
  background-position: 30% 0%;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button2 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button2:hover {
  background-color: rgba(0, 128, 128, 0.4);
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

/* Main column */
section {
  position: relative;
  flex: 70%;
  color: white;
  padding: 40px;
  margin: 10 10 -50 10px;
  border-radius: 8px; 
}

section h1 {
  border-radius: 8px; 
  margin: 5px;
  padding: 5px 5px 5px 20px;
  background-color: #2de2e6;
  color: #023788;
  opacity: 0.9;
}

section a:link {
  color: #ff4365;
}

section a:visited {
  color: #a14ebf;
}

section a:hover {
  color: #f9c80e;
}

section a:active {
  color: #ff6c11;
}

section img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.main {
  opacity: 0.8;
  color: white;
  padding: 20px;
  margin: 5px;
  border-radius: 8px; 
  background-color: #261447;
  border-style: solid;
  border-color: #ff4365;
}

video {
  display: block;
  margin: 0 auto;
}

.return {
  color: white;
  padding: 10px;
  margin: 5px;
  border-radius: 8px; 
  /*background-color: #a6bb92;*/
}

/* Styling for uploaded writings */

.essay {
  text-align: justify;
  text-indent: 30px;
  margin: 20px;
}

.essay h1 {
  text-align: center;
}

.essay h3 {
  text-align: center;
}

.essay h4 {
  text-align: right;
  margin: 5px;
}

/* this one is for image captions */
.essay h5 {
  font-size: small;
  font-style: italic; 
  text-align: center;
  font-weight: normal;
  margin: 3px;
}

.bib {
  text-indent: 0px;
  font-size: small;
  padding: 10px 50px 10px 50px;
}

.essay img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

ol {
  text-indent: 0px;
}

li {
  line-height: 1.8;
}

/* Footer */

.footer {
  height:40px;
  margin-top: -40;
  padding: 3px;
  text-align: center;
  background-color: #f706cf;
  color: white;
  font-size: small;

}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row, .soc {   
    flex-direction: column;
  }

}