html, body {
  overflow-x: hidden;
}

body {
	font-family: "Barlow";
	font-size: 16px;
	line-height: 1.5;
	
	background-color: #151515;
	color: #ffffff;
	margin: 0 auto;
}


/* header section */
header {
  border-bottom: solid rgba(255,255,255,0.3) 0.5px;
  width: 100%;
}

.header-content {
  max-width: 1300px;
  margin: 0 auto;
}

header .starburst-text {
  position: absolute;
  top: 65px;
  left: 45px;
  z-index: 3;
}

h1 {
  height: auto;
  width: 300px;
  padding: 30px 30px 15px 30px;
  position: relative;
 	left: 20%;
  transform: translateX(-20%);
  z-index: 4;
} 

.emblem {
  position: relative;
  top: 15px;
  left: 5px;
  z-index: 3;
}

header .starburst {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  animation: rotation 30s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.background-element {
  position: relative;
  top: 0;
  right: 0;
}

header .ALT-BG {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  margin-right: -50px;
  margin-top: -30px;
}


/* main content */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

.feature {
  float: left;
  max-width: 55%;
  margin: 0;
  border-left: solid rgba(255,255,255,0.3) 0.5px;
  border-right: solid rgba(255,255,255,0.3) 0.5px;
  height: 100vh;
}

.feature-image {
  background-image: url("johntheghost.jpg");
  background-size: cover;
  background-position: right;
  height: 400px;
  max-width: 700px;
  z-index: 0;
  margin: 0.5px;
}

.gradient {
	background-image: linear-gradient(0deg, rgba(21,21,21,1) 0%, rgba(21,21,21,0) 100%);
  max-width: 700px;
  height: 400px;
}

h2 {
  font-family: 'Arpona';
  font-size: 60px;
  font-weight: 500;
  line-height: 1.2;
}

.feature-text {
  margin-top: -50px;
  z-index: 4;
}

.feature h2 {
  margin-top: -10px;
  color: #F19960;
}

h5 {
  font-family: 'Chantal';
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 -15px;
}

.feature p {
  font-size: 18px;
  max-width: 85%;
  margin: 20px 0 50px 0;
}

.feature a {
  float: right;
  font-family: 'Chantal';
  font-size: 22px;
  font-weight: 600;
  color: #FADDFF;
  margin-right: 50px;
}

.arrow {
  padding-bottom: 8px;
  padding-left: 10px;
  transition: transform 0.2s ease;
}

.feature a:hover .arrow {
  transform: translateX(5px);
}


/* article list */
.article-list {
  float: right;
  max-width: 45%;
  margin: 0;
  border-right: solid rgba(255,255,255,0.3) 0.5px;
  height: 100vh;
  overflow: scroll;
}

a {
  color: #FFFFFF;
  text-decoration: none;
}

.article-name {
  padding: 20px;
  border-bottom: solid rgba(255,255,255,0.3) 0.5px;
}

.article-link h3 {
  max-width: 80%;
  font-family: 'Arpona';
  font-size: 28px;
  line-height: 1.4;
}

.article-link p {
  max-width: 80%;
}

.article-link {
  transition: color 0.2s ease;
}

.article-link:hover {
  color: #F19960;
}



/* social media icons */
.socials {
	float: right;
  margin-top: 25px;
  margin-right: 2%;
}

.socials a {
  padding-right: 20px;
}

.socials img {
  height: 20px;
  width: auto;
}


/* footer navigation */
footer {
  display: flex;
  background-color: #151515;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
  border-top: solid rgba(255,255,255,0.75) 0.75px;
}

.card {
  display: inline-block;
}

.other-links {
  margin: 0 auto;
}

.nav-link {
  font-family: 'Arpona';
  font-size: 16px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #151515;
  background-color: #FADDFF;
}

footer a {
  display: inline-block;
  padding: 21px;
}



/* media queries */
@media (max-width: 980px) {
  .ALT-BG {
    display: none;
  }
  
  .feature {
  float: none;
  max-width: 90%;
  margin: 0 auto;
  border: solid rgba(255,255,255,0.3) 0.5px;
  height: auto;
  padding-bottom: 50px;
}
  
  .feature-text {
  margin-top: -100px;
  z-index: 4;
}

.feature-image {
  background-position: top right;
  max-width: 100%;
}

.gradient {
  max-width: 100%;
}
  
  .feature a {
  float: none;
  margin-right: 50px;
}
  
  .article-list {
  float: none;
  max-width: 90%;
  margin: 0 auto 65px auto;
  border: solid rgba(255,255,255,0.3) 0.5px;
  height: auto;
  overflow: visible;
}
  
  .other-links {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .other-links::-webkit-scrollbar {
    display: none;
  }
  
  .card {
    display: inline-block;
  }
  
}


@media (max-width: 500px) {
h1 {
  width: 250px;
 	left: 10%;
} 

.emblem {
  top: 35px;
  left: -20px;
}
  
 	header .starburst-text {
  	position: absolute;
  	top: 60px;
  	left: 37px;
    width: 100px;
}

header .starburst {
  width: 175px;
  height: 175px;
}
  
  .feature {
    max-width: 100%;
  }
  
  .article-list {
    max-width: 100%;
  }
  
  .socials a {
    padding: 6px;
  }

.socials img {
 		height: 20px;
 		width: auto;
}
}